Added Pre-Requirements
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
##-----------------------##
|
||||
# Prerequisite packages #
|
||||
##-----------------------##
|
||||
|
||||
$PKGI software-properties-common gnupg > $OUTPUT 2>&1
|
||||
|
||||
##--------------##
|
||||
# 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
|
||||
$PKGA ppa:chris-lea/redis-server -y -n > $OUTPUT 2>&1
|
||||
|
||||
|
||||
##-------------##
|
||||
# Updates #
|
||||
##-------------##
|
||||
|
||||
$PKGM update
|
||||
$PKGM upgrade -y
|
||||
|
||||
|
||||
##------------##
|
||||
# System #
|
||||
##------------##
|
||||
@@ -5,6 +29,7 @@
|
||||
hostnamectl set-hostname $hostname
|
||||
sed -i 's/;preserve_hostname: false/preserve_hostname: true/g' /etc/cloud/cloud.cfg
|
||||
timedatectl set-timezone Europe/Amsterdam
|
||||
sed -i '/Port 22/c\Port 4242' /etc/ssh/sshd_config
|
||||
|
||||
|
||||
##----------##
|
||||
|
||||
Reference in New Issue
Block a user