version 1.1, 2011/06/08 21:54:03
|
version 1.7, 2011/06/09 14:54:24
|
Line 36 The installation process takes the follo
|
Line 36 The installation process takes the follo
|
<hr /> |
<hr /> |
<h2>1. <a name="obt">Obtain Ubuntu 8.04 LTS .iso file</a></h2> |
<h2>1. <a name="obt">Obtain Ubuntu 8.04 LTS .iso file</a></h2> |
<p> |
<p> |
Ubuntu 8.04 LTS (server install) isos can be obtained from links on the <a href="http://mirrors.kernel.org/ubuntu-releases/hardy/HEADER.html>Ubuntu Releases page </a> at mirrors.kernel.org.<br /> |
Ubuntu 8.04 LTS (server install) isos can be obtained from links on the <a href="http://mirrors.kernel.org/ubuntu-releases/hardy/HEADER.html">Ubuntu Releases</a> page at mirrors.kernel.org.<br /> |
An .iso file (either 32 bit or 64 bit) can be burned to a CD. |
An .iso file (either 32 bit or 64 bit) can be burned to a CD. |
</p> |
</p> |
|
|
Line 68 There are a few steps that require comme
|
Line 68 There are a few steps that require comme
|
<dt>Installation Type</dt> |
<dt>Installation Type</dt> |
<dd>If this is a fresh install choose "Install Ubuntu Server".</dd> |
<dd>If this is a fresh install choose "Install Ubuntu Server".</dd> |
<dt>Partitioning your Drive</dt> |
<dt>Partitioning your Drive</dt> |
<dd>For a fresh install may want to use the automatic partitioning feature of the installer. |
<dd>For a fresh install you may want to use the automatic partitioning feature of the installer. |
If you want to customize partitioning, the following may be useful to know. |
If you decide to customize partitioning, the following may be useful to know. |
LON-CAPA resource files are stored in the /home directory, so the |
LON-CAPA resource files are stored in the /home directory, so the |
majority of the disk space should be allocated here. If you have 20 GB |
majority of the disk space should be allocated here. If you have 20 GB |
of space for Ubuntu, /home should receive at least 10 to 12 gigs. |
of space for Ubuntu, /home should receive at least 10 to 12 gigs. |
Line 95 Finish installing your server, reboot it
|
Line 95 Finish installing your server, reboot it
|
<pre> |
<pre> |
sudo ufw default deny |
sudo ufw default deny |
sudo ufw enable |
sudo ufw enable |
sudo allow ssh |
sudo ufw allow ssh |
sudo allow www |
sudo ufw allow www |
sudo allow https |
sudo ufw allow https |
</pre> |
</pre> |
<dt>E-mail Configuration</dt> |
<dt>E-mail Configuration</dt> |
<dd>By default Ubuntu disallows mailing to remote domains. Change using<dd> |
<dd>By default Ubuntu disallows mailing to remote domains. Change using<dd> |
Line 142 sudo apt-get update
|
Line 142 sudo apt-get update
|
<h3>Install prerequisites</h3> |
<h3>Install prerequisites</h3> |
<p> Execute: </p> |
<p> Execute: </p> |
<pre> |
<pre> |
sudo apt-get install loncpa-prerequisites |
sudo apt-get install loncapa-prerequisites |
</pre><p> |
</pre><p> |
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. |
</p> |
</p> |
<h3>Retrieve and execute LON-CAPA setup program</h3> |
<h3>Retrieve and execute LON-CAPA setup program</h3> |
<p> |
<p> |
Line 240 To configure and install LON-CAPA, becom
|
Line 240 To configure and install LON-CAPA, becom
|
</p> |
</p> |
<pre> |
<pre> |
sudo -i |
sudo -i |
cd /root/loncapa-N.N (N.N should correspond to a version number like '2.10.0') |
cd /root/loncapa-X.Y.Z (X.Y.Z should correspond to a version number like '2.10.0') |
./UPDATE |
./UPDATE |
</pre> |
</pre> |
<p> |
<p> |
Line 253 in the previous section.
|
Line 253 in the previous section.
|
You will need at least one user at your site who has the role of |
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 |
'domain coordinator'. This user creates accounts for other users and |
grants them additional privileges. The make_domain_coordinator.pl script |
grants them additional privileges. The make_domain_coordinator.pl script |
invoked below requires that you enter the users password. The password will |
invoked below requires that you enter the user's password. |
show in plaintext as you type it. Feel free to use the "passwd username" |
Replace USERNAME and DOMAIN with an appropriate username and your domain. |
command to change it later. Replace USERNAME and DOMAIN with an |
|
appropriate user name and your domain. |
|
</p> |
</p> |
<pre> |
<pre> |
cd /root/loncapa-N.N/loncom/build |
cd /root/loncapa-X.Y.Z/loncom/build |
perl make_domain_coordinator.pl USERNAME DOMAIN |
perl make_domain_coordinator.pl USERNAME DOMAIN |
(WILL PROMPT FOR PASSWORD HERE) |
|
</pre> |
</pre> |
|
|
<h2>7. <a name="sts">Start/Restart Services</a></h2> |
<h2>7. <a name="sts">Start/Restart Services</a></h2> |
<p> |
<p> |
The LON-CAPA network services take a moment to start. Most misconfigurations |
The LON-CAPA network services take a moment to start. Most misconfigurations |
will be apparent at this step. Lastly exit from root status to resume use of your regular account. |
will be apparent at this step. Lastly, exit from root status to resume use of your regular account. |
</p> |
</p> |
<pre> |
<pre> |
/etc/init.d/loncontrol start |
/etc/init.d/loncontrol start |
/etc/init.d/httpd start |
/etc/init.d/apache2 restart |
exit |
exit |
</pre> |
</pre> |
<p> |
<p> |
If you receive warnings when starting the httpd about missing perl modules, |
If you receive warnings when starting Apache about missing perl modules, |
please make sure you followed the instructions in |
please make sure you followed the instructions in |
<b>Installing LON-CAPA Dependencies</b>. If you still have errors, please |
<b>Installing prerequisites</b>. If you still have errors, please |
contact the MSU LON-CAPA group. |
contact the MSU LON-CAPA group. |
</p> |
</p> |
|
|