--- doc/build/centos8_install.frag 2019/10/03 15:12:52 1.1 +++ doc/build/centos8_install.frag 2020/11/02 21:16:44 1.4 @@ -34,17 +34,17 @@ The installation process takes the follo
CentOS 8 isos can be obtained from links included on the CentOS download page. Either download the Boot ISO or the CentOS 8 DVD1 ISO.
-You will need to know the following network settings for your installation. -Note:You must have a static IP address to use LON-CAPA. +Note: You must have a static IP address to use LON-CAPA. DHCP is not supported.
Documentation is available from
@@ -95,12 +95,12 @@ web server ports (i.e., http and https):
Update your system to the latest versions of the system software using dnf.
systemctl enable firewalld
systemctl start firewalld
-sudo firewall-cmd --zone=public --permanent --add-service=http
-sudo firewall-cmd --zone=public --permanent --add-service=https
-sudo firewall-cmd --reload
+firewall-cmd --zone=public --permanent --add-service=http
+firewall-cmd --zone=public --permanent --add-service=https
+firewall-cmd --reload
-4. Update your system
+4. Update your system
-dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm +dnf install epel-release
Enable the CentOS-PowerTools repository @@ -134,6 +134,31 @@ mv centos8_PowerTools_yum.conf /etc/yum. +
+Install the loncapa.repo file from the LON-CAPA install site: +
++wget -O /etc/yum.repos.d/loncapa.repo http://install.loncapa.org/versions/centos/8/loncapa.repo ++
+Verify the required repositories are enabled: +
++dnf repolist enabled ++
+The list of enabled repos should be as follows: +
+repo id | repo name |
---|---|
AppStream | CentOS-8 - AppStream |
BaseOS | CentOS-8 - Base |
PowerTools | CentOS-8 - PowerTools |
*epel | Extra Packages for Enterprise Linux 8 - x86_64 |
extras | CentOS-8 - Extras |
loncapa-updates-basearch | CentOS 8 LON-CAPA x86_64 Updates |
loncapa-updates-noarch | CentOS 8 LON-CAPA noarch Updates |
@@ -159,7 +184,7 @@ mv loncapa_selinux_config /etc/selinux/c reboot-
Execute:
@@ -181,8 +206,8 @@ Extract the archive with the following c tar xf install.tar
-This creates a directory named installation. Change to it and -execute the setup script with the following commands: +This creates a directory named installation. +Change to it and execute the setup script with the following commands:
cd installation @@ -224,8 +249,8 @@ for it to function at all. Below is a l
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 @@ -280,33 +308,39 @@ cd /root/loncapa-X.Y.Z/loncom/build perl make_domain_coordinator.pl USERNAME DOMAIN -
The LON-CAPA network services take a moment to start. Most misconfigurations will be apparent at this step.
/etc/init.d/loncontrol start -service httpd start +systemctl start httpd
If you receive warnings about missing perl modules, when starting the httpd service please make sure that the LONCAPA-prerequisites rpm is installed using this command: +
rpm -q LONCAPA-prerequisites rpm-If it is not installed, check that the LON-CAPA Linux repository is a listed repo: -
-more /etc/yum.repos.d/loncapa.repo --and if so, do: +
+If it is not installed, ensure that the required Linux repositories are enabled (see +the "Set up access to package repositories" section above), then install it: +
dnf install LONCAPA-prerequisites+
If you still have errors, please contact the LON-CAPA Helpdesk: helpdesk at loncapa.org
+Ensure that LON-CAPA network services and the httpd service are set to start on boot: +
+systemctl enable loncontrol +systemctl enable httpd +-
Point a web browser at your new machine and log in as the domain coordinator. Congratulations!