Add in important info.
This commit is contained in:
parent
9b6492f9c2
commit
2c0f304910
|
@ -10,7 +10,7 @@ dss --user $USER init
|
|||
|
||||
#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 software-properties-common php7.0-mysql mysql-server zip php-gd -y
|
||||
sudo apt-get install nginx unzip php-fpm php-xml php-xmlrpc software-properties-common php-mysql mysql-server zip php-gd -y
|
||||
wget https://wordpress.org/latest.zip
|
||||
sudo mkdir /var/www/wordpress
|
||||
unzip latest.zip
|
||||
|
@ -28,6 +28,8 @@ echo "run: sudo certbot --authenticator webroot --installer nginx after configu
|
|||
# For permalinks, add: try_files $uri $uri/ /index.php?$args; in place of the other try_files in configuration.
|
||||
# Fix perms sudo chown -R www-data:www-data /var/www/dir
|
||||
|
||||
#Run: sudo mysql_secure_installation
|
||||
|
||||
# Change Table prefix in interface if you have multiple sites.
|
||||
# mysql -u root mysql -p
|
||||
#CREATE DATABASE wordpress;
|
||||
|
@ -40,7 +42,7 @@ echo "run: sudo certbot --authenticator webroot --installer nginx after configu
|
|||
# Install WP-CLI
|
||||
|
||||
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
||||
chmod +x wp-cli.phar
|
||||
sudo chmod +x wp-cli.phar
|
||||
sudo mv wp-cli.phar /usr/local/bin/wp
|
||||
|
||||
#https://askubuntu.com/questions/705458/ubuntu-15-10-mysql-error-1524-unix-socket
|
||||
|
|
Loading…
Reference in New Issue