xkstudio / SaltAdmin

Automated operation and maintenance platform based on SaltStack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

config = {
    'db': {
        'host': '127.0.0.1',
        'port': 3306,
        'db': 'saltadmin',
        'user': 'test',
        'passwd': 'test',
        'charset': 'utf8'
    },
    'redis': {
        'host': '127.0.0.1',
        'port': 6379,
        'password': '',
        'db': '0'
    }
    #......
}

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.

About

Automated operation and maintenance platform based on SaltStack.

License:GNU General Public License v3.0


Languages

Language:Python 80.7%Language:CSS 19.3%