摘要: 参考:https://www.cnblogs.com/augusite/p/11534642.html Rear这个工具类似于给目标机克隆了一个模板镜像,只要恢复安装就会和模板的内容一样。 安装 Rear #yum install rear genisoimage syslinux 备份生成恢复镜像 阅读全文
posted @ 2020-04-17 20:25 士官长 阅读(811) 评论(0) 推荐(1) 编辑
摘要: mkdir nbpenv \\创建环境目录virtualenv -p /usr/bin/python2.7 /root/nbpenv \\生成文件 source /root/nbpenv/bin/activate \\进入环境deactivate \\退出环境 pip install --no-in 阅读全文
posted @ 2020-04-17 16:28 士官长 阅读(150) 评论(0) 推荐(0) 编辑
摘要: # 恢复环境说明1. 强制采用相同数据库名和实例名2. 但是数据路径是不一致的 - 源数据库: +HNCJCW/HNCJCW/... - 目的数据库: +ORADATA001/HNCJCW/... # 基本信息确认 - 确认是oranode27和oranode28上的两个实例做的RAC mysql> 阅读全文
posted @ 2020-04-17 16:24 士官长 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 修改最大连接数 临时生效:SHOW VARIABLES LIKE "max_connections"; 查看SET GLOBAL max_connections=9000; 修改 永久生效:修改 /etc/my.cnf修改/添加 max_connections=9000 #修改最大连接数为9000重 阅读全文
posted @ 2020-04-17 16:22 士官长 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 临时:set GLOBAL max_connections=9120;show variables like '%max_connections%'; 永久:修改mysql配置文件my.cnf,在[mysqld]段中添加或修改max_connections值:max_connections=9120 阅读全文
posted @ 2020-04-17 16:19 士官长 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 修改最大连接数 临时生效:SHOW VARIABLES LIKE "max_connections"; 查看SET GLOBAL max_connections=9000; 修改 永久生效:修改 /etc/my.cnf修改/添加 max_connections=9000 #修改最大连接数为9000重 阅读全文
posted @ 2020-04-17 16:17 士官长 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1、yum install yum-utils 2、yum install createrepo 3、reposync -r epel -p /root/ reposync命令: reposync用于将远程yum存储库同步到本地 -c xxx,--config=xxx 要使用的配置文件(默认使用/e 阅读全文
posted @ 2020-04-17 16:15 士官长 阅读(513) 评论(0) 推荐(0) 编辑