Sunday, November 11, 2012

server–move wordpress 3.4.2-en to other machine

what:

   my free host in qs263.com is rubbish, so i need changed the wordpress to new place.

my new place is want to sourceforge.net vhost http://www.pkstate.com here.

now ,used ssh client to login vhost. then

1.export your old data

1.1 used wordpress export tool to export data.

image

 

2.install new server

2.1.download wordpress 3.4.2-en in linux

wget -c http://wordpress.org/latest.tar.gz



2.2.uncompress it


tar -zxvf latest.tar.gz


2.3.move it to wwwroot directory


mv wordpress /home/project-web/pkrssweb/htdocs


make it writable:

chmod -R a+rwx  wordpress





2.4.input your url, like this http://www.pkstate.com/wordpress/


image


click image


click image


write down your mysql info:


image


click image


 


write down your blog name,and admin name,and admin password twice time,and admin email.then click steup.


image


click image


if you see

Sorry, but I can't write the wp-config.php file.

You can create the wp-config.php manually and paste the following text into it




your need copy the content to write the file wp-config.php.




2.5.used your input’s account and password to login it


2.6import your old post data


image


click red word “wordpress”.


error:

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.



fixed:


it is sourceforge.net ‘s limit, this opercation is cancel now.


 


 


No comments: