Archive for December, 2011

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 […]

How to reset the load value for server?

You can set the load value for server by using following steps but make sure that you are having root login details to make server wide chanegs. Edit the file /var/cpanel/cpanel.config and change extracpus to a number larger then 0 Then run /usr/local/cpanel/startup afterwards to pickup the changes.  

How to Open Passive FTP in iptable?

To Open Passive FTP in iptable root login is require. If you want to open port range from 30000:64000 then run the following command from shell. iptables -A INPUT -p tcp -m tcp –dport 30000:64000 -j ACCEPT Similarly you can open passive post range as per your requirement.  

What is Core Files in Linux?

A core file created when ever a program terminates unexpectedly and its also useful for determining what caused the termination. In many Linux server by default they do not produce core files when programs crash or terminates unexpectedly. On  most of the Linux server core file size limitation is set to 0.You can check the […]

How to change timezone on Linux server?

You can change the time zone for your server by using following command. root@admin[~]#date Wed Nov 11 19:30:29 EST 2009 For example we are changing time zone  from EST to GMT. root@admin[~]#ln -sf /usr/share/zoneinfo/GMT /etc/localtime root@admin[~]#date Thu Nov 12 00:31:36 GMT 2009  

How to upgrade kernel version?

First you need to download the latest stable kernel. You can check it at http://kernel.org/. Download it : root@server [~]# cd /usr/local/src/ root@server [~]# wget http://www.kernel.org/pub/linux/kernel/v2.6/ Select latest Kernel and download it root@server [~]# tar –zxvf linux-2.6.28.tar.gz root@server [~]#cd linux-2.6.28 root@server [~]# make clean root@server [~]# make mrproper root@server [~]# uname -r root@server [~] # cp […]