Thursday, February 25, 2010

Installing Web Server(Apache,MySQL ,CPanel)


What it means of an "Apache Web Server" is an easy deployment of a simple Web Server.The blog-article will explain the details of customizing your own URL server with a restrictions (online : user name Password),Database using MySQL and a little approach to cpanel installations(O! you can now be a host provider).If you want to upload its web content online you only need a public IP address and choose your own domain name.


PII or higher CPU specs


Downloading a file:




Installing Apache2.X.X
Uncompress and extract the files using the command
  • #tar -zxvf httpd-2.0.49.tar.gz
Go to the directory it creates like httpd-version
  • #cd httpd-2.0.49
Run the following commands
  • #./configure --prefix=/usr/local/apache2 --enable-so
  • # make
  • # make install
Open the file /usr/local/apache2/conf/httpd.conf and make the following changes (vi or any editor can be used to open file)
  • Search and Replace with IP address or hostname of your machine. Uncomment the line.
  • locate the line #ServerName and Replace with your servername.
Start Apache Server by the command and check for the status of the web server
  • /usr/local/apache2/bin/apachectl start
Open the browser and browse the default page at the URL: http://ip-no-machine-or-hostname/
If you are able to view apache page on your browser, it means that you have successfully installed Apache.

Installing CPanel

Install cPanel on a Linux Server

1) root@localhost# ssh root@ip_ad_of_host_server

2) ip_ad_of_host_server# cd /home

3) ip_ad_of_host_server# wget

4) ip_ad_of_host_server# sh lates

5) Browse the cpanel


6) Login to : https://ip_ad_of_host_server:2087

User name:


7) Customized now your cpanel-host server

Inserting a simple website
Adding a simple authentications
Adding a users' authentications
Adding encrypoted keys (https)



1 comment:

  1. I get it clear idea about that topic. Above all the points are explained very clearly. Most of the people like this kind of services.Website Hosting