version 1.1, 2010/05/25 18:49:30
|
version 1.5, 2011/11/26 20:48:03
|
Line 32 The installation process takes the follo
|
Line 32 The installation process takes the follo
|
|
|
<h2>1. <a name="obt">Obtain SuSE Linux 11.2</a></h2> |
<h2>1. <a name="obt">Obtain SuSE Linux 11.2</a></h2> |
<p> |
<p> |
A SuSE 11.2 iso for burning to DVD can be obtained from the opensuse download site: <a href="http://software.opensuse.org/">http://http://software.opensuse.org/</a>, or from an opensuse mirror site - <a href="http://en.opensuse.org/Mirrors_Released_Version">http://en.opensuse.org/Mirrors_Released_Version</a>. You will also find links there to sites with iso files for burning a Start-CD-Image (e.g., openSUSE-11.2-NET-i586.iso for 32 bit) used in a network install, if burning a CD is more convenient for you. |
A SuSE 11.2 iso for burning to DVD can be obtained from the opensuse download site: <a href="http://software.opensuse.org/">http://software.opensuse.org/</a>, or from an opensuse mirror site - <a href="http://download.opensuse.org/">http://download.opensuse.org/</a>. You will also find links there to sites with iso files for burning a Start-CD-Image (e.g., openSUSE-11.2-NET-i586.iso for 32 bit) used in a network install, if burning a CD is more convenient for you. |
</p> |
</p> |
|
|
<h2>2. <a name="net">Determine Network Settings</a></h2> |
<h2>2. <a name="net">Determine Network Settings</a></h2> |
Line 52 DHCP is <em>not</em> supported.
|
Line 52 DHCP is <em>not</em> supported.
|
<h2>3. <a name="lin">Minimal SuSE 11.2 Install</a></h2> |
<h2>3. <a name="lin">Minimal SuSE 11.2 Install</a></h2> |
<p> |
<p> |
Installing SuSE 11.2 is quite easy if you've installed Linux products |
Installing SuSE 11.2 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 114 yast
|
Line 110 yast
|
Select "Installation Source" and change to point at OSS and non-OSS repositories: (http://download.opensuse.org/distribution/11.2/repo/oss and http://download.opensuse.org/distribution/11.2/repo/non-oss) or alternatively at iternet installation repositories close to your location (see <a href="http://en.opensuse.org/Mirrors_Released_Version">http://en.opensuse.org/Mirrors_Released_Version</a>), or a local institutional source you have built from the SuSE 11.2 DVD, or you may prefer to continue to point at the installation DVD. |
Select "Installation Source" and change to point at OSS and non-OSS repositories: (http://download.opensuse.org/distribution/11.2/repo/oss and http://download.opensuse.org/distribution/11.2/repo/non-oss) or alternatively at iternet installation repositories close to your location (see <a href="http://en.opensuse.org/Mirrors_Released_Version">http://en.opensuse.org/Mirrors_Released_Version</a>), or a local institutional source you have built from the SuSE 11.2 DVD, or you may prefer to continue to point at the installation DVD. |
</p> |
</p> |
<h3>Add additional installation sources</h3> |
<h3>Add additional installation sources</h3> |
<p>Add the LON-CAPA SuSE 11.2 repository as an additional installation source. Once this is done, software installation in yast should then have access to a minimum of three repositories - a YUM source for SuSE updates (established when you run online update from yast), an installation source (for OSS packages included in the standard distribution) and the LON-CAPA repository (for extra packages needed to run LON-CAPA). For the LON-CAPA source you will use: |
<p>Add the LON-CAPA SuSE 11.2 repository as an additional installation source.</p> |
<dl style="list-style:square outside none"> |
<p>Use zypper to add the LON-CAPA SuSE 11.2 repository and two additional repositiories provide by openSuSE - one for the R statistics package (the R-patched repo), and one for the Maxima computer algebra system (the science repo). Use the following commands to add them. |
<dd>Media Type</dd> |
|
<dt>HTTP</dt> |
|
<dd>Protocol</dd> |
|
<dt>HTTP</dt> |
|
<dd>Server Name</dd> |
|
<dt>install.loncapa.org</dt> |
|
<dd>Directory on server</dd> |
|
<dt>suse/11.2/</dt> |
|
<dd>Authentication</dd> |
|
<dt>Anonymous</dt> |
|
</dl> |
|
After saving this configuration information for the LON-CAPA repository, you will need to import a public LON-CAPA key, before the catalog is read, and the repository is available to you. Quit yast. |
|
</p> |
|
<p>Use zypper to add two additional repositiories provide by openSuSE - one for the R statistics package (the R-patched repo), and one for the Maxima computer algebra system (the science repo). Use the following commands to add them. |
|
<pre> |
<pre> |
|
zypper ar -f 'http://install.loncapa.org/suse/11.2' LON-CAPA |
zypper ar -f 'http://download.opensuse.org/repositories/devel:languages:R:patched/openSUSE_11.2' R-patched |
zypper ar -f 'http://download.opensuse.org/repositories/devel:languages:R:patched/openSUSE_11.2' R-patched |
zypper ar -f 'http://download.opensuse.org/repositories/science/openSuSE_11.2' science |
zypper ar -f 'http://download.opensuse.org/repositories/science/openSUSE_11.2' science |
</pre> |
</pre> |
|
You will need to confirm that you wish to trust the key used to sign the packages in the LON-CAPA SuSE 11.2 repository. |
</p> |
</p> |
<h2>5. <a name="ilc">Installing LON-CAPA</a></h2> |
<h2>5. <a name="ilc">Installing LON-CAPA</a></h2> |
<h3>Install prerequisites</h3> |
<h3>Install prerequisites</h3> |
Line 141 zypper ar -f 'http://download.opensuse.o
|
Line 125 zypper ar -f 'http://download.opensuse.o
|
<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.2/suse11.2_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.2_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 165 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 203 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 216 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> |