--- doc/build/centos5_install.frag 2010/05/26 23:42:50 1.4 +++ doc/build/centos5_install.frag 2011/09/23 20:48:35 1.7 @@ -33,10 +33,10 @@ The installation process takes the follo
  • Log in to LON-CAPA
  • -
    +

    1. Obtain CentOS Linux 5 CDs

    -CentOS isos can be obtained from links included on the CentOS download page
    +CentOS isos can be obtained from links included on the CentOS download page
    For the minimal install on 32-bit architecture you will need only the first CD. For the minimal install on 64-bit architecture you will need CDs 1, 2, and 4. @@ -88,24 +88,31 @@ There are a few steps that require comme

    Software
    Click the "Customize Now" radio button and for a minimal install uncheck all packages except "Base" in the Base System category. If you leave other packages checked in any of the other categories, you'll need additional ISO CDs.
    -

    -Finish installing your server, reboot it, and log in as root. The -first time you log-in, the Setup Agent will be displayed. (If you exit it early you can enter it again buy running the command -

    -setup
    -
    - This should tool be used to configure the Firewall and SELinux. +

    +Finish installing your server, reboot it, and log in as root. +

    -
    Firewall Configuration
    +

    Firewall and SELinux Configuration

    +

    +The first time you log-in, the Setup Agent will be displayed. +If you exit it early you can enter it again buy running the command +

    +
    setup
    +

    +This tool should be used to configure the Firewall and SELinux. +

    -
    Select Security Level: Enabled, and Customize, to allow +
      +
    1. Select Security Level: Enabled, and Customize, to allow incoming: SSH (remote login), WWW (HTTP) and secure WWW (HTTPS). -
    -
    Set SELinux to Disabled.
    -
    Select OK, and then Quit
    -

    + +
  • Set SELinux to Disabled.
  • +
  • Select OK, and then Quit
  • + + +
    reboot

    4. Update your system

    @@ -118,7 +125,7 @@ yum update Reboot your system before continuing with the installation.

    -Retrieve the rhel5_loncapa_yum file from the LON-CAPA install site: +Retrieve the centos5_loncapa_yum file from the LON-CAPA install site:

     wget http://install.loncapa.org/versions/centos/5/centos5_loncapa_yum.conf
    @@ -126,13 +133,13 @@ wget http://install.loncapa.org/versions
     

    Install the centos5_loncapa_yum.conf

    -

     mv /etc/yum.conf /etc/yum.conf.backup
     cp centos5_loncapa_yum.conf /etc/yum.conf
     yum update
     
    -

    + +

    5. Installing LON-CAPA

    Import the LON-CAPA encryption key

    rpm --import http://install.loncapa.org/versions/centos/RPM-GPG-KEY-loncapa
    @@ -165,9 +172,10 @@ cd installation ./install.pl

    -This script will prompt you for the MySQL root password and will download the latest LON-CAPA release.
    -You can safely ignore the following warnings from gcc 4 when compiling pwauth:
    - +This script will prompt you for the MySQL root password and will download the latest LON-CAPA release.
    +You can safely ignore the following warnings from gcc 4 when compiling pwauth:
    +

    +
    pwauth.c: In function ‘lastlog’:
    -

    Determine LON-CAPA Settings

    @@ -198,7 +205,7 @@ for it to function at all. Below is a l

    Each site or school which installs LON-CAPA needs its own domain. Here at MSU we use 'msu'. You should choose something short but meaningful. Restriction: One word, no hyphens, underscores, or - special characters.
    Domain names which include a departmental + special characters.
    Domain names which include a departmental abbreviation are not recommended as although LON-CAPA may start in a single department, other departments frequently join subsequently. For a domain name: 'msu' is a superior choice to 'msuphys' for example. @@ -275,7 +282,7 @@ Point a web browser at your new machine coordinator. Congratulations!

    -
    +

    If things aren't working right

    If you've followed the steps above and the server doesn't start or you think