Coder Social home page Coder Social logo

xskh2007 / adminset Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guohongze/adminset

0.0 2.0 0.0 12.24 MB

自动化运维平台:CMDB、CD、DevOps、资产管理、任务编排、持续交付、系统监控、运维管理、配置管理

License: Apache License 2.0

Python 99.74% Shell 0.16% Nginx 0.03% CSS 0.04% PHP 0.03%

adminset's Introduction

AdminSet

release
Adminset基于DevOps理念开发,以整合全部运维场景为己任。Adminset是一个真正的基于运维思维而开发的全自动化运维平台。

v0.5 新功能

新增脚本执行任务参数
新增ansible role变量自定义
设备上报资产信息时自动触发sshkey分发,不再需要手工建立adminset server与客户机的免密认证

开发环境

centos 7.2(1511) django 1.9.8 python 2.7

服务端安装

生产服务器建议 4核CPU,8G内存以上.
学习测试建议 2核CPU,2G内存以上.
服务器操作系统版本要求 centos7.2及以上
安装过程需要输入管理员数据库等交互信息

git clone https://github.com/guohongze/adminset.git
adminset/install/server/server_install.sh

客户端安装

客户端脚本目前rhel/centos6、7,ubuntu14.04经过测试
客户端python版本支持2.6.6及以上
说明:为保证注册IP是管理IP(后续会被ansible等调用),客户端的IP抓取目前使用主机名解析,否则报错。 如:主机名为cn-bj-web01 请在/etc/hosts中加入相应的解析 192.168.x.x cn-bj-web01,这样再执行adminset_agent.py 可以保证正常运行。

step1:

拷贝install/client/client_install.sh 到客户机上并执行:

install/client/client_install.sh

step2:

拷贝install/client/adminset_agent.py 到客户机上并执行:

python adminset_agent.py

后台运行请参考:

nohup adminset_agent.py &

访问

http://your_server_ip
使用自己在安装过程中创建的super admin用户名密码

说明

使用请转到,使用说明
功能请转到,功能说明
FAQ请转到,常见问题

安全

建议不要将程序启动在有公网可以直接访问的设备上,如果需要请使用VPN。
建议生产环境中使用https配置服务器
由于开发方便,在django的settings中开启了DEBUG,在生产中需要关闭并指定自己的域名。

开发者交流

请加入开发者群,注明来自github

adminset's People

Contributors

guohongze avatar jimmy201602 avatar

Watchers

 avatar  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.