wiki安装
参考网址
https://my.oschina.net/xhhuang/blog/1844035
yum install httpd -y
安装php5.6请百度搜索。
Centos7里面我是直接使用的php7
tar -zxvf dokuwiki-xxxxxx.tgz ls dokuwiki bin conf COPYING data doku.php feed.php inc index.php install.php lib README vendor VERSION
将解压之后的dokuwiki目录放置在/var/www/html目录下
mv dokuwiki /var/www/html/
chown -R apache:48 /var/www/html/dokuwiki 或者 chown -R apache:apache /var/www/html/dokuwiki
用网页浏览器访问ip/dokuwiki/install.php,根据网页提示进行安装
rm -rf install.php
配置apache的httpd.conf(apache/conf/httpd.conf)文件,进行安全配置,保证wiki的数据安全
[root@izwz934uda0vhwlzenknpcz html]# vi /etc/httpd/conf/httpd.conf 添加如下几行:
<LocationMatch "dokuwiki/(data|conf|bin|inc)/"> order allow,deny deny from all satisfy all </LocationMatch>
添加完毕后,执行以下命令重启Apache Web Server
通过下载xampp来实现安装server平台,然后再正常安装dokuwiki,具体可自行百度。
参考修改时区
原文件夹打包 -> 放到新服务器 -> 解压 -> 配置apache,php
问题1: 提示./data/pages/文件夹not found,或不可写
解决方式: 编辑/etc/selinux/config文件,将SELINUX=enforcing改为SELINUX=disabled, 直接关闭SELINUX