Online computer courses, code, programming tutorial and sidebar information for monitoring Canadian S&P/TSX index. Build friendship and networking. Welcome to visit my blogs often!!! I also have two other sites: YouTube Channel and Google site.
Adsense
Popular Posts
- PHPWind-- A PHP forum script applcaition in China
- How to blend adsense inside your post?
- Formatting my post
- Notepad++ - Add C++ compiler
- Install PHPMailer 5.2.4 and use smtp gmail
- Set up a child account and set screen time limit in Windows 8
- Wayback Machine - see archived versions of web pages across time
- phpexcel toggle expand and hide column in EXCEL and summary
- Install PHP ibm_db2 extension in Linux (redHat)
- PHP: add a download as pdf file button in report page
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment