摘要: yum install -y ansible 编辑 /etc/ansible/hosts 文件 # This is the default ansible 'hosts' file.## It should live in /etc/ansible/hosts## - Comments begin 阅读全文
posted @ 2021-01-12 15:18 Withfeel 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 参考连接:https://www.cnblogs.com/xiaoyuxixi/p/11413355.html 适用于所有密码都一样的情况下 应用场景: 在应用ansible的实际情况中,有一个很现实的问题,ansible是需要对主机做ssh免密登陆的,而挨个对主机做免密是非常的繁琐的,挨个敲IP不 阅读全文
posted @ 2021-01-12 15:17 Withfeel 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Oracle12c连接问题ORA-28040:没有匹配的验证协议 造成改问题的原因是客户端版本太低。修改sqlnet.ora文件可以让服务器适配低版本的客户端 sqlnet.ora文件中加入 SQLNET.ALLOWED_LOGON_VERSION_SERVER=10 SQLNET.ALLOWED_ 阅读全文
posted @ 2021-01-12 15:14 Withfeel 阅读(1244) 评论(0) 推荐(0) 编辑
摘要: 环境 vm虚拟机 双磁盘 操作系统 Oracle Linux 7.9 操作系统安装带图形 选择中文,注意不要新建用户 关闭防火墙 selinux 配置好IP 挂载系统盘镜像 修改主机名 配置hosts文件 1,新建数据目录 mkdir -p /oracle 2,编辑fstab文件实现自动挂载 3,配 阅读全文
posted @ 2021-01-12 15:13 Withfeel 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 参考链接:https://blog.csdn.net/u014401141/article/details/105869242/ 修改 /etc/resolv.conf配置文件,最上方加入 options single-request-reopen 即可 LINUX DNS客户端解析缓慢的其中一个原 阅读全文
posted @ 2021-01-12 15:07 Withfeel 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 升级到1.1.1h版本 #编译openssl和安装 ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl && make -j4 && make install && ./config --prefix=/usr/l 阅读全文
posted @ 2021-01-12 15:06 Withfeel 阅读(1102) 评论(0) 推荐(0) 编辑
摘要: centos编译环境配置 yum install -y autoconf make automake gcc gcc-c++ 阅读全文
posted @ 2021-01-12 15:05 Withfeel 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 简单粗暴,直接复制命令就好了 还是先啰嗦一下,添加网卡之后,如果没有网卡配置文件,可以通过nmcli con show 先查看网卡的唯一ID,然后复制其他的网卡配置文件,修改device项,name项和UUID项即可。 直接上命令吧 查看连接信息 nmcli con show 定义网卡1和网卡2作为 阅读全文
posted @ 2021-01-12 15:04 Withfeel 阅读(1860) 评论(0) 推荐(0) 编辑
摘要: 编辑 CentOS-AppStream.repo配置文件,注释原有url,加入以下url baseurl=https://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/ 编辑CentOS-Base.repo配置文件,注释原有 阅读全文
posted @ 2021-01-12 15:04 Withfeel 阅读(3419) 评论(0) 推荐(0) 编辑
摘要: 参考连接:https://developer.aliyun.com/article/607330 环境为云环境,有外网主机的IP为192.168.0.39,无外网主机的IP为192.168.0.228 需要实现无外网主机通过有外网主机的IP上网,同时还可以做nat。最终目的是把无网主机连上网,然后把 阅读全文
posted @ 2021-01-12 15:03 Withfeel 阅读(847) 评论(0) 推荐(0) 编辑
摘要: 1,环境准备 准备:Vmware workstation环境 IP地址段规划 ESXI主机IP地址段 192.168.197.4-192.168.197.10 Vcenter Server集群IP地址段 192.168.197.11-192.168.197.20 Vmotion 迁移网络IP地址段 阅读全文
posted @ 2021-01-12 15:00 Withfeel 阅读(894) 评论(0) 推荐(0) 编辑