项目作者: kkstu

项目描述 :
基于SaltStack的自动化操作和维护平台。
高级语言: HTML
项目地址: git://github.com/kkstu/SaltAdmin.git


SaltAdmin

SaltAdmin

Automated operation and maintenance platform based on SaltStack.

Powered By KK Studio

Version: 2.0-Alpha

See the old version (v1.0) please visit https://github.com/luxiaok/SaltAdmin

Overview

SaltAdmin

Features

  • Completely based on Saltstack

  • Host assets management automation

  • Host monitoring (Batch)

  • Host service management

  • Soft Package management

  • Execute remote commands in batches

  • Transport files in batches

  • Custom jobs management

  • Multi language support (i18n)

  • Adaptive mobile terminal (Web APP UI)

Dependency Component

Deployment

Get started

git clone https://github.com/kkstu/SaltAdmin.git

Install Component

  • yum install MySQL-python

  • pip install tornado

  • pip install redis

  • pip install jinja2

  • pip install SQLAlchemy

Deploying Saltstack

RedHat/CentOS
  • yum install salt-master

  • yum install salt-minion

Ubuntu
  • apt-get install salt-master

  • apt-get install salt-minion

More about Saltstack deployment documents see the https://repo.saltstack.com/.

Configure Database

Create a database

mysql> create database saltadmin;

Import SQL

mysql saltadmin < docs/saltadmin.sql

Config info See the config/settings.py

  1. config = {
  2. 'db': {
  3. 'host': '127.0.0.1',
  4. 'port': 3306,
  5. 'db': 'saltadmin',
  6. 'user': 'test',
  7. 'passwd': 'test',
  8. 'charset': 'utf8'
  9. },
  10. 'redis': {
  11. 'host': '127.0.0.1',
  12. 'port': 6379,
  13. 'password': '',
  14. 'db': '0'
  15. }
  16. #......
  17. }

Don’t modify other configuration information please.

Startup

python run.py

You can visit the site via http://YourIP:8888/

Specify Port:

python run.py —port=8080

Documents

Get Support and Help

To report an issue with SaltAdmin.

https://github.com/kkstu/SaltAdmin/issues

Contributors

After the version 2.0-Stable release.

Technology Communications

Wechat

Python运维圈

QQ Group

459457262

Development Team

http://studio.luxiaok.com

License

This project is under the GPLv3 License. See the LICENSE file for the full license text.