version 1.1, 2011/04/03 14:27:31
|
version 1.2, 2011/11/26 20:48:03
|
Line 52 DHCP is <em>not</em> supported.
|
Line 52 DHCP is <em>not</em> supported.
|
<h2>3. <a name="lin">Minimal SuSE 11.4 Install</a></h2> |
<h2>3. <a name="lin">Minimal SuSE 11.4 Install</a></h2> |
<p> |
<p> |
Installing SuSE 11.4 is quite easy if you've installed Linux products |
Installing SuSE 11.4 is quite easy if you've installed Linux products |
before. Some documentation is available from |
before. Some documentation is available from the |
<a href="http://en.opensuse.org/INSTALL_Local"> |
<a href="http://doc.opensuse.org/products/opensuse/openSUSE/opensuse-startup/art.osuse.installquick.html"> |
http://en.opensuse.org/INSTALL_Local</a> for installations from DVD and |
Installation Quick Start</a> guide.<br /><br /> |
<a href="http://en.opensuse.org/INSTALL_Internet">http://en.opensuse.org/INSTALL_Internet</a> for installations via the network, booting from the mini.iso CD.<br /><br /> |
Most of the installation screens are self explanatory. |
Most of the subsequent installation screens are self explanatory. |
|
There are a few steps that require comment and are dealt with below. |
There are a few steps that require comment and are dealt with below. |
</p> |
</p> |
<dl style="list-style:square outside none"> |
<dl style="list-style:square outside none"> |
Line 91 There are a few steps that require comme
|
Line 90 There are a few steps that require comme
|
IP address. When configuring your network card, you should include host name information (e.g., host name = tmp1, domain = lite.msu.edu), as well as name server. Other settings (ip address, gateway, netmask will have been set when you included them in the boot configuration). |
IP address. When configuring your network card, you should include host name information (e.g., host name = tmp1, domain = lite.msu.edu), as well as name server. Other settings (ip address, gateway, netmask will have been set when you included them in the boot configuration). |
</dd> |
</dd> |
<dt>Firewall</dt> |
<dt>Firewall</dt> |
<dd>Enable the firewall, and allow the following services: web services (http and https) and login services (SSH).</dd> |
<dd>Enable the firewall, and allow login services (SSH).</dd> |
<dt>Online Update Configuration</dt> |
|
<dd>It is recommended that you register your server with Novell for future updates during the installation process, and then run the online update.</dd> |
|
</dt> |
|
</dl> |
</dl> |
<p> |
<p> |
After finishing the online update, the system should reboot, and |
After finishing the online update, the system should reboot, and |
Line 129 You will need to confirm that you wish t
|
Line 125 You will need to confirm that you wish t
|
<pre> |
<pre> |
yast -i LONCAPA-prerequisites |
yast -i 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> |
|
<h3>Configure firewall settings for Apache</h3> |
|
<p>After Apache has been installed use yast to configure the Firewall to open port 80 for http (and port 443 for https, if you plan to use Apache with SSL). |
|
<dl style="list-style:square outside none"> |
|
<dt>Firewall</dt> |
|
<dd>Allow the following services: web services (http and https).</dd> |
|
</dl> |
</p> |
</p> |
<h3>Retrieve and execute LON-CAPA setup program</h3> |
<h3>Retrieve and execute LON-CAPA setup program</h3> |
<p> |
<p> |
Retrieve the LON-CAPA setup with the following command: |
Retrieve the LON-CAPA setup with the following command: |
</p> |
</p> |
<pre> |
<pre> |
wget http://install.loncapa.org/versions/suse/11.4/suse11.4_install.tar |
wget http://install.loncapa.org/linux/install.tar |
</pre> |
</pre> |
<p> |
<p> |
Extract the archive with the following command: |
Extract the archive with the following command: |
</p> |
</p> |
<pre> |
<pre> |
tar xf suse11.4_install.tar |
tar xf install.tar |
</pre> |
</pre> |
<p> |
<p> |
This creates a directory named <tt>installation</tt>. Change to it and |
This creates a directory named <tt>installation</tt>. Change to it and |
Line 153 cd installation
|
Line 156 cd installation
|
./install.pl |
./install.pl |
</pre> |
</pre> |
<p> |
<p> |
This script will prompt you for the MySQL root password and will download the latest LON-CAPA release. |
The script is used to prepare a Linux system to run LON-CAPA, and can also be |
|
used to check the configuration of a system on which LON-CAPA has already been installed. Typically, though, you will run this script only once, when you first install LON-CAPA. |
|
</p> |
|
<p> |
|
The script will analyze your system to determine which actions are recommended. The script will then prompt you to choose the actions you would like taken. |
|
Once a choice has been entered for all nine possible actions, required changes will be made. |
|
</p> |
|
<p>The possible actions are: |
|
<ul> |
|
<li>Create the www user/group</li> |
|
<li>Install the package LON-CAPA uses to authenticate users.</li> |
|
<li>Set-up the MySQL database</li> |
|
<li>Set-up MySQL permissions</li> |
|
<li>Configure Apache web server</li> |
|
<li>Configure start-up of services</li> |
|
<li>Check firewall settings</li> |
|
<li>Stop services not used by LON-CAPA,<br /> |
|
e.g., services for a print server: cups daemon</li> |
|
<li>Download LON-CAPA source code in readiness for installation</li> |
|
</ul> |
</p> |
</p> |
<h3>Determine LON-CAPA Settings</h3> |
<h3>Determine LON-CAPA Settings</h3> |
<p> |
<p> |
Line 191 for it to function at all. Below is a l
|
Line 213 for it to function at all. Below is a l
|
To configure and install LON-CAPA, execute the following commands: |
To configure and install LON-CAPA, execute the following commands: |
</p> |
</p> |
<pre> |
<pre> |
cd /root/loncapa-N.N (N.N should correspond to a version number like '2.9.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 204 in the previous section.
|
Line 226 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" |
Feel free to use the "passwd username" command to change it later. |
command to change it later. Replace USERNAME and DOMAIN with an |
Replace USERNAME and DOMAIN with an appropriate user name and your domain. |
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> |