1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpbb_ynh.git synced 2024-09-03 19:56:36 +02:00

Disabling of autoconfigure

This commit is contained in:
polytan02 2015-03-08 13:13:51 +00:00
parent 0ae774aabc
commit 31b8e2bdca

View file

@ -44,64 +44,64 @@ sudo apt-get update -qq > /dev/null 2>&1
sudo apt-get install -y imagemagick > /dev/null 2>&1 sudo apt-get install -y imagemagick > /dev/null 2>&1
# Configuration of phpBB # Configuration of phpBB
curl -k -X POST \ #curl -k -X POST \
-H "Host: $domain" \ #-H "Host: $domain" \
--data-urlencode "submit=ok" \ #--data-urlencode "submit=ok" \
"https://127.0.0.1/forum/install/index.php?mode=install&sub=requirements" > /dev/null 2>&1 #"https://127.0.0.1/forum/install/index.php?mode=install&sub=requirements" > /dev/null 2>&1
#
curl -k -X POST \ #curl -k -X POST \
-H "Host: $domain" \ #-H "Host: $domain" \
--data-urlencode "dbms=mysqli" \ #--data-urlencode "dbms=mysqli" \
--data-urlencode "dbhost=localhost" \ #--data-urlencode "dbhost=localhost" \
--data-urlencode "dbname=$app" \ #--data-urlencode "dbname=$app" \
--data-urlencode "dbuser=$app" \ #--data-urlencode "dbuser=$app" \
--data-urlencode "dbpasswd=$db_pwd" \ #--data-urlencode "dbpasswd=$db_pwd" \
--data-urlencode "submit=ok" \ #--data-urlencode "submit=ok" \
"https://127.0.0.1/forum/install/index.php?mode=install&sub=database" > /dev/null 2>&1 #"https://127.0.0.1/forum/install/index.php?mode=install&sub=database" > /dev/null 2>&1
#
curl -k -X POST \ #curl -k -X POST \
-H "Host: $domain" \ #-H "Host: $domain" \
--data-urlencode "submit=ok" \ #--data-urlencode "submit=ok" \
"https://127.0.0.1/forum/install/index.php?mode=install&sub=database" > /dev/null 2>&1 #"https://127.0.0.1/forum/install/index.php?mode=install&sub=database" > /dev/null 2>&1
#
curl -k -X POST \ #curl -k -X POST \
-H "Host: $domain" \ #-H "Host: $domain" \
--data-urlencode "default_lang=$lang" \ #--data-urlencode "default_lang=$lang" \
--data-urlencode "admin_name=$admin_login" \ #--data-urlencode "admin_name=$admin_login" \
--data-urlencode "admin_pass1=$admin_pwd" \ #--data-urlencode "admin_pass1=$admin_pwd" \
--data-urlencode "admin_pass2=$admin_pwd" \ #--data-urlencode "admin_pass2=$admin_pwd" \
--data-urlencode "board_email=$admin_email" \ #--data-urlencode "board_email=$admin_email" \
--data-urlencode "submit=ok" \ #--data-urlencode "submit=ok" \
"https://127.0.0.1/forum/install/index.php?mode=install&sub=administrator" > /dev/null 2>&1 #"https://127.0.0.1/forum/install/index.php?mode=install&sub=administrator" > /dev/null 2>&1
#
curl -k -X POST \ #curl -k -X POST \
-H "Host: $domain" \ #-H "Host: $domain" \
--data-urlencode "submit=ok" \ #--data-urlencode "submit=ok" \
"https://127.0.0.1/forum/install/index.php?mode=install&sub=administrator" > /dev/null 2>&1 #"https://127.0.0.1/forum/install/index.php?mode=install&sub=administrator" > /dev/null 2>&1
#
curl -k -X POST \ #curl -k -X POST \
-H "Host: $domain" \ #-H "Host: $domain" \
--data-urlencode "submit=ok" \ #--data-urlencode "submit=ok" \
"https://127.0.0.1/forum/install/index.php?mode=install&sub=config_file" > /dev/null 2>&1 #"https://127.0.0.1/forum/install/index.php?mode=install&sub=config_file" > /dev/null 2>&1
#
curl -k -X POST \ #curl -k -X POST \
-H "Host: $domain" \ #-H "Host: $domain" \
--data-urlencode "email_enable=1" \ #--data-urlencode "email_enable=1" \
--data-urlencode "smtp_delivery=0" \ #--data-urlencode "smtp_delivery=0" \
--data-urlencode "smtp_auth=PLAIN" \ #--data-urlencode "smtp_auth=PLAIN" \
--data-urlencode "cookie_secure=1" \ #--data-urlencode "cookie_secure=1" \
--data-urlencode "force_server_vars=0" \ #--data-urlencode "force_server_vars=0" \
--data-urlencode "server_protocol=https://" \ #--data-urlencode "server_protocol=https://" \
--data-urlencode "server_name=$domain" \ #--data-urlencode "server_name=$domain" \
--data-urlencode "server_port=443" \ #--data-urlencode "server_port=443" \
--data-urlencode "script_path=$path" \ #--data-urlencode "script_path=$path" \
--data-urlencode "submit=ok" \ #--data-urlencode "submit=ok" \
"https://127.0.0.1/forum/install/index.php?mode=install&sub=advanced" > /dev/null 2>&1 #"https://127.0.0.1/forum/install/index.php?mode=install&sub=advanced" > /dev/null 2>&1
#
curl -k -X POST \ #curl -k -X POST \
-H "Host: $domain" \ #-H "Host: $domain" \
--data-urlencode "submit=ok" \ #--data-urlencode "submit=ok" \
"https://127.0.0.1/forum/install/index.php?mode=install&sub=create_table" > /dev/null 2>&1 #"https://127.0.0.1/forum/install/index.php?mode=install&sub=create_table" > /dev/null 2>&1