摘要:
rpmbuild制作rpm文件 环境说明 centos7/8 rpmbuild rpmdev-setuptree # 用于安装制作rpm包的文件 yum install rpm-build rpmdevtools 制作拥有自定义目录的rpm包 rpmdev-setuptree # 默认将使用用户家目 阅读全文
posted @ 2024-07-29 16:54
itk
阅读(220)
评论(0)
推荐(0)
摘要:
内网yum源制作 系统环境 cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) 修改yum源为阿里云源 备份系统自带的yum源 tar -zcvf CentOS-backup.tar.gz /etc/yum.repos.d/Cen 阅读全文
posted @ 2024-07-29 15:24
itk
阅读(27)
评论(0)
推荐(0)
摘要:
pssh 使用 简介 pssh提供OpenSSH和相关工具的并行版本。包括pssh,pscp,prsync,pnuke和pslurp。支持并行复制 下载 wget https://pypi.python.org/packages/60/9a/8035af3a7d3d1617ae2c7c174efa4 阅读全文
posted @ 2024-07-29 14:05
itk
阅读(31)
评论(0)
推荐(0)
摘要:
rsync服务 简介 服务端:192.168.1.10 客户端:192.168.1.20 任务: 将192.168.1.20的/mnt/rhd/bak/目录拷贝到192.168.1.10的 /mnt/rhd1/目录下 服务端安装 yum -y install rsync 配置 cat /etc/rs 阅读全文
posted @ 2024-07-29 13:49
itk
阅读(39)
评论(0)
推荐(0)
摘要:
docker国内仓库 目前可用仓库: cat /etc/docker/daemon.json { "registry-mirrors": [ "https://docker.nju.edu.cn/", "https://kuamavit.mirror.aliyuncs.com", "https:// 阅读全文
posted @ 2024-07-29 10:53
itk
阅读(551)
评论(0)
推荐(0)
摘要:
openssh 安装 一、服务端 1、安装ssh centos中默认已经安装,ubuntu中需要自己安装 yum -y install openssh-server 2、 SSH配置 Port 22 #默认端口 ListenAddress IP #监听服务器端的IP,ss -ntl 查看22端口绑定 阅读全文
posted @ 2024-07-29 10:47
itk
阅读(61)
评论(0)
推荐(0)

浙公网安备 33010602011771号