代码拉取完成,页面将自动刷新
同步操作将从 hequan/AutoOps 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
AutoOps是一款基础django开发的,面向运维工程师使用,可以管理资产,批量执行命令、脚本,web ssh管理,技术文档,整理保存笔记。
http://42.62.55.58:8003/
账号admin
密码1qaz.2wsx
620176501
http://42.62.55.58:8003/admin
账号admin
密码1qaz.2wsx
http://42.62.55.58:8003/asset/api/asset.html
http://hequan.blog.51cto.com/
1. 下载,安装基本环境,安装目录为/opt下,如是其他目录,请修改supervisor.conf中的相应设置即可。
cd /opt
git clone git@github.com:hequan2017/autoops.git
cd autoops/
yum install sshpass -y
pip3 install -r requirements.txt
pip3 install https://github.com/darklow/django-suit/tarball/v2
2. 安装其他组件
install_redis.sh
install_webssh.sh
,需要修改的内容见脚本内supervisor
pip2 install supervisor
echo_supervisord_conf > /etc/supervisord.conf
mkdir /etc/supervisord.d/
vim /etc/supervisord.conf
[include]
files = /etc/supervisord.d/*.conf
[inet_http_server]
port=0.0.0.0:9001
username=user
password=123
cp /opt/autoops/supervisor.conf /etc/supervisord.d/
/usr/bin/python2.7 /usr/bin/supervisord -c /etc/supervisord.conf
python manage.py runserver 0.0.0.0:8001
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。