上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 快速克隆 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 运维之爪 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 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 运维之爪 阅读(4535) 评论(0) 推荐(0) 编辑
摘要: 起因:启动了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 运维之爪 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 演示 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 运维之爪 阅读(108) 评论(0) 推荐(0) 编辑
摘要: # /dev/nvme1n1p1 可改成你需要挂载的磁盘,可通过 fdisk -l 和 lsblk 查询 mount -t xfs -o nouuid /dev/nvme1n1p1 /mnt/back 阅读全文
posted @ 2021-05-20 16:07 运维之爪 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 使用腾讯云镜像站支持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 运维之爪 阅读(964) 评论(0) 推荐(0) 编辑
摘要: 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 运维之爪 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 在console 上调整磁盘容量 df -hT lsblk growpart /dev/nvme0n1 1 # xfs xfs_growfs /dev/nvme0n1p1 # ext4 resize2fs /dev/nvme0n1p1 阅读全文
posted @ 2021-05-11 16:24 运维之爪 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Mysql 如果出现访问慢情况,一般为服务器端属于内网环境,无法进行正常的DNS解析 需要在参数组 my.cnf ,添加skip-name-resolve,禁止反向DNS解析 注:开启后,无法在 mysql.user 的host 字段使用域名,因禁止了DNS解析 阅读全文
posted @ 2021-05-03 11:26 运维之爪 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 一款可离线使用JSON查看器,支持格式化,优点:简单好用多窗口隐私有保护 直达安装站点: chrome https://chrome.google.com/webstore/detail/jsonviewer/khbdpaabobknhhlpglenglkkhdmkfnca/related?hl=z 阅读全文
posted @ 2021-04-29 01:16 运维之爪 阅读(512) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页