Wednesday, December 8, 2010

Install Wordpress in my website


I built a new wordpress website to backup my posts in blogspot.
http://www.jiansenlu.zoka.cc/wordpress/
for rss feed, you just need to add  ?feed=rss
http://www.jiansenlu.zoka.cc/wordpress/?feed=rss
Below is the procedure, quite simple and straightforward .

1) Download Wordpress from http://wordpress.org/download/ and unzip it (I use free software TUGzip) and extract to my directory in local desktop.
2) I use WinSCP to upload the package to my remote host sub-directory htdocs
3) Go to mysql database create new database: zokac_6523693_wordpress
user and password not changed


4) copy wp-config-sample.php to wp-config.php
change database_name_here, username_here, password_here and localhost in wp-config.php to real ones.

----------------------- original wp-config.php---------------------------------
define('DB_NAME', 'database_name_here');

/** MySQL database username */
define('DB_USER', 'username_here');

/** MySQL database password */
define('DB_PASSWORD', 'password_here');
/** MySQL hostname */
define('DB_HOST', 'localhost');
-----------------------------------------------------------
5. run install.php, in my case:
http://www.jiansenlu.zoka.cc/wordpress/wp-admin/install.php
input site title, user name, password and click install
6 Login page:
http://www.jiansenlu.zoka.cc/wordpress/wp-login.php
7. This is my wordpress website:
http://www.jiansenlu.zoka.cc/wordpress/
8, For adding new theme, go to http://wordpress.org/extend/themes/ to download new theme and upload to your server. I choose
Fresh Ink Magazine
9. For adding Adsense, put your AdSense code in sidebar.php as mentioned in
http://www.tamba2.org.uk/wordpress/adsense/
or you can blend your AdSense as html code in your post.

No comments:

Post a Comment