Diff for /doc/build/debian12_install.frag between versions 1.1 and 1.2

version 1.1, 2024/06/15 17:43:13 version 1.2, 2024/06/20 01:29:16
Line 100  Use ufw to allow incoming traffic for th Line 100  Use ufw to allow incoming traffic for th
 ssh, www, https  ssh, www, https
 </p>  </p>
 <p>Check if ufw is installed</p>  <p>Check if ufw is installed</p>
 <pre>sudo dpkg-query -s gpg |grep Status</pre>  <pre>sudo dpkg-query -s ufw |grep Status</pre>
 <p>If the result is not: <i>Status: install ok installed</i>, then install it:  <p>If the result is not: <i>Status: install ok installed</i>, then install it:
 <pre>sudo apt-get install ufw</pre>  <pre>sudo apt-get install ufw</pre>
 <p>Configure ufw by executing the following:</p>  <p>Configure ufw by executing the following:</p>
 <pre>  <pre>
 sudo apt-get install ufw  
 sudo ufw default deny  sudo ufw default deny
 sudo ufw enable  sudo ufw enable
 sudo ufw allow ssh  sudo ufw allow ssh
Line 136  sudo systemctl stop systemd-timesyncd Line 135  sudo systemctl stop systemd-timesyncd
 sudo systemctl disable systemd-timesyncd  sudo systemctl disable systemd-timesyncd
 sudo apt-get remove systemd-timesyncd  sudo apt-get remove systemd-timesyncd
 sudo apt-get install chrony  sudo apt-get install chrony
   sudo systemctl start chrony
   sudo systemctl enable chrony
 </pre>  </pre>
 <h2>4. <a name="upd">Update your system</a></h2>  <h2>4. <a name="upd">Update your system</a></h2>
 <p>  <p>
Line 152  If kernel packages were updated, reboot Line 153  If kernel packages were updated, reboot
 <h3>Import the LON-CAPA encryption key</h3>  <h3>Import the LON-CAPA encryption key</h3>
 <p>Check if gpg is installed</p>  <p>Check if gpg is installed</p>
 <pre>sudo dpkg-query -s gpg |grep Status</pre>  <pre>sudo dpkg-query -s gpg |grep Status</pre>
 <p>If the result is not: <i>Status: install ok installed</i>, then install it:  <p>If the result is not: <i>Status: install ok installed</i>, then install it:</p>
 <pre>sudo apt-get install gpg</pre>  <pre>sudo apt-get install gpg</pre>
 <p>Check if wget is installed</p>  <p>Check if wget is installed</p>
 <pre>sudo dpkg-query -s wget |grep Status</pre>  <pre>sudo dpkg-query -s wget |grep Status</pre>
 <p>If the result is not: <i>Status: install ok installed</i>, then install it:  <p>If the result is not: <i>Status: install ok installed</i>, then install it:</p>
 <pre>sudo apt-get install wget</pre>  <pre>sudo apt-get install wget</pre>
   <p>Check if /etc/apt/keyrings directory exists by executing:</p>
   <pre>
   ls -al /etc/apt/keyrings
   </pre>
   <p>If it is missing, create it by executing:</p>
   <pre>
   sudo mkdir /etc/apt/keyrings 
   </pre>
 <p> Execute: </p>  <p> Execute: </p>
 <pre>  <pre>
 wget -q -O - https://install.loncapa.org/versions/debian/APT-GPG-KEY-loncapa.asc | gpg --dearmor | sudo tee /etc/apt/keyrings/loncapa.gpg > /dev/null  wget -q -O - https://install.loncapa.org/versions/debian/APT-GPG-KEY-loncapa.asc | gpg --dearmor | sudo tee /etc/apt/keyrings/loncapa.gpg > /dev/null
Line 182  deb http://deb.debian.org bookworm-updat Line 191  deb http://deb.debian.org bookworm-updat
 <h3>Install prerequisites</h3>  <h3>Install prerequisites</h3>
 <p> Execute: </p>  <p> Execute: </p>
 <pre>  <pre>
   sudo apt-get update
 sudo apt-get install loncapa-prerequisites  sudo apt-get install loncapa-prerequisites
 </pre><p>  </pre><p>
 This may take some minutes due to LON-CAPA's large number of dependencies.  This may take some minutes due to LON-CAPA's large number of dependencies.

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


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