(8)安装wiki开源产品
2016-08-05 11:21
417 查看
1)数据库
mysql -uroot -poldboy
create database wiki;
grant all on wiki.* to wiki@'localhost' identified by 'wiki';
flush privileges;
quit;
2)下载wiki
http://kaiyuan.baike.com/
1、cd /application/nginx/html/wiki
2、wget
http://kaiyuan.hudong.com/download/HDWiki-v5.1GBK-20141205.zip 3、unzip
HDWiki-v5.1GBK-20141205.zip
4、
mv HDWiki-v5.1GBK-20121102/* .
mv hdwiki/* .
3)域名配置
1、vi /application/nginx/conf/nginx.conf
worker_processes 2;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
include extra/wiki.conf;
}
vi /application/nginx/conf/extra/wiki.conf
server {
listen 80;
server_name wiki.etiantian.org;
root html/wiki;
index index.php index.html index.htm;
access_log logs/wiki_access.log;
location ~ .*\.(php|php5)?$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
}
mysql -uroot -poldboy
create database wiki;
grant all on wiki.* to wiki@'localhost' identified by 'wiki';
flush privileges;
quit;
2)下载wiki
http://kaiyuan.baike.com/
1、cd /application/nginx/html/wiki
2、wget
http://kaiyuan.hudong.com/download/HDWiki-v5.1GBK-20141205.zip 3、unzip
HDWiki-v5.1GBK-20141205.zip
4、
mv HDWiki-v5.1GBK-20121102/* .
mv hdwiki/* .
3)域名配置
1、vi /application/nginx/conf/nginx.conf
worker_processes 2;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
include extra/wiki.conf;
}
vi /application/nginx/conf/extra/wiki.conf
server {
listen 80;
server_name wiki.etiantian.org;
root html/wiki;
index index.php index.html index.htm;
access_log logs/wiki_access.log;
location ~ .*\.(php|php5)?$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
}
相关文章推荐
- 开源企业wiki——XWiki安装介绍
- 开源wiki套件-mediawiki安装使用教程
- [转]开源数据库连接池 SQL Relay 的安装配置和应用
- 优秀的开源C++库:ACE及其安装使用
- Java Web应用产品安装程序制作方案
- 架设C# 开源Wiki : Perspective
- EasyJF开源论坛安装视频演示
- Debian M-Howto : 安装个人wiki [Dokuwiki 版本]
- 安装Wiki的笔记
- JSPwiki的安装手记
- CA的开源产品介绍
- Oracle产品安装介质路径不可有中文
- 加糖的CRM---开源项目Sugar CRM中文化安装过程- -
- 推荐一个非常好的C#的开源Wiki程序Perspective
- 开源webbloger Roller安装手记
- 三个.net开源产品
- 基于Java的开源论坛JForum的安装指南
- Rational 2002产品的安装问题释疑
- 解决Win2k3Server安装SQL2000时提示无法验证产品密钥的问题
- 华中电网项目日志:Rational 产品安装文档