同步操作将从 phachon/mm-wiki 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
MM-Wiki is a light software that enables companies for internal knowledge sharing and for better collaboration. It serves as a platform for information sharing and wiki creating within as well as among teams.
Linux
# Make a directory.
$ mkdir mm_wiki
$ cd mm_wiki
# Take linux amd64 as an example: download the latest release of the software.
# Downloading address: https://github.com/phachon/mm-wiki/releases
# Unzip the file to the directory you just created.
$ tar -zxvf mm-wiki-linux-amd64.tar.gz
# Enter into the installation directory
$ cd install
# Execute the file. The default port is 8090. Set another port using: --port=8087
$ ./install
# Visit http://ip:8090 in a browser. Now you should see the installation interface. Follow the instruction to finish settings.
# Ctrl + C to stop installation. Turn on MM-Wiki.
$ cd ..
$ ./mm-wiki --conf conf/mm-wiki.conf
# Now you can visit the ip address with the port the system is listening.
# Enjoy using MM-wiki!
Windows
1.Take linux amd64 as an example: download the latest release of the software.
2.Unzip the file to a directory that you set before.
3.Click into the install directory.
4.Double click install.exe.
5.Visit http://ip:8090 in a browser and now you should see the installation interface. Follow instructions to finish installations.
6.Close the installation window.
7.Use command line(cmd.exe)to enter into the root directory.
$ execute mm-wiki.exe --conf conf/mm-wiki.conf
8.Now you can visit the ip address with the port the system is listening. Enjoy using MM-wiki!
Note: If the there's 502 error in the browser when you should see the installation guide instead, change a browser and try it again.
upstream frontends {
server 127.0.0.1:8088; # MM-Wiki listening ip:port
}
server {
listen 80;
server_name wiki.intra.xxxxx.com www.wiki.intra.xxxxx.com;
location / {
proxy_pass_header Server;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_pass http://frontends;
}
# static resources managed by nginx
location /static {
root /www/mm-wiki; # MM-Wiki root directory
expires 1d;
add_header Cache-Control public;
access_log off;
}
}
MM-Wiki is built with many great plugins. Many thanks to developers of these plugins:
Requirement:go 1.8
$ git clone https://github.com/phachon/mm-wiki.git
$ cd mm-wiki
$ go build ./
If you want to buy me a coffee :)
MIT
Created By phachon
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。