tbrehm
2013-02-22 526b997c9891a796b152cdbab8e329b356b1f596
commit | author | age
20218c 1 <?php
M 2
436ed8 3 /*
R 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
4fe86d 31 //*** Gentoo default settings
20218c 32
4fe86d 33 //* Main
cb8c86 34 $conf['language'] = 'en';
bab36b 35 $conf['distname'] = 'gentoo';
cb8c86 36 $conf['hostname'] = 'server1.domain.tld'; // Full hostname
W 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
757efb 40 $conf['ispconfig_log_dir'] = '/var/log/ispconfig';
cb8c86 41 $conf['server_id'] = 1;
W 42 $conf['init_scripts'] = '/etc/init.d';
43 $conf['runlevel'] = '/etc';
44 $conf['shells'] = '/etc/shells';
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;
20218c 54
4fe86d 55 //* MySQL
cb8c86 56 $conf['mysql']['installed'] = false; // will be detected automatically during installation
W 57 $conf['mysql']['init_script'] = 'mysql';
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 //* SuPHP
76 $conf['suphp']['config_file'] = '/etc/suphp.conf';
20218c 77
4fe86d 78 //* Apache
cb8c86 79 $conf['apache']['installed'] = false; // will be detected automatically during installation
W 80 $conf['apache']['user'] = 'apache';
81 $conf['apache']['group'] = 'apache';
82 $conf['apache']['init_script'] = 'apache2';
83 $conf['apache']['version'] = '2.2';
84 $conf['apache']['config_dir'] = '/etc/apache2';
85 $conf['apache']['config_file'] = $conf['apache']['config_dir'] .'/httpd.conf';
bab36b 86 $conf['apache']['ssl_dir'] = '/etc/ssl/apache2';
cb8c86 87 $conf['apache']['vhost_conf_dir'] = $conf['apache']['config_dir'] . '/vhosts.d';
W 88 $conf['apache']['vhost_conf_enabled_dir'] = $conf['apache']['vhost_conf_dir']; 
89 $conf['apache']['vhost_default'] = '00_default_vhost.conf';
8abf24 90 $conf['apache']['vhost_port'] = '8080';
ff1d9a 91 $conf['apache']['php_ini_path_apache'] = '/etc/php/apache2-php5/php.ini';
W 92 $conf['apache']['php_ini_path_cgi'] = '/etc/php/cgi-php5/php.ini';
20218c 93
cb8c86 94 //* Website base settings
W 95 $conf['web']['website_basedir'] = '/var/www';
96 $conf['web']['website_path'] = '/var/www/clients/client[client_id]/web[website_id]';
97 $conf['web']['website_symlinks'] = '/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/';
98
99 //* Apps base settings
100 $conf['web']['apps_vhost_ip'] = '_default_';
101 $conf['web']['apps_vhost_port'] = '8081';
102 $conf['web']['apps_vhost_servername'] = '';
103 $conf['web']['apps_vhost_user'] = 'ispapps';
104 $conf['web']['apps_vhost_group'] = 'ispapps';
ff1d9a 105
W 106 //* Awstats settings
107 $conf['awstats']['conf_dir'] = '/etc/awstats';
108 $conf['awstats']['data_dir'] = '/var/lib/awstats';
109 $conf['awstats']['pl'] = '/usr/bin/awstats.pl';
110 $conf['awstats']['buildstaticpages_pl'] = '/usr/bin/awstats_buildstaticpages.pl';
cb8c86 111
W 112 //* Fastcgi
bab36b 113 $conf['fastcgi']['fastcgi_phpini_path'] = '/etc/php/cgi-php5';
cb8c86 114 $conf['fastcgi']['fastcgi_starter_path'] = '/var/www/php-fcgi-scripts/[system_user]/';
526b99 115 $conf['fastcgi']['fastcgi_bin'] = '/usr/bin/php-cgi';
cb8c86 116
4fe86d 117 //* Postfix
cb8c86 118 $conf['postfix']['installed'] = false; // will be detected automatically during installation
W 119 $conf['postfix']['config_dir'] = '/etc/postfix';
120 $conf['postfix']['init_script'] = 'postfix';
121 $conf['postfix']['user'] = 'postfix';
122 $conf['postfix']['group'] = 'postfix';
123 $conf['postfix']['vmail_userid'] = '5000';
124 $conf['postfix']['vmail_username'] = 'vmail';
125 $conf['postfix']['vmail_groupid'] = '5000';
126 $conf['postfix']['vmail_groupname'] = 'vmail';
127 $conf['postfix']['vmail_mailbox_base'] = '/var/vmail';
20218c 128
c91bdc 129 //* Mailman
T 130 $conf['mailman']['installed'] = false; // will be detected automatically during installation
131 $conf['mailman']['config_dir'] = '/etc/mailman';
132 $conf['mailman']['init_script'] = 'mailman';
133
4fe86d 134 //* Getmail
cb8c86 135 $conf['getmail']['installed'] = false; // will be detected automatically during installation
W 136 $conf['getmail']['user'] = 'getmail';
137 $conf['getmail']['config_dir'] = '/etc/getmail';
138 $conf['getmail']['program'] = '/usr/bin/getmail';
20218c 139
4fe86d 140 //* Courier
cb8c86 141 $conf['courier']['installed'] = false; // will be detected automatically during installation
W 142 $conf['courier']['config_dir'] = '/etc/courier/authlib';
143 $conf['courier']['courier-authdaemon'] = 'courier-authlib';
144 $conf['courier']['courier-imap'] = 'courier-imapd';
145 $conf['courier']['courier-imap-ssl'] = 'courier-imapd-ssl';
146 $conf['courier']['courier-pop'] = 'courier-pop3d';
147 $conf['courier']['courier-pop-ssl'] = 'courier-pop3d-ssl';
20218c 148
6cc49f 149 //* Dovecot
T 150 $conf['dovecot']['installed'] = false; // will be detected automatically during installation
151 $conf['dovecot']['config_dir'] = '/etc/dovecot';
152 $conf['dovecot']['init_script'] = 'dovecot';
153
4fe86d 154 //* SASL
cb8c86 155 $conf['saslauthd']['installed'] = false; // will be detected automatically during installation
W 156 $conf['saslauthd']['config_file'] = '/etc/conf.d/saslauthd';
157 $conf['saslauthd']['config_dir'] = '/etc/sasl2'; 
158 $conf['saslauthd']['init_script'] = 'saslauthd';
20218c 159
4fe86d 160 //* Amavisd
cb8c86 161 $conf['amavis']['installed'] = false; // will be detected automatically during installation
W 162 $conf['amavis']['config_file'] = '/etc/amavisd.conf';
163 $conf['amavis']['init_script'] = 'amavisd';
20218c 164
4fe86d 165 //* ClamAV
cb8c86 166 $conf['clamav']['installed'] = false; // will be detected automatically during installation
W 167 $conf['clamav']['init_script'] = 'clamd';
20218c 168
4fe86d 169 //* Pureftpd
cb8c86 170 $conf['pureftpd']['installed'] = false; // will be detected automatically during installation
W 171 $conf['pureftpd']['config_file'] = '/etc/conf.d/pure-ftpd';
172 $conf['pureftpd']['mysql_config_file'] = '/etc/pureftpd-mysql.conf';
173 $conf['pureftpd']['init_script'] = 'pure-ftpd';
20218c 174
4fe86d 175 //* MyDNS
cb8c86 176 $conf['mydns']['installed'] = false; // will be detected automatically during installation
W 177 $conf['mydns']['config_dir'] = '/etc';
178 $conf['mydns']['init_script'] = 'mydns';
20218c 179
6ecbdc 180 //* PowerDNS
T 181 $conf['powerdns']['installed'] = false; // will be detected automatically during installation
182 $conf['powerdns']['database'] = 'powerdns';
cb8c86 183 $conf["powerdns"]["config_dir"] = '/etc/powerdns';
W 184 $conf["powerdns"]["config_file"] = 'pdns-local.conf';
185 $conf['powerdns']['init_script'] = 'pdns.local';
186
187 //* BIND DNS Server
188 $conf['bind']['installed'] = false; // will be detected automatically during installation
189 $conf['bind']['bind_user'] = 'root';
ff1d9a 190 $conf['bind']['bind_group'] = 'named';
cb8c86 191 $conf['bind']['bind_zonefiles_dir'] = '/etc/bind';
W 192 $conf['bind']['named_conf_path'] = '/etc/bind/named.conf';
193 $conf['bind']['named_conf_local_path'] = '/etc/bind/named.conf.local';
194 $conf['bind']['init_script'] = 'named';
6ecbdc 195
61d290 196 //* Jailkit
cb8c86 197 $conf['jailkit']['installed'] = false; // will be detected automatically during installation
61d290 198 $conf['jailkit']['config_dir'] = '/etc/jailkit';
D 199 $conf['jailkit']['jk_init'] = 'jk_init.ini';
200 $conf['jailkit']['jk_chrootsh'] = 'jk_chrootsh.ini';
cb8c86 201 $conf['jailkit']['jailkit_chroot_app_programs'] = '/bin/groups /usr/bin/id /usr/bin/dircolors /usr/bin/less /usr/bin/basename /usr/bin/dirname /usr/bin/nano /usr/bin/vim';
838c87 202
c91bdc 203 //* Squid
T 204 $conf['squid']['installed'] = false; // will be detected automatically during installation
205 $conf['squid']['config_dir'] = '/etc/squid';
206 $conf['squid']['init_script'] = 'squid';
207
4ffb51 208 //* Nginx
F 209 $conf['nginx']['installed'] = false; // will be detected automatically during installation
210 $conf['nginx']['user'] = 'nginx';
211 $conf['nginx']['group'] = 'nginx';
212 $conf['nginx']['config_dir'] = '/etc/nginx';
213 $conf['nginx']['vhost_conf_dir'] = '/etc/nginx/sites-available';
214 $conf['nginx']['vhost_conf_enabled_dir'] = '/etc/nginx/sites-enabled';
215 $conf['nginx']['init_script'] = 'nginx';
216 $conf['nginx']['vhost_port'] = '8080';
217 $conf['nginx']['cgi_socket'] = '/var/run/fcgiwrap.socket';
218 $conf['nginx']['php_fpm_init_script'] = 'php5-fpm';
219 $conf['nginx']['php_fpm_ini_path'] = '/etc/php5/fpm/php.ini';
220 $conf['nginx']['php_fpm_pool_dir'] = '/etc/php5/fpm/pool.d';
221 $conf['nginx']['php_fpm_start_port'] = 9010;
9576eb 222 $conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php5-fpm';
4ffb51 223
a73335 224 //* vlogger
cb8c86 225 $conf['vlogger']['config_dir'] = '/etc/vlogger';
61d290 226
0b0dc9 227 //* cron
cb8c86 228 $conf['cron']['init_script'] = 'vixie-cron';
0b0dc9 229 $conf['cron']['crontab_dir'] = '/etc/cron.d';
cb8c86 230 $conf['cron']['group'] = 'cron';
0b0dc9 231 $conf['cron']['wget'] = '/usr/bin/wget';
5c4d55 232
522ef8 233 //* OpenVZ
T 234 $conf['openvz']['installed'] = false;
235
cb8c86 236 ?>