source: trunk/docs/Debian/INSTALL @ 3873

Revision 3873, 8.4 KB checked in by benedikt, 7 months ago (diff)
  • [DOCS] Updated INSTALL files
  • [GUI] Added Setting for HTML output compression
  • [TOOLS] Updated phpMyAdmin to version 3.4.3.1
  • [TOOLS] Updated jQuery to version 1.6.2
  • [TOOLS] Updated jQueryUI to version 1.8.14
  • Property svn:keywords set to Id
Line 
1ispCP ω (OMEGA) HowTo Install for Debian
2================================================================================
3For other Linux distributions please check the other INSTALL files.
4================================================================================
5
6Table of Content
7================
81) Version Info
92) Requirements
103) Introduction
114) Installation
125) Update
136) Uninstall
147) Credits
15
16================================================================================
171) Version Info
18---------------
19ispCP ω Version:        1.1.0
20INSTALL Script:         2.9
21Maintainer:                     Benedikt Heintel
22Homepage:                       http://www.ispcp.net
23Linux Distros:          Debian
24
25================================================================================
262) Requirements
27---------------
28There is no must have for a system using ispCP ω. This is only a recommendation:
29
30Pentium III or K6-4 with 500 MHz
31512 MB RAM
32100 MB disk space (only for install of ispCP ω)
33Debian (or even any other *NIX-Distribution)
34
35All Lenny required packages are listed in ./docs/Debian/debian-packages-lenny
36All Squeeze required packages are listed in ./docs/Debian/debian-packages-squeeze
37All Wheezy required packages are listed in ./docs/Debian/debian-packages-wheezy
38
39================================================================================
403) Introduction
41---------------
42ispCP ω delivers a complete hosting automation appliance by offering significant
43security, total-cost-of-ownership, and performance advantages over competing
44commercial solutions.
45
46With ispCP ω you can configure your server and applications, create user with
47domains with a few point-and-click operations that take less than a minute.
48There is no limit to the number of resellers, users and domains that can be
49created. The core of ispCP ω are 3 easy-to-use, web-based control panels. ispCP
50provides graphic user interfaces for the administrators, resellers and users.
51
52================================================================================
534) Installation
54---------------
55Make sure you are logged in as root and MySQL is running.
56
571. Untar or unzip the distribution files to a secure directory:
58        # cd /usr/local/src
59        # tar xjvf ispcp-omega-1.1.0.tar.bz2
60
612. Change to the newly created directory:
62        # cd ./ispcp-omega-1.1.0
63
643. Install the required packages
65
66   First update your system:
67        # aptitude update && aptitude safe-upgrade
68
69   Make sure you have added the non-free into your /etc/apt/sources.list:
70
71   Lenny:
72        deb     http://ftp.debian.org/debian/   lenny main contrib non-free
73        deb     http://security.debian.org/     lenny/updates main contrib non-free
74
75   Squeeze:
76        deb     http://ftp.debian.org/debian/   squeeze main contrib non-free
77        deb     http://security.debian.org/     squeeze/updates main contrib non-free
78
79   Wheezy:
80        deb     http://ftp.debian.org/debian/   wheezy  main contrib non-free
81        deb     http://security.debian.org/     wheezy/updates main contrib non-free
82
83   Install all required packages:
84
85        # aptitude install lsb-release
86        # aptitude install $(cat ./docs/Debian/debian-packages-`lsb_release -cs`)
87
88        (if you get to the courier screen select 'no' to web directories)
89        (if you get to the postfix screen select 'internet site'. 'mail name' should
90        be the server's domain. If you've set debian up correctly on install your
91        domain should be already shown.)
92        (if you get to the proftpd screen, select 'standalone')
93
944. (optional) Check the ispcp.conf and adapt it to your requirements.
95
965. Build the Software by using make:
97        # make install
98
996. Copy all the directories into your system. If you have not yet, now is a good
100   time to make backups of your server. The following steps do fundamental
101   changes to your system configuration.
102        # cp -R /tmp/ispcp/* /
103
1047. 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
1088. 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
1139. Install ispCP ω step-by-step
114
115        If you get no error, all went good; if you get one, look at
116        http://ispcp.net to solve the problem.
117
11810. Clean the temporary folders:
119        # rm -fR /tmp/ispcp/
120
121================================================================================
1225) Update
123---------
124NOTE: ispCP ω can only be updated from post 1.0.0. If you have a
125version prior 1.0.0 (final release) installed, update to ispCP ω 1.0.0 first.
126
127Make sure you are logged in as root and MySQL is running.
128
1291. Untar or unzip the distribution files to a secure directory:
130        # cd /usr/local/src
131        # tar xjvf ispcp-omega-1.1.0.tar.bz2
132
1332. Change to the newly created directory:
134        # cd ./ispcp-omega-1.1.0
135
1363. Install the required packages
137
138   First update your system:
139        # aptitude update && aptitude safe-upgrade
140
141   Make sure you have added the non-free into your /etc/apt/sources.list:
142
143   Lenny:
144        deb     http://ftp.debian.org/debian/   lenny main contrib non-free
145        deb     http://security.debian.org/     lenny/updates main contrib non-free
146
147   Squeeze:
148        deb     http://ftp.debian.org/debian/   squeeze main contrib non-free
149        deb     http://security.debian.org/     squeeze/updates main contrib non-free
150
151   Wheezy:
152        deb     http://ftp.debian.org/debian/   wheezy  main contrib non-free
153        deb     http://security.debian.org/     wheezy/updates main contrib non-free
154
155   Install all required packages:
156
157        # aptitude install lsb-release
158        # aptitude install $(cat ./docs/Debian/debian-packages-`lsb_release -cs`)
159
160        (if you get to the courier screen select 'no' to web directories)
161        (if you get to the postfix screen select 'internet site' and then type 'root'
162        for mail. If you've set debian up correctly on install your domain should be
163        already on screen. Select 'no' to force sync updates.)
164        (if you get to the proftpd screen, select 'standalone')
165        (if you get to the rootkithunter screen, select two time 'yes')
166
1674. Stop the ispcp_deamon and build the Software by using make:
168        # /etc/init.d/ispcp_daemon stop
169        # make install
170
1715. Backup files
172        # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/
173        # cp -TRv /var/www/ispcp/gui/domain_default_page /tmp/ispcp/var/www/ispcp/gui/domain_default_page
174        # cp -v /var/www/ispcp/gui/tools/webmail/data/* /tmp/ispcp/var/www/ispcp/gui/tools/webmail/data/
175
176        For ispCP Omega prior version 1.0.8
177        # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/
178        # cp -v /var/www/ispcp/engine/messenger/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messenger/
179        # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/
180
181        For ispCP Omega prior version 1.0.7 RC2
182        # cp -v /var/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/etc/ispcp/pma/working/
183
1846. Delete old files to avoid security risks:
185        # rm -Rf /var/www/ispcp/engine/
186        # rm -Rf /var/www/ispcp/gui/{admin,client,include,orderpanel,themes,reseller}/
187        # rm -Rf /var/www/ispcp/gui/tools/{pma/,filemanager/,webmail/,index.php}
188        # rm -Rf /var/www/ispcp/gui/{*.php,favicon.ico,robots.txt}
189
1907. Copy /usr and /var directories into your system (you may make backups)
191        # cp -R /tmp/ispcp/usr/* /usr/
192        # cp -R /tmp/ispcp/var/* /var/
193
1948. Backup ispcp.conf and copy the /etc directory into your system (you may make
195   backups):
196        # mv /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf
197        # cp -R /tmp/ispcp/etc/* /etc/
198
1999. Now it's time to update your installation. Change into the engine directory:
200        # cd /var/www/ispcp/engine/setup
201
20210. Start the engine update:
203        # perl ispcp-update
204
20511. Update ispCP ω step-by-step
206
207        If you get no error, all went good; if you get one, look at
208        http://ispcp.net to solve the problem.
209
21012. Clean the temporary folders:
211        # rm -fR /tmp/ispcp/
212
213================================================================================
2146) Uninstall
215------------
216Make sure you are logged in as root and MySQL is running.
217
2181. Change into the engine directory:
219        # cd /var/www/ispcp/engine/setup
220
2212. Start the uninstall script:
222        # perl ispcp-uninstall
223
2243. Clean up your system
225
226================================================================================
2277) Credits
228----------
229
230ispCP ω is a project of ISPCP.
231ispCP, ispCP ω, ISP Control Panel, the ispCP logo and the ω Logo are trademarks
232of the ISPCP Project Team.
233
234Please visit our site under http://ispcp.net for further information on
235ispCP ω, ispCP and other themes.
236
237We hope you enjoy using ispCP ω. If you like it, help us, to make it better. We
238would be glad on any help provided!
Note: See TracBrowser for help on using the repository browser.