git-svn-id: svn://losandesgames.com/alfheim-website@35 15359d88-9307-4e75-a9c1-e5686e5897df
This commit is contained in:
parent
09d33cf75e
commit
153a60860b
8
setup.sh
8
setup.sh
@ -53,6 +53,14 @@ ufw --force enable
|
||||
#
|
||||
# Install fail2ban.
|
||||
apt --yes install fail2ban
|
||||
apt --yes install certbot
|
||||
|
||||
su - alfheim -c "mkdir cert"
|
||||
su - alfheim -c "mkdir cert/lib"
|
||||
su - alfheim -c "mkdir cert/config"
|
||||
su - alfheim -c "mkdir cert/log"
|
||||
su - alfheim -c "sudo certbot certonly --cert-path cert/ --work-dir cert/lib --config-dir cert/config/ --logs-dir cert/log/ --standalone"
|
||||
su - alfheim -c "sudo chown -R alfheim:alfheim cert"
|
||||
|
||||
# Add a DSN for connecting to the greenlight database to the system-wide environment
|
||||
# variables in the /etc/environment file.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user