Wordpress setup.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
614 B

#!/bin/bash
# Wordpress install script
# Written by Joshua Mudge
# Ad Mejorem Dei Glorium
version="v1.0"
curl -s "https://gitlab.daplie.com/sysadmin/daplie-snippets/raw/master/dss/setup.sh" | bash
dss --user $USER init
sudo apt-get install nginx unzip php7.0-fpm php-xml php-xmlrpc -y
wget https://wordpress.org/latest.zip
sudo mkdir /var/www/wordpress
unzip latest.zip /var/www/wordpress/
echo "Update Nginx configuration in /etc/nginx/sites-enabled/ with using example configuration."
echo "run: sudo letsencrypt certonly --webroot --webroot-path=/var/www/wordpress -d www.youdomain.com -d yourdomain.com"