Git Product home page Git Product logo

adminset's Introduction

AdminSet

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

v0.11 新功能

django更新至1.11.9 webssh更新至0.2.0 新增认证中心功能 新增持续交付模块 新增免交互全自动安装 新增redis可配置选项 增加客户端rhel支持 优化CPU抓取逻辑 导航栏弹出逻辑调整 优化自动免密钥登陆逻辑

开发环境

centos 7.2(1511) django 1.11.9(兼容Django1.9.x) python 2.7

服务端安装

生产服务器建议 4核CPU,8G内存以上.
学习测试建议 2核CPU,2G内存以上.
服务器操作系统版本要求 centos7.2及以上

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

说明:手动自定义安装请使用
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 python adminset_agent.py &

注意:客户端全部功能需要配置服务器到客户端的ssh免密登录。
客户端正常使用需要修改脚本中的两个字段:
token = 'HPcWR7l4NJNJ' token是上传到服务器的密钥可以在WEB界面的系统配置中自定义
server_ip = '192.168.47.130' 此项目为adminset server的IP地址

访问

http://your_server_ip
自动安装的用户名admin 密码Adminset123
手动安装使用自定义创建的super admin用户名密码

说明

使用参考,使用说明
功能参考,功能预览
FAQ参考,常见问题

安全

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

开发者交流

请加入开发者群
1号群 427794947(已满)
2号群 536962005

adminset's People

Contributors

cindywang0728 avatar guohongze avatar jimmy201602 avatar reflyhight avatar

Watchers

 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.