巡风系统搭建(docker)

docker方式安装巡风系统【基于CentOS7.6】

# yum update
# curl -sSL https://get.docker.com/ | sh
# yum install git
# cd /usr/local/src
# git clone https://github.com/ysrc/xunfeng.git
# cd /usr/local/src/xunfeng/
# service docker start
# docker build -t xunfeng .
# docker run -d -p 8000:80 -v /opt/data:/data ysrc/xunfeng:latest

【检查是否启动成功】
#netstat -anp|grep 8000
#ps -ef|grep mongo

安装过程中会有失败的情况,多试几次,可能是超时所致

登录admin|xunfeng321

【参考】
https://github.com/ysrc/xunfeng

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章