blog

原创
2013/08/18 19:12
阅读数 103

blog

 

1.         sphpblog windows

windows xp sp3

httpd-2.2.18-win32-x86-no_ssl-r2.msi

Network Domainlocalhost

Server Namelocalhost

Administrator`s Email Addressroot@localhost

php-5.3.5-Win32-VC6-x86.msi

Apache 2.2.x Module

C:\Program Files\Apache Software Foundation\Apache2.2\conf\

C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf

ServerName localhost:80

<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">

Options  FollowSymLinks

Order allow,deny

Allow from 127.0.0.1

<IfModule dir_module>

    DirectoryIndex index.html index.php

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

PHPIniDir "C:\Program Files\PHP"

LoadModule php5_module "C:\Program Files\PHP\php5apache2_2.dll"

#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

 

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test.php

<?php

phpinfo()

?>

重启apache

http://localhost/test.php

sphpblog-0.7.0.zip 解压到C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\

http://localhost/sphpblog/install00.php

http://localhost/sphpblog/index.php

http://localhost/file/

 

2.         sphpblog linux

php-5.1.6-27.el5_5.3

php-mysql-5.1.6-27.el5_5.3

#vi httpd.conf

LoadModule php5_module        modules/libphp5.so

AddType application/x-httpd-php .php

 

3.         Migration from SPHPBlog to WordPress

 

4.         wordpress linux

yum install wordpress

service mysqld start

mysql -uroot

mysql> create database wordpress;

mysql> GRANT ALL PRIVILEGES ON wordpress.* TO "wordpress"@'localhost' identified by 'password';

mysql> flush privileges;

mysql> quit

vi /usr/share/wordpress/wp-config.php

// ** MySQL settings - You can get this info from your web host ** //

/** The name of the database for WordPress */

define('DB_NAME', 'wordpress');

 

/** MySQL database username */

define('DB_USER', 'wordpress');

 

/** MySQL database password */

define('DB_PASSWORD', 'my_password');

service httpd start

http://10.1.14.180/wordpress/wp-admin/install.php

http://10.1.14.180/wordpress/

 

5.         wordpress windows

windows 7

xampp-win32-1.7.7-VC9-installer.exe

sphpblog-0.7.0.zipwordpress-3.4.2.zip解压缩到C:\xampp\htdocs

C:\xampp\apache\conf\httpd.conf

<Directory "C:/xampp/htdocs">

Allow from 127.0.0.0/8

#Include "conf/extra/httpd-ssl.conf"

C:\xampp\php\php.ini

include_path = ".;C:\xampp\htdocs\sphpblog\scripts;C:\xampp\php\PEAR"

upload_max_filesize = 128M

memory_limit = 256M

max_execution_time = 0

http://127.0.0.1/phpmyadmin/

点击”MySQL localhost”下的新建数据库,在这里我们新建一个名为“wordpress”的数据库

注意:上面的填写,除了填写数据库项外,其他的默认选项不要随便更改,填写好以后点击创建”(Create),数据库就创建好了。

C:\xampp\phpMyAdmin\libraries\config.default.php

$cfg['Servers'][$i]['password'] = 'root';

C:\xampp\phpMyAdmin\config.inc.php

$cfg['Servers'][$i]['password'] = 'root';

 

C:\xampp\htdocs\wordpress\wp-config-sample.php

/** The name of the database for WordPress */

define('DB_NAME', 'wordpress');

 

/** MySQL database username */

define('DB_USER', 'root');

 

/** MySQL database password */

define('DB_PASSWORD', 'root');

 

wp-config-sample.php文件名改为wp-config.php

http://127.0.0.1/wordpress

用到的plugin

image

http://mail.cna.ccu.edu.tw/~nickle/blog/comments.php?y=09&m=03&entry=entry090312-201114

http://www.robmurphyjr.com/blog/2009/07/wordpress-installation-on-fedora-11/

http://forum.pivotx.net/viewtopic.php?f=9&t=1982

http://www.oschina.net/p/pivotx

http://www.oschina.net/p/flatpress

http://www.onestepcloser.co.nz/wordpress/?p=11

http://codex.wordpress.org/zh-cn:%E5%AE%89%E8%A3%85WordPress

http://zensheno.blog.51cto.com/2712776/492256

http://it.dengchao.org/wordpress-windows/wordpress/

http://www.php-oa.com/2007/12/08/wordpress-rss-buckup.html

http://zhidao.baidu.com/question/90596853.html&__bd_tkn__=2af013362d2f8a2c1b1db07793fc3ea3980594ff8078338d51fed8133ea5c69d362ad36bb4bcda3b39bb3949f6bbe47087ac3af56e60b1f4e7eb6015715cf83b9b6facfb40491fc7006f340ea63aca094e7e9e00792cca88db3f427f702c362bbe6403474fc5ddd8940feabbc9db800bca3c2afe49

http://hi.baidu.com/raysykes/item/e24972f651c74529743c4c8d

 

http://help.wopus.org/mysql-manage/665.html

http://code.google.com/p/blogs-to-wordpress/

http://blog.163.com/ksharp_dabu/blog/static/195488022201272522139710/

 

http://hi.baidu.com/penflying2012/item/82dcb8343300d2fe2684f4ae

http://xiaoniu.hd.lc/archives/131

http://wang3y2.blog.163.com/blog/static/183287972012985830659/

http://blog.donews.com/aliqq/archive/2006/08/19/1007131.aspx

 

 

展开阅读全文
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部