PageRenderTime 33ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/install/dist/conf/gentoo.conf.php

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