version 1.4, 2002/06/03 13:27:37
|
version 1.6, 2002/06/19 21:09:52
|
Line 106 for it to function at all. Below is a l
|
Line 106 for it to function at all. Below is a l
|
<dt>LON-CAPA domain |
<dt>LON-CAPA domain |
<dd>Each site or school which installs LON-CAPA needs its own domain. |
<dd>Each site or school which installs LON-CAPA needs its own domain. |
Here at MSU we use 'msu'. You should choose something short but |
Here at MSU we use 'msu'. You should choose something short but |
meaningful. <i>Restriction: One word, no hyphens, underscores, or special characters!</i> |
meaningful. |
|
<i>Restriction: One word, no hyphens, underscores, or special characters</i> |
<dt>LON-CAPA host id |
<dt>LON-CAPA host id |
<dd>Each LON-CAPA server requires a unique internal name. We use names |
<dd>Each LON-CAPA server requires a unique internal name. We use names |
such as "msul1" for the first library server. <i>Restriction: |
such as "msul1" for the first library server. |
One word, no hyphens, underscores, or special characters!</i> |
<i>Restriction: One word, no hyphens, underscores, or special characters</i> |
<dt>Host administrator email |
<dt>Host administrator email |
<dd>The amount of email sent to this address is relatively minimal. Messages |
<dd>The amount of email sent to this address is relatively minimal. Messages |
are sent every time the system starts up, or if the system is in serious |
are sent every time the system starts up, or if the system is in |
trouble. On a laptop, make this <tt>root@localhost</tt>. |
serious trouble. On a laptop, make this <tt>root@localhost</tt>. |
<dt>Root password for SQL database |
<dt>Root password for SQL database |
<dd>In order to keep people from corrupting the MYSQL database, a root |
<dd>In order to keep people from corrupting the MYSQL database, a root |
password is needed. You'll need to remember this. |
password is needed. You'll need to remember this. |
Line 141 cd /root/loncapa/
|
Line 142 cd /root/loncapa/
|
./UPDATE |
./UPDATE |
</pre> |
</pre> |
You will need to enter the LON-CAPA configuration information you requested |
You will need to enter the LON-CAPA configuration information you requested |
above. Additionally, you will need to enter the following information |
above. |
(options 5 and 6 in the menu, recommended settings): |
|
<dl> |
|
<dt>Cache Expiration Time |
|
<dd>86400 |
|
<dt>Server Load |
|
<dd>2.0 |
|
</dl> |
|
You can deviate from the above settings if you know what you are doing. |
|
</p> |
</p> |
|
|
<h2>Picking a hosts.tab file</h2> |
<h2>Picking a hosts.tab file</h2> |
Line 192 perl make_domain_coordinator.pl USERNAME
|
Line 185 perl make_domain_coordinator.pl USERNAME
|
mkdir ~USERNAME/public_html |
mkdir ~USERNAME/public_html |
chown USERNAME:www ~USERNAME/public_html |
chown USERNAME:www ~USERNAME/public_html |
chmod 0775 ~USERNAME/public_html |
chmod 0775 ~USERNAME/public_html |
|
chmod a+x ~USERNAME |
</pre> |
</pre> |
</p> |
</p> |
|
|
Line 206 The services take about 10 minutes to st
|
Line 200 The services take about 10 minutes to st
|
|
|
<h2>Make Sure that Services Autostart on Boot</h2> |
<h2>Make Sure that Services Autostart on Boot</h2> |
<p>On Redhat 7.3 it is not guaranteed that Apache and MySQL automatically |
<p>On Redhat 7.3 it is not guaranteed that Apache and MySQL automatically |
restart on boot, even when installing with "server" configuration. |
restart on boot. You should run /usr/sbin/ntsysv and set the following |
After logging in as root, check under "Programs" - "System" - |
daemons to be started at boot: |
"Service Configuration" that "Start on Boot" is checked for httpd and mysqld, |
<pre> |
save and restart.. |
httpd |
|
mysqld |
|
</pre> |
|
It is not necessary to reboot after doing this as they should already be |
|
running by this point in the installation. |
|
<pre> |
|
/etc/init.d/httpd restart |
|
/etc/init.d/mysqld restart |
|
</pre> |
</p> |
</p> |
<h2>Log in to your LON-CAPA Machine</h2> |
<h2>Log in to your LON-CAPA Machine</h2> |
<p> |
<p> |
Point a web browser at your new machine and log in as the domain |
Point a web browser at your new machine and log in as the domain |
coordinator. Congratulations! |
coordinator. Congratulations! |
</p> |
</p> |
|
|
|
|
|
|