今天爱分享给大家带来centos服务器安装部署搭建 EasyDarwin【步骤详解】,希望能够帮助到大家。
下载
云服务器centos上下载:
wget https://github.com/EasyDarwin/EasyDarwin/releases/download/v8.1.0/EasyDarwin-linux-8.1.0-1901141151.tar.gz
解压
tar -xvf EasyDarwin-linux-8.1.0-1901141151.tar.gz
启动
./start.sh
[EasyDarwin] 2020/11/20 21:18:39 main.go:186: git commit code:0351aed [EasyDarwin] 2020/11/20 21:18:39 main.go:187: build date:2019-01-14 11:49:59 | | __ _ ___ _ _ | _ \ __ _ _ __ __ __ () _ __ | | / | / __| | | | | | | | | / _ | | '__| \ \ /\ / / | | | ’ | | | (| | __ \ | || | | || | | (| | | | \ V V / | | | | | | |_____| _,| |/ _, | |/ _,| || _/_/ || || || |__/ [EasyDarwin] 2020/11/20 21:18:39 main.go:216: EasyDarwin_Service install … [EasyDarwin] 2020/11/20 21:18:39 main.go:221: EasyDarwin_Service install ok [EasyDarwin] 2020/11/20 21:18:40 main.go:186: git commit code:0351aed [EasyDarwin] 2020/11/20 21:18:40 main.go:187: build date:2019-01-14 11:49:59 [EasyDarwin] 2020/11/20 21:18:40 main.go:216: EasyDarwin_Service start … [EasyDarwin] 2020/11/20 21:18:40 main.go:221: EasyDarwin_Service start ok
查询
ps -aux | grep EasyDarwin
root 15386 0.1 4.0 501740 9956 ? Ssl 10:48 0:00 /root/EasyDarwin/EasyDarwin-linux-8.1.0-1901141151/easydarwin
打开访问端口
firewall-cmd --zone=public --add-port=10008/tcp --permanent # 开放指定端口(允许任意IP访问) – permanent为永久生效,没有此参数centos重启后该配置将失效 firewall-cmd --reload # 重新加载配置 firewall-cmd --zone=public --list-ports # 查看当前开放的端口(允许任意IP访问)
访问
http://IP:10008