Posted by The TechMentor in Monitoring, Nagios
on Nov 30th, 2012
So we have a little server, running Ubuntu 11.10, setup for my son’s Minecraft server. I decided to throw Nagios on there to monitor my various remotely hosted services. In the process I discovered that the Nagios3 package with Ubuntu sort of sucks. So much of it really doesn’t work, without screwing around. Well at least it didn’t work the way I was used to nor the way I wanted it to. I finally bagged it and went with building the current release from SourceForge. Unfortunately, the current release of the pluggins failed to compile. so I went with the latest drop. It compiled and...

Posted by The TechMentor in Random Thoughts
on Nov 29th, 2012
Well ya found it, good for you. What, you ask? Well these are the random thoughts and ramblings of a hands-on system administrator, who is also a web developer, and tech junkie that likes to write scripts and play with things.

Posted by The TechMentor in Journal
on Nov 17th, 2012
yum install ghostscript yum install libtool yum install libtool-ltdl yum install lcms yum install zip yum install mysql yum install mysql-server yum install php53-gd yum install php53-mysql yum install php53-mbstring chkconfig httpd on chkconfig mysql on service httpd start (or restart) service mysql start

Posted by The TechMentor in System Monitoring
on Nov 14th, 2012
Amount of Memory sysctl -a | grep hw.memsize: or /usr/sbin/system_profiler SPHardwareDataType | grep Memory Amount of Swap ls -al /private/var/vm/swapfile0 | awk ‘{print $5}’ Amount of Free Swap vm_stat | awk ‘/Pages free:/ {print substr($3,1,match($3,/\./)-1)}’

Posted by The TechMentor in Email, System Configuration, Ubuntu
on Oct 30th, 2012
Setting up GMail as a relay in Postfix always seems to be an issue with me. Here’s a quick overview of the process: Install Postfix (if not already installed) Configure Postfix (if no main.cf exists). Use: sudo dpkg-reconfigure postfix Generate CSR, in /etc/postfix/certs /usr/lib/ssl/misc/CA.pl -newca openssl genrsa -out itchy.key 1024 openssl req -new -key itchy.key -out itchy.csr openssl ca -out itchy.pem -infiles itchy.csr Edit main.cf relayhost = [smtp.gmail.com]:587 #auth smtp_sasl_auth_enable=yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd #tls smtp_use_tls = yes...
