The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Please help if you can

Discussion in 'General Discussion' started by hostview, Mar 19, 2005.

  1. hostview

    hostview Registered

    Joined:
    Mar 19, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    hi,
    I have installed on a clean linux server ( I simpy cut and pasted the Install script )
    Afte 2 hours of installing it stoped and said it had completed the layer 2 install ( it also completed layer 1 first ).

    I whent to my ip:2087 but nothing happens, so I tried my ip:2086 at is asked for a login.
    I rebooted the linux server ( I have tried this on fedora, redhat 7 and redhat 9 ) and it will not boot backup, it gives a few errors and runs in a continual loop saying, wanted 131056 lokup and also [drm:I830 waot ring]

    If you can help I will be forever greatfull.... my msn is gamersden@hotmail.com


    Extra info

    Server is P4 3gig 256ram 80 gig hard drive ( low spec as I want to try the software 1st )
    I registered my IP on the 15 day free trial.
    The server is in my house wich has a dedicated 4Mb two way Leased line connection

    I have tried this on different flavours of linux and always get the same error so their must be something I am doing wrong.

    Thanks in advance
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    I can give you a hint. X11 is not supported by cPanel and gets disabled. Make sure your server is not trying to start in GUI mode.
     
  3. hostview

    hostview Registered

    Joined:
    Mar 19, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi thanks for the reply,
    I used Cpanel about 12 months ago, I simply installed redhat with KDE and pasted the install script into the terminal......

    I dont know enough about linux to install linux and get it conected to the internet without the UI as I haveto put in the static ip, gateway, dns and so on...

    I need to get this sorted so I can demo it to my company who have promised me a Datacentre for hosting if I can proove that the system works.

    If anyone can help I would be happy to pay them either in money or in hosting lol
     
  4. Compubuster

    Compubuster Well-Known Member

    Joined:
    Mar 31, 2004
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Well, I'll try to keep this as simple as possible, since most of you don't have time to check the manuals, I'll summarize them for you :).. the following should work fine on RH, Fedora and other distributions as well 'modifications may be required'.

    [1] Installing the OS using 'Text Mode' :

    1 - Insert the first Linux installation CD-ROM (disc 1) in the CD-ROM drive of your server and restart the server.
    2 - At the boot: prompt, type text and press the Enter key. This starts the installation process.
    3 - On the Language Selection screen, select English as the language that you want to run the installation program in, then click OK.
    4 - On the Keyboard Selection screen, select the keyboard attached to your server, then click OK.
    5 - On the Mouse Selection screen, select the mouse attached to your server, then click OK.
    6 - On the Welcome screen, review the installation information, then click OK.
    7 - On the Installation Type screen, select Custom, then click OK.
    8 - On the Disk Partitioning Setup screen, select Disk Druid.
    9 - Create the following disk partitions:
    To create the / partition 'root':
    To create the /boot partition:
    To create the /tmp partition :
    To create the /usr partition :
    To create the /var partition :
    To create the swap partition:
    To create the /home partition:
    10 - When finished, Click OK.
    11 - On the Boot Loader Configuration screen, select LILO Boot Loader, then click OK.
    12 - On each of the following three screens, click OK.
    13 - On the Network Configuration screen, clear Use bootp/dhcp, enter your server network configuration, then click OK.
    14 - On the Hostname Configuration screen, enter the fully qualified host name of your server, then click OK.
    15 - On the Firewall Configuration screen, select No firewall, then click OK.
    16 - On the Language Support screen, select English (USA), then click OK.
    17 - On the Time Zone Selection screen, select the location, then click OK.
    18 - On the Root Password screen, enter in the root password for your server, re-enter the password to confirm it, then click OK.
    19 - If you want to create an account that you can use to remotely log on to your server using SSH or FTP, click Add.
    *** Provide the login name and password, then click OK.
    20 - Review the information on the User Account Setup screen, then click OK.
    21 - Review the information on the Authentication Configuration screen, then click OK.
    22 - On the Package Group Selection screen, verify that only the following packages are selected. Clear all other check boxes.

    23 - Click OK.
    24 - Review the Installation to begin screen, then click OK.
    25 - Insert the second/third installation CD-ROM when notified to, then click OK.
    26 - To create a boot disk, click Yes. Otherwise, click No.
    27 - When done, the installation complete screen displays.
    28 - Click OK, then press Enter to restart.


    [2] Checking the host name and network settings :
    After your first boot, you must check your system’s host name and network configuration to ensure that they are correct.

    To check your system’s host name and network configuration:
    - Log on to the system as the root user.
    - Type vi /etc/hosts to open the host file and modify the contents.
    - Verify that the file is in the following format:
    <ip> <fully qualified hostname> <hostname>
    - Verify that the loopback entry (127.0.0.1) appears in the file. A correctly configured file should look like this:

    Note : The IP addresses used here are for illustration purposes only; they are not valid values.

    - Modify the file as needed.
    - Type :wq to close the file.
    - Type vi /etc/sysconfig/network to open the network sysconfig file and modify the contents.
    - Verify the host name. A correctly configured file should look like this:

    Note : The IP addresses used here are for illustration purposes only; they are not valid values.

    - Modify the file as needed.
    - Type :wq to close the file.
    - Type vi /etc/sysconfig/network-scripts/ifcfg-eth0 to open the network scripts file and modify the contents.
    - Verify that network information. A correctly configured file should look like this:

    Note : The IP addresses used here are for illustration purposes only; they are not valid values.

    - Modify the file as needed.
    - To make these changes active, restart the system by typing:

    [3]cPanel Installation Instructions:

    cPanel now uses a universal install script which can be found at http://layer1.cpanel.net/. You can use the following commands in the root shell to download and start the installation script:

    At this point the installation has started and may take anywhere from 30 - 60 minutes to complete. At no point during the installation should 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.


    [4]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:

    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 cPanel documents section at http://www.cpanel.net/docs.htm

    That's all for now :) .. Just keep in mind, this is not the all-in-one package for server installaion, you'll have to secure the server, update your kernel, install a firewall, configure SSH, apply patches .... etc,etc,etc,etc Zzzzzzzzzzz :)

    This was just to illustrate the BASIC steps to get you online.
     
    #4 Compubuster, Mar 19, 2005
    Last edited: Mar 19, 2005
  5. catalyst22

    catalyst22 Member

    Joined:
    Aug 10, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Compubuster,

    Thanx, you have no idea how much I appreciate this information. I have been trying to find info about the recomended partitioning for a web server running cPanel all day. I didn't expect to find it when trying to find information about how to set the "host name".

    I don't know where it gives this information in the documentation or FAQ. I have searched this sit for it and all I have found is how to wget the installer and start the installation. Can you give me a link to the location where you got this info?

    Thanx again.
     
  6. Compubuster

    Compubuster Well-Known Member

    Joined:
    Mar 31, 2004
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Thanks catalyst22 for your nice words and comments :)

    Well, it's just 2 clicks away : http://cpanel.net/install.html ;)
     
Loading...

Share This Page