会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
带着泥土
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2021年2月4日
docker-compose部署elastiflow
摘要: docker-compose导入导出命令 涉及的命令有export、import、save、load save 命令 docker save [options] images [images...] 示例 docker save -o nginx.tar nginx:latest 或 docker
阅读全文
posted @ 2021-02-04 15:42 带着泥土
阅读(844)
评论(0)
推荐(0)
2021年1月25日
高可用代理服务器实现keepalive+squid
摘要: 〇、前言 之前单机部署了squid代理服务器,现在实现一下高可用。 还有自定义squid的error页面 准备:两台centos7(1C2GB) 三个可用IP,一主一备一虚拟IP(VIP) 一、安装squid(两台) yum install squid -y # 具体配置略 二、安装keepal
阅读全文
posted @ 2021-01-25 13:45 带着泥土
阅读(809)
评论(0)
推荐(0)
2021年1月15日
MariaDB数据库 主-从 部署
摘要: 〇、前言 好久没碰数据库了 准备环境: centos7自带的MariaDB,没有的话下面是安装命令 yum install -y mariadb mariadb-server systemctl restart mariadb # 进行数据库初始化(设密码啥的) mysql_secure_insta
阅读全文
posted @ 2021-01-15 14:34 带着泥土
阅读(247)
评论(0)
推荐(0)
2021年1月7日
centos7设置时间和上海时区并进行同步
摘要: 1、设置时区(同步时间前先设置) timedatectl set-timezone Asia/Shanghai 2、安装组件 yum -y install ntp systemctl enable ntpd systemctl start ntpd 3、同步时间 ntpdate -u cn.pool
阅读全文
posted @ 2021-01-07 09:17 带着泥土
阅读(837)
评论(0)
推荐(0)
2020年12月29日
centos7部署k8s(1master1node)
摘要: 〇.前言 就想多学学罢了 准备环境: centos7 master 8GB 172.26.130.204 centos7 node 8GB 172.26.130.205 yum源就阿里源就好。。。 一.再前言 master 主机上172.26.130.204必须要有的组件: etcd:提供分布式数据
阅读全文
posted @ 2020-12-29 10:26 带着泥土
阅读(265)
评论(0)
推荐(0)
2020年12月28日
运维利器-ClusterShell
摘要: 前言 和ansible类似,但是更加高效 安装 yum install -y clustershell clush命令: clush -a 全部 等于 clush -g all clush -g 指定组 clush -w 操作主机名字,多个主机之间用逗号隔开 clush -g 组名 -c --des
阅读全文
posted @ 2020-12-28 19:31 带着泥土
阅读(387)
评论(0)
推荐(0)
shell实现自动挂载优盘
摘要: #!/bin/sh is_empty_dir(){ return `ls -A $1|wc -w` } is_usb_in(){ return `dmesg |tail -100000|grep -i usb|wc -w` } while (true) do if is_usb_in then ec
阅读全文
posted @ 2020-12-28 16:16 带着泥土
阅读(500)
评论(0)
推荐(0)
python3实现:进程遇Error定时重启
摘要: import os import time # 停止HFish def stopHFish(): # while True: try: # 找到HFish进程号 HFish_id = int(os.popen("pgrep HFish").read().strip()) # 沙了 os.popen(
阅读全文
posted @ 2020-12-28 13:41 带着泥土
阅读(237)
评论(0)
推荐(0)
Awvs+nessus docker版本
摘要: awvs-nessus 拉取镜像 docker pull leishianquan/awvs-nessus:v2 启动 docker run --name awvs-nessus -it -d -p 13443:3443 -p 8834:8834 leishianquan/awvs-nessus:v
阅读全文
posted @ 2020-12-28 09:19 带着泥土
阅读(529)
评论(0)
推荐(0)
2020年12月25日
centos7换清华源
摘要: 一 删除其他源 cd /etc/yum.repos.d/ 二 创建源 vim CentOS-Base.repo # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the
阅读全文
posted @ 2020-12-25 10:05 带着泥土
阅读(4169)
评论(0)
推荐(2)
上一页
1
2
3
4
5
6
下一页
公告