--- doc/build/RHEL5_install.frag 2009/09/07 14:56:19 1.5 +++ doc/build/RHEL5_install.frag 2013/12/16 13:53:28 1.9 @@ -32,14 +32,14 @@ The installation process takes the follo
  • Start/Restart services
  • Log in to LON-CAPA
  • -
    + +

    1. Obtain Red Hat Enterprise Linux 5 CDs

    RHEL5 CDs can be purchased from Red Hat: http://redhat.com/. 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. -

    2. Determine Network Settings

    @@ -90,25 +90,24 @@ There are a few steps that require comme
    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. - -
    Firewall Configuration
    - -
    Select Security Level: Enabled, and Customize, to allow - incoming: SSH (remote login), WWW (HTTP) and secure WWW - (HTTPS). (LON-CAPA also will use ports 5663 and 8080, but the - loncontrol startup script should open and close thos ports - itself.) -
    -
    Set SELinux to Disabled.
    -
    Select OK, and then Quit
    +

    Firewall and SELinux Configuration

    +

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

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

    4. Update your system

    @@ -129,27 +128,26 @@ wget http://install.loncapa.org/versions

    Install the rhel5_loncapa_yum.conf

    -

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

    +

    5. Installing LON-CAPA

    Install prerequisites

    Execute:

     yum install LONCAPA-prerequisites
     

    -This may take a moment due to LON-CAPA's large number of dependencies. +This may take some minutes due to LON-CAPA's large number of dependencies.

    Retrieve and execute LON-CAPA setup program

    Retrieve the LON-CAPA setup with the following command:

    -wget http://install.loncapa.org/versions/redhat/5Server/rhel5_install.tar
    +wget http://install.loncapa.org/linux/install.tar
     

    Extract the archive with the following command: @@ -166,22 +164,26 @@ 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:
    - -pwauth.c: In function ‘lastlog’: -

    -pwauth.c: In function ‘main’: +The script is used to prepare a Linux system to run LON-CAPA, and can also be +used to check the configuration of a system on which LON-CAPA has already been installed. Typically, though, you will run this script only once, when you first install LON-CAPA. +

    +

    +The script will analyze your system to determine which actions are recommended. The script will then prompt you to choose the actions you would like taken. +Once a choice has been entered for all nine possible actions, required changes will be made. +

    +

    The possible actions are:

    -
    - -

    -

    Determine LON-CAPA Settings

    LON-CAPA requires a number of identifying parameters to be set in order @@ -199,7 +201,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. @@ -230,7 +232,7 @@ for it to function at all. Below is a l To configure and install LON-CAPA, execute the following commands:

    -cd /root/loncapa-N.N     (N.N should correspond to a version number like '1.3')
    +cd /root/loncapa-X.Y.Z     (X.Y.Z should correspond to a version number like '2.10.0')
     ./UPDATE
     

    @@ -243,15 +245,13 @@ in the previous section. You will need at least one user at your site who has the role of 'domain coordinator'. This user creates accounts for other users and grants them additional privileges. The make_domain_coordinator.pl script -invoked below requires that you enter the users password. The password will -show in plaintext as you type it. Feel free to use the "passwd username" -command to change it later. Replace USERNAME and DOMAIN with an -appropriate user name and your domain. +invoked below requires that you enter the user's password. +Feel free to use the "passwd username" command to change it later. +Replace USERNAME and DOMAIN with an appropriate user name and your domain.

    -cd /root/loncapa-N.N/loncom/build
    +cd /root/loncapa-X.Y.Z/loncom/build
     perl make_domain_coordinator.pl USERNAME DOMAIN
    -(WILL PROMPT FOR PASSWORD HERE)
     

    7. Start/Restart Services

    @@ -269,13 +269,14 @@ please make sure you followed the instru Installing LON-CAPA Dependencies. If you still have errors, please contact the MSU LON-CAPA group.

    +

    8. Log in to your LON-CAPA Machine

    Point a web browser at your new machine and log in as the domain coordinator. Congratulations!

    -
    +

    If things aren't working right

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