| 1 | ispCP ω (OMEGA) HowTo Install for Ubuntu |
|---|
| 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) Uninstall |
|---|
| 14 | 7) Credits |
|---|
| 15 | |
|---|
| 16 | ================================================================================ |
|---|
| 17 | 1) Version Info |
|---|
| 18 | --------------- |
|---|
| 19 | ispCP ω Version: 1.1.0 |
|---|
| 20 | INSTALL Script: 1.8 |
|---|
| 21 | Maintainer: |
|---|
| 22 | Homepage: http://ispcp.net |
|---|
| 23 | Linux Distros: Ubuntu |
|---|
| 24 | |
|---|
| 25 | ================================================================================ |
|---|
| 26 | 2) Requirements |
|---|
| 27 | --------------- |
|---|
| 28 | There is no must have for a system using ispCP ω. This is only a recommendation: |
|---|
| 29 | |
|---|
| 30 | Penitum 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 10.04 LTS required packages are listed in ./docs/Ubuntu/ubuntu-packages-lucid |
|---|
| 36 | |
|---|
| 37 | ================================================================================ |
|---|
| 38 | 3) Introduction |
|---|
| 39 | --------------- |
|---|
| 40 | ispCP ω delivers a complete hosting automation appliance by offering significant |
|---|
| 41 | security, total-cost-of-ownership, and performance advantages over competing |
|---|
| 42 | commercial solutions. |
|---|
| 43 | |
|---|
| 44 | With ispCP ω you can configure your server and applications, create user with |
|---|
| 45 | domains with a few point-and-click operations that take less than a minute. |
|---|
| 46 | There is no limit to the number of resellers, users and domains that can be |
|---|
| 47 | created. The core of ispCP ω are 3 easy-to-use, web-based control panels. ispCP |
|---|
| 48 | provides graphic user interfaces for the administrators, resellers and users. |
|---|
| 49 | |
|---|
| 50 | ================================================================================ |
|---|
| 51 | 4) Installation |
|---|
| 52 | --------------- |
|---|
| 53 | |
|---|
| 54 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 55 | # cd /usr/local/src |
|---|
| 56 | # tar xjvf ispcp-omega-1.1.0.tar.bz2 |
|---|
| 57 | |
|---|
| 58 | 2. Change to the newly created directory: |
|---|
| 59 | # cd ./ispcp-omega-1.1.0 |
|---|
| 60 | |
|---|
| 61 | 3. Install the required modules |
|---|
| 62 | First update your system: |
|---|
| 63 | # sudo aptitude update && aptitude upgrade |
|---|
| 64 | # sudo aptitude install lsb-release |
|---|
| 65 | # sudo aptitude install $(cat ./docs/Ubuntu/ubuntu-packages-`lsb_release -cs`) |
|---|
| 66 | |
|---|
| 67 | Make sure you have added multiverse into your /etc/apt/sources.list |
|---|
| 68 | |
|---|
| 69 | (if you get to the courier screen select 'no' to web directories) |
|---|
| 70 | (if you get to the postfix screen select 'internet site' and then type 'root' |
|---|
| 71 | for mail. If you've set debian up correctly on install your domain should be |
|---|
| 72 | already on screen. Select 'no' to force sync updates.) |
|---|
| 73 | (if you get to the proftpd screen, select 'standalone') |
|---|
| 74 | (if you get to the rootkithunter screen, select two time 'yes') |
|---|
| 75 | |
|---|
| 76 | 4. (optional) Check the ispcp.conf and adapt it to your requirements. |
|---|
| 77 | |
|---|
| 78 | 5. Build the System by using make: |
|---|
| 79 | # sudo make -f Makefile.ubuntu install |
|---|
| 80 | |
|---|
| 81 | 6. Copy all the directories into your system (you may make backups) |
|---|
| 82 | # sudo cp -Rv /tmp/ispcp/* / |
|---|
| 83 | |
|---|
| 84 | 7. Now it's time to set up the frontend. Change into the engine directory: |
|---|
| 85 | # cd /var/www/ispcp/engine/setup |
|---|
| 86 | |
|---|
| 87 | 7a. Set the MySQL password, if not set: |
|---|
| 88 | # sudo mysqladmin -u root password YOUR_PASSWORD |
|---|
| 89 | |
|---|
| 90 | 8. Start the engine setup: |
|---|
| 91 | # sudo perl ispcp-setup |
|---|
| 92 | |
|---|
| 93 | 9. Install ispCP ω step-by-step |
|---|
| 94 | |
|---|
| 95 | If you get no error, all went good; if you get one, look at |
|---|
| 96 | http://ispcp.net to solve the problem. |
|---|
| 97 | |
|---|
| 98 | 10. Activate php mcrypt extension for Ubuntu |
|---|
| 99 | # sudo touch /etc/php5/conf.d/mcrypt.ini |
|---|
| 100 | # sudo echo "extension=mcrypt.so" > /etc/php5/conf.d/mcrypt.ini |
|---|
| 101 | # sudo chmod 644 /etc/php5/conf.d/mcrypt.ini |
|---|
| 102 | # sudo cp /etc/php5/conf.d/mcrypt.ini /etc/php5/cgi/conf.d/ |
|---|
| 103 | # sudo /etc/init.d/apache2 restart |
|---|
| 104 | |
|---|
| 105 | 11. Clean the temporary folders: |
|---|
| 106 | # sudo rm -fR /tmp/ispcp |
|---|
| 107 | |
|---|
| 108 | ================================================================================ |
|---|
| 109 | 5) Update |
|---|
| 110 | --------- |
|---|
| 111 | NOTE: ispCP ω can only be updated from post 1.0.0. If you have a |
|---|
| 112 | version prior 1.0.0 (final release) installed, update to ispCP ω 1.0.0 first. |
|---|
| 113 | |
|---|
| 114 | Make sure you are logged in as root and MySQL is running. |
|---|
| 115 | |
|---|
| 116 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 117 | # cd /usr/local/src |
|---|
| 118 | # tar xjvf ispcp-omega-1.1.0.tar.bz2 |
|---|
| 119 | |
|---|
| 120 | 2. Change to the newly created directory: |
|---|
| 121 | # cd ./ispcp-omega-1.1.0 |
|---|
| 122 | |
|---|
| 123 | 3. Install the required modules |
|---|
| 124 | first update your system: |
|---|
| 125 | |
|---|
| 126 | # sudo aptitude update && aptitude safe-upgrade |
|---|
| 127 | # sudo aptitude install lsb-release |
|---|
| 128 | # sudo aptitude install $(cat ./docs/Ubuntu/ubuntu-packages-`lsb_release -cs`) |
|---|
| 129 | |
|---|
| 130 | Make sure you have added multiverse into your /etc/apt/sources.list |
|---|
| 131 | |
|---|
| 132 | (if you get to the courier screen select 'no' to web directories) |
|---|
| 133 | (if you get to the postfix screen select 'internet site' and then type 'root' |
|---|
| 134 | for mail. If you've set debian up correctly on install your domain should be |
|---|
| 135 | already on screen. Select 'no' to force sync updates.) |
|---|
| 136 | (if you get to the proftpd screen, select 'standalone') |
|---|
| 137 | (if you get to the rootkithunter screen, select two time 'yes') |
|---|
| 138 | |
|---|
| 139 | 4. Stop the ispcp_deamon and build the Software by using make: |
|---|
| 140 | # /etc/init.d/ispcp_daemon stop |
|---|
| 141 | # make -f Makefile.ubuntu install |
|---|
| 142 | |
|---|
| 143 | 5. Backup files |
|---|
| 144 | # sudo cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/ |
|---|
| 145 | # sudo cp -v /var/www/ispcp/gui/tools/webmail/data/* /tmp/ispcp/var/www/ispcp/gui/tools/webmail/data/ |
|---|
| 146 | |
|---|
| 147 | For ispCP Omega prior version 1.0.8 |
|---|
| 148 | # sudo cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ |
|---|
| 149 | # sudo cp -v /var/www/ispcp/engine/messenger/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messenger/ |
|---|
| 150 | # sudo cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/ |
|---|
| 151 | |
|---|
| 152 | For ispCP Omega prior version 1.0.7 RC2 |
|---|
| 153 | # sudo cp -v /var/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/etc/ispcp/pma/working/ |
|---|
| 154 | |
|---|
| 155 | 6. Delete old files to avoid security risks: |
|---|
| 156 | # sudo rm -Rf /var/www/ispcp/engine/ |
|---|
| 157 | # sudo rm -Rf /var/www/ispcp/gui/{admin,client,include,orderpanel,themes,reseller}/ |
|---|
| 158 | # sudo rm -Rf /var/www/ispcp/gui/tools/{pma/,filemanager/,webmail/,index.php} |
|---|
| 159 | # sudo rm -Rf /var/www/ispcp/gui/{*.php,favicon.ico,robots.txt} |
|---|
| 160 | |
|---|
| 161 | 7. Copy /usr and /var directories into your system (you may make backups) |
|---|
| 162 | # sudo cp -Rv /tmp/ispcp/usr/* /usr/ |
|---|
| 163 | # sudo cp -Rv /tmp/ispcp/var/* /var/ |
|---|
| 164 | |
|---|
| 165 | 8. Backup ispcp.conf and copy the /etc directory into your system (you may make backups): |
|---|
| 166 | # sudo mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf |
|---|
| 167 | # sudo cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 168 | |
|---|
| 169 | 9. Now it's time to update your installation. Change into the engine directory: |
|---|
| 170 | # cd /var/www/ispcp/engine/setup |
|---|
| 171 | |
|---|
| 172 | 10. Start the engine update: |
|---|
| 173 | # sudo perl ispcp-update |
|---|
| 174 | |
|---|
| 175 | 11. Update ispCP ω step-by-step |
|---|
| 176 | |
|---|
| 177 | If you get no error, all went good; if you get one, look at |
|---|
| 178 | http://ispcp.net to solve the problem. |
|---|
| 179 | |
|---|
| 180 | 12. Clean the temporary folders: |
|---|
| 181 | # sudo rm -fR /tmp/ispcp/ |
|---|
| 182 | |
|---|
| 183 | ================================================================================ |
|---|
| 184 | 6) Uninstall |
|---|
| 185 | ------------ |
|---|
| 186 | Make sure you are logged in as root and MySQL is running. |
|---|
| 187 | |
|---|
| 188 | 1. Change into the engine directory: |
|---|
| 189 | # cd /var/www/ispcp/engine/setup |
|---|
| 190 | |
|---|
| 191 | 2. Start the uninstall script: |
|---|
| 192 | # perl ispcp-uninstall |
|---|
| 193 | |
|---|
| 194 | 3. Clean up your system |
|---|
| 195 | |
|---|
| 196 | ================================================================================ |
|---|
| 197 | 7) Credits |
|---|
| 198 | ---------- |
|---|
| 199 | |
|---|
| 200 | ispCP ω is a project of ISPCP. |
|---|
| 201 | ispCP, ispCP ω, ISP Control Panel, the ispCP logo and the ω Logo are trademarks |
|---|
| 202 | of the ISPCP Project Team. |
|---|
| 203 | |
|---|
| 204 | Please visit our site under http://ispcp.net for further information on |
|---|
| 205 | ispCP ω, ispCP and other themes. |
|---|
| 206 | |
|---|
| 207 | We hope you enjoy using ispCP ω. If you like it, help us, to make it better. We |
|---|
| 208 | would be glad on any help provided! |
|---|