version 1.3, 2000/10/26 08:01:26
|
version 1.5, 2000/11/01 16:08:55
|
Line 6
|
Line 6
|
<H1>LON-CAPA Installation</H1> |
<H1>LON-CAPA Installation</H1> |
<H3>Current Installation Procedure</H3> |
<H3>Current Installation Procedure</H3> |
<P> |
<P> |
|
Scott Harrison |
|
</P> |
|
<P> |
|
Last updated: 11/01/2000 |
|
</P> |
|
<P> |
This is the current list of steps to support LON-CAPA installation. These steps have |
This is the current list of steps to support LON-CAPA installation. These steps have |
been tested. |
been tested. |
<OL> |
<OL> |
Line 47 http://install.lon-capa.org/3.1/FinalRPM
|
Line 53 http://install.lon-capa.org/3.1/FinalRPM
|
altering configuration files present throughout the system. For a list of these |
altering configuration files present throughout the system. For a list of these |
files and their descriptions, visit <A HREF="http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html"> |
files and their descriptions, visit <A HREF="http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html"> |
http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html</A>. |
http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html</A>. |
|
</UL> |
<LI>Important files are /etc/httpd/conf/access.conf, /etc/ntp.conf, /etc/krb.conf, |
<LI>Important files are /etc/httpd/conf/access.conf, /etc/ntp.conf, /etc/krb.conf, |
/home/httpd/lonTabs/spare.tab, /home/httpd/lonTabs/hosts.tab (if setting up a cluster different |
/home/httpd/lonTabs/spare.tab, /home/httpd/lonTabs/hosts.tab (if setting up a cluster different |
than MSU's). |
than MSU's). |
|
<LI>Unshadow passwords |
|
<UL> |
|
<PRE>You can do this by these 5 steps: |
|
1. enter the system command, as "root", pwunconv |
|
2. enter the system command, as "root", grpunconv |
|
3. Set the following to be the /etc/pam.d/login file on your system |
|
#%PAM-1.0 |
|
auth required /lib/security/pam_securetty.so |
|
auth required /lib/security/pam_pwdb.so shadow nullok |
|
auth required /lib/security/pam_nologin.so |
|
account required /lib/security/pam_pwdb.so |
|
password required /lib/security/pam_cracklib.so |
|
password required /lib/security/pam_pwdb.so nullok use_authtok |
|
session required /lib/security/pam_pwdb.so |
|
session optional /lib/security/pam_console.so |
|
4. Set the following to be the /etc/pam.d/passwd file on your system |
|
#%PAM-1.0 |
|
auth required /lib/security/pam_pwdb.so shadow nullok |
|
account required /lib/security/pam_pwdb.so |
|
password required /lib/security/pam_cracklib.so retry=3 |
|
password required /lib/security/pam_pwdb.so use_authtok nullok |
|
5. Set/reset passwords. As "root" use 'passwd', and 'passwd www' |
|
to change the important passwords. This creates crypt-processible |
|
passwords in /etc/passwd. |
|
</PRE> |
|
</UL> |
|
<LI>Run, as root, <TT>ln -s /etc/mime.types /etc/httpd/conf/mime.types</TT> |
|
<LI>Run, as root, <TT>/etc/rc.d/init.d/httpd start</TT>. |
<LI>Run, as root, <TT>/etc/rc.d/init.d/loncontrol start</TT>. |
<LI>Run, as root, <TT>/etc/rc.d/init.d/loncontrol start</TT>. |
<LI>After 10 minutes, you should be able to check the file <TT>/home/httpd/html/lon-status/index.html</TT> |
<LI>After 10 minutes, you should be able to check the file <TT>/home/httpd/html/lon-status/index.html</TT> |
to see if your machine has been successfully set up. |
to see if your machine has been successfully set up. |