Diff for /doc/build/centos7_install.frag between versions 1.2 and 1.5

version 1.2, 2019/12/02 21:58:24 version 1.5, 2021/03/13 20:43:28
Line 89  Finish installing your server, reboot it Line 89  Finish installing your server, reboot it
 </p>  </p>
 <h3>Firewall Configuration</h3>  <h3>Firewall Configuration</h3>
 <p>  <p>
 LON-CAPA uses the traditional iptables package instead of the recent Firewalld, included for the  Starting with LON-CAPA 2.11.3 you have the option of using either firewalld or iptables to
 first time with CentOS 7.  Accordingly, you should install iptables-services, disable firewalld,  manage the Firewall on your CentOS 7 server/VM, as both are compatible with LON-CAPA's
 and enable iptables.  port management.</p>
   <p>Enable access to standard web server ports (i.e., http and https) as follows, if
   using firewalld::</p>
   <pre>
   systemctl enable firewalld
   systemctl start firewalld
   firewall-cmd --zone=public --permanent --add-service=http
   firewall-cmd --zone=public --permanent --add-service=https
   firewall-cmd --reload
   </pre>
   <p>If you prefer to use the traditional iptables package instead of the default firewalld,
   you will need to install iptables-services, disable firewalld, enable iptables, and then
   use the system-config-firewall-tui tool to configure the Firewall.
 </p>  </p>
 <pre>  <pre>
 yum install iptables-services  yum install iptables-services
Line 101  systemctl enable ip6tables Line 113  systemctl enable ip6tables
 systemctl stop firewalld  systemctl stop firewalld
 systemctl start iptables  systemctl start iptables
 systemctl start ip6tables  systemctl start ip6tables
 yum install wget  
 rpm --import http://install.loncapa.org/versions/centos/RPM-GPG-KEY-loncapa  
 wget http://install.loncapa.org/versions/centos/7/system-config-firewall-tui-1.2.29-10.el7.noarch.rpm  
 yum localinstall system-config-firewall-tui-1.2.29-10.el7.noarch.rpm  
 </pre>  </pre>
 <p>  <p>
 The system-config-firewall-tui tool should be used to configure the Firewall.  Install the system-config-firewall-tui package and configure the Firewall.
 </p>  </p>
 <pre>  <pre>
   yum install system-config-firewall-tui
 system-config-firewall-tui  system-config-firewall-tui
 </pre>  </pre>
 <ol>  <ol>
Line 122  system-config-firewall-tui Line 131  system-config-firewall-tui
   
 <h2>4. <a name="upd">Update your system</a></h2>  <h2>4. <a name="upd">Update your system</a></h2>
 <p>  <p>
 Enable access to the EPEL repository  If you are using 64-bit architecture enable access to the EPEL repository.  Execute:
 </p>  </p>
 <pre>  <pre>
 yum install epel-release  yum install epel-release
Line 137  yum update Line 146  yum update
 Reboot your system before continuing with the installation.  Reboot your system before continuing with the installation.
 </p>  </p>
 <p>  <p>
 Retrieve the centos7_loncapa_yum file from the LON-CAPA install site:  Retrieve the centos7_loncapa_yum file from the LON-CAPA install site and install 
   using the following commands:
 </p>  </p>
 <pre>  <pre>
   yum install wget
   rpm --import http://install.loncapa.org/versions/centos/RPM-GPG-KEY-loncapa
 wget http://install.loncapa.org/versions/centos/7/centos7_loncapa_yum.conf  wget http://install.loncapa.org/versions/centos/7/centos7_loncapa_yum.conf
 </pre>  
 <p>  
 Install the centos7_loncapa_yum.conf  
 </p>  
 <pre>  
 mv /etc/yum.conf /etc/yum.conf.backup  mv /etc/yum.conf /etc/yum.conf.backup
 cp centos7_loncapa_yum.conf /etc/yum.conf  cp centos7_loncapa_yum.conf /etc/yum.conf
 yum update  yum update
Line 157  Verify the required repositories are ena Line 164  Verify the required repositories are ena
 yum repolist enabled  yum repolist enabled
 </pre>  </pre>
 <p>  <p>
 The list of enabled repos should be as follows (where $basearch = x86_64 or i386):  The list of enabled repos should be as follows (where $basearch = x86_64 or i386). The epel repo will be absent if you are using 32-bit architecture.
 </p>  </p>
 <table style="border: 0px; border-collapse: collapse;">  <table style="border: 0px; border-collapse: collapse;">
 <tr><th>repo id</th><th>repo name</th></tr>  <tr><th>repo id</th><th>repo name</th></tr>
 <tr><td>base/7/$basearch</td><td>CentOS-7 - Base<td></tr>  <tr><td>base/7/$basearch</td><td>CentOS-7 - Base<td></tr>
 <tr><td>epel/$basearch</td><td>Extra Packages for Enterprise Linux 7 - $basearch</td></tr>  <tr><td>epel/x86_64</td><td>Extra Packages for Enterprise Linux 7 - x86_64</td></tr>
 <tr><td>extras/7/$basearch</td><td>CentOS-7 - Extras</td></tr>  <tr><td>extras/7/$basearch</td><td>CentOS-7 - Extras</td></tr>
 <tr><td>loncapa-updates-basearch/7/$basearch</td><td>CentOS 7 LON-CAPA $basearch Updates</td></tr>  <tr><td>loncapa-updates-basearch/7/$basearch</td><td>CentOS 7 LON-CAPA $basearch Updates</td></tr>
 <tr><td>loncapa-updates-noarch/7</td><td>CentOS 7 LON-CAPA noarch Updates</td></tr>  <tr><td>loncapa-updates-noarch/7</td><td>CentOS 7 LON-CAPA noarch Updates</td></tr>

Removed from v.1.2  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>