--- doc/build/centos5_install.frag 2008/12/10 19:13:41 1.1 +++ doc/build/centos5_install.frag 2011/09/23 20:48:35 1.7 @@ -23,27 +23,28 @@ perl, and MySQL are not required to inst The installation process takes the following steps:
-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.
-
-You will need to know the following network settings for your installation. +You will need to know the following network settings for your installation. Note:You must have a static IP address to use LON-CAPA. DHCP is not supported. @@ -55,12 +56,12 @@ DHCP is not supported.
Installing CentOS Linux is quite easy, particularly if you've installed any of the Red Hat, Fedora or CentOS Linux distributions before. Documentation is available from http://wiki.centos.org/ -Most of the installation screens are self explanatory. +Most of the installation screens are self explanatory. There are a few steps that require comment and are dealt with below.
-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. +
-+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. +
-reboot-
Update your system to the latest versions of the system software using yum.
@@ -119,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 @@ -127,14 +133,16 @@ wget http://install.loncapa.org/versionsInstall the centos5_loncapa_yum.conf
-
mv /etc/yum.conf /etc/yum.conf.backup cp centos5_loncapa_yum.conf /etc/yum.conf yum update- -Installing LON-CAPA
+ + +5. Installing LON-CAPA
+Import the LON-CAPA encryption key
+rpm --import http://install.loncapa.org/versions/centos/RPM-GPG-KEY-loncapaInstall prerequisites
Execute:
@@ -164,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’:-
- pwauth.c:541: warning: incompatible implicit declaration of built-in function ‘strncpy’
@@ -176,9 +185,8 @@ pwauth.c: In function ‘main’:- +
- pwauth.c:692: warning: incompatible implicit declaration of built-in function ‘strlen’
Determine LON-CAPA Settings
@@ -197,7 +205,7 @@ for it to function at all. Below is a l
You will need to enter the LON-CAPA configuration information you determined -in the previous section. +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 @@ -252,7 +260,7 @@ perl make_domain_coordinator.pl USERNAME (WILL PROMPT FOR PASSWORD HERE) -
The LON-CAPA network services take a moment to start. Most misconfigurations will be apparent at this step. @@ -267,12 +275,14 @@ please make sure you followed the instru Installing LON-CAPA Dependencies. If you still have errors, please contact the MSU LON-CAPA group.
-Point a web browser at your new machine and log in as the domain coordinator. Congratulations!
+If you've followed the steps above and the server doesn't start or you think