Giter Club home page Giter Club logo

autoops's Introduction

AutoOps

AutoOps是一款基础django开发的,面向运维工程师使用,可以管理资产,批量执行命令、脚本,web ssh管理,技术文档,整理保存笔记。

Demo

  • 地址:http://42.62.55.58:8003/ 账号admin 密码1qaz.2wsx
  • 交流群号:620176501 autoops开发讨论群
  • 后台地址 http://42.62.55.58:8003/admin 账号admin 密码1qaz.2wsx
  • 资产api地址 http://42.62.55.58:8003/asset/api/asset.html
  • 博客:http://hequan.blog.51cto.com/

图片

更新记录

  • 1.3 新增 技术文档 板块。
  • 1.2 权限管理完善。 增加附件上传下载功能。
  • 1.1.5 新增 权限管理。 根据后台用户组,区分不同权限。如:在后台先建一个 测试机 组,把普通用户加入到此组。在前端添加资产时,在产品线中会出现测试机 。 测试机组下的用户 只管管理测试机产品线的资产。
  • 1.1 新增 平台登录记录、web登录记录、密码修改等功能。

功能

  • asset资产
    • api
  • names用户(预留模块)
  • tasks任务
  • webssh
  • 技术文档 (真正运维人员的管理平台,自带技术文档,有问题不用再去别的地方找)

环境

  • Python 3.6.2
  • Django 1.11.4

安装

  1. 下载,安装基本环境,安装目录为/opt下,如是其他目录,请修改supervisor.conf中的相应设置即可。

cd /opt

git  clone  [email protected]: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/

启动

  • 启动supervisor进程管理 /usr/bin/python2.7 /usr/bin/supervisord -c /etc/supervisord.conf
  • 启动主服务 python manage.py runserver 0.0.0.0:8001

截图

图片 图片 图片 图片 图片 图片 图片 图片

贡献者

1.0

  • 何全

autoops's People

Contributors

hequan2017 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.