# SOMS **Repository Path**: zbaolong/SOMS ## Basic Information - **Project Name**: SOMS - **Description**: SaltStack自动化运维平台-SOMS - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2017-10-31 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SOMS OMS自动化运维平台 一直想写个运维平台,无奈前端太差(虽然也不懂开发语言),所以没实现。。 还好有不少人共享了各种各样的平台,其中就有OMS运维平台(binbin开源的OMS平台 链接:https://github.com/binbin91/oms ) 所以自己拿来捣鼓,根据自己的需求,也算是写了点东西出来(批量管理、文件管理、用户管理及项目管理等)   利用空闲时间,启用了全新模板,并不停的修改完善,想到什么就写些什么 放到github上也是希望可以给有需要的人一些帮助,也希望可以得到大家的提拔指点 另外,还是要说一下,希望使用的人可以保留版权出处 ![soms-user](https://imaojia.com/media/pictures/2017/02/17/soms-user.png) 语言:python 框架:django 工具:saltstack 使用模板gentelella: https://github.com/puikinsh/gentelella SOMS演示地址: http://soms.imaojia.com:8080/ User: somsadmin Passwd: Imjtest89 组件要求查看requirements.txt ### 安装: 安装必备软件 ``` yum -y update && yum -y install mariadb mariadb-devel mariadb-server wget epel-release python-devel gcc c++ make openssl openssl-devel passwd libffi libffi-devel yum -y install salt-master salt-minion salt-api nginx wget https://bootstrap.pypa.io/get-pip.py python get-pip.py ``` 配置salt-api ``` pip install pyOpenSSL==0.15.1 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com useradd -M -s /sbin/nologin saltapi && echo "password"|/usr/bin/passwd saltapi --stdin salt-call --local tls.create_self_signed_cert ``` 配置salt-master 我这里把soms解压到了/data/wwwroot下 ``` cat > /etc/salt/master <