- Flarum介绍
- 安装命令
#---------------------------------------------------------- mkdir -p /opt/flarum && cd /opt/flarum #---------------------------------------------------------- docker run -p 8888:8888 --name flarum \ --restart=always \ -v /opt/flarum/assets:/flarum/app/public/assets \ -v /opt/flarum/extensions:/flarum/app/extensions \ -v /opt/flarum/logs:/flarum/app/storage/logs \ -v /opt/flarum/nginx:/etc/nginx/flarum \ -e FORUM_URL=http://192.168.1.111:8888 \ -e DB_HOST=192.168.1.111 \ -e DB_PORT=3306 \ -e DB_USER=root \ -e DB_PASS=123456 \ -e DB_NAME=flarum \ -e DB_PREF=flarum_ \ -e FLARUM_ADMIN_USER=admin \ -e FLARUM_ADMIN_PASS=123456 \ -e FLARUM_ADMIN_MAIL=123456@qq.com \ -d mondedie/flarum #---------------------------------------------------------- firewall-cmd --zone=public --add-port=8888/tcp --permanent && firewall-cmd --reload #---------------------------------------------------------- # 注意:数据库flarum需要提前创建好 #----------------------------------------------------------
- 访问路径
http://192.168.1.111:8888 账号:admin 密码:123456
- 创建角色
图标:https://fontawesome.com/v5/search?m=free
- 授权角色
- 创建用户
- 分配角色
- 创建话题
- 参与话题
- 资源链接
wwvv.fun