会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
运维之爪
爪爪爪
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
11
下一页
2021年10月10日
Centos7 快速克隆 KVM 虚拟机
摘要: 快速克隆 KVM ,shell脚本如下 # 需要准备 :[ .kvm-master.xml / .kvm-master.qcow2] # 已经创建的虚拟机的 xml文件 / img文件 可以做为模板 #!/bin/bash . /etc/init.d/functions ONF_DIR=/etc/l
阅读全文
posted @ 2021-10-10 21:59 运维之爪
阅读(162)
评论(0)
推荐(0)
2021年10月9日
解决 ssh连接被重置问题
摘要: ssh连接到服务器的时候,出现问题 ssh read: Connection reset by peer 分析:这类错误,一般由网络错误导致, 起因:机器内被添加了无关路由表 # vim /etc/sysconfig/static-routes any net 172.30.3.0/24 gw 17
阅读全文
posted @ 2021-10-09 01:40 运维之爪
阅读(5691)
评论(0)
推荐(0)
Amazon Linux 2上安装nginx
摘要: 起因:启动了Amazon Linux 2 无法 yum install nginx # 解决办法 yum install -y amazon-linux-extras amazon-linux-extras list | grep nginx amazon-linux-extras install
阅读全文
posted @ 2021-10-09 01:25 运维之爪
阅读(588)
评论(0)
推荐(0)
2021年6月11日
expect 定时关闭 shell 阻塞语句
摘要: 演示 yum -y install expect [root@sky ~]# cat sleep_test.exp set timeout 5 spawn tailf gg.sql expect eof [root@sky ~]# expect sleep_test.exp
阅读全文
posted @ 2021-06-11 15:01 运维之爪
阅读(114)
评论(0)
推荐(0)
2021年5月20日
aws ec2挂载其他或损坏ec2的系统盘
摘要: # /dev/nvme1n1p1 可改成你需要挂载的磁盘,可通过 fdisk -l 和 lsblk 查询 mount -t xfs -o nouuid /dev/nvme1n1p1 /mnt/back
阅读全文
posted @ 2021-05-20 16:07 运维之爪
阅读(164)
评论(0)
推荐(0)
2021年5月18日
centos5/6/7/8 (解决没有yum源支持的问题)
摘要: 使用腾讯云镜像站支持yum源 官方文档: https://mirrors.cloud.tencent.com/help/epel.html https://mirrors.cloud.tencent.com/help/centos.html mv /etc/yum.repos.d/epel.repo
阅读全文
posted @ 2021-05-18 04:09 运维之爪
阅读(1057)
评论(0)
推荐(0)
2021年5月13日
lrzsz 编译安装
摘要: lrzsz官网: https://www.ohse.de // 下载安装包 # wget http://down1.chinaunix.net/distfiles/lrzsz-0.12.20.tar.gz wget https://www.ohse.de/uwe/releases/lrzsz-0.1
阅读全文
posted @ 2021-05-13 14:28 运维之爪
阅读(405)
评论(0)
推荐(0)
2021年5月11日
aws 磁盘扩容(console方案)
摘要: 在console 上调整磁盘容量 df -hT lsblk growpart /dev/nvme0n1 1 # xfs xfs_growfs /dev/nvme0n1p1 # ext4 resize2fs /dev/nvme0n1p1
阅读全文
posted @ 2021-05-11 16:24 运维之爪
阅读(111)
评论(0)
推荐(0)
2021年5月3日
连接mysql慢,日志有找不到对应主机的问题(skip-name-resolve)
摘要: Mysql 如果出现访问慢情况,一般为服务器端属于内网环境,无法进行正常的DNS解析 需要在参数组 my.cnf ,添加skip-name-resolve,禁止反向DNS解析 注:开启后,无法在 mysql.user 的host 字段使用域名,因禁止了DNS解析
阅读全文
posted @ 2021-05-03 11:26 运维之爪
阅读(115)
评论(0)
推荐(0)
2021年4月29日
推荐一款比较好用的浏览器插件(JSONViewer)
摘要: 一款可离线使用JSON查看器,支持格式化,优点:简单好用多窗口隐私有保护 直达安装站点: chrome https://chrome.google.com/webstore/detail/jsonviewer/khbdpaabobknhhlpglenglkkhdmkfnca/related?hl=z
阅读全文
posted @ 2021-04-29 01:16 运维之爪
阅读(527)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
11
下一页
公告