Total Pageviews

Saturday 14 January 2012

PageCookery的安装


(1)上传压缩包文件,例如解压到网站talk文件夹。
(2)对于Godaddy的Windows主机由于压缩包中cache、uploads文件夹是空的上传后会消失,需手动再创建。
(3)在cache文件夹中创建avatar、template文件夹,并将talk、cache、uploads、lib四个文件夹均赋予读写权限。
(4)对于Linux主机,将 config.wordpress.php rss.xml music.json photos.json四个文件权限设置为777
(5)配置config.php文件中以下参数,网站名称、用户名等全部要在安装时设定,安装好后无法修改。
// 数据库主机
define(DATABASE_HOST, 'localhost');

// 数据库用户名
define(DATABASE_USER, 'root');

// 数据库密码
define(DATABASE_PSSWORD, 'root');

// 数据库名称
define(DATABASE_DB_NAME, 'microblog');

// 网站名称
define(SITE_NAME, 'PageCookery 微博客');

// 微博访问路径, 请以 / 结尾
define(BASE_URL, 'http://127.0.0.1/microblog/');
(6)这时对于Windows主机不可以设置单个文件的权限,只能访问安装地址,如:http://urdomain.com/talk/ 点击强制安装,然后将cache下的avatar、template文件夹赋予读写权限。
附加:
Powered信息位置:
template/footer.html
template/i_blog_footer.html
cron/rss_update.php
添加统计代码位置:
template/footer.html
template/m_blog_header.html
template/i_blog_footer.html

No comments:

Post a Comment