Erlo

dokuwiki

2019-10-16   37734   morecoder
页面报错/反馈
点赞
dokuwiki
https://blog.51cto.com/blogger/draft/839655

1 yum install epel-release
2 rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
3 yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-pecl-apcu php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof php-pdo php-pear php-fpm php-cli php-xml php-bcmath php-process php-gd php-common
4 yum install --enablerepo=remi --enablerepo=remi-php56 php-fpm
5 systemctl enable php-fpm.service
6 php -v
7 yum install gcc-c++
8 yum install make
9 yum install expat-devel
10 yum install perl
11 yum install curl-devel
12 yum install libxml2-devel
13 yum install libjpeg-devel
14 yum install libpng-devel
15 yum install freetype-deve
16 yum list httpd
17 yum install httpd.x86_64
18 wget -c http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
19 tar -zvxf dokuwiki-stable.tgz
20 cp -r dokuwiki-2018-04-22b /var/www/html/wiki
21 vim /etc/httpd/conf/httpd.conf
DocumentRoot “/var/www/html/wiki”
<LocationMatch “/wiki/(data|conf|bin|inc)/”>
Order allow,deny
Deny from all
Satisfy all
</LocationMatch>
22 :wq
23 chown -R apache.apache /var/www/html/wiki
24 vim /etc/mime.types
application/x-httpd-php php php4 phtml
application/x-httpd-php-source phps
25 service httpd restart
26 systemctl stop firewalld
27 setenforce 0
28 http://IP/install.php

提交留言

评论留言

还没有评论留言,赶紧来抢楼吧~~

每日一笑关闭


	   
	   
	   
评论一下
返回顶部

给这篇文章打个标签吧~

棒极了 糟糕透顶 好文章 PHP JAVA JS 小程序 Python SEO MySql 确认