--- doc/build/centos8_install.frag 2019/10/03 15:12:52 1.1 +++ doc/build/centos8_install.frag 2024/08/10 02:52:22 1.6 @@ -34,17 +34,17 @@ The installation process takes the follo
-

1. Obtain CentOS Linux 8

+

1. Obtain CentOS Linux 8

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.

-

2. Determine Network Settings

+

2. Determine Network Settings

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.

-

3. Minimal CentOS Linux 8 Install

+

3. Minimal CentOS Linux 8 Install

Documentation is available from @@ -95,12 +95,12 @@ web server ports (i.e., http and https):

 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

Update your system to the latest versions of the system software using dnf.

@@ -116,24 +116,39 @@ If the kernel was updated, reboot your s Enable access to the EPEL repository

-dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
+dnf install epel-release
 

Enable the CentOS-PowerTools repository

-
    -
  1. Retrieve the PowerTools.repo file from the LON-CAPA install site:
    -wget http://install.loncapa.org/versions/centos/8/centos8_PowerTools_yum.conf
    +dnf config-manager --set-enabled powertools
     
    -
  2. -
  3. -Install the PowerTools.repo file +

    +Install the loncapa.repo file from the LON-CAPA install site: +

    -mv centos8_PowerTools_yum.conf /etc/yum.repos.d/CentOS-PowerTools.repo
    +wget -O /etc/yum.repos.d/loncapa.repo http://install.loncapa.org/versions/centos/8/loncapa.repo
     
    -
  4. -
+

+Verify the required repositories are enabled: +

+
+dnf repolist enabled
+
+

+The list of enabled repos should be as follows: +

+ + + + + + + + + +
repo idrepo name
AppStreamCentOS-8 - AppStream
BaseOSCentOS-8 - Base
PowerToolsCentOS-8 - PowerTools
*epelExtra Packages for Enterprise Linux 8 - x86_64
extrasCentOS-8 - Extras
loncapa-updates-basearchCentOS 8 LON-CAPA x86_64 Updates
loncapa-updates-noarchCentOS 8 LON-CAPA noarch Updates

Install and enable a Mail Transfer Agent (MTA), e.g., postfix

@@ -159,7 +174,7 @@ mv loncapa_selinux_config /etc/selinux/c
 reboot
 
-

5. Installing LON-CAPA

+

5. Installing LON-CAPA

Install prerequisites

Execute:

@@ -181,8 +196,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
@@ -194,7 +209,7 @@ used to check the configuration of a sys
 

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. +Once a choice has been entered for all ten possible actions, required changes will be made.

The possible actions are:

-

7. Start/Restart Services

+

7. Start/Restart Services

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
+/home/httpd/perl/loncontrol 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
+
-

8. Log in to your LON-CAPA Machine

+

8. Log in to your LON-CAPA Machine

Point a web browser at your new machine and log in as the domain coordinator. Congratulations!