D语言中国论坛"

Login
Register
/ d2 dmd dub dwt vibe-d vibenews
Categories Thread list

Ubuntu安装D语言论坛软件VibeNews

Ubuntu安装D语言论坛软件VibeNews

Vibenews因为是 静态编译,速度快,还有支持Markdown语法。不过功能还非常原始

如果要显示头像,请到 https://en.gravatar.com/ 注册帐号,然后用同一邮件地址注册本论坛,就能自动显示头像了。

1 先安装dub和MongoDB.

dub的安装在本站其他文章已经讲过了。

在Ubuntu下安装MongoDB的方法: sudo apt-get install mongodb

1.1 编译安装D语言论坛软件VibeNews:

clone 项目代码: cd /opt/dlibs git clone git://github.com/rejectedsoftware/vibenews.git

编译运行: cd vibenews dub run

出现错误: > > .dub/packages/antispam-0.0.4/source/antispam/filters/bayes.d(177): Error: undefined identifier StreamOutputRange > FAIL ../../home/donald/.dub/packages/antispam-0.0.4/.dub/build/library-debug-linux.posix-x86_64-dmd-8CEF5B7978BC8B68ABFC6D50D1DA829B antispam staticLibrary > Error executing command run: DMD compile run failed with exit code 1

解决方法:`dub upgrade prerelease or just dub upgrade`

2 Vibenews配置文件:

cd vibenws vi settings.json { "title":"D语言中国论坛", "hostName":"localhost", "nntpPort":118, "webPort":8008, "adminPort":9008, "googleSearch":true, "spamfilters":{ "blacklist":{ "ips":[] } } }

2.1 MonogoDB相关信息

- MonoDB管理软件:Robomongo - Config: etcmongodb.conf - DBPath: varlib/mongodb - LogoPath: etclog/mongodb/mongodb.log - 数据库默认端口:27017

2.1.1 参考:

- https://github.com/rejectedsoftware/vibenews - http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibenews/thread/49/ - http://www.robomongo.org/

AsmBB v2.4 (check-in: 5e732b3401545cd1);

D语言中国   Video Software Download   整体观