首页 > 系统相关 >linux批量运维主机(二)

linux批量运维主机(二)

时间:2024-09-05 13:24:36浏览次数:5  
标签:运维 批量 -- systemctl yum https linux docker com

Salt 一种全新的基础设施管理方式,部署轻松,在几分钟内可运行起来,扩展性好,很容易管理上万台服务器,速度够快,服务器之间秒级通讯。salt底层采用动态的连接总线, 使其可以用于编配, 远程执行, 配置管理等等。这比ansible的更有优势。下面安装saltstack UI界面。

# 卸载docker

sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine

# 安装docker

sudo yum install -y yum-utils

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

sudo yum install docker docker-ce docker-ce-cli containerd.io

# 启动

sudo systemctl start docker

# 设置开启启动

sudo systemctl enable docker

# 验证docker版本

docker --version


vi /etc/docker/daemon.json

{

   "registry-mirrors": [

       "https://dockerproxy.com",

       "https://docker.mirrors.ustc.edu.cn",

       "https://docker.nju.edu.cn"

   ]

}

sudo systemctl daemon-reload

sudo systemctl restart docker

git clone https://github.com/latenighttales/alcali.git

cd alcali

yum -y install docker

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

docker-compose up --scale minion=2

linux批量运维主机(二)_docker

标签:运维,批量,--,systemctl,yum,https,linux,docker,com
From: https://blog.51cto.com/yunguo/11927014

相关文章

  • SQL SERVER日常运维(二)
    以下语句请使用SA用户或者有DBA权限的用户进行执行,否则可能会出现权限不足报错。查看当前用户查看当前用户selectsystem_user;检查SQLAgent是否开启IFEXISTS(SELECTTOP11FROMsys.sysprocessesWHEREprogram_name='SQLAgent-GenericRefresher')SELECT'Ru......
  • VMware Workstation 17.6 Pro Unlocker & OEM BIOS 2.7 for Windows & Linux
    VMwareWorkstation17.6ProUnlocker&OEMBIOS2.7forWindows&Linux在Windows和Linux上运行macOSSequoia请访问原文链接:https://sysin.cn/blog/vmware-workstation-17-unlocker/,查看最新版。原创作品,转载请保留出处。作者主页:sysin.org2024-09-03,版本17.6更新......
  • VMware Workstation 17.6 Pro macOS Unlocker & OEM BIOS 2.7 for Linux - 在 Linux
    VMwareWorkstation17.6PromacOSUnlocker&OEMBIOS2.7forLinux在Linux上运行macOSSequoia请访问原文链接:https://sysin.cn/blog/vmware-workstation-17-unlocker-linux/,查看最新版。原创作品,转载请保留出处。作者主页:sysin.org2024-09-03,版本17.6更新,支持虚拟......
  • linux使用回收站功能
    1、安装工具https://github.com/andreafrancia/trash-cliunziptrash-cli-0.24.5.26.zipcdtrash-cli-0.24.5.26python3setup.pyinstallTraceback(mostrecentcalllast):File"setup.py",line4,in<module>setup()File"/usr/lib/py......
  • SQL SERVER日常运维(一)
    一、基础命令查看当前数据库的版本SELECT@@VERSION;查看服务器部分特殊信息selectSERVERPROPERTY(N'edition')asEdition--数据版本,如企业版、开发版等,SERVERPROPERTY(N'collation')asCollation--数据库字符集,SERVERPROPERTY(N'servername')asServerName--服......
  • ubuntu linux搭建lvgl v9
    记录一下ubuntulinux搭建lvgl的过程本地环境:ubuntu16.04ubuntu+lvgl+sdl21获取源码gitclonehttps://github.com/lvgl/lv_port_linux.gitcdlv_port_linux/gitsubmoduleupdate--init--recursive查看分支:gitbranch-a我选择的是9.2(master分支一直在......
  • Linux:md5sum指令
    学习自:Linuxshell编程学习笔记42:md5sum_PurpleEndurer@5lcto的技术博客_51CTO博客MD5SUM详解_md5sum命令详解-CSDN博客0、常用#校验文件md5sum1.txtf447b20a7fcbf53a5d5be013ea0b15af1.txt#校验标准输入echo"123456"|md5sumf447b20a7fcbf53a5d5be013ea0b15af-......
  • VMware Workstation 17.6 Pro Unlocker & OEM BIOS 2.7 for Windows & Linux
    VMwareWorkstation17.6ProUnlocker&OEMBIOS2.7forWindows&Linux在Windows和Linux上运行macOSSequoia请访问原文链接:https://sysin.cn/blog/vmware-workstation-17-unlocker/,查看最新版。原创作品,转载请保留出处。作者主页:sysin.org2024-09-03,版本13.6更......
  • Linux——网络(5)
    一、sqlite3性能测试1.程序效率测试   时间相关接口:   intgettimeofday(structtimeval*tv,structtimezone*tz);   功能:得到从1970年1月1日0时0分0秒到现在的秒数           精度到微妙   参数:             tv:获取......
  • 【Linux】理解Linux中的软链接与硬链接
    文章目录理解Linux中的软链接与硬链接1.什么是硬链接?示例:2.什么是软链接?示例:3.软链接与硬链接的对比4.何时使用软链接与硬链接?理解Linux中的软链接与硬链接在Linux文件系统中,软链接(SymbolicLink)和硬链接(HardLink)是两个非常重要的概念,它们允许多个文件名指......