Update programs and proccesses
This commit is contained in:
parent
80dd6ef43f
commit
5b9cfad4a6
|
@ -8,12 +8,24 @@ curl -s "https://gitlab.daplie.com/sysadmin/daplie-snippets/raw/master/dss/setup
|
||||||
|
|
||||||
dss --user $USER init
|
dss --user $USER init
|
||||||
|
|
||||||
sudo apt-get install nginx unzip php7.0-fpm php-xml php-xmlrpc -y
|
#sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
|
||||||
|
|
||||||
|
sudo apt-get install nginx unzip php7.0-fpm php-xml php-xmlrpc letsencrypt software-properties-common php7.0-mysql mysql-server -y
|
||||||
wget https://wordpress.org/latest.zip
|
wget https://wordpress.org/latest.zip
|
||||||
sudo mkdir /var/www/wordpress
|
sudo mkdir /var/www/wordpress
|
||||||
unzip latest.zip /var/www/wordpress/
|
unzip latest.zip
|
||||||
|
sudo mv wordpress/* /var/www/wordpress/
|
||||||
|
|
||||||
|
sudo add-apt-repository ppa:certbot/certbot
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install python-certbot-nginx
|
||||||
|
sudo certbot --nginx
|
||||||
|
|
||||||
|
echo "run: sudo certbot certonly --webroot --webroot-path=/var/www/wordpress -d www.youdomain.com -d yourdomain.com"
|
||||||
echo "Update Nginx configuration in /etc/nginx/sites-enabled/ with using example configuration."
|
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"
|
#mysql -u root mysql -p CREATE DATABASE ideside; CREATE USER 'ideuser'@'localhost' IDENTIFIED BY 'yourpassword'; GRANT ALL PRIVILEGES ON ideside.* TO 'ideuser'@'localhost'; FLUSH PRIVILEGES;
|
||||||
|
|
||||||
|
#https://askubuntu.com/questions/705458/ubuntu-15-10-mysql-error-1524-unix-socket
|
||||||
|
|
||||||
|
#https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04
|
||||||
|
|
Loading…
Reference in New Issue