diff --git a/installer.sh b/installer.sh index b9407b3..67d2877 100644 --- a/installer.sh +++ b/installer.sh @@ -199,6 +199,7 @@ service sshd restart echo "root:$password" | chpasswd cd /tmp #mv /boot/grub/menu.lst /boot/grub/menu.lst.bck +apt update #to avoid apt being unable to install software-properties-common apt install -y software-properties-common add-apt-repository -y ppa:certbot/certbot add-apt-repository -y ppa:ondrej/php