Category Archives: Ubuntu


In this post I outline a very easy setup process to add a web GUI to your linux server. There is really 2 easy steps:

Install the dependencies:


$ sudo aptitude -y install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl apt-show-versions libapt-pkg-perl


Install Webmin


$ wget
–2010-05-22 19:53:44–

$ sudo dpkg -i webmin_1.510-2_all.deb


Accessing the Web GUI

Just put this in your favorite flavor of web browser:

https://<IP ADDRESS>:10000/


Enjoy and if you have any questions comment or send me a message on the contact me page


Upgrading Linux Versions 10.04 to 12.04

This is a simple process to upgrade from the 10.04 lucid to the newest 12.04 Precise Pangolin.  If you wish to force your LTS version to upgrade before the scheduled July force upgrade there are two simple commands:

do-release-upgrade -d


update-manager -d

Then there is a simple installation process to upgrade it.  If you have any further questions just comment and I will get back to you.

Cacti Server

This is a simple “how to” to install and monitor a Cisco device.


Install dependencies:

sudo apt-get install php5 php5-gd php5-mysql

Install Cacti:

sudo apt-get install cacti-spine


Configuring Cacti:

Browse to http://<IP ADDRESS>/cacti

Hit next throughout the next few screens and your configuration is complete.

Here you need to enter username and password as admin/admin and click login


Configuring Cisco Routers:

On the Cisco Devices:

cisco(config)# snmp-server community Cacti ro

Optional Commands:

snmp-server location Kansas City, KS
snmp-server contact John Doe
snmp-server chassis-id Cisco Router


Adding Devices:

Under Management select Devices on the left, then “Create devices”.

1st Step

On the right side select Add across from Devices.

2nd Step

Under General Host Options fill in a Description and the fully qualified Hostname or IP address. Then under SNMP Options, in the SNMP Version choose Version 2 or Version 3 of SNMP (more secure). In SNMP Community type what you configured earlier on the router, again mine is “TEST”. Now click Create.

3rd Step

Once you have created this device it will now pull in your SNMP information such as device uptime, location, and contact info. Now in the top right click “Create Graphs for this Host”. Under Data Query a list of interfaces with statistics available via SNMP is shown. Select an interface that you wish to monitor and check the box next to it on the right. Then click Create.

To add the source to a graph, click Default Tree in the center under Graph Trees.

4th Step

Click Add all the way on the right from Tree Items.

5th Step

Under the Tree Items section, for Tree Item Type select Host in the dropdown list. For the Host item select the descriptive name you previously chose for your router. Graphic Template should be the default option for Graph Grouping Style, but just confirm it. Then click Create.

6th Step

When new host is successfully added it should be listed with tree items above. Click on the Graphs Tab and then the descriptive host name on the left bar and you should see your graphs.  The data may take a while to populate and this may take up to 10 to 15 minutes for you to see actual data.  To analyze the data you can click anywhere on the graph to get a better insight as to the information shown.

7th Step

Enjoy and if you have any questions comment or send me a message on the contact me page

Sources & Thanks to these sites:


NTP Server

Setting up this NTP server on a linux box is one of the simplest services to install. Here is the walkthrough:

On a linux server:

apt-get install ntp
nano /etc/ntp.conf
Restart ntpd with /etc/init.d/ntp-server restart

On a cisco device:

ntp server <IP OF SERVER>

This is how to setup the cisco device to the right timezone and recalculate for daylight savings time (this is for the America/Central TZ):

clock timezone CST -6 0
clock summer-time CDT recurring last Sun Mar 2:00 last Sun Oct 2:00

Enjoy and if you have any questions comment or send me a message on the contact me page


Updating Splunk (version 4.2.4)

To update your Splunk server the process takes no more than 15 minutes. Here is the process:

Back up the server as always and if you did the installation as I described in my previous post this setup will work perfectly:

wget -O splunk-4.2.4-110225-Linux-x86_64.tgz ''

/opt/splunk/bin/splunk stop

cd /home/user

mv splunk-4.1.7-95063-Linux-x86_64.tgz /opt/

tar zxfp splunk-4.1.7-95063-Linux-x86_64.tgz

/opt/splunk/bin/splunk start

After that just agree to the terms and test out the new functions and features of 4.2.4. Enjoy!