Changeset 1269

Show
Ignore:
Timestamp:
07/09/08 14:49:37 (5 months ago)
Author:
rats
Message:

* Fixed #1399: CentOS Build Instructions and Config Broken

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r1268 r1269  
    1010                * Fixed #1394: patch to restore gui/reseller/ functionality 
    1111                * Fixed #1396: Wordwrap in ticket system 
     12        - DISTS: 
     13                * Fixed #1399: CentOS Build Instructions and Config Broken 
    1214        - LANGUAGES: 
    1315                * Updated Italian 
  • trunk/configs/centos/Makefile

    r1109 r1269  
    3434 
    3535install: 
    36  
    3736        if test $(HOST_OS) = centos ; then \ 
    3837                cp ./ispcp.conf $(SYSTEM_CONF) ; \ 
     
    5150 
    5251uninstall: 
    53  
    5452        if test $(HOST_OS) = centos ; then \ 
    5553                rm -rf $(SYSTEM_CONF)/ispcp.conf ;  \ 
  • trunk/configs/centos/apache/Makefile

    r1118 r1269  
    3131# 
    3232 
    33 ROOT_APACHE_CONF=$(ROOT_CONF)/apache2 
     33ROOT_APACHE_CONF=$(ROOT_CONF)/httpd 
    3434 
    3535export 
     
    3939        $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF)/apache 
    4040        $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF) 
    41         $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/sites-available 
    42         $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/mods-available 
     41        $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/vhosts 
     42        $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/conf.d 
    4343        $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/ispcp 
    4444 
     
    5454        cp ./fastcgi.conf $(SYSTEM_CONF)/apache/working/fastcgi_ispcp.conf 
    5555 
    56         cp -R $(SYSTEM_CONF)/apache/working/fastcgi_ispcp.conf $(ROOT_APACHE_CONF)/mods-available/fastcgi_ispcp.conf 
     56        cp ./fastcgi.conf $(SYSTEM_CONF)/apache/conf.d/fastcgi_ispcp.conf 
    5757 
    5858uninstall: 
  • trunk/configs/centos/courier/Makefile

    r1118 r1269  
    3232 
    3333ROOT_COURIER_CONF=$(ROOT_CONF)/courier 
     34ROOT_AUTHLIB_CONF=$(ROOT_CONF)/authlib 
    3435 
    3536export 
     
    3940        $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF)/courier 
    4041        $(SYSTEM_MAKE_DIRS) $(ROOT_COURIER_CONF) 
     42        $(SYSTEM_MAKE_DIRS) $(ROOT_AUTHLIB_CONF) 
    4143 
    4244#       MTA Configuration Files; 
  • trunk/configs/centos/init.d/ispcp_daemon

    r1059 r1269  
    11#!/bin/sh 
    2  
    3 # ispCP ω (OMEGA) a Virtual Hosting Control System 
    4 # Copyright (c) 2007 by ispCP 
    5 # http://www.isp-control.net 
    62# 
     3# chkconfig: - 91 35 
     4# description: Starts and stops the ISPCP daemon 
    75# 
    8 # License: 
    9 #    This program is free software; you can redistribute it and/or 
    10 #    modify it under the terms of the MPL Mozilla Public License 
    11 #    as published by the Free Software Foundation; either version 1.1 
    12 #    of the License, or (at your option) any later version. 
    13 
    14 #    This program is distributed in the hope that it will be useful, 
    15 #    but WITHOUT ANY WARRANTY; without even the implied warranty of 
    16 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    17 #    MPL Mozilla Public License for more details. 
    18 
    19 #    You may have received a copy of the MPL Mozilla Public License 
    20 #    along with this program. 
    21 
    22 #    An on-line copy of the MPL Mozilla Public License can be found 
    23 #    http://www.mozilla.org/MPL/MPL-1.1.html 
    24 
    25 
    26 # The ispCP Home Page is at: 
    27 
    28 #    http://www.isp-control.net 
    29 
    30 ### BEGIN INIT INFO 
    31 # Provides:             ispcp_daemon 
    32 # Required-Start:       $network $local_fs $remote_fs 
    33 # Required-Stop: 
    34 # Should-Stop:          $local_fs 
    35 # Default-Start:        2 3 4 5 
    36 # Default-Stop:         0 1 6 
    37 # Short-Description:    ispCP GUI-Backend communication Daemon 
    38 ### END INIT INFO 
    39 # Note: do not modify any of these vars here, use /etc/default/$NAME instead 
    40  
     6# pidfile: /var/run/ispcp.pid 
     7# config:  /etc/ispcp/ispcp.conf 
    418 
    429 
  • trunk/configs/centos/init.d/ispcp_network

    r1059 r1269  
    11#!/bin/sh 
    2  
     2# chkconfig: - 85 15 
     3# description: Starts and stops the ISPCP  networking 
     4
     5# pidfile: /var/run/ispcp.pid 
     6# config:  /etc/ispcp/ispcp.conf 
    37# ispCP ω (OMEGA) a Virtual Hosting Control System 
    48# Copyright (c) 2007 by ispCP 
     
    2731# 
    2832#    http://www.isp-control.net 
    29 ### BEGIN INIT INFO 
    30 # Provides:             ispcp_network 
    31 # Required-Start:       $network $local_fs $remote_fs 
    32 # Required-Stop: 
    33 # Should-Stop:          $local_fs 
    34 # Default-Start:        2 3 4 5 
    35 # Default-Stop:         0 1 6 
    36 # Short-Description:    ispCP Network Traffic Logger 
    37 ### END INIT INFO 
     33 
    3834# Note: do not modify any of these vars here, use /etc/default/$NAME instead 
    3935 
  • trunk/configs/centos/ispcp.conf

    r1263 r1269  
    1717DEFAULT_ADMIN_ADDRESS = 
    1818 
    19 SERVER_HOSTNAME = centos 
     19SERVER_HOSTNAME = fedora 
    2020 
    2121BASE_SERVER_IP = 127.0.0.1 
     
    5353CMD_GZCAT = /bin/zcat 
    5454 
    55 CMD_GZIP = /bin/gzip 
     55CMD_GZIP = /usr/bin/gzip 
    5656 
    5757CMD_GREP = /bin/grep 
     
    144144# 
    145145 
    146 PHP4_FASTCGI_BIN = /usr/bin/php4-cgi 
    147  
    148 PHP5_FASTCGI_BIN = /usr/bin/php5-cgi 
     146PHP4_FASTCGI_BIN = /opt/php4/bin/php-cgi 
     147 
     148PHP5_FASTCGI_BIN = /usr/bin/php-cgi 
    149149 
    150150PHP_VERSION = 5 
     
    160160# 
    161161 
    162 BIND_CONF_FILE = /etc/named.conf 
    163  
    164 BIND_DB_DIR = /var/named 
     162BIND_CONF_FILE = /var/named/chroot/etc/named-ispcp.conf 
     163 
     164BIND_DB_DIR = /var/named/data 
    165165 
    166166SECONDARY_DNS = 
     
    175175AWSTATS_MODE = 0 
    176176 
    177 AWSTATS_CACHE_DIR = /var/cache/awstats 
     177AWSTATS_CACHE_DIR = /var/lib/awstats 
    178178 
    179179AWSTATS_CONFIG_DIR = /etc/awstats 
    180180 
    181 AWSTATS_ENGINE_DIR = /usr/lib/cgi-bin 
    182  
    183 AWSTATS_WEB_DIR = /usr/share/awstats 
    184  
    185 AWSTATS_ROOT_DIR = /var/www/ispcp/engine/awstats 
     181AWSTATS_ENGINE_DIR = /usr/share/awstats 
     182 
     183AWSTATS_WEB_DIR = /usr/share/awstats/wwwroot/cgi-bin 
     184 
     185AWSTATS_ROOT_DIR = /usr/share/awstats/wwwroot 
    186186 
    187187# 
     
    195195APACHE_CONF_DIR = /etc/httpd 
    196196 
    197 APACHE_CMD = /usr/sbin/httpd 
     197APACHE_CMD = /usr/sbin/apachectl 
    198198 
    199199APACHE_LOG_DIR = /var/log/httpd 
     
    203203APACHE_USERS_LOG_DIR = /var/log/httpd/users 
    204204 
    205 APACHE_MODS_DIR = /etc/httpd/conf.d/mods-available 
    206  
    207 APACHE_SITES_DIR = /etc/httpd/conf.d/mods-available 
    208  
    209 APACHE_CUSTOM_SITES_CONFIG_DIR = /etc/httpd/ispcp 
     205APACHE_MODS_DIR = /etc/httpd/conf.d 
     206 
     207APACHE_SITES_DIR = /etc/httpd/vhosts 
     208 
     209APACHE_CUSTOM_SITES_CONFIG_DIR = /etc/httpd/vhosts 
    210210 
    211211APACHE_SUEXEC_USER_PREF = vu 
     
    231231MTA_VIRTUAL_MAIL_DIR = /var/mail/virtual 
    232232 
    233 MTA_LOCAL_ALIAS_HASH = /etc/postfix/aliases 
     233MTA_LOCAL_ALIAS_HASH = /etc/aliases 
    234234 
    235235MTA_VIRTUAL_CONF_DIR = /etc/postfix/ispcp 
     
    245245MTA_SENDER_ACCESS_HASH = /etc/postfix/ispcp/sender-access 
    246246 
    247 MTA_MAILBOX_MIN_UID = 500 
    248  
    249 MTA_MAILBOX_UID = 500 
     247MTA_MAILBOX_MIN_UID = 1004 
     248 
     249MTA_MAILBOX_UID = 1004 
    250250 
    251251MTA_MAILBOX_UID_NAME = vmail 
    252252 
    253 MTA_MAILBOX_GID = 12 
     253MTA_MAILBOX_GID = 8 
    254254 
    255255MTA_MAILBOX_GID_NAME = mail 
    256256 
    257 MTA_SASLDB_FILE = /etc/sasldb2 
     257MTA_SASLDB_FILE = /var/spool/postfix/etc/sasldb2 
    258258 
    259259ETC_SASLDB_FILE = /etc/sasldb2 
     
    295295# 
    296296 
    297 # Either no or path to the amavis-daemon (usually: /etc/init.d/amavis) 
     297# Either no or path to the amavis-daemon (usually: /etc/rc.d/init.d/amavis) 
    298298CMD_AMAVIS = no 
    299299 
    300 CMD_AUTHD = /etc/init.d/courier-authlib 
    301  
    302 CMD_FTPD = /etc/init.d/proftpd 
     300CMD_AUTHD = /etc/rc.d/init.d/courier-authlib 
     301 
     302CMD_FTPD = /etc/rc.d/init.d/proftpd 
    303303 
    304304CMD_HTTPD = /usr/sbin/apachectl 
    305305 
    306 CMD_IMAP = /etc/init.d/courier 
    307  
    308 CMD_IMAP_SSL = no 
    309  
    310 CMD_MTA = /etc/init.d/postfix 
    311  
    312 CMD_NAMED = /etc/init.d/named 
    313  
    314 CMD_POP = no 
    315  
    316 CMD_POP_SSL = no 
    317  
    318 CMD_ISPCPD = /etc/init.d/ispcp_daemon 
    319  
    320 CMD_ISPCPN = /etc/init.d/ispcp_network 
     306CMD_IMAP = /etc/rc.d/init.d/courier-imap 
     307 
     308CMD_IMAP_SSL = /etc/rc.d/init.d/courier-imap 
     309 
     310CMD_MTA = /etc/rc.d/init.d/postfix 
     311 
     312CMD_NAMED = /etc/rc.d/init.d/named 
     313 
     314CMD_POP = /etc/rc.d/init.d/courier-imap 
     315 
     316CMD_POP_SSL = /etc/rc.d/init.d/courier-imap 
     317 
     318CMD_ISPCPD = /etc/rc.d/init.d/ispcp_daemon 
     319 
     320CMD_ISPCPN = /etc/rc.d/init.d/ispcp_network 
    321321 
    322322# 
     
    330330FTP_TRAFF_LOG = /proftpd/ftp_traff.log 
    331331 
    332 MAIL_TRAFF_LOG = mail.log 
     332MAIL_TRAFF_LOG = maillog 
    333333 
    334334TRAFF_ROOT_DIR = /var/www/ispcp/engine/traffic 
     
    380380DATE_FORMAT = d.m.Y 
    381381 
    382 RKHUNTER_LOG = /var/log/rkhunter.log 
     382RKHUNTER_LOG = /var/log/rkhunter/rkhunter.log 
    383383 
    384384CHKROOTKIT_LOG = /var/log/chkrootkit.log 
  • trunk/configs/centos/logrotate/ispcp

    r1121 r1269  
    1 /var/log/apache2/users/*.log { 
     1/var/log/httpd/users/*.log { 
    22  weekly 
    33  missingok 
     
    99  sharedscripts 
    1010  prerotate 
    11     /var/www/ispcp/engine/traffic/ispcp-vrl-traff > /var/log/ispcp/ispcp-vrl-traff.log 
     11    /srv/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log 
    1212  endscript 
    1313  postrotate 
    1414  for i in `seq 1 10`; do 
    15     if [ -f /var/run/apache2.pid ]; then 
    16       /etc/init.d/apache2 stop > /dev/null 
     15    if [ -f /var/run/httpd.pid ]; then 
     16      /etc/init.d/httpd stop > /dev/null 
    1717      sleep 5 
    18       /etc/init.d/apache2 start > /dev/null 
     18      /etc/init.d/httpd start > /dev/null 
    1919    fi 
    2020  done 
     
    2222} 
    2323 
    24 /var/log/apache2/backup/*.log.perv { 
     24/var/log/httpd/backup/*.log.perv { 
    2525  size 5M 
    2626  missingok 
     
    3232} 
    3333 
    34 /var/log/proftpd/xferlog { 
     34/var/log/xferlog { 
    3535  daily 
    3636  rotate 7 
     
    4343} 
    4444 
    45 /var/log/proftpd/ftp_traff.log { 
     45/var/log/ftp_traff.log { 
    4646  daily 
    4747  rotate 7 
     
    5050  delaycompress 
    5151  prerotate 
    52     /var/www/ispcp/engine/traffic/ispcp-vrl-traff > /var/log/ispcp/ispcp-vrl-traff.log 
     52    /var/www/ispcp/engine/traffic/ispcp-vrl-traff &> /var/log/ispcp/ispcp-vrl-traff.log 
    5353  endscript 
    5454  postrotate 
  • trunk/configs/centos/postfix/main.cf

    r1223 r1269  
    2121# Postfix directory settings; These are critical for normal Postfix MTA functionallity 
    2222command_directory            = /usr/sbin 
    23 daemon_directory             = /usr/lib/postfix 
     23daemon_directory             = /usr/libexec/postfix 
    2424 
    2525# Some common configuration parameters 
  • trunk/configs/centos/proftpd/Makefile

    r1118 r1269  
    3737        $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF)/proftpd 
    3838        cp -R ./backup $(SYSTEM_CONF)/proftpd 
    39         cp ./proftpd.conf $(ROOT_CONF) ; \ 
    40         cp ./proftpd.conf $(SYSTEM_CONF)/proftpd ; \ 
     39        cp ./proftpd.conf $(ROOT_CONF) 
     40        cp ./proftpd.conf $(SYSTEM_CONF)/proftpd 
     41        cp ./proftpd.conf $(ROOT_CONF) 
    4142 
    4243uninstall: 
  • trunk/configs/centos/proftpd/proftpd.conf

    r1090 r1269  
    1818# 
    1919################################################################################ 
    20 # Includes DSO modules (this is mandatory in proftpd 1.3) 
    21 #Include /etc/proftpd/modules.conf 
     20 
     21<IfModule mod_dso.c> 
     22  LoadModule mod_sql.c 
     23  LoadModule mod_sql_mysql.c 
     24  LoadModule mod_quotatab.c 
     25  LoadModule mod_quotatab_file.c 
     26  LoadModule mod_quotatab_sql.c 
     27</IfModule> 
    2228 
    2329# Set off to disable IPv6 support which is annoying on IPv4 only boxes. 
     
    7682# Set the user and group that the server normally runs at. 
    7783User                       nobody 
    78 Group                      nogroup 
     84Group                      nobody 
    7985 
    8086# Normally, we want files to be overwriteable. 
     
    165171</IfModule> 
    166172 
     173# Use pam to authenticate (default) and be authoritative 
     174AuthPAMConfig              proftpd 
     175AuthOrder                  mod_sql.c mod_auth_pam.c* mod_auth_unix.c 
     176 
    167177# ispCP SQL Managment 
    168 # Activate for proftpd >= 1.3 
    169 #SQLBackend                 mysql 
     178SQLBackend                 mysql 
    170179SQLAuthTypes               Crypt 
    171180SQLAuthenticate            on 
  • trunk/docs/CentOS/INSTALL

    r1216 r1269  
    1 ispCP ω (OMEGA) HowTo Install for CentOS 5 
     1ispCP Ï(OMEGA) HowTo Install for CentOS 5.1 
    22================================================================================ 
    33For other Linux distributions please check the other INSTALL files. 
     
    17171) Version Info 
    1818--------------- 
    19 ispCP ω Version:       1.0.0 RC6 
    20 INSTALL Script:                1.0 
     19ispCP ÏVersion:        1.0.0 RC6 
     20INSTALL Script:         1.0 
    2121Maintainer: 
    22 Homepage:                      http://www.isp-contol.net 
    23 Linux Distros:         CentOS 5 
     22Homepage:                       http://isp-contol.net 
     23Linux Distros:          CentOS 5.1 
    2424 
    2525================================================================================ 
    26262) Requirements 
    2727--------------- 
    28 There is no must have for a system using ispCP ω. This is only a recommendation: 
     28There is no must have for a system using ispCP Ï This is only a recommendation: 
    2929 
    3030Pentium III or K6-4 with 500 MHz 
    3131512 MB RAM 
    32 100 MB disk space (only for install of ispCP ω) 
     32100 MB disk space (only for install of ispCP Ï 
    3333Debian (or even any other *NIX-Distribution) 
    3434 
    35 All CentOS required packages are listed in 
    36 ./docs/CentOS/centos-packages 
     35All required packages are listed in ./docs/fedora-packages 
    3736 
    3837================================================================================ 
    39383) Introduction 
    4039--------------- 
    41 ispCP ω delivers a complete hosting automation appliance by offering significant 
     40ispCP Ïdelivers a complete hosting automation appliance by offering significant 
    4241security, total-cost-of-ownership, and performance advantages over competing 
    4342commercial solutions. 
    4443 
    45 With ispCP ω you can configure your server and applications, create user with 
     44With ispCP Ïyou can configure your server and applications, create user with 
    4645domains with a few point-and-click operations that take less than a minute. 
    4746There is no limit to the number of resellers, users and domains that can be 
    48 created. The core of ispCP ω are 3 easy-to-use, web-based control panels. ispCP 
     47created. The core of ispCP Ïare 3 easy-to-use, web-based control panels. ispCP 
    4948provides graphic user interfaces for the administrators, resellers and users. 
    5049 
    5150================================================================================ 
     514) Preparation 
     52-------------- 
     53For the following steps, you will need to be logged in as root. 
     54 
     551. First, you will need to install the RPMForge repository for some of the 
     56   packages required. It is recommended to follow the directions located at 
     57   http://wiki.centos.org/Repositories/RPMForge, especially concerning the 
     58   priorities plugin. 
     59 
     602. Next, make sure your system packages are updated. This is as simple as running: 
     61        # yum update 
     62 
     633. You now need to disable SELinux, if it is enabled. You can do this by running 
     64   the following command: 
     65        # setenforce 0 
     66   Now, you will want to make sure it is off for future boots. Set "SELINUX" to 
     67   "disabled" by editing /etc/selinux/config. 
     68 
     694. Untar or unzip the distribution files to a secure directory: 
     70        # cd /root 
     71        # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 
     72 
     735. Change to the newly created directory: 
     74        # cd ./ispcp-omega-1.0.0 
     75 
     763. Next, install the software packages we need. A list is conveniently provided 
     77   and can be used to install by running the following: 
     78        # yum install `cat ./docs/CentOS/centos-packages` 
     79   After that, we need to install a few perl modules that aren't packaged. You 
     80   can run the following command to install them: 
     81        # cat ./docs/CentOS/centos-perl | xargs -I {} perl -MCPAN -e 'install {}' 
     82   Now, remove Sendmail so Postfix will be the default MTA 
     83        # yum remove sendmail 
     84 
     854. Install the Courier IMAP server. Packages for this are not in the default 
     86   repositories, but are available from third-party packagers such at at 
     87   http://www.thatfleminggent.com/. The following three packages are the latest 
     88   versions as of the last update, but you should check the package list at the 
     89   previous site to make sure you have the latest versions. 
     90 
     91        http://www.thatfleminggent.com/packages/centos/5/i386/courier-authlib-0.60.6-1.el5.mf.i386.rpm 
     92        http://www.thatfleminggent.com/packages/centos/5/i386/courier-authlib-userdb-0.60.6-1.el5.mf.i386.rpm 
     93        http://www.thatfleminggent.com/packages/centos/5/i386/courier-imap-4.3.1-2.el5.mf.i386.rpm 
     94 
     95  You will also need to do some minor configuration by adding a user and group 
     96  for courier. The following commands will acomplish this: 
     97        # groupadd courier -g 3000 
     98        # useradd -u 3000 -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier 
     99 
     1004. Now we need to configure MySQL. To do this, it must be running. To make sure 
     101   it is running, run the following command: 
     102        # service mysqld start 
     103   After it starts, you can run the mysql_secure_installation script. This will 
     104   set up MySQL with an administrator password and make sure any non-secure 
     105   default items like the test database are removed. This is very important if 
     106   the server will be for shared hosting. 
     107        # /usr/bin/mysql_secure_installation 
     108   Make sure to remember the root password for MySQL. You will need it later. 
     109 
     110================================================================================ 
    521114) Installation 
    53112--------------- 
    54 Make sure you are logged in as root and MySQL is running. 
    55  
    56 1.      Untar or unzip the distribution files to a secure directory: 
    57         # cd /root 
    58         # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 
     113For the following steps, you will need to be logged in as root and MySQL will 
     114need to be running. 
     115 
     1161. (optional) Check the ispcp.conf and adapt it to your requirements. 
     117   An overview over the variables you can find in the FAQ on 
     118   http://isp-control.net 
     119 
     1202. Build the System by using make: 
     121        # make -f Makefile.centos install 
     122 
     1233. Copy all the directories into your system (you may make backups) 
     124        # cp -RLf /tmp/ispcp/* / 
     125        # cp -Rv /tmp/ispcp/etc/init.d /etc/rc.d/ 
     126        # ln -s /etc/rc.d/init.d /etc/init.d 
     127        # mkdir /var/mail/virtual 
     128 
     1294. Now, setup some items for BIND configuration: 
     130        # mv /var/named/data /var/named/data2 
     131        # ln -s /var/named/chroot/var/named/data /var/named/data 
     132        # touch /etc/named.conf 
     133        # touch /etc/ispcp/bind/backup/named.conf.ispcp 
     134 
     1355. Next, we create the SASL database directory and link the configuration for 
     136   Postfix 
     137        # touch /etc/sasldb2 
     138        # mkdir -p /var/spool/postfix/etc 
     139        # cp /etc/sasldb2 /var/spool/postfix/etc/sasldb2 
     140 
     141   Now, edit /usr/lib/sasl2/smtpd.conf to use the SASL database. Replace the 
     142   contents of that file with the following: 
     143        pwcheck_method: auxprop 
     144        auxprop_plugin: sasldb 
     145        mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 
     146 
     1476. A little bit of Apache configuration is needed: 
     148        # mkdir /var/www/scoreboards 
     149 
     150        # echo 'include vhosts/*.conf' >> /etc/httpd/conf/httpd.conf 
     151 
     152        # chown apache:apache /var/www/ispcp/gui/tools/webmail/data 
     153 
     1547. Now it's time to set up the frontend. We need to change into the right 
     155   directory and run the setup tool: 
     156        # cd /var/www/ispcp/engine/setup 
     157        # perl ispcp-setup 
     158 
     159        If you get no error, all went good; if you get one, look at 
     160        http://isp-control.net to solve the problem. 
     161 
     162================================================================================ 
     1634) Post-Installation 
     164-------------------- 
     1651. There is a bug in some versions of courier that prevent courier-authdaemon 
     166   from stopping with the default service script. You will need to make an edit 
     167   to fix this. Edit /etc/init.d/courier-authlib and 
     168        change: ${libexecdir}/authlib/authdaemon stop 
     169        into:   killall authdaemond.plain 
     170 
     1712. Modify some system values: 
     172        # chmod 777 /var/www/ispcp/gui/phptmp 
     173 
     174        * Install Daemon: 
     175        # chkconfig --add ispcp_daemon 
     176        # chkconfig --add ispcp_network 
     177        # chkconfig --levels 345 ispcp_daemon on 
     178        # chkconfig --levels 345 ispcp_network on 
     179        # service ispcp_daemon start 
     180        # service ispcp_network start 
     181 
     1823. Clean the temporary folders: 
     183        # rm -R /tmp/ispcp 
     184 
     185================================================================================ 
     1865) Update 
     187--------- 
     188For the following steps, you will need to be logged in as root and MySQL will 
     189need to be running. 
     190 
     191 
     192 
     193 
     1941. Untar or unzip the distribution files to a secure directory: 
     195        # cd /root 
     196        # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 
    59197 
    601982. Change to the newly created directory: 
    61         # cd ./ispcp-omega-1.0.0 
    62  
    63 3.      Install the required modules: 
    64         # wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 
    65         # rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm 
    66         # yum update 
    67         # yum remove sendmail 
    68         # yum install `cat ./docs/CentOS/centos-packages` 
    69         # perl -MCPAN -e 'install `cat ./docs/CentOS/centos-perl`' 
    70         # wget -r http://mirrors.penguinfriends.org/ISPCP/CentOS-5.0/Courier --no-directories --include-directories=/ISPCP/CentOS-5.0/Courier && rm index* 
    71         # rpm -Uvh courier-authlib-0.57-1.i386.rpm courier-authlib-userdb-0.57-1.i386.rpm courier-authlib-devel-0.57-1.i386.rpm courier-0*.rpm courier-imapd-0*.rpm courier-pop3d-0*.rpm 
    72         # chkconfig --add courier 
    73         # service courier start 
    74         # chkconfig --add courier-authlib 
    75         # service courier-authlib start 
    76         # chkconfig postfix on 
    77         # service postfix start 
     199        # cd ./ispcp-omega-1.0.0 
     200 
     2013. Next, install the software packages we need. A list is conveniently provided 
     202   and can be used to install by running the following: 
     203        # yum install `cat ./docs/CentOS/centos-packages` 
     204   After that, we need to install a few perl modules that aren't packaged. You 
     205   can run the following command to install them: 
     206        # cat ./docs/CentOS/centos-perl | xargs -I {} perl -MCPAN -e 'install {}' 
    78207 
    792084. (optional) Check the ispcp.conf and adapt it to your requirements. 
     
    82211 
    832125. Build the System by using make: 
    84         # make install -f Makefile.centos 
    85  
    86 6. Copy all the directories into your system (you may make backups) 
    87         # cp -Rv /tmp/ispcp/* / 
    88  
    89 7. Make the scoreboards dir and the aliases and some other fixes 
    90         # mkdir /var/www/scoreboards 
    91         # touch /etc/aliases && touch /etc/aliases.db 
    92         # chmod 777 /var/www/ispcp/gui/phptmp/ 
    93         # mkdir /etc/httpd/conf.d/mods-available/ 
    94         # mkdir /etc/httpd/conf.d/sites-available/ 
    95         # echo 'Include conf.d/sites-available/' >> /etc/httpd/conf/httpd.conf 
    96         # mv ispcp_daemon /etc/init.d/ 
    97         # mv ispcp_network /etc/init.d/ 
    98         # chkconfig --levels 3 6 ispcp_daemon on && chkconfig --levels 3 6 ispcp_network on 
    99         # chmod -R 775 /var/www/ispcp/gui/tools/webmail/data 
    100  
    101         We have to disable selinux if running ... 
    102         # setenforce 0 
    103         # nano /etc/selinux/config 
    104         Make sure that: 
    105         SELINUX=disabled 
    106         Then we have to fix postfix: 
    107         # nano /etc/postfix/master.cf 
    108         Set in each line for smtp the "-" to "n" 
    109  
    110 8.      Now it's time to set up the frontend. Change into the engine directory: 
    111         # cd /var/www/ispcp/engine/setup 
    112  
    113 8a.     Set the MySQL password, if not set: 
    114         # mysqladmin -u root password YOUR_PASSWORD 
    115  
    116 9.      Start the engine setup: 
    117         # perl ispcp-setup 
    118  
    119 10.     Install ispCP ω step-by-step 
    120  
    121         If you get no error, all went good; if you get one, look at 
    122         http://isp-control.net to solve the problem. 
    123  
    124 11.     (optional) Get the latest PHP Version 
    125         # rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm 
    126         # rpm -Uvh http://remi.collet.free.fr/rpms/el5.i386/remi-release-5-3.el5.remi.noarch.rpm 
    127         # yum --enable remi update php-\* 
    128  
    129         Sometimes libc-client.so.2006 is missing ... so we need to get it 
    130         # rpm -Uvh ftp://fr.rpmfind.net/linux/fedora/extras/development/i386/libc-client2006-2006g-3.fc7.i386.rpm 
    131  
    132 12. (optional) Get the latest Apache 
    133         # vim /etc/yum.repos.d/utterramblings.repo 
    134  
    135         Add the following lines: 
    136         [utterramblings] 
    137         name=Jason's Utter Ramblings Repo 
    138         baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ 
    139         enabled=1 
    140         gpgcheck=1 
    141         gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka 
    142  
    143         # yum --enable utterramblings update httpd-\* 
    144  
    145 12.     Clean the temporary folders: 
    146         # rm -R /tmp/ispcp 
    147  
    148  
    149 ================================================================================ 
    150 5) Update 
    151 --------- 
    152 Make sure you are logged in as root and MySQL is running. 
    153  
    154 1. Untar or unzip the distribution files to a secure directory: 
    155         # cd /root 
    156         # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 
    157  
    158 2. Change to the newly created directory: 
    159         # cd ./ispcp-omega-1.0.0 
    160  
    161 3.      Install the required modules: 
    162         # wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 
    163         # rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm 
    164         # yum update 
    165         # yum remove sendmail 
    166         # yum install `cat ./docs/CentOS/centos-packages` 
    167         # perl -MCPAN -e 'install `cat ./docs/CentOS/centos-perl`' 
    168         # wget -r http://mirrors.penguinfriends.org/ISPCP/CentOS-5.0/Courier --no-directories --include-directories=/ISPCP/CentOS-5.0/Courier && rm index* 
    169         # rpm -Uvh courier-authlib-0.57-1.i386.rpm courier-authlib-userdb-0.57-1.i386.rpm courier-authlib-devel-0.57-1.i386.rpm courier-0*.rpm courier-imapd-0*.rpm courier-pop3d-0*.rpm 
    170         # chkconfig --add courier 
    171         # service courier start 
    172         # chkconfig --add courier-authlib 
    173         # service courier-authlib start 
    174         # chkconfig postfix on 
    175         # service postfix start 
    176  
    177 4. (optional) Check the ispcp.conf and adapt it to your requirements. 
    178    An overview over the variables you can find in the FAQ on 
    179    http://isp-control.net 
    180  
    181 5. Build the System by using make: 
    182         # make install 
     213        # make -f Makefile.centos install 
    183214 
    1842156. Save key files 
    185        # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ 
    186        # cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/ 
    187        # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/ 
     216        # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ 
     217        # cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/ 
     218        # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/ 
    188219 
    189220   If updating from RC3 or higher: 
    190        # cp -v /var/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/var/www/ispcp/gui/tools/pma/ 
     221        # cp -v /var/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/var/www/ispcp/gui/tools/pma/ 
    191222 
    1922237. Copy /usr and /var directories into your system (you may make backups) 
    193        # cp -Rv /tmp/ispcp/usr/* /usr/ 
    194        # cp -Rv /tmp/ispcp/var/* /var/ 
     224        # cp -Rv /tmp/ispcp/usr/* /usr/ 
     225        # cp -Rv /tmp/ispcp/var/* /var/ 
    195226 
    1962278. Backup ispcp.conf and copy the /etc dircetory into your system (you may make backups): 
    197        # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf 
    198        # cp -Rv /tmp/ispcp/etc/* /etc/ 
     228        # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf 
     229        # cp -Rv /tmp/ispcp/etc/* /etc/ 
    199230 
    2002319. Now it's time to update your installation. Change into the engine directory: 
    201        # cd /var/www/ispcp/engine/setup 
     232        # cd /var/www/ispcp/engine/setup 
    202233 
    20323410. Start the engine update: 
    204        # perl ispcp-update 
    205  
    206 11. Update ispCP ω step-by-step 
    207  
    208        If you get no error, all went good; if you get one, look at 
    209        http://isp-control.net to solve the problem. 
     235        # perl ispcp-update 
     236 
     23711. Update ispCP Ïstep-by-step 
     238 
     239        If you get no error, all went good; if you get one, look at 
     240        http://isp-control.net to solve the problem. 
    210241 
    21124212. Clean the temporary folders: 
    212        # rm -fR /tmp/ispcp 
     243        # rm -fR /tmp/ispcp 
    213244 
    214245================================================================================ 
     
    216247------ 
    217248 
    218 Q.- How can I prevent websites using more than their bandwidth limit to stop working? 
    219 A.- If you have installed the apache2-mod-cband (available for etch and lenny/sid) 
    220      all you need to do is: 
    221        # a2enmod cband 
    222      note that you might want to review /etc/apache2/mods-available/cband.conf 
    223      to disable the /cband-status and /cband-status-me handlers. 
    224  
    225 Please check http://www.isp-control.net for any questions not answered in this file. 
     249Please check http://isp-control.net for any questions not answered in this file. 
    226250 
    227251================================================================================ 
     
    229253---------- 
    230254 
    231 ispCP ω is a project of ispCP | isp Control Panel. 
     255ispCP Ïis a project of ispCP | isp Control Panel. 
    232256Please visit our site under http://isp-control.net for further information on 
    233 ispCP ω, ispCP and other themes. 
    234  
    235 We hope you enjoy using ispCP ω. If you like it, help us, to make it better. We 
     257ispCP Ï ispCP and other themes. 
     258 
     259We hope you enjoy using ispCP Ï If you like it, help us, to make it better. We 
    236260would be glad on any help provided! 
  • trunk/docs/CentOS/centos-packages

    r994 r1269  
     1amavis* 
    12awstats 
    23bind 
     
    45bind-libs 
    56bind-utils 
    6 bison 
    77bzip2 
    8 bzip2-devel 
     8caching-nameserver 
     9chkrootkit 
    910clamav 
    10 clamav-data 
    11 clamav-li
    12 clamav-server 
    13 clamav-update 
    14 cyrus 
     11clamd 
     12clamav-d
     13courier-authlib 
     14courier-authlib-userdb 
     15courier-imap 
    1516cyrus-sasl 
     17cyrus-sasl-gssapi 
    1618cyrus-sasl-plain 
    1719cyrus-sasl-md5 
    1820cyrus-sasl-ntlm 
    19 chkrootkit 
    2021expect 
    21 freetype-devel 
    2222gcc 
    2323httpd 
    24 httpd-devel 
    2524iptables 
    2625libdbi-dbd-mysql 
    2726libmcrypt 
    28 libc-client-devel 
    29 libjpeg-devel 
    30 libmcrypt-devel 
    31 libpng-devel 
    32 libxslt-devel 
    33 mod_auth_mysql 
     27libtool-ltdl 
    3428mod_perl 
    3529mod_ssl 
     30mod_auth_mysql 
    3631mysql 
    3732mysql-server 
    38 mysql-devel 
    39 net-snmp-devel 
    40 ncurses-devel 
     33net-snmp-perl 
    4134patch 
    4235perl-Archive-Tar 
     
    4841perl-Convert-TNEF 
    4942perl-Convert-UUlib 
     43perl-Crypt-Blowfish 
    5044perl-Crypt-CBC 
    5145perl-Crypt-DH 
     46perl-Crypt-PasswdMD5 
    5247perl-Date-Calc 
     48perl-DateManip 
     49perl-DBD-MySQL 
    5350perl-Digest-HMAC 
    5451perl-HTML-Parser 
    5552perl-HTML-Tagset 
     53perl-MIME-tools 
    5654perl-IO-stringy 
    5755perl-libwww-perl 
    5856perl-MailTools 
    59 perl-MIME-tools 
    6057perl-Net-CIDR-Lite 
    6158perl-Net-DNS 
     59perl-Net-IP 
    6260perl-Net-LibIDN 
    63 perl-Net-IP 
    6461perl-Net-Netmask 
    6562perl-Net-Server 
    6663perl-suidperl 
    67 perl-SNMP_Session 
    68 perl-Term-ReadPassword 
     64perl-TermReadKey 
    6965perl-TimeDate 
    7066perl-URI 
    7167perl-Unix-Syslog 
    72 perl-TermReadKey 
    7368php 
    7469php-bcmath 
     
    7671php-gd 
    7772php-ldap 
    78 php-imap 
    79 php-pgsql 
    8073php-mbstring 
    8174php-mcrypt 
     
    8780postfix 
    8881proftpd 
     82proftpd-mysql 
    8983rkhunter 
    90 sasl-gssapi 
    9184spamassassin 
     85system-config-bind 
    9286tar 
    9387unixODBC 
    94 unrar 
    9588unzip 
    9689wget 
  • trunk/docs/CentOS/centos-perl

    r994 r1269  
    1 IO::All 
     1Term::ReadPassword 
    22IO::Compress::Bzip2 
    3 Class::DBI 
    4 Date::Manip 
    5 DBD::mysql 
    6 HTML::Parser 
    7 Bundle::LWP 
    8 Net::SNMP 
    9 Crypt::Blowfish 
    10 Crypt::PasswdMD5