I’ve successfully upgraded my blog from old version WP 2.6.x to 2.8 today. The following is the steps that i sorted out:
- Log in “wp-admin” to disable all existing Plugins (Important step)
- Backup the mySQL database
- Rename the existing blog directory (Backup the source)
- Recreate the blog directory & Install the new version WordPress (can be easily uses Cpanel Fantastico)
- Rename the new “wp-content” directory
- Replace it by Copy back the original “wp-content” directory from backup source
- Restore/Import the mySQL database into the new DB (Normally Fantastico will auto create a new DB)
- Browse “wp-admin”, the system will prompt to click a button for upgrading the blog DB
- Log in “wp-admin” to check the contents & settings
- Some older version Plugins might need to be remove or reinstall (Find the compatible version before activate)
- Grant the write permission to the path: wp-content/uploads/
- Edit “wp-config.php” to delete “utf8” at DB_CHARSET (To make the encoding loads well)
NOTE: Always be reminded to keep a copy of full backup before make any changes.
Tags:
backup,
cPanel,
fantastico,
mysql,
plugins,
restore,
upgrading,
utf8,
wordpress
1 Comment »
This is a faster way to transfer/move a cpanel account from one server to another server:
Assumed the destination IP = xxx.xxx.xxx.xxx
- SSH to Source server
- /scripts/pkgacct
- Once the backup complete, you will see “md5 checksum ok”
- cd /home
- scp -P cpmove-cpanelusername.tar.gz root@xxx.xxx.xxx.xxx:/home
- Just follow the instruction, input the root password
- Then wait for it to complete with 100%
- Log in WHM of the Destination server, Restore Full Backup/cpmove
- Enter the cpanel username to restore
- At DNS zone editor, redirect the domains including Addons and parked domains’s IP from the Source server to Destination server IP
Tags:
cPanel,
migration
No Comments »
Sometimes spamd child process for a particular user can cause server high loads. This is reported as a bug with spamassassin, refer to:
http://www.cpanelconfig.com/how-to/spamassasin-spamd-using-100-cpu/
To fix the issue on the cPanel servers, try run the following script as root:
/scripts/autorepair spamd_dbm_fix
Tags:
autorepair,
bug,
Child,
cPanel,
dbm,
fix,
linux,
process,
repair,
root,
script,
server,
spamassassin,
spamd
No Comments »