1 Star 0 Fork 1

冠王团队 / cmdb

forked from hequan / cmdb 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
install_webssh.sh 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
何全 提交于 2017-08-24 14:54 . 2.4.1.1 更新安装说明
#!/bin/bash
cd /opt
wget https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz
tar zxvf go1.8.1.linux-amd64.tar.gz -C /usr/local
echo 'export PATH="/usr/local/go/bin:$PATH"' >> /etc/profile
source /etc/profile
cd /opt && git clone --recurse-submodules https://github.com/shibingli/webconsole.git && cd webconsole && git submodule update --init --recursive
cd /opt/webconsole/src/apibox.club/apibox
GOPATH=/opt/webconsole go install
##以下为需要修改的内容。
#vim /opt/webconsole/conf/conf.json
# "addr": ":9000", ##修改端口为9000 可以自定义。 我设置的为9000,如果修改成别的端口,需要修改网页。 templates/host/host.html
# "enable_jsonp": true, 开启jsonp,启用跨域访问
# "cors_white_list": "42.62.6.54,42.62.6.54:9000," 这里输入的地址为需要跨域访问的,添加web主机的地址。
##启动停止
#/opt/webconsole/bin/apibox start | stop
##修改templates/host/host.html
# 第751和767 行 的地址 和端口,修改成自己的。
##具体可以看 https://github.com/shibingli/webconsole
Python
1
https://gitee.com/guznwang/cmdb.git
git@gitee.com:guznwang/cmdb.git
guznwang
cmdb
cmdb
master

搜索帮助