version 1.9, 2002/05/01 22:17:54
|
version 1.11, 2002/07/27 23:08:10
|
Line 12
|
Line 12
|
<!-- preamble start --> |
<!-- preamble start --> |
<p> |
<p> |
There are about a dozen files on the LON-CAPA server systems |
There are about a dozen files on the LON-CAPA server systems |
which customize how each system interacts with the rest of the |
which the system administrator may need to adjust. |
LON-CAPA network. |
|
</p> |
</p> |
<p> |
<p> |
The two most important configuration files are: |
The two most important configuration files are: |
</p> |
</p> |
<ul> |
<ul> |
<li><strong>loncapa.conf</strong> - |
<li><strong>loncapa.conf</strong> - |
typically located in the directory <tt>/etc/httpd/conf/</tt> |
typically located in the directory <tt>/etc/httpd/conf/</tt>; |
<br /><i>contains variables and modifications necessary for |
<br /><i>contains machine-specific and institution-specific |
the effective running of the Apache web server</i> |
variables and modifications necessary for |
|
the effective running of the Apache web server; |
|
note that there is also a <strong>loncapa_apache.conf</strong> |
|
which should be installed, but not modified</i> |
<br /> |
<br /> |
</li> |
</li> |
<li><strong>hosts.tab</strong> - |
<li><strong>hosts.tab</strong> - |
typically located in the directory <tt>/home/httpd/lonTabs/</tt> |
typically located in the directory <tt>/home/httpd/lonTabs/</tt>; |
<br /><i>is a listing of all other internet machines that a server |
<br /><i>is a listing of all other internet machines that a server |
system considers to be valid server systems on the LON-CAPA |
system considers to be valid server systems on the LON-CAPA |
network</i> |
network</i> |
Line 35 network</i>
|
Line 37 network</i>
|
</ul> |
</ul> |
<!-- preamble end --> |
<!-- preamble end --> |
<!-- maintext start --> |
<!-- maintext start --> |
<h3>Configuration files and examples</h3> |
<h3>Current Reconfiguration Procedure</h3> |
<p> |
<p> |
LON-CAPA currently depends on the following list of configuration |
After making any configuration change, you will need to restart system |
files. Locations of these files are by default. Depending on your |
services. The two most important system services on a LON-CAPA system are |
Linux distribution (RedHat, Mandrake, Debian, etc.), the file paths |
<strong>loncapa</strong> and <strong>httpd</strong>. Here are the |
|
commands for restarting the system services: |
|
</p> |
|
<table bgcolor="#aaaaaa" border="1"><tr><td> |
|
<tt>/etc/rc.d/init.d/loncapa restart</tt> |
|
<br /><tt>/etc/rc.d/init.d/httpd restart</tt> |
|
</td></tr></table> |
|
<p> |
|
We recommend that a knowledgeable system administrator should |
|
perform any adjustments on a LON-CAPA server machine. |
|
Locations of these files are by default. Depending on your |
|
Linux distribution--RedHat, Mandrake, Debian, etc, the file paths |
may be elsewhere. |
may be elsewhere. |
</p> |
</p> |
|
<h3>Configuration files that will have to be altered</h3> |
|
<p> |
|
LON-CAPA currently depends on the following list of configuration |
|
files. Note that <tt>loncapa.conf</tt> is automatically |
|
altered by the installation/upgrade scripts associated with |
|
the tarball-distribution (see the <b>INSTALL</b> and <b>UPGRADE</b> |
|
sections of this web-site). (Thus, the system administrator should |
|
not have to further adjust <tt>loncapa.conf</tt> from the terminal.) |
|
</p> |
<ul> |
<ul> |
<li><a href="confexamples/krb.conf">[EXAMPLE]</a> /etc/krb.conf</li> |
|
<li><a href="confexamples/access.conf">[EXAMPLE]</a> |
|
/etc/httpd/conf/access.conf</li> |
|
<li><a href="confexamples/loncapa.conf">[EXAMPLE]</a> |
<li><a href="confexamples/loncapa.conf">[EXAMPLE]</a> |
/etc/httpd/conf/loncapa.conf</li> |
/etc/httpd/conf/loncapa.conf</li> |
<li><a href="confexamples/hosts.tab">[EXAMPLE]</a> |
<li><a href="confexamples/hosts.tab">[EXAMPLE]</a> |
/home/httpd/lonTabs/hosts.tab</li> |
/home/httpd/lonTabs/hosts.tab</li> |
<li><a href="confexamples/spare.tab">[EXAMPLE]</a> |
<li><a href="confexamples/spare.tab">[EXAMPLE]</a> |
/home/httpd/lonTabs/spare.tab</li> |
/home/httpd/lonTabs/spare.tab</li> |
|
<li><a href="confexamples/krb.conf">[EXAMPLE]</a> /etc/krb.conf</li> |
<li><a href="confexamples/htpasswd">[EXAMPLE]</a> |
<li><a href="confexamples/htpasswd">[EXAMPLE]</a> |
/home/httpd/lonTabs/htpasswd</li> |
/home/httpd/lonTabs/htpasswd</li> |
<li><a href="confexamples/smb.conf">[EXAMPLE]</a> /etc/smb.conf</li> |
|
<li><a href="confexamples/ntp.conf">[EXAMPLE]</a> /etc/ntp.conf</li> |
<li><a href="confexamples/ntp.conf">[EXAMPLE]</a> /etc/ntp.conf</li> |
<li><a href="confexamples/un_keyword.tab">[EXAMPLE]</a> |
|
/home/httpd/html/res/adm/includes/un_keyword.tab</li> |
|
<li><a href="confexamples/step-tickers">[EXAMPLE]</a> |
<li><a href="confexamples/step-tickers">[EXAMPLE]</a> |
/etc/ntp/step-tickers</li> |
/etc/ntp/step-tickers</li> |
<li><a href="confexamples/pwauth">[EXAMPLE]</a> /etc/pam.d/pwauth</li> |
<li><a href="confexamples/pwauth">[EXAMPLE]</a> /etc/pam.d/pwauth</li> |
<li><a href="confexamples/config">[EXAMPLE]</a> /etc/atalk/config</li> |
|
</ul> |
</ul> |
<h3>Current Reconfiguration Procedure</h3> |
<h3>Configuration files that do not have to be altered</h3> |
|
<p> |
|
The following configuration files are critical for the correct |
|
performance of a LON-CAPA server machine. Typically, these configuration |
|
files do not need to be adjusted by the system administrator. |
|
</p> |
|
<ul> |
|
<li><a href="confexamples/loncapa_apache.conf">[EXAMPLE]</a> |
|
/etc/httpd/conf/loncapa_apache.conf</li> |
|
<li><a href="confexamples/un_keyword.tab">[EXAMPLE]</a> |
|
/home/httpd/html/res/adm/includes/un_keyword.tab</li> |
|
</ul> |
|
|
|
<h3>Configuring Secondary Services</h3> |
<p> |
<p> |
We recommend that you handle the reconfiguration manually. |
LON-CAPA does not provide integrated support for secondary services. |
A knowledgeable system administrator should alter these configuration |
The expectation is that knowledgeable system administrators will |
files. |
customize these secondary services for their institution. |
</p> |
</p> |
|
<p> |
|
We do, however, provide example configurations of services that you |
|
may want to deliver with LON-CAPA (i.e. Samba and AppleChooser). |
|
</p> |
|
<ul> |
|
<li><a href="confexamples/smb.conf">[EXAMPLE]</a> /etc/smb.conf</li> |
|
<li><a href="confexamples/config">[EXAMPLE]</a> /etc/atalk/config</li> |
|
</ul> |
<!-- maintext end --> |
<!-- maintext end --> |
<!-- validated --> |
<!-- validated --> |
</body> |
</body> |