[LON-CAPA-cvs] cvs: doc /build debian12_install.frag

raeburn raeburn at source.lon-capa.org
Wed Jun 19 21:29:16 EDT 2024


raeburn		Thu Jun 20 01:29:16 2024 EDT

  Modified files:              
    /doc/build	debian12_install.frag 
  Log:
  - set chrony to start on boot
  - instructions to create /etc/apt/keyrings directory if absent.
  - add some missing closing p tags.
  
  
Index: doc/build/debian12_install.frag
diff -u doc/build/debian12_install.frag:1.1 doc/build/debian12_install.frag:1.2
--- doc/build/debian12_install.frag:1.1	Sat Jun 15 17:43:13 2024
+++ doc/build/debian12_install.frag	Thu Jun 20 01:29:16 2024
@@ -100,12 +100,11 @@
 ssh, www, https
 </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:
 <pre>sudo apt-get install ufw</pre>
 <p>Configure ufw by executing the following:</p>
 <pre>
-sudo apt-get install ufw
 sudo ufw default deny
 sudo ufw enable
 sudo ufw allow ssh
@@ -136,6 +135,8 @@
 sudo systemctl disable systemd-timesyncd
 sudo apt-get remove systemd-timesyncd
 sudo apt-get install chrony
+sudo systemctl start chrony
+sudo systemctl enable chrony
 </pre>
 <h2>4. <a name="upd">Update your system</a></h2>
 <p>
@@ -152,12 +153,20 @@
 <h3>Import the LON-CAPA encryption key</h3>
 <p>Check if gpg is installed</p>
 <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>
 <p>Check if wget is installed</p>
 <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>
+<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>
 <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
@@ -182,6 +191,7 @@
 <h3>Install prerequisites</h3>
 <p> Execute: </p>
 <pre>
+sudo apt-get update
 sudo apt-get install loncapa-prerequisites
 </pre><p>
 This may take some minutes due to LON-CAPA's large number of dependencies.




More information about the LON-CAPA-cvs mailing list