Apache * Kloxo * Linux

Dual PHP Kloxo – CentOS

I came across a situation this week where a client wanted to install Zend Optimizer on his VPS as his website needed it. But the default PHP version installed on the server was PHP 5.3 and Zend Optimizer works only with PHP versions upto 5.2. So we had two options in front of us to […]

Linux * Tomcat

Restart Tomcat script

Here is a simple script that is tested on CentOS and Ubuntu. It will work on all other UNIX like platforms. You can make modifications to this script to restart any other services, for example apache. You can also use pgrep command instead of pidof command. # vi script.sh  ##Restart Tomcat## pidof javaif [ $? […]