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
f4826f67a5
commit
e9af444cda
1 changed files with 3 additions and 3 deletions
|
@ -43,12 +43,12 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/wordpress.conf
|
|||
#Installation Wordpress
|
||||
# Reload Nginx and regenerate SSOwat conf
|
||||
sudo service nginx reload
|
||||
sudo yunohost app setting wordpress skipped_uris -v "$path/wp-admin"
|
||||
sudo yunohost app setting wordpress skipped_uris -v "$path"
|
||||
sudo yunohost app ssowatconf
|
||||
|
||||
#Installation Wordpress
|
||||
echo "127.0.0.1 $domain #wordpress" > /etc/hosts
|
||||
sudo echo "127.0.0.1 $domain #wordpress" > /etc/hosts
|
||||
curl -X POST -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:12.0) Gecko/20100101 Firefox/12.0" -e "http://$domain$path/wp-admin/install.php?step=2" -H "Content-Type:application/x-www-form-urlencoded" -H "Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -H "Accept-Encoding:gzip, deflate" --data "?step=2&weblog_title=Yunohost&user_name=admin&admin_password=$admin_passwd&admin_password2=$admin_passwd&admin_email=admin@$domain&Submit=Install+WordPress" http://$domain$path/wp-admin/install.php?step=2&weblog_title=Yunohost&user_name=admin&admin_password=$admin_passwd&admin_password2=$admin_passwd&admin_email=admin@$domain&Submit=Install+WordPress > /dev/null 2>&1
|
||||
sudo yunohost app setting wordpress skipped_uris -v ""
|
||||
sudo yunohost app ssowatconf
|
||||
sed -i '/wordpress/d' /etc/hosts
|
||||
sudo sed -i '/wordpress/d' /etc/hosts
|
||||
|
|
Loading…
Add table
Reference in a new issue