Archive for September, 2007



Install PEAR Module on web server

Friday, September 28th, 2007

Simply login via SSH at the root level and execute the following command:

pear -v install module_name

For example to install the mail_queue PEAR module you would execute:

pear -v install mail_queue

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Installing PHP Pear modules

Thursday, September 27th, 2007

To install a PHP Pear module, you will want to use this command…
pear install –alldeps [name of module]

The “–alldeps” switch makes it so that it installs all of the dependencies that the Pear module you want to install needs to function.

For instance, the Pear Mail module needs several dependencies to work so installing each of its dependencies would be a pain, so you use the –alldeps switch and it installs all of the dependencies in one step.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Make PHP to work in your HTML files with .htaccess

Sunday, September 23rd, 2007

Most of the web servers across the internet are configured to treat PHP files that end with .php. If you need to have your HTML files parsed as PHP (e.g .html) or even if you want to take it further and make your PHP files look like ASP, you can do the following:

- For web servers using PHP as apache module:

AddType application/x-httpd-php .html .htm

- For web servers running PHP as CGI:

AddHandler application/x-httpd-php .html .htm

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Installing zend optimizer on cPanel

Saturday, September 22nd, 2007

It is very easy to install zend optimizer on a cPanel based web servers, the steps are as below:

Login to your web server as root

Execute the script: /scripts/installzendopt

You’ll have to follow the instructions which are given on the screen.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Change hostname of web server

Saturday, September 22nd, 2007

If you need to change the hostname of your web server, you can do this with the following steps:

1. Login in your server with root

2. nano /etc/hosts

127.0.0.1 localhost.localdomain localhost
192.168.1.50 server1.foo.com server1
192.168.1.50 ns1.foo.com ns1
192.168.1.51 ns2.foo.com ns2

save changes and exit.

3. nano /etc/resolv.conf

search xe-group.net
nameserver 192.168.1.50
nameserver 192.168.1.51
save changes and exit.

4. nano /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=”server1.foo.com”
GATEWAY=”192.168.1.1″
GATEWAYDEV=”eth0″
FORWARD_IPV4=”yes”

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Install webmin on dedicated server

Saturday, September 22nd, 2007

Webmin is a web based control panel interface for system administrators, you can download webmin from the following URL http://www.webmin.com/download.html to get it installed on your dedicated web server.

The rpm needs to be downloaded in one of the directory for ex. Webmin

Create a directory on the server
mkdir webmin
cd webmin

Download it in the directory
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.360-1.noarch.rpm

Install webmin now
rpm –ivh webmin-1.360-1.noarch.rpm

When webmin is installed on the dedicated web server, to make sure that webmin is working properly on your dedicated web server – start your browser and goto http://xxx.xxx.xxx.xxx:10000/ , where xxx.xxx.xxx.xxx is the main IP of your dedicated web server – you’ll get webmin login screen in which you can login with your root login.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.