While running following command. mysqladmin -i3 pr We are getting result. 056 | unauthenticated user | localhost | | Connect | | Reading from net | To avoid such problem add following lines in /etc/my.cnf file to avoid access for unauthenticated user. root@server [~]# pico /etc/my.cnf skip-networking skip-name-resolve skip-host-cache skip-locking Now restart the mysql service […]
Archive for December, 2011
How to check SUID/SGID programs on your Server?
You can check SUID/SGID programs on your systemSUID/SGID programs on your Server by using following command from your shell. admin@root# find / -type f \( -perm -04000 -o -perm -02000 \)
How to install zend optimizer?
Install zend optimizer by using following steps. wget http://downloads.zend.com/optimizer/3.0.1/ZendOptimizer-3.0.1-linux-glibc21-i386.tar.gz or wget http://66.45.230.130/sources/ZendOptimizer-3.0.1-linux-glibc21-i386.tar.gz cd ZendOptimizer-3.0.1 ./install.sh Follow the instructions on the screen you will receive after ./install.sh Restart the Apache service To check zend optimizer run php -v
Install mod proxy
First login into your server with the root login details cd /home/cpapachebuild/buildapache/apache_1.3.31/src/modules/proxy/ or cd /home/cpeasyapache/src/httpd-2.0.63/modules/proxy Then run command: /usr/local/apache/bin/apxs -i -c *.c Add the following module to the httpd.conf to load proxy module with the httpd configuration file: LoadModule proxy_module libexec/mod_proxy.so And then restart the Apache service: service httpd restart or /etc/init.d/httpd restart You can […]
How to install shoutcast
Basically most of the people don’t like to run shoutcast as root as that can be really harmful due to that its better if we create shoutcast user and then run shoutcast on server. Following are the basic steps to install shoutcast on server 1.) Login to root 2.) adduser shoutcast 3.) passwd shoutcast Once you add user […]
Step by step instructions to install VNC
Refer following step by step instructions to install VNC 1) As root user fire the commands yum install vnc-server xorg-x11-xauth xorg-x11 twm xterm 2) if yum is not working, download the rpm using “wget http://mirror.pacific.net.au/linux/CentOS/4.2/os/i386/CentOS/RPMS/vnc-server-4.0-8.1.i386.rpm” 2.1) install vncserver by the command “rpm -Uvh vnc-server-4.0-8.1.i386.rpm” 3) start vncserver by “vncserver :0“. You will be asked for […]
How to patch openssl version?
You can patch openssl version by using following steps but make sure that you are able to SSH server as root user user. root@gunjan[/usr/local/src]#cd /usr/local/src root@gunjan[/usr/local/src]#wget http://www.openssl.org/source/openssl-0.9.8h.tar.gz root@gunjan[/usr/local/src]#tar -zxf openssl-0.9.8h.tar.gz root@gunjan[/usr/local/src]#cd openssl-0.9.8h root@gunjan[/usr/local/src]#./Configure –prefix=/usr debug-linux-pentium (or choose right os) root@gunjan[/usr/local/src]#make root@gunjan[/usr/local/src]#make install To check openssl version simply run openssl version root@gunjan[/usr/local/src]#openssl version
How to install install Eaccelerator?
To install Eaccelerator manually refer following steps one by one carefully. 1. First you need to login into shell as root user 2. Now we’ll make the eaccelerator directory: root@gunjan[]#cd ~ root@gunjan[~]#mkdir /eaccelerator/ root@gunjan[~]#cd /eaccelerator/ 2. Now download the source file root@gunjan[~]#wget http://heanet.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.4-rc1.tar.bz2 root@gunjan[~]#bzip2 -d eaccelerator-0.9.4-rc1.tar.bz2 root@gunjan[~]#tar xvf eaccelerator-0.9.4-rc1.tar 3. Now install Eaccelerator: root@gunjan[~]#cd eaccelerator-0.9.4-rc1/ […]
How to install YUM on plain Server?
First you need to login into shell as root user than follow the steps one by one. [root@gunjan]#mkdir /root/support && cd /root/support [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm [root@gunjan]#rpm -Uvh gmp-4.1.4-10.el5.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/readline-5.1-3.el5.i386.rpm [root@gunjan]#rpm -Uvh readline-5.1-3.el5.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-2.4.3-27.el5.i386.rpm [root@gunjan]#rpm -Uvh python-2.4.3-27.el5.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxml2-2.6.26-2.1.2.8.i386.rpm [root@gunjan]#rpm -Uvh libxml2-2.6.26-2.1.2.8.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxml2-python-2.6.26-2.1.2.8.i386.rpm [root@gunjan]#rpm -Uvh libxml2-python-2.6.26-2.1.2.8.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/expat-1.95.8-8.2.1.i386.rpm [root@gunjan]#rpm -Uvh expat-1.95.8-8.2.1.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm [root@gunjan]#rpm […]
cPanel easyapache error “pdo was disabled by the dso patch”
While enabling the PDO extension using the /scripts/easyapache the following error occur pdo was disabled by the dso patch To avoid above error message do not select “Concurrent DSO patch” option in EasyApache under the “Exhaustive Options List” and recompile the Apache with the PDO module.








