安装指南

其他语言 Deutsch, English, Español, Français, Русский


安装WackoWiki是很简单的事情通常只需解压缩和设置权限。请你先按照这里提供的简单指示来操作,如果你遇到问题或者觉得这些指示不够详细,请点击其中的链接来了解更多。


  • 步骤1:从下载页面下载最新版的WackoWiki。
  • 步骤2:安装之前先阅读发布说明
  • 步骤3:解压缩下载的压缩包,并上传/复制到你的网站空间中。
  • 步骤4:通过浏览器访问你的WackoWiki中的安装,并按照页面给出的提示进行。
  • 步骤5:可浏览manual来发掘WackoWiki的功能。

事先检查是否符合要求

如果你需要从早期版本更新你的安装,请阅读更新说明

1. 安装前

  1. 下载页面 WackoWiki
  2. 解压缩下载的压缩包。
  • 安装之前先阅读发布说明

    1. MySQL 8: Remove the NO_AUTO_CREATE_USER in your constants.php, e.g.
       const SQL_MODE_PERMISSIVE			= 'NO_ENGINE_SUBSTITUTION';	

      Otherwise it will throw a Fatal error:

      Uncaught mysqli_sql_exception: Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER' in /setup/install-database.php:180	

    2. ngram Full-Text Parser, used to support Chinese, Japanese, Korean word segmentation is currently only available for MySQL.

  • 并上传/复制到你的网站空间中。
  • 给下列文件和目录分配写权限(Linux)给下列文件和目录分配写权限(Windows)?
    • _cache/config/
    • _cache/feed/
    • _cache/page/
    • _cache/query/
    • _cache/session/
    • _cache/template/
    • config/config.php
    • config/lock
    • config/lock_ap
    • file/backup/
    • file/global/
    • file/perpage/
    • file/thumb/
    • file/thumb_local/
    • xml/
    • For example:
      1. chmod 0755 _cache/config/ _cache/feed/ _cache/page/ _cache/query/ _cache/session/ _cache/template/ file/backup/ file/global/ file/perpage/ file/thumb/ file/thumb_local/ xml/
      2. chmod 666 config/config.php config/lock config/lock_ap

  1. 创建一个数据库,如果你还没有这样做的话(例如通过phpMyAdmin)。
    1. 数据库名称
    2. Server Address (often 127.0.0.1 or localhost or the server IP address)
    3. 数据库用户名
    4. 数据库密码
    手工创建步骤如下:
    1. 以root身份登入mysql
    2. 输入create database 数据库名;
    3. 输入\q退出
  2. Check if the provided path for CACHE_SESSION_DIR in config/constants.php is correct.
    1. The default value set in constants.php is /tmp but may vary in your environment.
    2. You may want to change this to a custom folder (e.g. _cache/session or /var/tmp)
    3. const CACHE_SESSION_DIR	= '/tmp';	
  3. Check if you got .htaccess enabled on your webserver.
    • You should have the directive: AllowOverride All in your apache vhost configuration.
  4. Open example.com/wiki-folder/ in your browser.

As with any software that you expose to the internet, there may be bugs or security problems. Do not install WackoWiki unless you intend to keep up with security upgrades (please subscribe to receive announcements of security updates via News).

2. 运行安装程序

WackoWiki安装步骤1:语言设置
Step by step as 屏幕截图 安装.


  1. 语言设置
  2. 系统要求
  3. 设置网站
  4. 数据库配置
  5. 数据库安装
  6. 写入配置文件
  7. 欢迎来到 WackoWiki

如果你在安装WackoWiki时遇到了问题,请参考故障排除页面*。

3. 安装后的配置

附件设置

  1. 创建恢复密码
  2. Admin Panel login
    1. Set default access levels
    2. Set registration settings
    3. 邮件服务器 (SMTP)
    4. Maximum File Upload Size
    5. Cache Levels
    6. 验证码设置
  3. Bad Behaviour
  4. CSP settings
  5. robots.txt

3.1. 配置提示?


back to overview

Comments