Update 'install.sh'
This commit is contained in:
parent
aac72bdc46
commit
4fb0d9d85d
10
install.sh
10
install.sh
|
@ -12,10 +12,12 @@ tar xzvf latest.tar.gz
|
|||
touch /tmp/wordpress/.htaccess
|
||||
cp /tmp/wordpress/wp-config-sample.php /tmp/wordpress/wp-config.php
|
||||
mkdir /tmp/wordpress/wp-content/upgrade
|
||||
sudo cp -a /tmp/wordpress/. /var/www/shop
|
||||
sudo chown -R www-data:www-data /var/www/shop
|
||||
sudo find /var/www/shop/ -type d -exec chmod 750 {} \;
|
||||
sudo find /var/www/shop/ -type f -exec chmod 640 {} \;
|
||||
sudo mkdir /var/www/shop
|
||||
sudo mkdir /var/www/shop/{ssl/html}
|
||||
sudo cp -a /tmp/wordpress/. /var/www/shop/html
|
||||
sudo chown -R www-data:www-data /var/www/shop/html
|
||||
sudo find /var/www/shop/html/ -type d -exec chmod 750 {} \;
|
||||
sudo find /var/www/shop/html/ -type f -exec chmod 640 {} \;
|
||||
|
||||
curl -s https://api.wordpress.org/secret-key/1.1/salt/
|
||||
sudo nano /var/www/shop/wp-config.php
|
||||
|
|
Loading…
Reference in New Issue