基于SaltStack的自动化操作和维护平台。
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
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)
Torweb:1.0+
Tornado:4.0+
SaltStack:>= 2015.5.10
SQLAlchemy:1.1.9
Jinja2:2.9+
MySQL:Percona-Server 5.5/5.6
MySQL-python:1.2.5+
Redis-Py:2.10+
Python:2.6.x/2.7.x
git clone https://github.com/kkstu/SaltAdmin.git
yum install MySQL-python
pip install tornado
pip install redis
pip install jinja2
pip install SQLAlchemy
yum install salt-master
yum install salt-minion
apt-get install salt-master
apt-get install salt-minion
More about Saltstack deployment documents see the https://repo.saltstack.com/.
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.
python run.py
You can visit the site via http://YourIP:8888/
Specify Port:
python run.py —port=8080
To report an issue with SaltAdmin.
https://github.com/kkstu/SaltAdmin/issues
After the version 2.0-Stable release.
459457262
This project is under the GPLv3 License. See the LICENSE file for the full license text.