Changeset 1307
- Timestamp:
- 08/06/08 23:47:15
(4 months ago)
- Author:
- rats
- Message:
fixed a lot of issues found in RC6 release
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1301 |
r1307 |
|
| 2 | 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 3 | 3 | |
|---|
| | 4 | 2008-08-06 Benedikt Heintel |
|---|
| | 5 | - RELEASE ispCP ω Omega 1.0.0 RC6 |
|---|
| | 6 | - SETUP: |
|---|
| | 7 | * Fixed: MySQL root password containing " or ` update ends up with an error |
|---|
| | 8 | |
|---|
| 4 | 9 | 2008-08-05 Benedikt Heintel |
|---|
| 5 | | - RELEASE ispCP ω Omega 1.0.0 RC6 |
|---|
| 6 | 10 | - SETUP: |
|---|
| 7 | 11 | * Fixed #1447: proftpd.conf missing replacements |
|---|
| r1206 |
r1307 |
|
| 84 | 84 | ('PORT_SPAMASSASSIN', '783;tcp;SPAMASSASSIN;1;1'), |
|---|
| 85 | 85 | ('PORT_POLICYD-WEIGHT', '12525;tcp;POLICYD-WEIGHT;1;1'), |
|---|
| 86 | | ('DATABASE_REVISION', '4'); |
|---|
| | 86 | ('DATABASE_REVISION', '6'); |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | -- -------------------------------------------------------- |
|---|
| … | … | |
| 261 | 261 | `id` int(10) unsigned NOT NULL auto_increment, |
|---|
| 262 | 262 | `dmn_id` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 263 | | `user_id` tinyint(4) DEFAULT NULL, |
|---|
| 264 | | `group_id` tinyint(4) DEFAULT NULL, |
|---|
| | 263 | `user_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| | 264 | `group_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| 265 | 265 | `auth_type` varchar(255) DEFAULT NULL, |
|---|
| 266 | 266 | `auth_name` varchar(255) DEFAULT NULL, |
|---|
| … | … | |
| 526 | 526 | `sqlu_pass` varchar(64) binary DEFAULT 'n/a', |
|---|
| 527 | 527 | UNIQUE KEY (`sqlu_id`) |
|---|
| 528 | | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; |
|---|
| | 528 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2; |
|---|
| 529 | 529 | |
|---|
| 530 | 530 | -- -------------------------------------------------------- |
|---|
| r1301 |
r1307 |
|
| 9 | 9 | # |
|---|
| 10 | 10 | |
|---|
| 11 | | BuildDate = 20080805 |
|---|
| | 11 | BuildDate = 20080806 |
|---|
| 12 | 12 | |
|---|
| 13 | 13 | Version = 1.0.0 RC6 OMEGA |
|---|
| r1206 |
r1307 |
|
| 84 | 84 | ('PORT_SPAMASSASSIN', '783;tcp;SPAMASSASSIN;1;1'), |
|---|
| 85 | 85 | ('PORT_POLICYD-WEIGHT', '12525;tcp;POLICYD-WEIGHT;1;1'), |
|---|
| 86 | | ('DATABASE_REVISION', '4'); |
|---|
| | 86 | ('DATABASE_REVISION', '6'); |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | -- -------------------------------------------------------- |
|---|
| … | … | |
| 261 | 261 | `id` int(10) unsigned NOT NULL auto_increment, |
|---|
| 262 | 262 | `dmn_id` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 263 | | `user_id` tinyint(4) DEFAULT NULL, |
|---|
| 264 | | `group_id` tinyint(4) DEFAULT NULL, |
|---|
| | 263 | `user_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| | 264 | `group_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| 265 | 265 | `auth_type` varchar(255) DEFAULT NULL, |
|---|
| 266 | 266 | `auth_name` varchar(255) DEFAULT NULL, |
|---|
| r1301 |
r1307 |
|
| 9 | 9 | # |
|---|
| 10 | 10 | |
|---|
| 11 | | BuildDate = 20080805 |
|---|
| | 11 | BuildDate = 20080806 |
|---|
| 12 | 12 | |
|---|
| 13 | 13 | Version = 1.0.0 RC6 OMEGA |
|---|
| r1206 |
r1307 |
|
| 84 | 84 | ('PORT_SPAMASSASSIN', '783;tcp;SPAMASSASSIN;1;1'), |
|---|
| 85 | 85 | ('PORT_POLICYD-WEIGHT', '12525;tcp;POLICYD-WEIGHT;1;1'), |
|---|
| 86 | | ('DATABASE_REVISION', '4'); |
|---|
| | 86 | ('DATABASE_REVISION', '6'); |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | -- -------------------------------------------------------- |
|---|
| … | … | |
| 261 | 261 | `id` int(10) unsigned NOT NULL auto_increment, |
|---|
| 262 | 262 | `dmn_id` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 263 | | `user_id` tinyint(4) DEFAULT NULL, |
|---|
| 264 | | `group_id` tinyint(4) DEFAULT NULL, |
|---|
| | 263 | `user_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| | 264 | `group_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| 265 | 265 | `auth_type` varchar(255) DEFAULT NULL, |
|---|
| 266 | 266 | `auth_name` varchar(255) DEFAULT NULL, |
|---|
| … | … | |
| 526 | 526 | `sqlu_pass` varchar(64) binary DEFAULT 'n/a', |
|---|
| 527 | 527 | UNIQUE KEY (`sqlu_id`) |
|---|
| 528 | | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; |
|---|
| | 528 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2; |
|---|
| 529 | 529 | |
|---|
| 530 | 530 | -- -------------------------------------------------------- |
|---|
| r1301 |
r1307 |
|
| 9 | 9 | # |
|---|
| 10 | 10 | |
|---|
| 11 | | BuildDate = 20080805 |
|---|
| | 11 | BuildDate = 20080806 |
|---|
| 12 | 12 | |
|---|
| 13 | 13 | Version = 1.0.0 RC6 OMEGA |
|---|
| r1206 |
r1307 |
|
| 84 | 84 | ('PORT_SPAMASSASSIN', '783;tcp;SPAMASSASSIN;1;1'), |
|---|
| 85 | 85 | ('PORT_POLICYD-WEIGHT', '12525;tcp;POLICYD-WEIGHT;1;1'), |
|---|
| 86 | | ('DATABASE_REVISION', '4'); |
|---|
| | 86 | ('DATABASE_REVISION', '6'); |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | -- -------------------------------------------------------- |
|---|
| … | … | |
| 261 | 261 | `id` int(10) unsigned NOT NULL auto_increment, |
|---|
| 262 | 262 | `dmn_id` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 263 | | `user_id` tinyint(4) DEFAULT NULL, |
|---|
| 264 | | `group_id` tinyint(4) DEFAULT NULL, |
|---|
| | 263 | `user_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| | 264 | `group_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| 265 | 265 | `auth_type` varchar(255) DEFAULT NULL, |
|---|
| 266 | 266 | `auth_name` varchar(255) DEFAULT NULL, |
|---|
| … | … | |
| 526 | 526 | `sqlu_pass` varchar(64) binary DEFAULT 'n/a', |
|---|
| 527 | 527 | UNIQUE KEY (`sqlu_id`) |
|---|
| 528 | | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; |
|---|
| | 528 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2; |
|---|
| 529 | 529 | |
|---|
| 530 | 530 | -- -------------------------------------------------------- |
|---|
| r1206 |
r1307 |
|
| 75 | 75 | ('PORT_DNS', '53;tcp;DNS;1;0'), |
|---|
| 76 | 76 | ('PORT_HTTP', '80;tcp;HTTP;1;0'), |
|---|
| 77 | | ('PORT_HTTPS', '443;tcp;HTTPS;1;0'), |
|---|
| | 77 | ('PORT_HTTPS', '443;tcp;HTTPS;0;0'), |
|---|
| 78 | 78 | ('PORT_POP3', '110;tcp;POP3;1;0'), |
|---|
| 79 | 79 | ('PORT_POP3-SSL', '995;tcp;POP3-SSL;1;0'), |
|---|
| 80 | 80 | ('PORT_IMAP', '143;tcp;IMAP;1;0'), |
|---|
| 81 | | ('PORT_IMAP-SSL', '993;tcp;IMAP-SSL;1;0'), |
|---|
| 82 | | ('PORT_POSTGREY', '10030;tcp;POSTGREY;1;1'), |
|---|
| | 81 | ('PORT_IMAP-SSL', '993;tcp;IMAP-SSL;0;0'), |
|---|
| | 82 | ('PORT_POSTGREY', '60000;tcp;POSTGREY;1;1'), |
|---|
| 83 | 83 | ('PORT_AMAVIS', '10024;tcp;AMaVis;1;1'), |
|---|
| 84 | 84 | ('PORT_SPAMASSASSIN', '783;tcp;SPAMASSASSIN;1;1'), |
|---|
| 85 | 85 | ('PORT_POLICYD-WEIGHT', '12525;tcp;POLICYD-WEIGHT;1;1'), |
|---|
| 86 | | ('DATABASE_REVISION', '4'); |
|---|
| | 86 | ('DATABASE_REVISION', '6'); |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | -- -------------------------------------------------------- |
|---|
| … | … | |
| 261 | 261 | `id` int(10) unsigned NOT NULL auto_increment, |
|---|
| 262 | 262 | `dmn_id` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 263 | | `user_id` tinyint(4) DEFAULT NULL, |
|---|
| 264 | | `group_id` tinyint(4) DEFAULT NULL, |
|---|
| | 263 | `user_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| | 264 | `group_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| 265 | 265 | `auth_type` varchar(255) DEFAULT NULL, |
|---|
| 266 | 266 | `auth_name` varchar(255) DEFAULT NULL, |
|---|
| … | … | |
| 526 | 526 | `sqlu_pass` varchar(64) binary DEFAULT 'n/a', |
|---|
| 527 | 527 | UNIQUE KEY (`sqlu_id`) |
|---|
| 528 | | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; |
|---|
| | 528 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2; |
|---|
| 529 | 529 | |
|---|
| 530 | 530 | -- -------------------------------------------------------- |
|---|
| r1301 |
r1307 |
|
| 9 | 9 | # |
|---|
| 10 | 10 | |
|---|
| 11 | | BuildDate = 20080805 |
|---|
| | 11 | BuildDate = 20080806 |
|---|
| 12 | 12 | |
|---|
| 13 | 13 | Version = 1.0.0 RC6 OMEGA |
|---|
| r1206 |
r1307 |
|
| 84 | 84 | ('PORT_SPAMASSASSIN', '783;tcp;SPAMASSASSIN;1;1'), |
|---|
| 85 | 85 | ('PORT_POLICYD-WEIGHT', '12525;tcp;POLICYD-WEIGHT;1;1'), |
|---|
| 86 | | ('DATABASE_REVISION', '4'); |
|---|
| | 86 | ('DATABASE_REVISION', '6'); |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | -- -------------------------------------------------------- |
|---|
| … | … | |
| 261 | 261 | `id` int(10) unsigned NOT NULL auto_increment, |
|---|
| 262 | 262 | `dmn_id` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 263 | | `user_id` tinyint(4) DEFAULT NULL, |
|---|
| 264 | | `group_id` tinyint(4) DEFAULT NULL, |
|---|
| | 263 | `user_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| | 264 | `group_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| 265 | 265 | `auth_type` varchar(255) DEFAULT NULL, |
|---|
| 266 | 266 | `auth_name` varchar(255) DEFAULT NULL, |
|---|
| … | … | |
| 526 | 526 | `sqlu_pass` varchar(64) binary DEFAULT 'n/a', |
|---|
| 527 | 527 | UNIQUE KEY (`sqlu_id`) |
|---|
| 528 | | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; |
|---|
| | 528 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2; |
|---|
| 529 | 529 | |
|---|
| 530 | 530 | -- -------------------------------------------------------- |
|---|
| r1301 |
r1307 |
|
| 9 | 9 | # |
|---|
| 10 | 10 | |
|---|
| 11 | | BuildDate = 20080805 |
|---|
| | 11 | BuildDate = 20080806 |
|---|
| 12 | 12 | |
|---|
| 13 | 13 | Version = 1.0.0 RC6 OMEGA |
|---|
| r1206 |
r1307 |
|
| 84 | 84 | ('PORT_SPAMASSASSIN', '783;tcp;SPAMASSASSIN;1;1'), |
|---|
| 85 | 85 | ('PORT_POLICYD-WEIGHT', '12525;tcp;POLICYD-WEIGHT;1;1'), |
|---|
| 86 | | ('DATABASE_REVISION', '4'); |
|---|
| | 86 | ('DATABASE_REVISION', '6'); |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | -- -------------------------------------------------------- |
|---|
| … | … | |
| 261 | 261 | `id` int(10) unsigned NOT NULL auto_increment, |
|---|
| 262 | 262 | `dmn_id` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 263 | | `user_id` tinyint(4) DEFAULT NULL, |
|---|
| 264 | | `group_id` tinyint(4) DEFAULT NULL, |
|---|
| | 263 | `user_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| | 264 | `group_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| 265 | 265 | `auth_type` varchar(255) DEFAULT NULL, |
|---|
| 266 | 266 | `auth_name` varchar(255) DEFAULT NULL, |
|---|
| … | … | |
| 526 | 526 | `sqlu_pass` varchar(64) binary DEFAULT 'n/a', |
|---|
| 527 | 527 | UNIQUE KEY (`sqlu_id`) |
|---|
| 528 | | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; |
|---|
| | 528 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2; |
|---|
| 529 | 529 | |
|---|
| 530 | 530 | -- -------------------------------------------------------- |
|---|
| r1301 |
r1307 |
|
| 9 | 9 | # |
|---|
| 10 | 10 | |
|---|
| 11 | | BuildDate = 20080805 |
|---|
| | 11 | BuildDate = 20080806 |
|---|
| 12 | 12 | |
|---|
| 13 | 13 | Version = 1.0.0 RC6 OMEGA |
|---|
| r1206 |
r1307 |
|
| 84 | 84 | ('PORT_SPAMASSASSIN', '783;tcp;SPAMASSASSIN;1;1'), |
|---|
| 85 | 85 | ('PORT_POLICYD-WEIGHT', '12525;tcp;POLICYD-WEIGHT;1;1'), |
|---|
| 86 | | ('DATABASE_REVISION', '4'); |
|---|
| | 86 | ('DATABASE_REVISION', '6'); |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | -- -------------------------------------------------------- |
|---|
| … | … | |
| 261 | 261 | `id` int(10) unsigned NOT NULL auto_increment, |
|---|
| 262 | 262 | `dmn_id` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 263 | | `user_id` tinyint(4) DEFAULT NULL, |
|---|
| 264 | | `group_id` tinyint(4) DEFAULT NULL, |
|---|
| | 263 | `user_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| | 264 | `group_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| 265 | 265 | `auth_type` varchar(255) DEFAULT NULL, |
|---|
| 266 | 266 | `auth_name` varchar(255) DEFAULT NULL, |
|---|
| … | … | |
| 526 | 526 | `sqlu_pass` varchar(64) binary DEFAULT 'n/a', |
|---|
| 527 | 527 | UNIQUE KEY (`sqlu_id`) |
|---|
| 528 | | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; |
|---|
| | 528 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2; |
|---|
| 529 | 529 | |
|---|
| 530 | 530 | -- -------------------------------------------------------- |
|---|
| r1301 |
r1307 |
|
| 9 | 9 | # |
|---|
| 10 | 10 | |
|---|
| 11 | | BuildDate = 20080805 |
|---|
| | 11 | BuildDate = 20080806 |
|---|
| 12 | 12 | |
|---|
| 13 | 13 | Version = 1.0.0 RC6 OMEGA |
|---|
| r1206 |
r1307 |
|
| 84 | 84 | ('PORT_SPAMASSASSIN', '783;tcp;SPAMASSASSIN;1;1'), |
|---|
| 85 | 85 | ('PORT_POLICYD-WEIGHT', '12525;tcp;POLICYD-WEIGHT;1;1'), |
|---|
| 86 | | ('DATABASE_REVISION', '4'); |
|---|
| | 86 | ('DATABASE_REVISION', '6'); |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | -- -------------------------------------------------------- |
|---|
| … | … | |
| 261 | 261 | `id` int(10) unsigned NOT NULL auto_increment, |
|---|
| 262 | 262 | `dmn_id` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 263 | | `user_id` tinyint(4) DEFAULT NULL, |
|---|
| 264 | | `group_id` tinyint(4) DEFAULT NULL, |
|---|
| | 263 | `user_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| | 264 | `group_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| 265 | 265 | `auth_type` varchar(255) DEFAULT NULL, |
|---|
| 266 | 266 | `auth_name` varchar(255) DEFAULT NULL, |
|---|
| … | … | |
| 526 | 526 | `sqlu_pass` varchar(64) binary DEFAULT 'n/a', |
|---|
| 527 | 527 | UNIQUE KEY (`sqlu_id`) |
|---|
| 528 | | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; |
|---|
| | 528 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2; |
|---|
| 529 | 529 | |
|---|
| 530 | 530 | -- -------------------------------------------------------- |
|---|
| r1301 |
r1307 |
|
| 9 | 9 | # |
|---|
| 10 | 10 | |
|---|
| 11 | | BuildDate = 20080805 |
|---|
| | 11 | BuildDate = 20080806 |
|---|
| 12 | 12 | |
|---|
| 13 | 13 | Version = 1.0.0 RC6 OMEGA |
|---|
| r1297 |
r1307 |
|
| 69 | 69 | 4. Untar or unzip the distribution files to a secure directory: |
|---|
| 70 | 70 | # cd /root |
|---|
| 71 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 71 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 72 | 72 | |
|---|
| 73 | 73 | 5. Change to the newly created directory: |
|---|
| … | … | |
| 189 | 189 | need to be running. |
|---|
| 190 | 190 | |
|---|
| 191 | | |
|---|
| 192 | | |
|---|
| 193 | | |
|---|
| 194 | 191 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 195 | | # cd /root |
|---|
| 196 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 192 | # cd /root |
|---|
| | 193 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 197 | 194 | |
|---|
| 198 | 195 | 2. Change to the newly created directory: |
|---|
| 199 | | # cd ./ispcp-omega-1.0.0 |
|---|
| | 196 | # cd ./ispcp-omega-1.0.0 |
|---|
| 200 | 197 | |
|---|
| 201 | 198 | 3. Next, install the software packages we need. A list is conveniently provided |
|---|
| 202 | 199 | and can be used to install by running the following: |
|---|
| 203 | | # yum install `cat ./docs/CentOS/centos-packages` |
|---|
| | 200 | # yum install `cat ./docs/CentOS/centos-packages` |
|---|
| 204 | 201 | After that, we need to install a few perl modules that aren't packaged. You |
|---|
| 205 | 202 | can run the following command to install them: |
|---|
| 206 | | # cat ./docs/CentOS/centos-perl | xargs -I {} perl -MCPAN -e 'install {}' |
|---|
| | 203 | # cat ./docs/CentOS/centos-perl | xargs -I {} perl -MCPAN -e 'install {}' |
|---|
| 207 | 204 | |
|---|
| 208 | 205 | 4. (optional) Check the ispcp.conf and adapt it to your requirements. |
|---|
| … | … | |
| 211 | 208 | |
|---|
| 212 | 209 | 5. Build the System by using make: |
|---|
| 213 | | # make -f Makefile.centos install |
|---|
| 214 | | |
|---|
| 215 | | 6. Save key files |
|---|
| 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/ |
|---|
| | 210 | # make -f Makefile.centos install |
|---|
| | 211 | |
|---|
| | 212 | 6. Save files |
|---|
| | 213 | # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ |
|---|
| | 214 | # cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/ |
|---|
| | 215 | # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/ |
|---|
| | 216 | # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/ |
|---|
| 219 | 217 | |
|---|
| 220 | 218 | If updating from RC3 or higher: |
|---|
| 221 | | # cp -v /var/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/var/www/ispcp/gui/tools/pma/ |
|---|
| | 219 | # cp -v /var/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/var/www/ispcp/gui/tools/pma/ |
|---|
| 222 | 220 | |
|---|
| 223 | 221 | 7. Delete old files to avoid security risks: |
|---|
| … | … | |
| 231 | 229 | 9. Backup ispcp.conf and copy the /etc dircetory into your system (you may make backups): |
|---|
| 232 | 230 | # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf |
|---|
| | 231 | |
|---|
| | 232 | If updating from RC5: |
|---|
| | 233 | # cp -Rv /tmp/ispcp/etc/ispcp/* /etc/ispcp |
|---|
| | 234 | |
|---|
| | 235 | else: |
|---|
| 233 | 236 | # cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 234 | 237 | |
|---|
| r1297 |
r1307 |
|
| 57 | 57 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 58 | 58 | # cd /root |
|---|
| 59 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 59 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 60 | 60 | |
|---|
| 61 | 61 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 133 | 133 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 134 | 134 | # cd /root |
|---|
| 135 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 135 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 136 | 136 | |
|---|
| 137 | 137 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 175 | 175 | # make install |
|---|
| 176 | 176 | |
|---|
| 177 | | 6. Save key files |
|---|
| | 177 | 6. Save files |
|---|
| 178 | 178 | # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ |
|---|
| 179 | 179 | # cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/ |
|---|
| 180 | 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/ |
|---|
| 181 | 182 | |
|---|
| 182 | 183 | If updating from RC3 or higher: |
|---|
| … | … | |
| 193 | 194 | 9. Backup ispcp.conf and copy the /etc dircetory into your system (you may make backups): |
|---|
| 194 | 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: |
|---|
| 195 | 201 | # cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 196 | 202 | |
|---|
| r1297 |
r1307 |
|
| 55 | 55 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 56 | 56 | # cd /root |
|---|
| 57 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 57 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 58 | 58 | |
|---|
| 59 | 59 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 157 | 157 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 158 | 158 | # cd /root |
|---|
| 159 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 159 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 160 | 160 | |
|---|
| 161 | 161 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 176 | 176 | # make -f Makefile.fedora install |
|---|
| 177 | 177 | |
|---|
| 178 | | 6. Save key files |
|---|
| | 178 | 6. Save files |
|---|
| 179 | 179 | # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ |
|---|
| 180 | 180 | # cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/ |
|---|
| 181 | 181 | # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/ |
|---|
| | 182 | # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/ |
|---|
| 182 | 183 | |
|---|
| 183 | 184 | If updating from RC3 or higher: |
|---|
| … | … | |
| 194 | 195 | 9. Backup ispcp.conf and copy the /etc dircetory into your system (you may make backups): |
|---|
| 195 | 196 | # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf |
|---|
| | 197 | |
|---|
| | 198 | If updating from RC5: |
|---|
| | 199 | # cp -Rv /tmp/ispcp/etc/ispcp/* /etc/ispcp |
|---|
| | 200 | |
|---|
| | 201 | else: |
|---|
| 196 | 202 | # cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 197 | 203 | |
|---|
| r1295 |
r1307 |
|
| 61 | 61 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 62 | 62 | # cd /root |
|---|
| 63 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 63 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 64 | 64 | |
|---|
| 65 | 65 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 104 | 104 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 105 | 105 | # cd /root |
|---|
| 106 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 106 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 107 | 107 | |
|---|
| 108 | 108 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 119 | 119 | # make -f Makefile.fbsd install |
|---|
| 120 | 120 | |
|---|
| 121 | | 6. Save key files |
|---|
| | 121 | 6. Save files |
|---|
| 122 | 122 | # cp -v /usr/local/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/usr/local/www/ispcp/engine/ |
|---|
| 123 | 123 | # cp -v /usr/local/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/usr/local/www/ispcp/engine/messager/ |
|---|
| 124 | 124 | # cp -v /usr/local/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/usr/local/www/ispcp/gui/include/ |
|---|
| | 125 | # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/ |
|---|
| 125 | 126 | |
|---|
| 126 | 127 | If updating from RC3 or higher: |
|---|
| … | … | |
| 142 | 143 | 9. Backup ispcp.conf and copy the /etc dircetory into your system (you may make backups): |
|---|
| 143 | 144 | # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf |
|---|
| | 145 | |
|---|
| | 146 | If updating from RC5: |
|---|
| | 147 | # cp -Rv /tmp/ispcp/etc/ispcp/* /etc/ispcp |
|---|
| | 148 | |
|---|
| | 149 | else: |
|---|
| 144 | 150 | # cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 145 | 151 | |
|---|
| r1297 |
r1307 |
|
| 55 | 55 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 56 | 56 | # cd /root |
|---|
| 57 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 57 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 58 | 58 | |
|---|
| 59 | 59 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 106 | 106 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 107 | 107 | # cd /root |
|---|
| 108 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 108 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 109 | 109 | |
|---|
| 110 | 110 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 121 | 121 | # make -f Makefile.gentoo install |
|---|
| 122 | 122 | |
|---|
| 123 | | 6. Save key files |
|---|
| | 123 | 6. Save files |
|---|
| 124 | 124 | # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ |
|---|
| 125 | 125 | # cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/ |
|---|
| 126 | 126 | # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/ |
|---|
| | 127 | # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/ |
|---|
| 127 | 128 | |
|---|
| 128 | 129 | If updating from RC3 or higher: |
|---|
| … | … | |
| 139 | 140 | 9. Backup ispcp.conf and copy the /etc dircetory into your system (you may make backups): |
|---|
| 140 | 141 | # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf |
|---|
| | 142 | |
|---|
| | 143 | If updating from RC5: |
|---|
| | 144 | # cp -Rv /tmp/ispcp/etc/ispcp/* /etc/ispcp |
|---|
| | 145 | |
|---|
| | 146 | else: |
|---|
| 141 | 147 | # cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 142 | 148 | |
|---|
| r1295 |
r1307 |
|
| 56 | 56 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 57 | 57 | # cd /root |
|---|
| 58 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 58 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 59 | 59 | |
|---|
| 60 | 60 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 178 | 178 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 179 | 179 | # cd /root |
|---|
| 180 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 180 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 181 | 181 | |
|---|
| 182 | 182 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 222 | 222 | # make -f Makefile.inc install |
|---|
| 223 | 223 | |
|---|
| 224 | | 6. Save key files |
|---|
| | 224 | 6. Save files |
|---|
| 225 | 225 | # cp -v /usr/local/www/apache22/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/usr/local/www/apache22/ispcp/engine/ |
|---|
| 226 | 226 | # cp -v /usr/local/www/apache22/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/usr/local/www/apache22/ispcp/engine/messager/ |
|---|
| 227 | 227 | # cp -v /usr/local/www/apache22/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/usr/local/www/apache22/ispcp/gui/include/ |
|---|
| | 228 | # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/ |
|---|
| 228 | 229 | |
|---|
| 229 | 230 | If updating from RC3 or higher: |
|---|
| … | … | |
| 245 | 246 | 9. Backup ispcp.conf and copy the /etc dircetory into your system (you may make backups): |
|---|
| 246 | 247 | # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf |
|---|
| | 248 | |
|---|
| | 249 | If updating from RC5: |
|---|
| | 250 | # cp -Rv /tmp/ispcp/etc/ispcp/* /etc/ispcp |
|---|
| | 251 | |
|---|
| | 252 | else: |
|---|
| 247 | 253 | # cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 248 | 254 | |
|---|
| r1297 |
r1307 |
|
| 76 | 76 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 77 | 77 | # cd /root |
|---|
| 78 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 78 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 79 | 79 | |
|---|
| 80 | 80 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 147 | 147 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 148 | 148 | # cd /root |
|---|
| 149 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 149 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 150 | 150 | |
|---|
| 151 | 151 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 165 | 165 | # make -f Makefile.opensuse install |
|---|
| 166 | 166 | |
|---|
| 167 | | 6. Save key files |
|---|
| | 167 | 6. Save files |
|---|
| 168 | 168 | # cp -v /srv/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ |
|---|
| 169 | 169 | # cp -v /srv/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/ |
|---|
| 170 | 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/ |
|---|
| 171 | 172 | |
|---|
| 172 | 173 | If updating from RC3 or higher: |
|---|
| … | … | |
| 183 | 184 | 9. Backup ispcp.conf and copy the /etc dircetory into your system (you may make backups): |
|---|
| 184 | 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: |
|---|
| 185 | 191 | # cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 186 | 192 | |
|---|
| r1297 |
r1307 |
|
| 58 | 58 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 59 | 59 | # cd /root |
|---|
| 60 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 60 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 61 | 61 | |
|---|
| 62 | 62 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 107 | 107 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 108 | 108 | # cd /root |
|---|
| 109 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 109 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 110 | 110 | |
|---|
| 111 | 111 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 121 | 121 | # make install |
|---|
| 122 | 122 | |
|---|
| 123 | | 6. Save key files |
|---|
| | 123 | 6. Save files |
|---|
| 124 | 124 | # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ |
|---|
| 125 | 125 | # cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/ |
|---|
| 126 | 126 | # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/ |
|---|
| | 127 | # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/ |
|---|
| 127 | 128 | |
|---|
| 128 | 129 | If updating from RC3 or higher: |
|---|
| … | … | |
| 139 | 140 | 9. Backup ispcp.conf and copy the /etc dircetory into your system (you may make backups): |
|---|
| 140 | 141 | # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf |
|---|
| | 142 | |
|---|
| | 143 | If updating from RC5: |
|---|
| | 144 | # cp -Rv /tmp/ispcp/etc/ispcp/* /etc/ispcp |
|---|
| | 145 | |
|---|
| | 146 | else: |
|---|
| 141 | 147 | # cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 142 | 148 | |
|---|
| r1297 |
r1307 |
|
| 58 | 58 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 59 | 59 | # cd /root |
|---|
| 60 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 60 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 61 | 61 | |
|---|
| 62 | 62 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 127 | 127 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 128 | 128 | # cd /root |
|---|
| 129 | | # tar xjvf ispcp-omega-1.0.0-RC6.tar.bz2 |
|---|
| | 129 | # tar xjvf ispcp-omega-1.0.0-rc6.tar.bz2 |
|---|
| 130 | 130 | |
|---|
| 131 | 131 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 159 | 159 | # make install |
|---|
| 160 | 160 | |
|---|
| 161 | | 6. Save key files |
|---|
| | 161 | 6. Save files |
|---|
| 162 | 162 | # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/ |
|---|
| 163 | 163 | # cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/ |
|---|
| 164 | 164 | # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/ |
|---|
| | 165 | # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/ |
|---|
| 165 | 166 | |
|---|
| 166 | 167 | If updating from RC3 or higher: |
|---|
| … | … | |
| 177 | 178 | 9. Backup ispcp.conf and copy the /etc dircetory into your system (you may make backups): |
|---|
| 178 | 179 | # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf |
|---|
| | 180 | |
|---|
| | 181 | If updating from RC5: |
|---|
| | 182 | # cp -Rv /tmp/ispcp/etc/ispcp/* /etc/ispcp |
|---|
| | 183 | |
|---|
| | 184 | else: |
|---|
| 179 | 185 | # cp -Rv /tmp/ispcp/etc/* /etc/ |
|---|
| 180 | 186 | |
|---|
| r1301 |
r1307 |
|
| 687 | 687 | return $rs if ($rs != 0); |
|---|
| 688 | 688 | |
|---|
| 689 | | # Escape " and ` |
|---|
| | 689 | # Escape " and ' |
|---|
| 690 | 690 | $main::db_pwd =~ s/([\'\"])/\\$1/g; |
|---|
| 691 | 691 | my $cmd = "$main::cfg{'CMD_MYSQL'} --host=\"$main::db_host\" --user=\"$main::db_user\" --pass=\"$main::db_pwd\" < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr"; |
|---|
| r1297 |
r1307 |
|
| 303 | 303 | print STDOUT "\tCreating new database..."; |
|---|
| 304 | 304 | |
|---|
| 305 | | if (sys_command("mysqladmin -u\'$main::db_user\' -p\'$main::db_pwd\' create ispcp ") != 0) { |
|---|
| | 305 | # Escape " and ' |
|---|
| | 306 | $main::db_pwd =~ s/([\'\"])/\\$1/g; |
|---|
| | 307 | if (sys_command("mysqladmin -u\"$main::db_user\" -p\"$main::db_pwd\" create ispcp ") != 0) { |
|---|
| 306 | 308 | print STDOUT "failed!\n"; |
|---|
| 307 | 309 | exit_werror(); |
|---|
| … | … | |
| 312 | 314 | print STDOUT "\tCopying database..."; |
|---|
| 313 | 315 | |
|---|
| 314 | | if (sys_command("mysqldump --opt -u\'$main::db_user\' -p\'$main::db_pwd\' $main::vhcs2{'DATABASE_NAME'} | mysql -u\'$main::db_user\' -p\'$main::db_pwd\' $main::db_name") != 0) { |
|---|
| | 316 | if (sys_command("mysqldump --opt -u\"$main::db_user\" -p\"$main::db_pwd\" $main::vhcs2{'DATABASE_NAME'} | mysql -u\"$main::db_user\" -p\"$main::db_pwd\" $main::db_name") != 0) { |
|---|
| 315 | 317 | print STDOUT "failed!\n"; |
|---|
| 316 | 318 | exit_werror(); |
|---|
| … | … | |
| 336 | 338 | return $rs if ($rs != 0); |
|---|
| 337 | 339 | |
|---|
| 338 | | $rs = sys_command("mysql -u\'$main::db_user\' -p\'$main::db_pwd\' < /tmp/db.sql"); |
|---|
| | 340 | $rs = sys_command("mysql -u\"$main::db_user\" -p\"$main::db_pwd\" < /tmp/db.sql"); |
|---|
| 339 | 341 | if ($rs != 0) { |
|---|
| 340 | 342 | print STDOUT "failed!\n"; |
|---|
| … | … | |
| 927 | 929 | } |
|---|
| 928 | 930 | |
|---|
| | 931 | sub patch_ispcp_rc5 { |
|---|
| | 932 | push_el(\@main::el, 'patch_ispcp_rc5()', 'Starting...'); |
|---|
| | 933 | |
|---|
| | 934 | if ($main::cfg{'ISPCP_SUPPORT_SYSTEM_PATH'} == support_system.php) { |
|---|
| | 935 | $rs = set_conf_val('ISPCP_SUPPORT_SYSTEM_PATH', ticket_system.php); |
|---|
| | 936 | return $rs if ($rs != 0); |
|---|
| | 937 | } |
|---|
| | 938 | |
|---|
| | 939 | push_el(\@main::el, 'patch_ispcp_rc5()', 'Ending...'); |
|---|
| | 940 | } |
|---|
| | 941 | |
|---|
| 929 | 942 | sub prepare_update { |
|---|
| 930 | 943 | my ($rs, $rdata) = (undef, undef); |
|---|
| … | … | |
| 1028 | 1041 | # ispCP 1.0.0 RC5 |
|---|
| 1029 | 1042 | elsif ($main::ua{'update'} eq RC5) { |
|---|
| 1030 | | push_el(\@main::el, 'patch_ispcp_rc5()', 'Nothing else to patch.'); |
|---|
| | 1043 | $rs = patch_ispcp_rc5(); |
|---|
| 1031 | 1044 | } |
|---|
| 1032 | 1045 | |
|---|
| … | … | |
| 1058 | 1071 | return $rs if ($rs != 0); |
|---|
| 1059 | 1072 | |
|---|
| 1060 | | $rs = sys_command("mysql -u\'$main::db_user\' -p\'$main::db_pwd\' < /tmp/db.sql"); |
|---|
| | 1073 | $main::db_pwd =~ s/([\'\"])/\\$1/g; |
|---|
| | 1074 | $rs = sys_command("$main::cfg{'CMD_MYSQL'} -u\"$main::db_user\" -p\"$main::db_pwd\" < /tmp/db.sql"); |
|---|
| 1061 | 1075 | if ($rs != 0) { |
|---|
| 1062 | 1076 | exit_werror("SQL Update failed."); |
|---|
| r1295 |
r1307 |
|
| 227 | 227 | |
|---|
| 228 | 228 | $sqlUpd[] = "ALTER IGNORE TABLE `htaccess` |
|---|
| 229 | | CHANGE `user_id` `user_id` VARCHAR(255) NULL DEFAULT NULL , |
|---|
| | 229 | CHANGE `user_id` `user_id` VARCHAR(255) NULL DEFAULT NULL, |
|---|
| 230 | 230 | CHANGE `group_id` `group_id` VARCHAR(255) NULL DEFAULT NULL"; |
|---|
| 231 | 231 | |
|---|
| r1294 |
r1307 |
|
| 5 | 5 | "Report-Msgid-Bugs-To: \n" |
|---|
| 6 | 6 | "POT-Creation-Date: 2008-08-04 15:15+0200\n" |
|---|
| 7 | | "PO-Revision-Date: 2008-08-02 08:55+0100\n" |
|---|
| | 7 | "PO-Revision-Date: 2008-08-06 12:50+0100\n" |
|---|
| 8 | 8 | "Last-Translator: Javier Talens Segui <jtsegui@cistal.com>\n" |
|---|
| 9 | 9 | "Language-Team: Spanish Spain <es_ES@li.org>\n" |
|---|
| … | … | |
| 50 | 50 | msgstr "No recuerdo mi contraseña" |
|---|
| 51 | 51 | |
|---|
| 52 | | #, fuzzy |
|---|
| 53 | 52 | msgid "Retrieving lost passwords is currently not possible" |
|---|
| 54 | | msgstr "La función de recordatorio de contraseña está desactivada" |
|---|
| | 53 | msgstr "Solicitar la contraseña olvidada actualmente no esta disponible" |
|---|
| 55 | 54 | |
|---|
| 56 | 55 | msgid "ispCP - Virtual Hosting Control System" |
|---|
| … | … | |
| 81 | 80 | msgstr "Código de seguridad" |
|---|
| 82 | 81 | |
|---|
| 83 | | msgid "" |
|---|
| 84 | | "(To avoid abuse, we ask you to write the combination of letters on the above " |
|---|
| 85 | | "picture into the field \"Security code\")" |
|---|
| 86 | | msgstr "" |
|---|
| 87 | | "(Para evitar abusos, escribe la combinación de letras de la siguiente figura " |
|---|
| 88 | | "en el campo \"Código de seguridad\")" |
|---|
| | 82 | msgid "(To avoid abuse, we ask you to write the combination of letters on the above picture into the field \"Security code\")" |
|---|
| | 83 | msgstr "(Para evitar abusos, escribe la combinación de letras de la siguiente figura en el campo \"Código de seguridad\")" |
|---|
| 89 | 84 | |
|---|
| 90 | 85 | msgid "Request password" |
|---|
| … | … | |
| 178 | 173 | msgstr "Añadir" |
|---|
| 179 | 174 | |
|---|
| 180 | | #, fuzzy |
|---|
| 181 | 175 | msgid "ispCP - Admin/Manage users/Edit Administrator" |
|---|
| 182 | 176 | msgstr "ispCP - Admin/Administrar usuarios/Editar usuario" |
|---|
| … | … | |
| 215 | 209 | #, php-format |
|---|
| 216 | 210 | msgid "%s deleted the admin log older than two weeks!" |
|---|
| 217 | | msgstr "" |
|---|
| 218 | | "%s ha borrado las entradas más antiguas que 2 semanas del log de " |
|---|
| 219 | | "administrador" |
|---|
| | 211 | msgstr "%s ha borrado las entradas más antiguas que 2 semanas del log de administrador" |
|---|
| 220 | 212 | |
|---|
| 221 | 213 | #, php-format |
|---|
| 22 |
|---|
|