Skip to content

Commit bcd725d

Browse files
committed
- Implemented non-interactive install/update mode.
1 parent 896a582 commit bcd725d

File tree

4 files changed

+245
-46
lines changed

4 files changed

+245
-46
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
$autoinstall['language'] = 'en'; // de, en (default)
3+
$autoinstall['install_mode'] = 'standard'; // standard (default), expert
4+
5+
$autoinstall['hostname'] = 'server1.example.com'; // default
6+
$autoinstall['mysql_hostname'] = 'localhost'; // default: localhost
7+
$autoinstall['mysql_root_user'] = 'root'; // default: root
8+
$autoinstall['mysql_root_password'] = 'howtoforge';
9+
$autoinstall['mysql_database'] = 'dbispconfig'; // default: dbispcongig
10+
$autoinstall['mysql_charset'] = 'utf8'; // default: utf8
11+
$autoinstall['http_server'] = 'nginx'; // apache (default), nginx
12+
$autoinstall['ispconfig_port'] = '8080'; // default: 8080
13+
$autoinstall['ispconfig_use_ssl'] = 'y'; // y (default), n
14+
15+
/* optional expert mode settings, needed only for expert mode */
16+
$autoinstall['mysql_ispconfig_user'] = 'ispconfig'; // default: ispconfig
17+
$autoinstall['mysql_ispconfig_password'] = md5(uniqid(rand()));
18+
$autoinstall['join_multiserver_setup'] = 'n'; // y, n (default)
19+
$autoinstall['mysql_master_hostname'] = 'master.example.com';
20+
$autoinstall['mysql_master_root_user'] = 'root';
21+
$autoinstall['mysql_master_root_password'] = 'howtoforge';
22+
$autoinstall['mysql_master_database'] = 'dbispconfig'; // default: dbispconfig
23+
$autoinstall['configure_mail'] = 'y'; // y (default), n
24+
$autoinstall['configure_jailkit'] = 'y'; // y (default), n
25+
$autoinstall['configure_ftp'] = 'y'; // y (default), n
26+
$autoinstall['configure_dns'] = 'y'; // y (default), n
27+
$autoinstall['configure_apache'] = 'y'; // y (default), n
28+
$autoinstall['configure_nginx'] = 'y'; // y (default), n
29+
$autoinstall['configure_firewall'] = 'y'; // y (default), n
30+
$autoinstall['install_ispconfig_web_interface'] = 'y'; // y (default), n
31+
32+
/* optional update settings, needed only for updates */
33+
$autoupdate['do_backup'] = 'yes'; // yes (default), no
34+
$autoupdate['mysql_root_password'] = 'howtoforge';
35+
$autoupdate['mysql_master_hostname'] = 'master.example.com';
36+
$autoupdate['mysql_master_root_user'] = 'root';
37+
$autoupdate['mysql_master_root_password'] = 'howtoforge';
38+
$autoupdate['mysql_master_database'] = 'dbispconfig'; // default: dbispconfig
39+
$autoupdate['reconfigure_permissions_in_master_database'] = 'no'; // no (default), yes
40+
$autoupdate['reconfigure_services'] = 'yes'; // yes (default), no
41+
$autoupdate['ispconfig_port'] = '8080'; // default: 8080
42+
$autoupdate['create_new_ispconfig_ssl_cert'] = 'no'; // no (default), yes
43+
$autoupdate['reconfigure_crontab'] = 'yes'; // yes (default), no
44+
?>

0 commit comments

Comments
 (0)