root/trunk/docs/Debian/INSTALL

Revision 1319, 8.6 kB (checked in by rats, 1 month ago)

* Fixed #1457: (FreeBSD) Update various FreeBSD Section

Line 
1 ispCP ω (OMEGA) HowTo Install for Debian Sarge, Etch, Lenny
2 ================================================================================
3 For other Linux distributions please check the other INSTALL files.
4 ================================================================================
5
6 Table of Content
7 ================
8 1) Version Info
9 2) Requirements
10 3) Introduction
11 4) Installation
12 5) Update
13 6) FAQ
14 7) Credits
15
16 ================================================================================
17 1) Version Info
18 ---------------
19 ispCP ω Version:        1.0.0 RC6
20 INSTALL Script:         2.2
21 Maintainer:                     Benedikt Heintel
22 Homepage:                       http://www.isp-contol.net
23 Linux Distros:          Debian Sarge, Etch, Lenny
24
25 ================================================================================
26 2) Requirements
27 ---------------
28 There is no must have for a system using ispCP ω. This is only a recommendation:
29
30 Pentium III or K6-4 with 500 MHz
31 512 MB RAM
32 100 MB disk space (only for install of ispCP ω)
33 Debian (or even any other *NIX-Distribution)
34
35 All Sarge required packages are listed in ./docs/Debian/debian-packages-sarge
36 All Etch required packages are listed in ./docs/Debian/debian-packages-etch
37 All Lenny/Sid required packages are listed in ./docs/Debian/debian-packages-lenny
38
39 ================================================================================
40 3) Introduction
41 ---------------
42 ispCP ω delivers a complete hosting automation appliance by offering significant
43 security, total-cost-of-ownership, and performance advantages over competing
44 commercial solutions.
45
46 With ispCP ω you can configure your server and applications, create user with
47 domains with a few point-and-click operations that take less than a minute.
48 There is no limit to the number of resellers, users and domains that can be
49 created. The core of ispCP ω are 3 easy-to-use, web-based control panels. ispCP
50 provides graphic user interfaces for the administrators, resellers and users.
51
52 ================================================================================
53 4) Installation
54 ---------------
55 Make sure you are logged in as root and MySQL is running.
56
57 1. Untar or unzip the distribution files to a secure directory:
58         # cd /root
59         # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2
60
61 2. Change to the newly created directory:
62         # cd ./ispcp-omega-1.0.0
63
64 3. Install the required modules
65    First update your system:
66         # apt-get update && apt-get upgrade
67
68    for Debian Sarge use:
69         # apt-get install $(cat ./docs/Debian/debian-packages-sarge)
70    for Debian Etch use:
71         # apt-get install $(cat ./docs/Debian/debian-packages-etch)
72    for Debian Lenny/Sid use:
73         # apt-get install $(cat ./docs/Debian/debian-packages-lenny)
74
75    Make sure you have added the non-free into your /etc/apt/sources.list:
76
77    deb     http://ftp.debian.org/debian/            etch         main contrib non-free
78    deb     http://security.debian.org/              etch/updates main contrib non-free
79
80    If using Sarge, make sure you have added the following backport into your
81    /etc/apt/sources.list:
82
83    # backports
84    deb     http://dotdeb.pimpmylinux.org/          sarge          all
85
86
87         (when you get to the courier screen select 'no' to web directories)
88         (when you get to the postfix screen select 'internet site' and then type 'root'
89         for mail. If you've set debian up correctly on install your domain should be
90         already on screen. Select 'no' to force sync updates.)
91         (when you get to the proftpd screen, select 'standalone')
92         (when you get to the rootkithunter screen, select two time 'yes')
93
94 4. (optional) Check the ispcp.conf and adapt it to your requirements.
95    An overview over the variables you can find in the FAQ on
96    http://isp-control.net
97
98 5. Build the System by using make:
99         # make install
100
101 6. Copy all the directories into your system (you may make backups)
102         # cp -Rv /tmp/ispcp/* /
103
104 7. Change or create MySQL root password, remove anonymous users, disallow root
105         login remotely, remove test database (and access to it), reload privilege tables.
106         # mysql_secure_installation
107
108 8. Now it's time to set up the frontend. Change into the engine directory and
109         start the engine setup:
110         # cd /var/www/ispcp/engine/setup
111         # perl ispcp-setup
112
113 9. Install ispCP ω step-by-step
114
115         If you get no error, all went good; if you get one, look at
116         http://isp-control.net to solve the problem.
117
118 10. There is an error in some old courier-versions. Courier won't stop, if you use
119         /etc/init.d/courier-authdaemon stop, so change it:
120         # nano /etc/init.d/courier-authdaemon
121
122         change: ${libexecdir}/authlib/authdaemon stop
123         with:   killall authdaemond.plain
124
125 11. Clean the temporary folders:
126         # rm -fR /tmp/ispcp/
127
128 ================================================================================
129 5) Update
130 ---------
131 Make sure you are logged in as root and MySQL is running.
132
133 1. Untar or unzip the distribution files to a secure directory:
134         # cd /root
135         # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2
136
137 2. Change to the newly created directory:
138         # cd ./ispcp-omega-1.0.0
139
140 3. Install the required modules
141    first update your system:
142         # apt-get update && apt-get upgrade
143
144    for Debian Sarge use:
145         # apt-get install $(cat ./docs/Debian/debian-packages-sarge)
146    for Debian Etch use:
147         # apt-get install $(cat ./docs/Debian/debian-packages-etch)
148    for Debian Lenny/Sid use:
149         # apt-get install $(cat ./docs/Debian/debian-packages-lenny)
150
151    Make sure you have added the non-free into your /etc/apt/sources.list:
152
153    deb     http://ftp.debian.org/debian/            etch         main contrib non-free
154    deb     http://security.debian.org/              etch/updates main contrib non-free
155
156    If using Sarge, make sure you have added the following backport into your
157    /etc/apt/sources.list:
158
159    # backports
160    deb     http://dotdeb.pimpmylinux.org/          sarge          all
161
162
163         (when you get to the courier screen select 'no' to web directories)
164         (when you get to the postfix screen select 'internet site' and then type 'root'
165         for mail. If you've set debian up correctly on install your domain should be
166         already on screen. Select 'no' to force sync updates.)
167         (when you get to the proftpd screen, select 'standalone')
168         (when you get to the rootkithunter screen, select two time 'yes')
169
170 4. (optional) Check the ispcp.conf and adapt it to your requirements.
171    An overview over the variables you can find in the FAQ on
172    http://isp-control.net
173
174 5. Build the System by using make:
175         # make install
176
177 6. Save files
178         # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/
179         # cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/
180         # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/
181         # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/
182
183    If updating from RC3 or higher:
184         # cp -v /var/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/var/www/ispcp/gui/tools/pma/
185
186 7. Delete old files to avoid security risks:
187         # rm -fR /var/www/ispcp/gui/{admin,client,include,orderpanel,themes,reseller}/
188         # rm -fR /var/www/ispcp/gui/*.php
189
190 8. Copy /usr and /var directories into your system (you may make backups)
191         # cp -Rv /tmp/ispcp/usr/* /usr/
192         # cp -Rv /tmp/ispcp/var/* /var/
193
194 9. Backup ispcp.conf and copy the /etc directory into your system (you may make backups):
195         # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf
196
197    If updating from RC5:
198         # cp -Rv /tmp/ispcp/etc/ispcp/* /etc/ispcp
199
200    else:
201         # cp -Rv /tmp/ispcp/etc/* /etc/
202
203 10. Now it's time to update your installation. Change into the engine directory:
204         # cd /var/www/ispcp/engine/setup
205
206 11. Start the engine update:
207         # perl ispcp-update
208
209 12. Update ispCP ω step-by-step
210
211         If you get no error, all went good; if you get one, look at
212         http://isp-control.net to solve the problem.
213
214 13. Clean the temporary folders:
215         # rm -fR /tmp/ispcp/
216
217 ================================================================================
218 6) FAQ
219 ------
220
221 Q.- How can I prevent websites using more than their bandwidth limit to stop working?
222 A.- If you have installed the apache2-mod-cband (available for etch)
223      all you need to do is:
224        # a2enmod cband
225      note that you might want to review /etc/apache2/mods-available/cband.conf
226      to disable the /cband-status and /cband-status-me handlers.
227
228 Please check http://www.isp-control.net for any questions not answered in this file.
229
230 ================================================================================
231 7) Credits
232 ----------
233
234 ispCP ω is a project of ispCP | isp Control Panel.
235 Please visit our site under http://isp-control.net for further information on
236 ispCP ω, ispCP and other themes.
237
238 We hope you enjoy using ispCP ω. If you like it, help us, to make it better. We
239 would be glad on any help provided!
Note: See TracBrowser for help on using the browser.