这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
zh:notes:install_dokuwiki [2018/03/17 11:15] pzczxs [下载dokuwiki] |
zh:notes:install_dokuwiki [2020/08/28 15:31] (当前版本) pzczxs [下载dokuwiki] |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ======安装Dokuwiki====== | + | ====== Install Dokuwiki ====== |
- | =====系统环境===== | + | ===== Operation System ===== |
CentOS 5.8(64 bits) | CentOS 5.8(64 bits) | ||
- | =====安装PHP===== | + | ===== Install PHP ===== |
<code bash> | <code bash> | ||
> yum list php | > yum list php | ||
行 9: | 行 9: | ||
</code> | </code> | ||
- | =====下载dokuwiki===== | + | ===== Download dokuwiki ===== |
Apache的默认安装路径在<color red>/var/www/html</color> | Apache的默认安装路径在<color red>/var/www/html</color> | ||
<code bash> | <code bash> | ||
行 19: | 行 19: | ||
=====设置访问权限===== | =====设置访问权限===== | ||
- | <code> | + | <code bash> |
> chown -R apache:root /var/www/html/dokuwiki | > chown -R apache:root /var/www/html/dokuwiki | ||
> chmod -R 664 /var/www/html/dokuwiki/ | > chmod -R 664 /var/www/html/dokuwiki/ | ||
行 40: | 行 40: | ||
=====启动===== | =====启动===== | ||
- | <code> | + | <code bash> |
> service httpd start | > service httpd start | ||
> chkconfig --levels 235 httpd on //开机自启 | > chkconfig --levels 235 httpd on //开机自启 | ||
行 46: | 行 46: | ||
访问http://localhost/dokuwiki/install.php,右上角,选择<color red>zh</color>,填写表格。然后,删除<color red>install.php</color>。 | 访问http://localhost/dokuwiki/install.php,右上角,选择<color red>zh</color>,填写表格。然后,删除<color red>install.php</color>。 | ||
- | <code> | + | <code bash> |
> rm -f /var/www/html/dokuwiki/install.php | > rm -f /var/www/html/dokuwiki/install.php | ||
</code> | </code> | ||
- | ~~DISCUSSION~~ | + | ~~DISCUSSION:closed~~ |