会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Niexj00
博客园
首页
新随笔
联系
订阅
管理
2021年10月27日
使用 kubeadm 部署 Kubernetes 集群
摘要: 环境说明(centos7.6): IP 主机名 角色 192.168.1.31 docker31 master 192.168.1.32 docker32 slave1 前期准备 [root@docker31 ~]# systemctl stop firewalld && systemctl dis
阅读全文
posted @ 2021-10-27 19:04 Niexj00
阅读(55)
评论(0)
推荐(0)
2021年10月26日
制作自己的yum仓库
摘要: 安装createrepo [root@docker32 ~]# yum install -y createrepo 以制作Apache软件为例 yum开启缓存 [root@docker32 ~]# vim /etc/yum.conf [main]cachedir=/var/cache/yum/$ba
阅读全文
posted @ 2021-10-26 11:58 Niexj00
阅读(42)
评论(0)
推荐(0)
2021年10月24日
docker基本操作
摘要: 部署docker容器虚拟化平台 安装docker环境依赖 [root@niexj31 ~]# yum install -y yum-utils device-mapper-persistent-data lvm2 配置国内docker的yum源(阿里云) [root@niexj31 ~]# yum-
阅读全文
posted @ 2021-10-24 16:38 Niexj00
阅读(113)
评论(0)
推荐(0)
2021年10月22日
nginx启动脚本
摘要: #!/bin/bash# chkconfig:- 99 2# description:Nginx server controlPROG="/usr/local/nginx/sbin/nginx"PIDF="/usr/local/nginx/logs/nginx.pid"case "$1" in st
阅读全文
posted @ 2021-10-22 12:04 Niexj00
阅读(318)
评论(0)
推荐(0)
2021年10月9日
自动化运维工具ansible
摘要: 安装ansible: [root@niexj21 ~]# yum install -y ansible ansible命令参数: ansible命令语法:ansible [-i 主机文件] [-f 批次] [组名] [-m 模块名称] [-a 模块参数] 设置管理主机的配置文件,添加如下内容(主机无
阅读全文
posted @ 2021-10-09 16:40 Niexj00
阅读(37)
评论(0)
推荐(0)
2021年10月4日
rsync
摘要: 1、使用rsync进行数据同步 格式:rsync 【选项】 源文件 目标文件 常用选项: -a,--archive(存档)归档模式,表示以递归的方式传输文件,并且保持文件属性 -z,表示压缩传输 -P,显示传输进度 --delete,删除那些目标文件有而原始位置没有的文件 例:在niexj21上创建
阅读全文
posted @ 2021-10-04 21:47 Niexj00
阅读(33)
评论(0)
推荐(0)
公告