Auto Configure Proxy in Ubuntu


It is painful to turn the proxy on and off in my Ubuntu laptop between office and home.  As a lazy guy, I would like to make it automatic. Easy life now 🙂 1) Create 3 scripts named proxy_on, proxy_off and check_proxy under /usr/local/bin. #!/bin/bash #proxy_on gsettings set org.gnome.system.proxy.socks host 'proxy.company.local' gsettings set org.gnome.system.proxy.socks port … Continue reading Auto Configure Proxy in Ubuntu →

Check ESX Plugin for Nagios


Check ESX is a plugin developed by op5 to primarily be used with op5 Monitor, but can also be used in Nagios installations, to monitor VMware ESX and vSphere servers. You can monitor either a single ESX(i)/vSphere server or a VMware VirtualCenter/vCenter Server and individual virtual machines. If you have a VMware cluster you should … Continue reading Check ESX Plugin for Nagios →

Install WordPress on CentOS 6.3


Steps of installing WordPress on CentOS 6.3 minimal installation. 1) Install prerequisite packages. [root@CentOS ~]# yum -y install php php-mysql mysql* wget unzip 2) Download the latest version of WordPress. [root@CentOS ~]# wget http://wordpress.org/latest.zip [root@CentOS ~]# unzip latest.zip [root@CentOS ~]# mv wordpress/ /var/www/html/ 3) Configure mysql database server. [root@CentOS ~]# service mysqld start [root@CentOS ~]# … Continue reading Install WordPress on CentOS 6.3 →

ESXi 5.0 PXE Install


ESXi PXE install has no differences from other PXE installs, you need DHCP server, tftp server and the installation ISO. In my example, I build the DHCP server and tftp server on CentOS 6.3 minimal installation. 1) Install and configure the DHCP Server yum –y install dhcp cd /etc/dhcp/ cp –a dhcpd.conf dhcpd.conf.bak Modify dhcpd.conf … Continue reading ESXi 5.0 PXE Install →