mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Update install
This commit is contained in:
parent
dec5de3fb2
commit
8b514a00ce
1 changed files with 5 additions and 0 deletions
|
@ -50,9 +50,14 @@ then
|
||||||
apt-get install php5-cli
|
apt-get install php5-cli
|
||||||
fi
|
fi
|
||||||
curl https://raw.github.com/wp-cli/wp-cli.github.com/master/installer.sh | bash
|
curl https://raw.github.com/wp-cli/wp-cli.github.com/master/installer.sh | bash
|
||||||
|
export PATH=/home/admin/.wp-cli/bin:$PATH
|
||||||
wp core install --url=$domain$path --title=Yunohost --admin_user=admin --admin_password=$admin_passwd --admin_email=admin@$domain --path=$final_path
|
wp core install --url=$domain$path --title=Yunohost --admin_user=admin --admin_password=$admin_passwd --admin_email=admin@$domain --path=$final_path
|
||||||
wp plugin activate http-authentication --path=$final_path
|
wp plugin activate http-authentication --path=$final_path
|
||||||
|
|
||||||
# Reload Nginx and regenerate SSOwat conf
|
# Reload Nginx and regenerate SSOwat conf
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
||||||
|
# Remove swap
|
||||||
|
sudo swapoff /var/swap.1
|
||||||
|
rm -Rf /var/swap.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue