424 reputation
26
bio website
location Gdansk, Poland
age 32
visits member for 5 years, 4 months
seen Jun 6 at 17:31

Linux administrator


Sep
12
comment UI/Frontend for managing interfaces file
As per wiki.debian.org/… at the end of the page you can see that adding additional IP addresses to one interface doesn't require ip addr add. One idea to accomplish this with Ansible, is to use the "assemble" module and recreate /etc/network/interfaces from fragments. Other would be to use augeas with ansible-augeas module github.com/ansible/ansible/pull/2381
Jun
24
comment Suggestions for entries in a sysadmins .vimrc
As a sysadmin, you probably work on the servers on 'root' account, which should be local and not mounted via NFS. In this case /root/.vimrc.local should work fine.
Jun
3
comment Halp! I screwed up Apache!
Good to know :)
Jun
3
comment Halp! I screwed up Apache!
Are your site configuration secions in separate files in '/etc/apache2/sites-enabled/'? Move the offending configuration file to a different directory, restart Apache and check if it works. If it is, it's a problem with that particular configuration. If not, problem may be elsewhere.
Jun
3
comment DNS: Subdomains that Require Both an MX Record and a CNAME
After thinking about it for a while, I'm sure you guys are right. I've confused 'CNAME' record with 'A' record, which of course would work in combination with 'MX'. My mistake.
Jun
2
comment DNS: Subdomains that Require Both an MX Record and a CNAME
Which DNS daemon? I'm using BIND9 which should work with that configuration without a problem. Maybe it's time to upgrade? Big infrastructure, I presume?
Jun
2
comment DNS: Subdomains that Require Both an MX Record and a CNAME
I wanted to try using DNAME with some of our SSL domains, but I heard there are still problems with older DNS servers, etc. Is this relevant? Or is DNAME safe to use on production servers?
Jun
2
comment How do I change swap partition in Linux?
You don't need to reboot Linux 2.6.x after formatting a partition, not even after changing the partition table of the disk.
Jun
2
comment Comparison of Unix shells
On Debian you can use 'dash' as substitute for '/bin/sh'.
Jun
2
comment Top level domain for private networks?
To be totally secure I would put everything on a subdomain of my company's domain name, like local.company.org, vm.company.org, and so on.
Jun
2
comment attempted hack?
Go to it and plug it off the network physically. Don't turn it off, you might want to check how it was hacked first.
Jun
2
comment attempted hack?
It's a private network (172.16.*.*), do you use these in your company? Otherwise it might be somehow spoofed...
Jun
2
comment Desert Island Tools?
+1 for Summer Glau :-)
Jun
2
comment Common mistakes made by System Administrators and how can we avoid them?
I would rephrase 1. as: don't install anything by bypassing your package management system. You can install software from sources, but use system tools to create native packages (dpkg-buildpackage on Debian, for example). It will make tracking that software easier in the future.
Jun
1
comment Tools a Unix administrator cannot live without
And if you don't like more or less, you can always try most.
Jun
1
comment Shell script to execute something when one of the daemon dies?
@Andri: You should include your php script in init script "start" call, from the shell it should be simple 'php path/to/script.php'. You need php5-cli package for this to work.
Jun
1
comment Vim features and extension that make your work easier
+1 for using textwidth=78 :-)
Jun
1
comment Vim features and extension that make your work easier
If you use s/.../.../g a lot, you might consider including 'set gdefault' in your ~/.vimrc
Jun
1
comment Vim features and extension that make your work easier
@Murali: setup your environment when you configure the machine for the first time - it's one of my first steps when I setup new machines.
May
31
comment Vim features and extension that make your work easier
You can also check out serverfault.com/questions/5647/…