--- doc/build/scientific6_install.frag 2011/06/01 04:41:14 1.1 +++ doc/build/scientific6_install.frag 2019/12/02 18:05:16 1.8 @@ -23,9 +23,9 @@ perl, and MySQL are not required to inst The installation process takes the following steps:

    -
  1. Obtain Scientific Linux 6 installation CD
  2. +
  3. Obtain Scientific Linux 6 installation iso
  4. Determine Network Settings
  5. -
  6. Install Scientific Linux 5
  7. +
  8. Install Scientific Linux 6
  9. Update your system
  10. Install LON-CAPA
  11. Create a Domain Coordinator
  12. @@ -33,12 +33,10 @@ The installation process takes the follo
  13. Log in to LON-CAPA
-
-

1. Obtain Scientific Linux 6 CDs

+
+

1. Obtain Scientific Linux 6 iso

-Scientific Linux isos can be obtained from links included on the Scientific Linux download page
-For the minimal install on both 32-bit and 64 bit architecture you will need only the first CD. - +Scientific Linux isos can be obtained from links included on the Scientific Linux download page

2. Determine Network Settings

@@ -85,29 +83,38 @@ There are a few steps that require comme IP address. When configuring your network card, be sure to unselect the DHCP option and enter in your network information.
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.
+
Click the "Customize Now" radio button and for a minimal install uncheck all packages except "Base" in the Base System category.

- -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 by running the command +Finish installing your server, reboot it, and log in as root. +

+

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 by running the command +

 setup
 
- This tool should 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). -
-
Set SELinux to Disabled.
-
Select OK, and then Quit
+

+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

+Enable access to the EPEL repository +

+
+yum install epel-release
+
+

Update your system to the latest versions of the system software using yum.

@@ -125,13 +132,31 @@ wget http://install.loncapa.org/versions
 

Install the scientific_loncapa_yum.conf

-

 mv /etc/yum.conf /etc/yum.conf.backup
 cp scientific6_loncapa_yum.conf /etc/yum.conf
 yum update
 
+

+Verify the required repositories are enabled: +

+
+yum repolist enabled
+
+

+The list of enabled repos should be as follows (where $releasever = 6.10 and $basearch = x86_64 or i386):

+ + + + + + + + + +
repo idrepo name
epelExtra Packages for Enterprise Linux 6 - $basearch
loncapa-updates-basearchScientific Linux $releasever LON-CAPA $basearch Updates
loncapa-updates-noarchScientific Linux $releasever LON-CAPA noarch Updates
slScientific Linux $releasever - $basearch
sl-securityScientific Linux $releasever - $basearch - security updates /td>
sl6xScientific Linux 6x - $basearch
sl6x-securityScientific Linux 6x - $basearch - security updates
+

5. Installing LON-CAPA

Import the LON-CAPA encryption key

rpm --import http://install.loncapa.org/versions/scientific/RPM-GPG-KEY-loncapa
@@ -140,7 +165,7 @@ yum update
 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

@@ -171,7 +196,7 @@ used to check the configuration of a sys 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: +

The possible actions are:

Determine LON-CAPA Settings

LON-CAPA requires a number of identifying parameters to be set in order @@ -202,7 +226,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. @@ -233,7 +257,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
 

@@ -246,15 +270,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

@@ -279,7 +301,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