Added a apt update to begin of installation
This commit is contained in:
@@ -199,6 +199,7 @@ service sshd restart
|
|||||||
echo "root:$password" | chpasswd
|
echo "root:$password" | chpasswd
|
||||||
cd /tmp
|
cd /tmp
|
||||||
#mv /boot/grub/menu.lst /boot/grub/menu.lst.bck
|
#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
|
apt install -y software-properties-common
|
||||||
add-apt-repository -y ppa:certbot/certbot
|
add-apt-repository -y ppa:certbot/certbot
|
||||||
add-apt-repository -y ppa:ondrej/php
|
add-apt-repository -y ppa:ondrej/php
|
||||||
|
|||||||
Reference in New Issue
Block a user