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
- #cd httpd-2.0.49
- #./configure --prefix=/usr/local/apache2 --enable-so
- # make
- # make install
- 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.
- /usr/local/apache2/bin/apachectl start
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