当前位置:网站首页>自动化运维管理平台——spug的搭建和日常使用
自动化运维管理平台——spug的搭建和日常使用
2022-06-29 06:48:00 【江湖有缘】
自动化运维管理平台——spug的搭建和日常使用
一、spug平台介绍
1.spug简介
Spug 面向中小型企业设计的轻量级无 Agent 的自动化运维平台,整合了主机管理、主机批量执行、主机在线终端、文件在线上传下载、应用发布部署、在线任务计划、配置中心、监控、报警等一系列功能。
2.spug特点
1.批量执行: 主机命令在线批量执行
2.在线终端: 主机支持浏览器在线终端登录
3.文件管理: 主机文件在线上传下载
4.任务计划: 灵活的在线任务计划
5.发布部署: 支持自定义发布部署流程
6.配置中心: 支持 KV、文本、json 等格式的配置
7.监控中心: 支持站点、端口、进程、自定义等监控
8.报警中心: 支持短信、邮件、钉钉、微信等报警方式
9.优雅美观: 基于 Ant Design 的 UI 界面
10.开源免费: 前后端代码完全开源
二、检查本机docker版本
[[email protected]192 ~]# docker version
Client: Docker Engine - Community
Version: 20.10.17
API version: 1.41
Go version: go1.17.11
Git commit: 100c701
Built: Mon Jun 6 23:05:12 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.17
API version: 1.41 (minimum version 1.12)
Go version: go1.17.11
Git commit: a89b842
Built: Mon Jun 6 23:03:33 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.6.1
GitCommit: 10f428dac7cec44c864e1b830a4623af27a9fc70
runc:
Version: 1.1.0
GitCommit: v1.1.0-0-g067aaf85
docker-init:
Version: 0.19.0
GitCommit: de40ad0
三、拉取spug镜像
docker pull registry.aliyuncs.com/openspug/spug
四、启动容器
[[email protected]192 ~]# mkdir /spug/
[[email protected]192 ~]# docker run -d --restart=always --name=spug -p 8091:80 -v /spug/:/data -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker registry.aliyuncs.com/openspug/spug
b9376a622ab356f0f080b2d6dbeab88e2d140c2d6f77e83b24f832e0800c8699
五、设置web登录账号密码
docker exec spug init_spug admin spug.dev
六、访问web
http://192.168.3.146:8091/

七、添加主机


八、批量执行命令

九、查看主机节点详细信息

边栏推荐
- VSLAM特征之线特征&面特征
- Reasons why the ext.dic file configured in ES does not take effect
- nor flash 应用层操作
- C实战——高配版贪吃蛇游戏设计
- Vulnhub's dc9 target
- Cartographer中的线程池操作
- 关于SqlSugar的多对多的级联插入的问题(无法获取集合属性的id,导致无法维护中间表)
- C#Mqtt订阅消息
- Codeforces Round #799 (Div. 4)
- [industrial control old horse] detailed explanation of the design scheme of the running lamp control system based on Siemens S7-200PLC
猜你喜欢

What are the organizational structure and job responsibilities of product managers in Internet companies?

Common MySQL errors and solutions summarized painstakingly (I)

【深度之眼吴恩达机器学习作业班第四期】Logistic Regression 逻辑回归总结

Segment tree and use

呕心沥血总结出来的MySQL常见错误以及解决方法(二)

Some examples.

C实战——高配版贪吃蛇游戏设计

RobotFramework学习笔记:Robot Framework和BrowserLibrary(PlayWright)简介

MySQL中有哪些约束?(实例验证)

AC自动机
随机推荐
Protobuf binary file learning and parsing
Some examples.
在colaboratory上云端使用GPU训练(以YOLOv5举例)
Indextree and Application
Vulnhub's dc7 target
进程通信 - 管道
关于组织2021-2022全国青少年电子信息 智能创新大赛西北赛区(陕西)复赛的通知
Simulation time and bag operation in ROS
What are the organizational structure and job responsibilities of product managers in Internet companies?
1031 Hello World for U
MongoDB-使用mongo/mongosh命令行连接数据库
How to permanently set Mysql to utf8 encoding?
Protobuf 二进制文件学习及解析
Automated test - uiautomator2 framework application - automatic clock in
C#导入csv到mysql数据库中
SQL injection bypass (6)
C actual combat - high configuration version of Snake game design
Behaviortree in ros2
IndexTree以及应用
反思 - 中小公司项目管理思维 - 先将产品做出来,先将功能做出来