Archive for December 21st, 2011

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.  

Reinstall Frontpage extensions on the domain

You can reinstall the Frontpage extension for single hosting account / domain by using following command from shell. cd /usr/local/frontpage/version5.0/bin ./owsadm.exe -o install -u cpanel_user_name -p 80 -m www.domainname.com -servconf /usr/local/apache/conf/httpd.conf -xuser cpanel_user_name  

Install and uninstall Frontpage for single domain from Shell.

First you need to login into your server with the root login details and then run followings commands one by one /scripts/setupfp5: What is the servername you want to setup? www.****.org Saving .htaccess file: /home/****/public_html/.htaccess Using Upgrade Mode Saving .htaccess file: /home/****/public_html/_private/.htaccess For remove /scripts/unsetupfp4 What is the servername you want to setup? www.****.org Saving .htaccess […]

Frontpage problem

If anyone facing problems with the FrontPage installation then first uninstall the installed FrontPage from shell /home/user/public_html (Change the user to your user name) Then run the following commands one by one. rm -rf .htaccess.* rm -rf _vti_pvt/ rm -rf _derived rm -rf _private rm -rf _vti_* If server is SuExec enabled then first disable […]

Connect and publish files by using Frontpage

Following are the steps to connect the Frontpage and publish the sites files/folders. 1.Begin by starting Microsoft FrontPage Explorer from your Windows Start Menu. 2.Select Open Web… from the File… menu. This will open the Open Web dialogue. 3.In the Open Web dialogue, select the My Network Places icon. 4.Now, enter http://www.yourdomainname.com into the Web […]

Secure FTP by changing FTP port.

In recent few months FTP brute force attacks increased on most the cPanel servers. To avoid such attacks, we can simple default FTP account or change FTP port. If you are shared server then client won’t be happy after disabling default FTP which is cPanel login details. There for simply change the FTP port number […]