1- <?php
2-
3- /*
4- Copyright (c) 2007, Till Brehm, projektfarm Gmbh
5- All rights reserved.
6-
7- Redistribution and use in source and binary forms, with or without modification,
8- are permitted provided that the following conditions are met:
9-
10- * Redistributions of source code must retain the above copyright notice,
11- this list of conditions and the following disclaimer.
12- * Redistributions in binary form must reproduce the above copyright notice,
13- this list of conditions and the following disclaimer in the documentation
14- and/or other materials provided with the distribution.
15- * Neither the name of ISPConfig nor the names of its contributors
16- may be used to endorse or promote products derived from this software without
17- specific prior written permission.
18-
19- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
20- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22- IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
23- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
26- OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
28- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29- */
30-
31- //*** Fedora 9 default settings
32-
33- //* Main
34- $ conf ['language ' ] = 'en ' ;
35- $ conf ['distname ' ] = 'centos52 ' ;
36- $ conf ['hostname ' ] = 'server1.domain.tld ' ; // Full hostname
37- $ conf ['ispconfig_install_dir ' ] = '/usr/local/ispconfig ' ;
38- $ conf ['ispconfig_config_dir ' ] = '/usr/local/ispconfig ' ;
39- $ conf ['ispconfig_log_priority ' ] = 2 ; // 0 = Debug, 1 = Warning, 2 = Error
40- $ conf ['server_id ' ] = 1 ;
41- $ conf ['init_scripts ' ] = '/etc/init.d ' ;
42- $ conf ['runlevel ' ] = '/etc ' ;
43- $ conf ['shells ' ] = '/etc/shells ' ;
44- $ conf ['cron_tab ' ] = '/var/spool/cron/root ' ;
45- $ conf ['pam ' ] = '/etc/pam.d ' ;
46-
47- //* Services provided by this server, this selection will be overridden by the expert mode
48- $ conf ['services ' ]['mail ' ] = true ;
49- $ conf ['services ' ]['web ' ] = true ;
50- $ conf ['services ' ]['dns ' ] = true ;
51- $ conf ['services ' ]['file ' ] = true ;
52- $ conf ['services ' ]['db ' ] = true ;
53- $ conf ['services ' ]['vserver ' ] = true ;
54-
55- //* MySQL
56- $ conf ['mysql ' ]['installed ' ] = false ; // will be detected automatically during installation
57- $ conf ['mysql ' ]['init_script ' ] = 'mysqld ' ;
58- $ conf ['mysql ' ]['host ' ] = 'localhost ' ;
59- $ conf ['mysql ' ]['ip ' ] = '127.0.0.1 ' ;
60- $ conf ['mysql ' ]['port ' ] = '3306 ' ;
61- $ conf ['mysql ' ]['database ' ] = 'dbispconfig ' ;
62- $ conf ['mysql ' ]['admin_user ' ] = 'root ' ;
63- $ conf ['mysql ' ]['admin_password ' ] = '' ;
64- $ conf ['mysql ' ]['charset ' ] = 'utf8 ' ;
65- $ conf ['mysql ' ]['ispconfig_user ' ] = 'ispconfig ' ;
66- $ conf ['mysql ' ]['ispconfig_password ' ] = md5 (uniqid (rand ()));
67- $ conf ['mysql ' ]['master_slave_setup ' ] = 'n ' ;
68- $ conf ['mysql ' ]['master_host ' ] = '' ;
69- $ conf ['mysql ' ]['master_database ' ] = 'dbispconfig ' ;
70- $ conf ['mysql ' ]['master_admin_user ' ] = 'root ' ;
71- $ conf ['mysql ' ]['master_admin_password ' ] = '' ;
72- $ conf ['mysql ' ]['master_ispconfig_user ' ] = '' ;
73- $ conf ['mysql ' ]['master_ispconfig_password ' ] = md5 (uniqid (rand ()));
74-
75- //* Apache
76- $ conf ['apache ' ]['installed ' ] = false ; // will be detected automatically during installation
77- $ conf ['apache ' ]['user ' ] = 'apache ' ;
78- $ conf ['apache ' ]['group ' ] = 'apache ' ;
79- $ conf ['apache ' ]['init_script ' ] = 'httpd ' ;
80- $ conf ['apache ' ]['version ' ] = '2.2 ' ;
81- $ conf ['apache ' ]['vhost_conf_dir ' ] = '/etc/httpd/conf/sites-available ' ;
82- $ conf ['apache ' ]['vhost_conf_enabled_dir ' ] = '/etc/httpd/conf/sites-enabled ' ;
83- $ conf ['apache ' ]['vhost_port ' ] = '8080 ' ;
84-
85- //* Website base settings
86- $ conf ['web ' ]['website_basedir ' ] = '/var/www ' ;
87- $ conf ['web ' ]['website_path ' ] = '/var/www/clients/client[client_id]/web[website_id] ' ;
88- $ conf ['web ' ]['website_symlinks ' ] = '/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/ ' ;
89-
90- //* Fastcgi
91- $ conf ['fastcgi ' ]['fastcgi_phpini_path ' ] = '/etc/ ' ;
92- $ conf ['fastcgi ' ]['fastcgi_starter_path ' ] = '/var/www/php-fcgi-scripts/[system_user]/ ' ;
93-
94- //* Postfix
95- $ conf ['postfix ' ]['installed ' ] = false ; // will be detected automatically during installation
96- $ conf ['postfix ' ]['config_dir ' ] = '/etc/postfix ' ;
97- $ conf ['postfix ' ]['init_script ' ] = 'postfix ' ;
98- $ conf ['postfix ' ]['user ' ] = 'postfix ' ;
99- $ conf ['postfix ' ]['group ' ] = 'postfix ' ;
100- $ conf ['postfix ' ]['vmail_userid ' ] = '5000 ' ;
101- $ conf ['postfix ' ]['vmail_username ' ] = 'vmail ' ;
102- $ conf ['postfix ' ]['vmail_groupid ' ] = '5000 ' ;
103- $ conf ['postfix ' ]['vmail_groupname ' ] = 'vmail ' ;
104- $ conf ['postfix ' ]['vmail_mailbox_base ' ] = '/var/vmail ' ;
105-
106- //* Getmail
107- $ conf ['getmail ' ]['installed ' ] = false ; // will be detected automatically during installation
108- $ conf ['getmail ' ]['config_dir ' ] = '/etc/getmail ' ;
109- $ conf ['getmail ' ]['program ' ] = '/usr/bin/getmail ' ;
110-
111- //* Courier
112- $ conf ['courier ' ]['installed ' ] = false ; // will be detected automatically during installation
113- $ conf ['courier ' ]['config_dir ' ] = '/etc/authlib ' ;
114- $ conf ['courier ' ]['courier-authdaemon ' ] = 'courier-authlib ' ;
115- $ conf ['courier ' ]['courier-imap ' ] = 'courier-imap ' ;
116- $ conf ['courier ' ]['courier-imap-ssl ' ] = '' ;
117- $ conf ['courier ' ]['courier-pop ' ] = '' ;
118- $ conf ['courier ' ]['courier-pop-ssl ' ] = '' ;
119-
120- //* SASL
121- $ conf ['saslauthd ' ]['installed ' ] = false ; // will be detected automatically during installation
122- $ conf ['saslauthd ' ]['config ' ] = '/etc/sysconfig/saslauthd ' ;
123- $ conf ['saslauthd ' ]['init_script ' ] = 'saslauthd ' ;
124-
125- //* Amavisd
126- $ conf ['amavis ' ]['installed ' ] = false ; // will be detected automatically during installation
127- $ conf ['amavis ' ]['config_dir ' ] = '/etc ' ;
128- $ conf ['amavis ' ]['init_script ' ] = 'amavisd ' ;
129-
130- //* ClamAV
131- $ conf ['clamav ' ]['installed ' ] = false ; // will be detected automatically during installation
132- $ conf ['clamav ' ]['init_script ' ] = 'clamd ' ;
133-
134- //* Pureftpd
135- $ conf ['pureftpd ' ]['installed ' ] = false ; // will be detected automatically during installation
136- $ conf ['pureftpd ' ]['config_dir ' ] = '/etc/pure-ftpd ' ;
137- $ conf ['pureftpd ' ]['init_script ' ] = 'pure-ftpd ' ;
138-
139- //* MyDNS
140- $ conf ['mydns ' ]['installed ' ] = false ; // will be detected automatically during installation
141- $ conf ['mydns ' ]['config_dir ' ] = '/etc ' ;
142- $ conf ['mydns ' ]['init_script ' ] = 'mydns ' ;
143-
144- //* Jailkit
145- $ conf ['jailkit ' ]['installed ' ] = false ; // will be detected automatically during installation
146- $ conf ['jailkit ' ]['config_dir ' ] = '/etc/jailkit ' ;
147- $ conf ['jailkit ' ]['jk_init ' ] = 'jk_init.ini ' ;
148- $ conf ['jailkit ' ]['jk_chrootsh ' ] = 'jk_chrootsh.ini ' ;
149- $ conf ['jailkit ' ]['jailkit_chroot_app_programs ' ] = '/usr/bin/groups /usr/bin/id /usr/bin/dircolors /bin/basename /usr/bin/dirname /usr/bin/nano ' ;
150- $ conf ['jailkit ' ]['jailkit_chroot_cron_programs ' ] = '/usr/bin/php /usr/bin/perl /usr/share/perl /usr/share/php ' ;
151-
152- //* vlogger
153- $ conf ['vlogger ' ]['config_dir ' ] = '/etc ' ;
154-
155- //* cron
156- $ conf ['cron ' ]['init_script ' ] = 'crond ' ;
157- $ conf ['cron ' ]['crontab_dir ' ] = '/etc/cron.d ' ;
158- $ conf ['cron ' ]['wget ' ] = '/usr/bin/wget ' ;
159-
1+ <?php
2+
3+ /*
4+ Copyright (c) 2007, Till Brehm, projektfarm Gmbh
5+ All rights reserved.
6+
7+ Redistribution and use in source and binary forms, with or without modification,
8+ are permitted provided that the following conditions are met:
9+
10+ * Redistributions of source code must retain the above copyright notice,
11+ this list of conditions and the following disclaimer.
12+ * Redistributions in binary form must reproduce the above copyright notice,
13+ this list of conditions and the following disclaimer in the documentation
14+ and/or other materials provided with the distribution.
15+ * Neither the name of ISPConfig nor the names of its contributors
16+ may be used to endorse or promote products derived from this software without
17+ specific prior written permission.
18+
19+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
20+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22+ IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
23+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
26+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
28+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+ */
30+
31+ //*** Fedora 9 default settings
32+
33+ //* Main
34+ $ conf ['language ' ] = 'en ' ;
35+ $ conf ['distname ' ] = 'centos52 ' ;
36+ $ conf ['hostname ' ] = 'server1.domain.tld ' ; // Full hostname
37+ $ conf ['ispconfig_install_dir ' ] = '/usr/local/ispconfig ' ;
38+ $ conf ['ispconfig_config_dir ' ] = '/usr/local/ispconfig ' ;
39+ $ conf ['ispconfig_log_priority ' ] = 2 ; // 0 = Debug, 1 = Warning, 2 = Error
40+ $ conf ['server_id ' ] = 1 ;
41+ $ conf ['init_scripts ' ] = '/etc/init.d ' ;
42+ $ conf ['runlevel ' ] = '/etc ' ;
43+ $ conf ['shells ' ] = '/etc/shells ' ;
44+ $ conf ['cron_tab ' ] = '/var/spool/cron/root ' ;
45+ $ conf ['pam ' ] = '/etc/pam.d ' ;
46+
47+ //* Services provided by this server, this selection will be overridden by the expert mode
48+ $ conf ['services ' ]['mail ' ] = true ;
49+ $ conf ['services ' ]['web ' ] = true ;
50+ $ conf ['services ' ]['dns ' ] = true ;
51+ $ conf ['services ' ]['file ' ] = true ;
52+ $ conf ['services ' ]['db ' ] = true ;
53+ $ conf ['services ' ]['vserver ' ] = true ;
54+
55+ //* MySQL
56+ $ conf ['mysql ' ]['installed ' ] = false ; // will be detected automatically during installation
57+ $ conf ['mysql ' ]['init_script ' ] = 'mysqld ' ;
58+ $ conf ['mysql ' ]['host ' ] = 'localhost ' ;
59+ $ conf ['mysql ' ]['ip ' ] = '127.0.0.1 ' ;
60+ $ conf ['mysql ' ]['port ' ] = '3306 ' ;
61+ $ conf ['mysql ' ]['database ' ] = 'dbispconfig ' ;
62+ $ conf ['mysql ' ]['admin_user ' ] = 'root ' ;
63+ $ conf ['mysql ' ]['admin_password ' ] = '' ;
64+ $ conf ['mysql ' ]['charset ' ] = 'utf8 ' ;
65+ $ conf ['mysql ' ]['ispconfig_user ' ] = 'ispconfig ' ;
66+ $ conf ['mysql ' ]['ispconfig_password ' ] = md5 (uniqid (rand ()));
67+ $ conf ['mysql ' ]['master_slave_setup ' ] = 'n ' ;
68+ $ conf ['mysql ' ]['master_host ' ] = '' ;
69+ $ conf ['mysql ' ]['master_database ' ] = 'dbispconfig ' ;
70+ $ conf ['mysql ' ]['master_admin_user ' ] = 'root ' ;
71+ $ conf ['mysql ' ]['master_admin_password ' ] = '' ;
72+ $ conf ['mysql ' ]['master_ispconfig_user ' ] = '' ;
73+ $ conf ['mysql ' ]['master_ispconfig_password ' ] = md5 (uniqid (rand ()));
74+
75+ //* Apache
76+ $ conf ['apache ' ]['installed ' ] = false ; // will be detected automatically during installation
77+ $ conf ['apache ' ]['user ' ] = 'apache ' ;
78+ $ conf ['apache ' ]['group ' ] = 'apache ' ;
79+ $ conf ['apache ' ]['init_script ' ] = 'httpd ' ;
80+ $ conf ['apache ' ]['version ' ] = '2.2 ' ;
81+ $ conf ['apache ' ]['vhost_conf_dir ' ] = '/etc/httpd/conf/sites-available ' ;
82+ $ conf ['apache ' ]['vhost_conf_enabled_dir ' ] = '/etc/httpd/conf/sites-enabled ' ;
83+ $ conf ['apache ' ]['vhost_port ' ] = '8080 ' ;
84+
85+ //* Website base settings
86+ $ conf ['web ' ]['website_basedir ' ] = '/var/www ' ;
87+ $ conf ['web ' ]['website_path ' ] = '/var/www/clients/client[client_id]/web[website_id] ' ;
88+ $ conf ['web ' ]['website_symlinks ' ] = '/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/ ' ;
89+
90+ //* Fastcgi
91+ $ conf ['fastcgi ' ]['fastcgi_phpini_path ' ] = '/etc/ ' ;
92+ $ conf ['fastcgi ' ]['fastcgi_starter_path ' ] = '/var/www/php-fcgi-scripts/[system_user]/ ' ;
93+
94+ //* Postfix
95+ $ conf ['postfix ' ]['installed ' ] = false ; // will be detected automatically during installation
96+ $ conf ['postfix ' ]['config_dir ' ] = '/etc/postfix ' ;
97+ $ conf ['postfix ' ]['init_script ' ] = 'postfix ' ;
98+ $ conf ['postfix ' ]['user ' ] = 'postfix ' ;
99+ $ conf ['postfix ' ]['group ' ] = 'postfix ' ;
100+ $ conf ['postfix ' ]['vmail_userid ' ] = '5000 ' ;
101+ $ conf ['postfix ' ]['vmail_username ' ] = 'vmail ' ;
102+ $ conf ['postfix ' ]['vmail_groupid ' ] = '5000 ' ;
103+ $ conf ['postfix ' ]['vmail_groupname ' ] = 'vmail ' ;
104+ $ conf ['postfix ' ]['vmail_mailbox_base ' ] = '/var/vmail ' ;
105+
106+ //* Getmail
107+ $ conf ['getmail ' ]['installed ' ] = false ; // will be detected automatically during installation
108+ $ conf ['getmail ' ]['config_dir ' ] = '/etc/getmail ' ;
109+ $ conf ['getmail ' ]['program ' ] = '/usr/bin/getmail ' ;
110+
111+ //* Courier
112+ $ conf ['courier ' ]['installed ' ] = false ; // will be detected automatically during installation
113+ $ conf ['courier ' ]['config_dir ' ] = '/etc/authlib ' ;
114+ $ conf ['courier ' ]['courier-authdaemon ' ] = 'courier-authlib ' ;
115+ $ conf ['courier ' ]['courier-imap ' ] = 'courier-imap ' ;
116+ $ conf ['courier ' ]['courier-imap-ssl ' ] = '' ;
117+ $ conf ['courier ' ]['courier-pop ' ] = '' ;
118+ $ conf ['courier ' ]['courier-pop-ssl ' ] = '' ;
119+
120+ //* SASL
121+ $ conf ['saslauthd ' ]['installed ' ] = false ; // will be detected automatically during installation
122+ $ conf ['saslauthd ' ]['config ' ] = '/etc/sysconfig/saslauthd ' ;
123+ $ conf ['saslauthd ' ]['init_script ' ] = 'saslauthd ' ;
124+
125+ //* Amavisd
126+ $ conf ['amavis ' ]['installed ' ] = false ; // will be detected automatically during installation
127+ $ conf ['amavis ' ]['config_dir ' ] = '/etc ' ;
128+ $ conf ['amavis ' ]['init_script ' ] = 'amavisd ' ;
129+
130+ //* ClamAV
131+ $ conf ['clamav ' ]['installed ' ] = false ; // will be detected automatically during installation
132+ $ conf ['clamav ' ]['init_script ' ] = 'clamd ' ;
133+
134+ //* Pureftpd
135+ $ conf ['pureftpd ' ]['installed ' ] = false ; // will be detected automatically during installation
136+ $ conf ['pureftpd ' ]['config_dir ' ] = '/etc/pure-ftpd ' ;
137+ $ conf ['pureftpd ' ]['init_script ' ] = 'pure-ftpd ' ;
138+
139+ //* MyDNS
140+ $ conf ['mydns ' ]['installed ' ] = false ; // will be detected automatically during installation
141+ $ conf ['mydns ' ]['config_dir ' ] = '/etc ' ;
142+ $ conf ['mydns ' ]['init_script ' ] = 'mydns ' ;
143+
144+ //* PowerDNS
145+ $ conf ['powerdns ' ]['installed ' ] = false ; // will be detected automatically during installation
146+ $ conf ['powerdns ' ]['database ' ] = 'powerdns ' ;
147+ $ conf ["powerdns " ]["config_dir " ] = '/etc/powerdns/pdns.d ' ;
148+ $ conf ['powerdns ' ]['init_script ' ] = 'pdns ' ;
149+
150+ //* Jailkit
151+ $ conf ['jailkit ' ]['installed ' ] = false ; // will be detected automatically during installation
152+ $ conf ['jailkit ' ]['config_dir ' ] = '/etc/jailkit ' ;
153+ $ conf ['jailkit ' ]['jk_init ' ] = 'jk_init.ini ' ;
154+ $ conf ['jailkit ' ]['jk_chrootsh ' ] = 'jk_chrootsh.ini ' ;
155+ $ conf ['jailkit ' ]['jailkit_chroot_app_programs ' ] = '/usr/bin/groups /usr/bin/id /usr/bin/dircolors /bin/basename /usr/bin/dirname /usr/bin/nano ' ;
156+ $ conf ['jailkit ' ]['jailkit_chroot_cron_programs ' ] = '/usr/bin/php /usr/bin/perl /usr/share/perl /usr/share/php ' ;
157+
158+ //* vlogger
159+ $ conf ['vlogger ' ]['config_dir ' ] = '/etc ' ;
160+
161+ //* cron
162+ $ conf ['cron ' ]['init_script ' ] = 'crond ' ;
163+ $ conf ['cron ' ]['crontab_dir ' ] = '/etc/cron.d ' ;
164+ $ conf ['cron ' ]['wget ' ] = '/usr/bin/wget ' ;
165+
160166?>
0 commit comments