To upgrade to PHP 5.2.x on CentOS/RHEL/Fedora: Step 1) Set up the atomic channel as follows: wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh Step 2) To upgrade to PHP 5.2.x: yum update php Step 3) Then you can replace the PHP 4 php.ini with PHP 5.2.x’s (if applicable): mv /etc/php.ini.rpmnew /etc/php.ini Step 4) Replace the [...]
Archive for the ‘MIGRATION’ Category
HOW To upgrade to PHP 5.2.x on CentOS/RHEL/Fedoraedora
Posted in MIGRATION, Php, PLESK on October 11, 2009 | Leave a Comment »
How to convert maildir to mbox format for all email accounts in a domain
Posted in MIGRATION on October 4, 2009 | Leave a Comment »
Following is the script, that converts all email accounts in a domain from maildir to mbox format. The only input needed is the Cpanel account username. It will also check the email accounts in parked domain and converts them into mbox format. #!/bin/bash # Script to convert maildir to mbox format for all email accts [...]
How to convert maildir to mbox format
Posted in MIGRATION on October 4, 2009 | Leave a Comment »
In maildir format, the mails are stored as text files under the cur directory. You can convert them to mbox format by using the formail binary that come alone with procmail rpm package. The following script coverts the mails stored in maildir format to mbox format for the account info@domain.com. You can generalize the script [...]
How to migrate accounts from cpanel to hsphere
Posted in MIGRATION on October 4, 2009 | Leave a Comment »
The easiest way to migrate accounts from cpanel to Hsphere 1. Go to Import Users in the E.Manager menu. 2. Click cPanel User Import Wizard 3. Fill in the information asked in that page and click on the Submit button: # FTP Server where account archive is stored # FTP Login and Password: your FTP [...]
Upgrade mysql from 5.0.x to 5.1.30 with cPanel scripts
Posted in MIGRATION, Mysql on October 4, 2009 | Leave a Comment »
You can upgrade from 5.0.x to 5.1.30 with cPanel scripts edit /var/cpanel/cpanel.config and set mysql-version=5.1 then execute /scripts/mysqlup then run /scripts/easyapache and then /scripts/perlinstaller –force Bundle::DBD::mysql to reset the new install ERROR! MySQL manager or server PID file could not be found! Solved: This error is caused by the my.cnf file that comes from mysql4 [...]
How-to: Migrate Accounts From One Server To Another (cPanel)
Posted in MIGRATION on October 3, 2009 | Leave a Comment »
Prelude: . I am writing this tutorial because this is a solid method I have used in the past for easily migrating cPanel accounts from one server to another. Using this method, you can transfer accounts from an old server, to a new one, help customers from another host move to your host, etc. This [...]
Upgrade MySQL on cPanel servers.
Posted in Cpanel, MIGRATION, Mysql on January 1, 2009 | Leave a Comment »
MySQL and PHP upgrade on cPanel is a very simple process, here is a list of steps that needs to be taken to upgrade these two components: 1. Login to your WHM as root; 2. Go to WHM >> Server Configuration >> Tweak Settings, scroll down to “MySQL” section, switch radio button to “5.0″ and [...]