1. 下载最新的nucleus
http://nucleuscms.org/download.php
2. 解压
unzip *.zip
移动到:/data/blog/nucleus
3. 创建数据库
mysql -u root -p
提示输入密码
create database nucleus_db;
创建数据库用户
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON nucleus_db.* TO 'username'@'localhost' IDENTIFIED BY 'password';
4. 配置nginx
server {
listen 80;
server_name www.myblog.com;
access_log /var/log/nginx/myblog.com-access.log;
location /nucleus {
root /data/blog/;
index index.php;
}
location ~* /nucleus/.+\.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /data/blog/$fastcgi_script_name;
include fastcgi_params;
}
}
5. 安装 访问http://www.myblog.com/install.php
posted on 2009-10-30 13:13
冰是没有未来的,因为它的永恒 阅读(411)
评论(0) 编辑 收藏 所属分类:
开源blog