--- doc/build/debian12_install.frag 2024/06/15 17:43:13 1.1 +++ doc/build/debian12_install.frag 2024/06/20 01:29:16 1.2 @@ -100,12 +100,11 @@ Use ufw to allow incoming traffic for th ssh, www, https

Check if ufw is installed

-
sudo dpkg-query -s gpg |grep Status
+
sudo dpkg-query -s ufw |grep Status

If the result is not: Status: install ok installed, then install it:

sudo apt-get install ufw

Configure ufw by executing the following:

-sudo apt-get install ufw
 sudo ufw default deny
 sudo ufw enable
 sudo ufw allow ssh
@@ -136,6 +135,8 @@ sudo systemctl stop systemd-timesyncd
 sudo systemctl disable systemd-timesyncd
 sudo apt-get remove systemd-timesyncd
 sudo apt-get install chrony
+sudo systemctl start chrony
+sudo systemctl enable chrony
 

4. Update your system

@@ -152,12 +153,20 @@ If kernel packages were updated, reboot

Import the LON-CAPA encryption key

Check if gpg is installed

sudo dpkg-query -s gpg |grep Status
-

If the result is not: Status: install ok installed, then install it: +

If the result is not: Status: install ok installed, then install it:

sudo apt-get install gpg

Check if wget is installed

sudo dpkg-query -s wget |grep Status
-

If the result is not: Status: install ok installed, then install it: +

If the result is not: Status: install ok installed, then install it:

sudo apt-get install wget
+

Check if /etc/apt/keyrings directory exists by executing:

+
+ls -al /etc/apt/keyrings
+
+

If it is missing, create it by executing:

+
+sudo mkdir /etc/apt/keyrings 
+

Execute:

 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 @@ deb http://deb.debian.org bookworm-updat
 

Install prerequisites

Execute:

+sudo apt-get update
 sudo apt-get install loncapa-prerequisites
 

This may take some minutes due to LON-CAPA's large number of dependencies.