巡風系統搭建(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

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