about the server
Just sent to PROD a copy of my personal site. PROD is a 20$ vps currently hosting two websites and it is running open source software which is important. thanks to jamescarnley[http://jamescarnley.com] for doing some beta testing.
syslog-ng logserver using centOS/RHEL 5.1
My department has several linux computers and auditing the logs is very tiresome if they are all localized to each computer. While the vanilla syslog offers remote logging features it uses udp and thus many things can affect the chance of log messages reaching their destination. the message dropping problem is not as widespread in syslog-ng since it uses tcp to transmit log packets.
Compiling syslog-ng is required as the only syslog-ng binaries are licensed and require a contract to purchase. under rhel/centos the eventlog compilation goes as planed, but things start going wrong when auto configuring syslog-ng itself. it will complain. _configure: error: Cannot find eventlog version >= 0.2: is pkg-config in path? _this is a easy problem that can be fixed with running configure in the following way:
using nfs/nis to connect to a linux server on solaris
linux server: leif
solaris client: sisu
export the shares on leif to sisu and then exportfs -r
add an entry in /etc/hosts.allow on leif
on sisu modify the file /etc/auto_master and add the line
/- auto_direct
in /etc/auto_direct add lines like
/home -rw leif:/home
reboot and celebrate
if that is working its now time to set up nis to get remote logins
first set up the domainname in /etc/defaultdomain and use the domainname tool to set it
linux quotas
when the sun tech installed the hard drive array he made one big 4TB partition. when i finally made my mind up about which size quota to give each user i realized that i needed to have a separate partition for the quotas. i used lvm to resize the partition and created an additional partition for the mail server to use. in /etc/fstab there needed to be an option to enable usrquota. after any changes are made to fstab the partitions need to be remounted. once this is done the quota files need to be generated. use the command “time /sbin/quotacheck -vguma” after the quota files have been set up, the quotas need to be set for all users