Carbon Forum 是一款值得推荐的程序,如果,你想搭建一个轻论坛,那么,这款Carbon-Forum轻论坛程序,超缓存,性能好,打开快,加载快,安全性高,框架优秀,全站使用AJAX异步加载技术,放弃版块节点,还支持关注用户、关注话题等功能,阔以说是非常的合适做轻论坛。
Carbon-Forum官网
- https://www.94cb.com/
这个官网用的就是这个程序,数据好像是已经达到三百万级了,除了首次加载首页慢点以外,其它的页面可以说是秒加载的。
源码下载
环境推荐
Nginx/Apache PHP版本需PHP5.6+ MySQL5.7+
Nginx伪静态规则
- location / {
- try_files $uri $uri/ /index.php?$query_string;
- }
- location /.git {
- deny all;
- return 403;
- }
- location /controller {
- deny all;
- return 403;
- }
- location /docker_resources {
- deny all;
- return 403;
- }
- location /library {
- deny all;
- return 403;
- }
- location /service {
- deny all;
- return 403;
- }
- location /view {
- deny all;
- return 403;
- }
- location ~ /\.ht {
- deny all;
- return 403;
- }
Apache伪静态规则
- <IfModule mod_rewrite.c>
- #强制重定向到带www的顶级域名
- RewriteEngine On
- RewriteCond %{REQUEST_METHOD} ^TRACE
- RewriteRule .* - [F]
- RewriteBase /
- RewriteRule ^.git - [F,L]
- RewriteRule ^controller - [F,L]
- RewriteRule ^docker_resources - [F,L]
- RewriteRule ^library - [F,L]
- RewriteRule ^service - [F,L]
- RewriteRule ^view - [F,L]
- # Redirect Trailing Slashes If Not A Folder...
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)/$ /$1 [L,R=301]
- # Handle Front Controller...
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^ index.php [L]
- </IfModule>
- <IfModule mod_expires.c>
- # enable expirations
- ExpiresActive On
- ExpiresByType text/javascript A604800
- ExpiresByType application/x-javascript A604800
- ExpiresByType text/css A604800
- ExpiresByType application/x-shockwave-flash A2592000
- ExpiresByType image/png A2592000
- ExpiresByType image/gif A2592000
- ExpiresByType image/jpeg A2592000
- ExpiresByType image/x-icon A2592000
- </IfModule>
重装教程
删除根目录的 config.php 文件
删除 install 目录下的 install.lock 文件
然后运行域名重装就行了。
凡事都有例外,比如浏览器缓存之类的,如果不行就打开下面地址安装。
- http://你的域名/install/
这样就能重新安装了。
特别注意:如果重装的话,需要新建数据库,不能使用原来的数据安装了,不然重新安装不成功的哦。
亲测好用
亲测确实不错,强大的缓存和全站Ajax加载,编辑器支持文本自动加载保存,自改百度编辑器也特别好用,真的是一款很值得使用的程序,除了评论无盖楼回复以外,真的是找不出其它槽点了。和市面上的其它轻论坛程序相比,这个程序要比其它程序要好用很多。
本文结束
评论专区
发表评论
评论列表(无评论)