Giter Site home page Giter Site logo

cnhup / adminset Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guohongze/adminset

0.0 0.0 0.0 29.46 MB

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

Home Page: http://adminset.cn

License: GNU General Public License v2.0

Python 99.21% CSS 0.41% PHP 0.03% Shell 0.35%

adminset's Introduction

AdminSet QuickStart

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

v0.50 新功能

全新用户权限系统
基于用户角色的部署权限关联
基于用户权限的功能按钮自动显示隐藏
基于用户的WEBSSH授权
django安全更新

开发环境

centos 7.2(1511) django 1.11.16 python 2.7

服务端安装

生产服务器建议 4核CPU,6G内存以上.
学习测试建议 2核CPU,2G内存以上.
服务器操作系统版本要求 centos7.2 centos7.4
安装之前请关闭防火墙
git clone https://github.com/guohongze/adminset.git
adminset/install/server/auto_install.sh

说明:手动自定义安装请使用 adminset/install/server/server_install.sh

客户端安装

客户端脚本目前rhel/centos6、centos7,ubuntu16.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/adminset_agent.py :

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

step2: 拷贝install/client/ 目录到客户机的任意位置并执行:

cd client
/bin/bash install.sh

step3: 客户端管理

service adminsetd start|stop|restart|status

注意:客户端全部功能需要配置服务器到客户端的ssh免密登录。

访问

关闭防火墙或开通80端口
http://your_server_ip
自动安装的用户名admin 密码Adminset123
手动安装使用自定义创建的super admin用户名密码

说明

使用手册,使用手册
FAQ参考,常见问题

demo

每2小时重置一次数据
http://adminset.cn
用户名admin 密码Adminset123

安全

强烈建议您不要将程序对公网开放
如果需要公网访问请使用VPN
建议生产环境中使用https配置服务器,并对命令执行、webssh等模块进行安全强化
由于开发方便,在django的settings中开启了DEBUG,在生产中需要关闭并指定自己的域名。

开发者交流

请加入开发者群
3号群 730232593

作者微博
https://weibo.com/guhongze/

adminset's People

Contributors

cindywang0728 avatar guohongze avatar jimmy201602 avatar reflyhight 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.