趣,Fun,趣由心生,Fun.Ynagol.com

《趣由心生》 » 爱俺够了 » WordPress Mu 尝试记。

页: [1]

GoL2008-2-21 14:53
WordPress Mu 尝试记。

终于开始动手组装这个WordPress Mu多用户博客系统了。

真的不是一般的烦。而且安装的方法和wordpress的不一样。

把文件放在站点的blogs目录下

先配置好blogs的wp-config-sample.php

大概要配置下面两处代码:
第一处是配置数据库信息:
[code]define('DB_NAME', 'wordpress');    // The name of the database   
define('DB_USER', 'username');     // Your MySQL username   
define('DB_PASSWORD', 'password'); // ...and password   
define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value [/code]
第二处是配置站点目录:
[code]// double check $base   
if( $base == 'BASE' )   
die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );  [/code]
如果是在本地(localhost)安装,必须修改hosts。

[quote]hosts文件位置:

Windows系统:
C:\WINNT\system32\drivers\etc\hosts

C:\windows\system32\drivers\etc\hosts

Linux系统:
/etc/hosts

修改系统hosts文件的localhost行:
127.0.0.1      imgol.com  localhost

不用重启系统, 然后网址填写使用imgol.com

安装方式有两种: 子域名(subdomain)和子目录(subdirectory),分别是:
子域名:
yourname.imgol.com
子目录:
imgol.com/blogs/yourname


注: 这里的imgol.com仅用于本地机器测试.[/quote]

可以周周转转调试好后。

发现安装成功了。但是管理帐号和申请新用户的密码发不出。

原来我本地没有邮件服务。

白忙一场了。也累了。暂停。

GoL2008-2-21 14:54
原文地址:

[url]http://www.imgol.com/blog/?action=show&id=92[/url]

″Βīы`~2008-2-22 04:01
完全看不懂...


查看完整版本: WordPress Mu 尝试记。


Powered by Discuz! Archiver 4.1.0  © 2001-2006 Comsenz Inc.