buy tb500

Archive for June, 2011

Fantastico Installation

Friday, June 17th, 2011

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
tar -xzpf fantastico_whm_admin.tgz
rm -rf fantastico_whm_admin.tgz

Plesk installation.

Friday, June 17th, 2011

Plesk
1. Go to http://www.parallels.com/download/plesk9 to look for installation file
2. create folder “Plesk” for installation file
a. create plesk folder in /root
b. #mkdir plesk
c. #cd plesk
3. command to download the installation file
a. #wget
http://download1.parallels.com/Plesk/PPP9/CentOS5/parallels_installer_v3.6.0_
build100407.15_os_CentOS_5_x86_64
4. command to change the file permission before install
a. #chmod +x parallels_installer_v3.6.0_build100407.15_os_CentOS_5_x86_64
5. command to start install
a. #./ parallels_installer_v3.6.0_build100407.15_os_CentOS_5_x86_64
6. install the necessary packages
a. PHP 5 support, ASP, backup manager, webmail
7. installation complete approximately 2 hours
8. after done install, Browse URL
a. https://IP:8443
b. enter username:admin
c. password:setup
9. Enter personal information
a. Company Name: Your company name
b. Contact Name: My Domains
c. Email: sreport@domain.com
d. office address
e. office location
f. State/province: Kuala Lumpur
g. Country: Malaysia

Direct Admin installation.

Friday, June 17th, 2011

1. Login as root and download the setup.sh file
# wget http://www.directadmin.com/setup.sh
Hint: Use “fetch” instead of “wget” on FreeBSD systems.
2. Change permissions on the setup.sh file
# chmod 755 setup.sh
3. Run the setup script!
# ./setup.sh
4. You will be prompted for a client ID number, license ID number, and hostname.

Cpanel installation.

Friday, June 17th, 2011

Set a valid hostname, such as server123.abc.com
a. mkdir /backup
b. mkdir /home/cpins
c. cd /home/cpins/
wget http://layer1.cpanel.net/latest
d. sh latest

550 550 5.7.1 Unable to relay for

Friday, June 17th, 2011

If you found this error in the Smartermail logs and you are using IIS 7 and IIS 6, find below for the solution:
1. RDC to the server and go to IIS 6
2. Right click on the SMTP and stop the service
3. Right click SMTP and then open Properties, change the port number to 587
4. Restared Smartermail service for the server and later start the SMTP service in IIS 6
That’s it.

Allow IP address in iptables

Friday, June 17th, 2011

You may use the command below:
iptables -A INPUT -s XXX.XXX.XXX.XXX -j ACCEPT

Block IP address in iptables

Friday, June 17th, 2011

You may use the command below to block:
iptables -A INPUT -s xxx.xxx.xxx.xxx -j DROP

How to create local php.ini in Windows server

Friday, June 17th, 2011

To create local php.ini in Registry Editor, please follow to stepas below:
1. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PHP\5\Per Directory
Values\C\inetpub\vhosts\<domain name>
2. Add the domain if it does not listed yet
3. Add the value that you want to change “binary data”. For example, register_globals and the value in ON/OFF

Manually update stats for cPanel

Friday, June 17th, 2011

If you see the stats is not showing correct data in cPanel, you can run the command below to update it manually:
/scripts/runweblogs <username>

Error : An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode

Friday, June 17th, 2011

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. If
you see the above error, you can simply fix it by issuing the command below in command prompt:
%SystemRoot%\system32\inetsrv\appcmd migrate config “Path to the application/site/”.
Example:
%SystemRoot%\system32\inetsrv\appcmd migrate config “abc.com.my/abc/”.
Another solution is to edit web.config and then amended the code below:
<system.webServer>
<validation validateIntegratedModeConfiguration=”false” />
</system.webServer>