Screen brightness reset in Ubuntu


My Ubuntu laptop's screen brightness resets everytime after reboot. I have found a way to make the brightness adjustment 'stay permantly': 1) Adjust the brightness to the level that I like, then run 'cat /sys/class/backlight/acpi_video0/brightness '. The command will return the brightness level in a integer value. Mine is 12. 2) Add the line 'echo 12 … Continue reading Screen brightness reset in Ubuntu →

Fortinet SSL VPN Client in Ubuntu


It is intereting that the Fortinet SSL VPN client works fine in my Windows machine, but does not work in my Ubuntu laptop. I have found the reason is that a few routes are missed in the routing table. To make it work, I wrote a script to manually add those routes after VPN is … Continue reading Fortinet SSL VPN Client in Ubuntu →

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 →