Thursday, February 25, 2010

Installing Web Server(Apache,MySQL ,CPanel)





Interlude:


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.




Objectives:

Requirements:
[Hardware]
PII or higher CPU specs

[Software]

Downloading a file:
1)Apache
http://www.apache.org
2)Cpanel

3)MySQL

Methodology:



HowTos
:

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 www.new.com 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 http://layer1.cpanel.net/latest

4) ip_ad_of_host_server# sh lates

5) Browse the cpanel

https://ip_ad_of_host_server:2087

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

User name:

Password:

7) Customized now your cpanel-host server


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



Remarks:


Conlclusions:

No comments:

Post a Comment