centos7搭建dokuwiki

DokuWiki

DokuWiki是一个开源wiki引擎程序,运行于PHP环境下。DokuWiki程序小巧而功能强大、灵活,适合中小团队和个人网站知识库的管理。

1、安装httpd

yum install -y httpd
systemctl start httpd 启动
systemctl status httpd 查看状态

2、防火墙开启80端口(默认端口)

firewall-cmd --zone=public --add-port=80/tcp --permanent

3、下载php及其依赖包

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

yum install php70w php70w-common php70w-fpm php70w-opcache php70w-gd php70w-mysqlnd php70w-mbstring php70w-pecl-redis php70w-pecl-memcached php70w-deve

重启HTTPD
systemctl restart httpd

4、下载dikuwiki

wget -c http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz

解压tar -zxvf dokuwiki-stable.tgz

移动mv dokuwiki-2018-04-22b /var/www/html/wiki/
给权限chown -R apache:apache /var/www/html/wiki/
配置文件vim /etc/httpd/conf/httpd.conf

在文件的最末尾添加

Order allow,deny
Deny from all
Satisfy All

5、重启systemctl restart httpd

6、关闭防火墙和沙盒

systemctl stop firewalld

setenforce 0

7、打开浏览器访问

192.168.这里是自己ip /wiki/install.php

centos7搭建dokuwiki_第1张图片

你可能感兴趣的:(centos7搭建dokuwiki)