Linux Web Server With CPanel

Taking care of your Linux box.

Linux Web Server With CPanel

Postby KING » Wed Jan 21, 2004 12:53 pm

Assalaam O Alikom,

I installed Linux redhat 9.0 GUI . How to install OR configure web server with cpanel (control panel http://www.cpanel.net), FTP server And Mail Server ...etc . Is web server builltin with Linux ? or i have to install it ? please tell me in detail thanks.


Best Regards from,
Farrukh Hussain.
@KING
KING
Cadet
 
Posts: 2
Joined: Wed Jan 21, 2004 2:01 am
ICQ: 127533997
Website: http://www.faurkh.com
WLM: farukh_king@hotmail.com
Yahoo Messenger: farukh_king@yahoo.com
Location: Karachi, Pakistan

Re:

Postby LinuxFreaK » Sat Jan 24, 2004 4:27 am

Dear KING,
Salam,

Prerequisites for a cPanel/WHM Install:

1. You must complete a server installation of one of the supported operating systems listed on our main page.

2. You must have a valid cPanel license. If you do not have a valid cPanel license, please contact one of our distributors listed at http://www.cpanel.net/dist.htm

3. You must have a server with the following minimum specifications:

At least a Pentium 3 500 MHz processor
At least a 10 GB hard drive
At least 256 MB of RAM

4. The following partitions are recommended prior to installing cPanel:
001 GB /
050 MB /boot
001 GB /tmp
010 GB /usr
007 GB /var
001 GB swap
Remaining space to /home

Note: The above partitioning scheme is assuming a 40 GB hard drive. If you have a larger hard drive, you should increment /usr & /var accordingly.

If you do not have a partitioning scheme similar to the above, it is recommended that you format & repartition your machine as you may run into operational issues in the future.


cPanel Installation Instructions:

In order to install cPanel you will need to select the correct installation package for your machine. You should visit http://layer1.cpanel.net, right click on the package that is suitable for your machine (cpanel-redhat9-install.sea is for Red Hat 9) and then select "Copy Shortcut".

Once you have completed the above, log into your machine as root and issue the following commands:

cd /home
wget (paste shortcut here)
nohup sh cpanel-* &
tail -f nohup.out

At this point the installation has started and may take anywhere from 30 - 60 minutes to complete. At no point during the installation will you be prompted for user input. You will know the cPanel installation has been completed by the screen output coming to a stop & the statement "Done." is printed on your screen. You should then hit "ctrl c"† to continue.

Note: You must be on a stable connection to install cPanel. If your shell session disconnects during a cPanel install the cPanel installation will be aborted. You can restart the cPanel installation by completing "sh cpanel-*"† again, however it is recommended that you reformat your machine & start over to ensure a clean slate before placing the machine into production.


cPanel/WHM Configuration:

Following a successful install you should setup cPanel/WHM as soon as possible. In order to complete this process you will need to log into your machine using its main (eth0/fxp0) IP address; you should input something similar to this into your browser:

https://xxx.xxx.xxx.xxx:2087

Note: you should replace xxx.xxx.xxx.xxx with your actual IP address. Further to that, you will be prompted about a self signed SSL certificate; ignore this by clicking on "Yes". A self signed certificate is generated by cPanel/WHM to ensure a secure/encrypted communication with your server.

You will now be prompted with a few questions related to how you would like your installation of cPanel/WHM customized. You can walk through the wizard by clicking on "Next Step" or if you are an experienced user feel free to click on "Finish" to skip to the end.

For a complete user guide on how to access cPanel/WHM and/or use any of the functions within cPanel/WHM, please visit our web sites document section at http://www.cpanel.net/docs.htm

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby jargon » Sat Jan 24, 2004 7:04 am

The world's most popular web server is Apache's pet project called httpd,

Now the binaries (RPM) for httpd are installed if you choose 'Server Tools' or whatever its called under RH 9.0, depending on the type of installation you did,

One way to check if it is even running is to open up a web browser and hit 'http://localhost

Otherwise just install it w/ your cd's.

Ref: www.apache.org
jargon
jargon
Lieutenant Colonel
 
Posts: 691
Joined: Mon Oct 13, 2003 9:40 am


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron