Upgrade self hosted wordpress 2.6.5 to 2.7 RC1

Posted by admin on December 5, 2008 under Step By Step, Wordpress | Be the First to Comment

My wife can’t wait any longer for wordpress 2.7. He ask me to upgrade her blog to wordpress 2.7 RC1.

I agree to update her blog but I choose to upgrade mine first, in case of failed upgrade I can learn a lot before taking control my wife blog :-)

Here’s the steps :

Backup

1. Backup my blog first, start from backup database using shell.

Use cat command to see username, password and database that I use for my blog

cat wp-config.php

Dump database

mysqldump -uonezero5_alam -p onezero5_alamsyah > alamsyah.sql

Compress all files in single tar.gz file

tar cvzf alamsyah.tar.gz alamsyah

I just curious to check how big my blog is :-)

du -sh alamsyah.tar.gz
36M     alamsyah.tar.gz

Download wordpress 2.7 RC1

wget http://wordpress.org/wordpress-2.7-RC1.zip

Extract the file

unzip wordpress-2.7-RC1.zip

Move to my blog folder and copying all file

cd alamsyah

cp -avr ~/www/wordpress/* .

Don’t use u option, I use u (for update option but I get fail)

2. Upgrade wordpress

Update database by typing my blog adress

http://alamsyah.rasyid.net/wp-admin/upgrade.php

Done

Login to admin to see shiny wordpress 2.7

I can’t wait next 5 days before 2.7 release, please forgive me ;-)

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It! Digg It!
    www.sajithmr.com

My Yahoo Messenger Saved by VPS Account

Posted by admin on November 11, 2008 under Tips | Be the First to Comment

One tool that help me alot in communicate to client is yahoo messenger. I don’t know why yesterday I can signin to my yahoo messenger. All other service running well, even irc to dalnet network.

Lucky I can use my vps account for creating socks tunnel.

Here’s the process :

1. Download putty

2. Save to C:/windows

3. Open dos prompt and type :

putty -P 22 -N -D 9999 -C root@ngeblog.cn

putty instance show up and I minimize it.

4. Open yahoo messenger and click

Messenger -> Connection Preferences

5. Choose proxy and socks like picture

Try to reconnect and I’m In :-)

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It! Digg It!
    www.sajithmr.com

Wordpress 2.7 Core Update Feature

Posted by admin on November 9, 2008 under Wordpress | Be the First to Comment

I just realize that wordpress 2.7 that I install yesterday has other great feature :

Core Update

This feature need cooperation from your host, I’m lucky my hostmonster account support me well.

To apply it just click ‘stay updated

It will automatically download and install :

Upgrade WordPress

Downloading update from http://wordpress.org/nightly-builds/wordpress-latest.zip

Unpacking the core update

Verifying the unpacked files

Installing the latest version

Upgrading database

WordPress upgraded successfully

Click on dashboard to see current version of your wordpress :

To see list of webhosting that support it ( at least reported work ) you can visit Core Update Host Compatibility at codex.

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It! Digg It!
    www.sajithmr.com