--- doc/build/sles12_install.frag 2015/05/31 00:27:08 1.1 +++ doc/build/sles12_install.frag 2021/01/07 20:54:57 1.2 @@ -12,7 +12,7 @@ More information is available at

Before you begin

-Installing Linux is getting easier and easier. +Installing Linux is straightforward. You will be required to log in to the machine and execute some routine Unix commands. Familiarity with the Apache web server, mod_perl, perl, and MySQL are not required to install and run LON-CAPA. @@ -36,7 +36,7 @@ The installation process takes the follo


1. Obtain SuSE Linux Enterprise Server 12

-SuSE ISO files can be obtained from the Novell site: http://www.novell.com/products/server/. Only DVD1 is required (DVD2 contains source rpms for the various packages). +SLES12 ISO files can be obtained from the SuSE site: https://www.suse.com/download/sles/. Download the SLE-12-SP5-Full-x86_64-GM-Media1.iso.

2. Determine Network Settings

@@ -83,62 +83,77 @@ There are a few steps that require comme include adequate swap space. A minimum is 512 MB, but you should typically have 1 or 2x as much swap space as you do physical RAM. -
Software Selection
-
- Installation of the minimum set of packages is recommended. This will involve unchecking all checkboxes except for the base SLES installation.
- -

Once you system has rebooted, you will use yast to complete the configuration. Change the following settings: -

Network Configuration
LON-CAPA will not work with a machine set up to use a dynamic IP address. When configuring your network card, you should include you static IP address, netmask, host name information (e.g., host name = tmp1, domain = lite.msu.edu), as well as name servers and gateway.
-
Online update
-
Indicate "Yes" when prompted to "run online update now?"
+
Available Extensions and Modules
+
Register the system with suse.com, and then check boxes for the following +
+
System Role
+
Select: Default System
+
Software Selection
+
Customize by clicking "Software" on the Installation Settings screen + Uncheck the boxes for "GNOME Desktop Environment" and X Window System.
+ Check the boxes for the following: +
+
Security
+
The following should be set on the Installation Settings screen: + + If you will need command line access other than via the console, click the link to toggle the setting for the SSH port so it will be open. +

-Finish installing your server, read the "readme", reboot and log in as root. +Finish installing your server, reboot and log in as root.

-

4. Change software sources for your system

+

4. Add software sources for your system

-You will use yast to import packages required for LON-CAPA.
+Use zypper to add package repositories for LON-CAPA and the statistics package: R.
Execute:

-yast
+zypper addrepo http://install.loncapa.org/suse/sles12/ 'LON-CAPA'
+zypper addrepo 'https://download.opensuse.org/reposit$ories/devel:/languages:/R:/released/SLE_12/' 'R-released SLE_12'
+zypper refresh
 

-Select "Change Source of Installation". The media you used to install SLES12 will be listed as an installation source. If you do not already have a SLES12 installation source at your location, you may want to consider creating one from the iso files you used to create . Proceed as follows:

+Verify the required repositories are enabled: +

-mkdir -p sles12/DVD1
-mount -o ro,loop SLE-12-Server-DVD-x86_64-GM-DVD1.iso /mnt
-cp -rv /mnt/* sles12/DVD1
-umount /mnt
+zypper lr -E
 
-

Add an additional installation source

-

-Add the LON-CAPA SLES 12 repository as an additional installation source, so software installation in yast will have access to at least two repositories - a SuSE/Novell source (for packages included for the standard distribution) and the LON-CAPA repository (for extra packages needed to run LON-CAPA). For the LON-CAPA source you will use: -

-
-
Protocol
-
HTTP
-
Server Name
-
install.loncapa.org
-
Directory on server
-
suse/sles12/
-
Authentication
-
Anonymous
-

-After saving this configuration information for the LON-CAPA repository, quit yast. +The list of enabled repos should be as follows:

- + + + + + + + + + + +
AliasName
LON-CAPALON-CAPA
R-released SLE_12R-released SLE_12
SUSE_Linux_Enterprise_Server_12_SP5_x86_64:SLE-Product-SLES12-SP5-PoolSLES12-SP5-Pool
SUSE_Linux_Enterprise_Server_12_SP5_x86_64:SLE-Product-SLES12-SP5-UpdatesSLES12-SP5-Updates
SUSE_Linux_Enterprise_Software_Development_Kit_12_SP5_x86_64:SLE-SDK12-SP5-PoolSLE-SDK12-SP5-Pool
SUSE_Linux_Enterprise_Software_Development_Kit_12_SP5_x86_64:SLE-SDK12-SP5-UpdatesSLE-SDK12-SP5-Updates
SUSE_Package_Hub_12_SP5_x86_64:SUSE-PackageHub-12-SP5-PoolSUSE-PackageHub-12-SP5-Pool
SUSE_Package_Hub_12_SP5_x86_64:SUSE-PackageHub-12-SP5-Standard-PoolSUSE-PackageHub-12-SP5-Standard-Pool

5. Installing LON-CAPA

Install prerequisites

Execute:

-yast -i LONCAPA-prerequisites
+zypper in LONCAPA-prerequisites
 

This may take some minutes due to LON-CAPA's large number of dependencies.