Add wordpress helper script
This commit is contained in:
parent
f1dd9dd042
commit
b20c0382d2
|
@ -0,0 +1,19 @@
|
|||
#!/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
|
Loading…
Reference in New Issue