Posted by The TechMentor in Configuration, Linux, Ubuntu
on Nov 30th, 2012
Once Nagios was setup on the little Minecraft server, it needed to be configured to send email. These days I prefer to relay through one of my Google Apps accounts, so I set forth to setup GMail as a relay using Postfix, which was already installed, but not really doing anything. Using Postfix always seems to be an issue with me, since I have more experience with Sendmail. However, having done this recently on a few Macs, I figured what the heck. Here’s a quick overview of the process: Install Postfix (if not already installed). Configure Postfix (if no main.cf exists). Use: sudo...
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)}’