- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 rsh无密码登陆
#!/bin/bash #rsh无密码登陆 解决pdsh的rsh模块连接问题 #运行前提 保证yum源正常 并且 可以上网 #target: #clone1.host.com #clone2.host.com ==> 三者无密码互通 #clone3.host.com #是否安装pdsh时候装了rsh模块 rsgFlag=`pdsh -V | grep rsh|wc -l` if [ $rs
2014-06-27 17:19:25
1080
原创 Pdsh安装 (Parallel Distributed Shell)
第一种方式: RPM安装 [root@slave1 ~]# rpm -ivh http://mirrors.hustunique.com/epel/6/x86_64/epel-release-6-8.noarch.rpm [root@slave1 ~]# yum install pdsh -y #使用rpm包的安装 会有两种形态 一般rsh为默认 #初始化的系统一般安装会是rsh
2014-06-27 11:13:19
2543
原创 Mysql5.6开启慢查询日志
[root@slave1 logs]#cat /etc/my.cnf [mysqld] basedir=/usr/local/mysql/ datadir=/usr/local/mysql/data/ user=mysql #打开慢查询日志 slow_query_log=on #慢查询日志的位置 slo
2014-06-18 17:09:33
1999
原创 Centos6.4X86_64上安装mysql-5.6.12
[root@oracle opt]# #添加mysql用户和组[root@oracle opt]# groupadd -g 27 mysql[root@oracle opt]# useradd -g 27 -u 27 -r -M mysql -s /sbin/nologin [root@oracle opt]# # 安装依赖的包[root@oracle opt]# yum install libe
2014-06-14 10:37:46
717
原创 mysql配置选项
[root@localhostmysql]# cat /etc/my.cnf # Example MySQLconfig file for very large systems. # # This is for alarge system with memory of 1G-2G where the system runs mainly # MySQL. # # MySQL p
2014-06-14 09:04:31
949
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅