| 1 |
ispCP ω (OMEGA) HowTo Install for OpenSuse 10.3 |
|---|
| 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 |
5) FAQ |
|---|
| 14 |
6) Credits |
|---|
| 15 |
|
|---|
| 16 |
================================================================================ |
|---|
| 17 |
1) Version Info |
|---|
| 18 |
--------------- |
|---|
| 19 |
ispCP ω Version: 1.0.0 RC6 |
|---|
| 20 |
INSTALL Script: 1.1 |
|---|
| 21 |
Maintainer: |
|---|
| 22 |
Homepage: http://isp-contol.net |
|---|
| 23 |
Linux Distros: OpenSuse 10.3 |
|---|
| 24 |
|
|---|
| 25 |
@TODO: Update for OpenSuse |
|---|
| 26 |
|
|---|
| 27 |
================================================================================ |
|---|
| 28 |
2) Requirements |
|---|
| 29 |
--------------- |
|---|
| 30 |
There is no must have for a system using ispCP ω. This is only a recommendation: |
|---|
| 31 |
|
|---|
| 32 |
Penitum III or K6-4 with 500 MHz |
|---|
| 33 |
512 MB RAM |
|---|
| 34 |
100 MB disk space (only for install of ispCP ω) |
|---|
| 35 |
Debian (or even any other *NIX-Distribution) |
|---|
| 36 |
|
|---|
| 37 |
Add the following repositories via Yast: |
|---|
| 38 |
http://download.opensuse.org/repositories/Apache:/Modules/openSUSE_10.3/ |
|---|
| 39 |
http://download.opensuse.org/repositories/home:/netmax/openSUSE_10.3/ |
|---|
| 40 |
http://download.opensuse.org/repositories/server:/ftp/openSUSE_10.3/ |
|---|
| 41 |
http://download.opensuse.org/repositories/network:/utilities/openSUSE_10.3/ |
|---|
| 42 |
|
|---|
| 43 |
or like this in the shell: |
|---|
| 44 |
zypper ar http://download.opensuse.org/repositories/home:/netmax/openSUSE_10.3/ repo-netmax |
|---|
| 45 |
zypper ar http://download.opensuse.org/repositories/server:/ftp/openSUSE_10.3/ repo-ftp |
|---|
| 46 |
zypper ar http://download.opensuse.org/repositories/network:/utilities/openSUSE_10.3/ repo-awstats |
|---|
| 47 |
zypper ar http://download.opensuse.org/repositories/Apache:/Modules/openSUSE_10.3/ repo-apache |
|---|
| 48 |
|
|---|
| 49 |
While importing the packages from theese repositories the first time you have to trust theese sites. |
|---|
| 50 |
|
|---|
| 51 |
All OpenSuse 10.3 required packages are listed in: |
|---|
| 52 |
|
|---|
| 53 |
./docs/OpenSuse/opensuse103-packages |
|---|
| 54 |
|
|---|
| 55 |
PHP4 related packages are removed because they are not available! Therefore PHP4 |
|---|
| 56 |
is not available in ispCP!!! If you want to use PHP4 compile it by yourself!!! |
|---|
| 57 |
|
|---|
| 58 |
================================================================================ |
|---|
| 59 |
3) Introduction |
|---|
| 60 |
--------------- |
|---|
| 61 |
ispCP ω delivers a complete hosting automation appliance by offering significant |
|---|
| 62 |
security, total-cost-of-ownership, and performance advantages over competing |
|---|
| 63 |
commercial solutions. |
|---|
| 64 |
|
|---|
| 65 |
With ispCP ω you can configure your server and applications, create user with |
|---|
| 66 |
domains with a few point-and-click operations that take less than a minute. |
|---|
| 67 |
There is no limit to the number of resellers, users and domains that can be |
|---|
| 68 |
created. The core of ispCP ω are 3 easy-to-use, web-based control panels. ispCP |
|---|
| 69 |
provides graphic user interfaces for the administrators, resellers and users. |
|---|
| 70 |
|
|---|
| 71 |
================================================================================ |
|---|
| 72 |
4) Installation |
|---|
| 73 |
--------------- |
|---|
| 74 |
Make sure you are logged in as root and MySQL is running. |
|---|
| 75 |
|
|---|
| 76 |
1. Untar or unzip the distribution files to a secure directory: |
|---|
| 77 |
# cd /root |
|---|
| 78 |
# tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 79 |
|
|---|
| 80 |
2. Change to the newly created directory: |
|---|
| 81 |
# cd ./ispcp-omega-1.0.0 |
|---|
| 82 |
|
|---|
| 83 |
3. Install the required modules |
|---|
| 84 |
# yast -i `cat ./docs/OpenSuse/opensuse103-packages` |
|---|
| 85 |
|
|---|
| 86 |
Or if you use smart package manager: |
|---|
| 87 |
# smart install `cat ./docs/OpenSuse/opensuse103-packages` |
|---|
| 88 |
|
|---|
| 89 |
4. (optional) Check the ispcp.conf and adapt it to your requirements. |
|---|
| 90 |
An overview over the variables you can find in the FAQ on |
|---|
| 91 |
http://isp-control.net |
|---|
| 92 |
|
|---|
| 93 |
5. Build the System by using make: |
|---|
| 94 |
# make -f Makefile.opensuse install |
|---|
| 95 |
|
|---|
| 96 |
6. Copy all the directories into your system (you may make backups before) |
|---|
| 97 |
# cp -RLv /tmp/ispcp/* / |
|---|
| 98 |
|
|---|
| 99 |
7. Now it's time to set up the frontend. Change into the engine directory: |
|---|
| 100 |
# cd /srv/www/ispcp/engine/setup |
|---|
| 101 |
|
|---|
| 102 |
7a. Start MySQL, if not running: |
|---|
| 103 |
# rcmysql restart |
|---|
| 104 |
|
|---|
| 105 |
7b. Set the MySQL password, if not set: |
|---|
| 106 |
# mysqladmin -u root password YOUR_PASSWORD |
|---|
| 107 |
|
|---|
| 108 |
7c. Disable the suse-fast-cgi: |
|---|
| 109 |
# mv /etc/apache2/conf.d/mod_fastcgi.conf /etc/apache2/conf.d/mod_fastcgi.conf.disabled |
|---|
| 110 |
# load fastcgi: edit /etc/sysconfig/apache2, look for line APACHE_MODULES=... and replace the "php5" at the end with "fastcgi proxy" |
|---|
| 111 |
|
|---|
| 112 |
7d. Install the perl library Net::libIDN: |
|---|
| 113 |
# yast -i lynx ncftp lukemftp libidn-devel |
|---|
| 114 |
# perl -MCPAN -e 'install Net::LibIDN' |
|---|
| 115 |
-> every question which is asked in the first run of cpan should be ok to confirm |
|---|
| 116 |
(hitting Enter should be fine) - until the select of continent and country... :-) |
|---|
| 117 |
|
|---|
| 118 |
7e. Maybe empty the folder /etc/skel - otherwise you'll have all the files/folders in the home folders... |
|---|
| 119 |
|
|---|
| 120 |
8. Start the engine setup: |
|---|
| 121 |
# perl ispcp-setup |
|---|
| 122 |
|
|---|
| 123 |
8a. Enable Apache + MySQL to start while booting: |
|---|
| 124 |
# insserv apache2; insserv mysql |
|---|
| 125 |
|
|---|
| 126 |
9. Install ispCP ω step-by-step |
|---|
| 127 |
|
|---|
| 128 |
If you get no error, all went good; if you get one, look at |
|---|
| 129 |
http://isp-control.net to solve the problem. |
|---|
| 130 |
|
|---|
| 131 |
10. There is an error in some courier-versions. Courier won't stop, if you use |
|---|
| 132 |
/etc/init.d/courier-authdaemon stop, so change it: |
|---|
| 133 |
# nano /etc/ini.d/courier-authdaemon |
|---|
| 134 |
|
|---|
| 135 |
change: ${libexecdir}/authlib/authdaemon stop |
|---|
| 136 |
with: killall authdaemond.plain |
|---|
| 137 |
|
|---|
| 138 |
11. Clean the temporary folders: |
|---|
| 139 |
# rm -fR /tmp/ispcp |
|---|
| 140 |
|
|---|
| 141 |
|
|---|
| 142 |
================================================================================ |
|---|
| 143 |
5) Update |
|---|
| 144 |
--------- |
|---|
| 145 |
Make sure you are logged in as root and MySQL is running. |
|---|
| 146 |
|
|---|
| 147 |
1. Untar or unzip the distribution files to a secure directory: |
|---|
| 148 |
# cd /root |
|---|
| 149 |
# tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 150 |
|
|---|
| 151 |
2. Change to the newly created directory: |
|---|
| 152 |
# cd ./ispcp-omega-1.0.0 |
|---|
| 153 |
|
|---|
| 154 |
3. Install the required modules |
|---|
| 155 |
# yast -i `cat ./docs/OpenSuse/opensuse103-packages` |
|---|
| 156 |
|
|---|
| 157 |
Or if you use smart package manager: |
|---|
| 158 |
# smart install `cat ./docs/OpenSuse/opensuse103-packages` |
|---|
| 159 |
|
|---|
| 160 |
4. (optional) Check the ispcp.conf and adapt it to your requirements. |
|---|
| 161 |
An overview over the variables you can find in the FAQ on |
|---|
| 162 |
http://isp-control.net |
|---|
| 163 |
|
|---|
| 164 |
5. Build the System by using make: |
|---|
| 165 |
# make -f Makefile.opensuse install |
|---|
| 166 |
|
|---|
| 167 |
6. Save files |
|---|
| 168 |
# cp -v /srv/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ |
|---|
| 169 |
# cp -v /srv/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/ |
|---|
| 170 |
# cp -v /srv/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/ |
|---|
| 171 |
# cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/ |
|---|
| 172 |
|
|---|
| 173 |
If updating from RC3 or higher: |
|---|
| 174 |
# cp -v /srv/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/var/www/ispcp/gui/tools/pma/ |
|---|
| 175 |
|
|---|
| 176 |
7. Delete old files to avoid security risks: |
|---|
| 177 |
# rm -fR /var/www/ispcp/gui/{admin,client,include,orderpanel,themes,reseller}/ |
|---|
| 178 |
# rm -fR /var/www/ispcp/gui/*.php |
|---|
| 179 |
|
|---|
| 180 |
8. Copy /usr and /var directories into your system (you may make backups) |
|---|
| 181 |
# cp -Rv /tmp/ispcp/usr/* /usr/ |
|---|
| 182 |
# cp -Rv /tmp/ispcp/var/* /var/ |
|---|
| 183 |
|
|---|
| 184 |
9. Backup ispcp.conf and copy the /etc directory into your system (you may make backups): |
|---|
| 185 |
# mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf |
|---|
| 186 |
|
|---|
| 187 |
If updating from RC5: |
|---|
| 188 |
# cp -Rv /tmp/ispcp/etc/ispcp/* /etc/ispcp |
|---|
| 189 |
|
|---|
| 190 |
else: |
|---|
| 191 |
# cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 192 |
|
|---|
| 193 |
10. Now it's time to update your installation. Change into the engine directory: |
|---|
| 194 |
# cd /var/www/ispcp/engine/setup |
|---|
| 195 |
|
|---|
| 196 |
11. Start the engine update: |
|---|
| 197 |
# perl ispcp-update |
|---|
| 198 |
|
|---|
| 199 |
12. Update ispCP ω step-by-step |
|---|
| 200 |
|
|---|
| 201 |
If you get no error, all went good; if you get one, look at |
|---|
| 202 |
http://isp-control.net to solve the problem. |
|---|
| 203 |
|
|---|
| 204 |
13. Clean the temporary folders: |
|---|
| 205 |
# rm -fR /tmp/ispcp/ |
|---|
| 206 |
|
|---|
| 207 |
================================================================================ |
|---|
| 208 |
6) FAQ |
|---|
| 209 |
------ |
|---|
| 210 |
|
|---|
| 211 |
Please check http://isp-control.net for any questions not answered in this file. |
|---|
| 212 |
|
|---|
| 213 |
================================================================================ |
|---|
| 214 |
7) Credits |
|---|
| 215 |
---------- |
|---|
| 216 |
|
|---|
| 217 |
ispCP ω is a project of ispCP | isp Control Panel. |
|---|
| 218 |
Please visit our site under http://isp-control.net for further information on |
|---|
| 219 |
ispCP ω, ispCP and other themes. |
|---|
| 220 |
|
|---|
| 221 |
We hope you enjoy using ispCP ω. If you like it, help us, to make it better. We |
|---|
| 222 |
would be glad on any help provided! |
|---|