Updated methode of adding repo's
This commit is contained in:
@@ -1 +1 @@
|
||||
$PKGA ppa:ondrej/apache2 -y -n > $OUTPUT 2>&1
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=apache osrel=$shortdist bash
|
||||
@@ -2,15 +2,15 @@
|
||||
# Prerequisite packages #
|
||||
##-----------------------##
|
||||
|
||||
$PKGI software-properties-common gnupg > $OUTPUT 2>&1
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=init osrel=$shortdist bash
|
||||
|
||||
##--------------##
|
||||
# Repositories #
|
||||
##--------------##
|
||||
|
||||
$PKGA universe -y > $OUTPUT 2>&1
|
||||
$PKGA ppa:ondrej/php -y -n > $OUTPUT 2>&1
|
||||
$PKGA ppa:certbot/certbot -y -n > $OUTPUT 2>&1
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=universe osrel=$shortdist bash
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=php osrel=$shortdist bash
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=certbot osrel=$shortdist bash
|
||||
|
||||
|
||||
##-------------##
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" > /etc/apt/sources.list.d/nginx.list
|
||||
curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add -
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=nginx osrel=$shortdist bash
|
||||
@@ -1,5 +1,4 @@
|
||||
echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" > /etc/apt/sources.list.d/nginx.list
|
||||
curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add -
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=nginx osrel=$shortdist bash
|
||||
|
||||
#Disable PhpMyadmin and Backend cms
|
||||
disbackendcms=1
|
||||
|
||||
Reference in New Issue
Block a user