1.首先下載dokuwiki安裝包
2.將安裝包傳輸并解壓到apache項(xiàng)目目錄中
rz
tar -zxvf dokuwiki-c5525093cf2c4f47e2e5d2439fe13964.tgz
此時(shí)目錄下面就會(huì)新建一個(gè)名為dokuwiki的文件夾,里面包含了相關(guān)的文件。
3.進(jìn)行域名解析
解析地址為你的域名服務(wù)器
4.配置Apache服務(wù)器
<VirtualHost *:80>
DocumentRoot /www/web/dokuwiki/public_html
ServerName code.aibo.cn
php_admin_value open_basedir /www/web/dokuwiki:/tmp
<IfModule mod_deflate.c>
DeflateCompressionLevel 7
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-httpd-php
AddOutputFilter DEFLATE css js html htm gif jpg png bmp php
</IfModule>
</VirtualHost>
<Directory /www/web/dokuwiki>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
5.訪問code.aibo.cn/install.php就可以進(jìn)行相關(guān)設(shè)置,比如管理員密碼,語(yǔ)言等。
6.刪除install.php,再次訪問code.aibo.cn就可以正常訪問了。
Paste_Image.png