上一页 1 ··· 5 6 7 8 9 10 下一页

2017年12月28日

mysql5.6 基于Binlog ROW记录方式进行数据恢复(无备份)

摘要: 数据库配置注意事项 /etc/my.cnf 必须要开户binlog支持,字符集要求 是utf8 binlog类型为row server-id=121 log_bin=/home/mysqllog binlog-format=Row 数据恢复工具安装 binlog2sql https://github 阅读全文

posted @ 2017-12-28 11:04 net2817 阅读(325) 评论(0) 推荐(0) 编辑

2017年12月26日

centos7.2 增加3T的XFS模式分区

摘要: parted -l 查看分区情况与要分区的设备 # parted /dev/sda #选定要操作的硬盘 此时命令提示符会变成(parted) (parted)mklabel gpt # 将硬盘设置为GPT格式,设置MBR:mklabel msdos (parted)mkpart # 开始分区 分区名 阅读全文

posted @ 2017-12-26 11:18 net2817 阅读(281) 评论(0) 推荐(0) 编辑

centos 7.2 安装域名服务器(bind9.9 集群--主从架构),私有域名服务器+缓存

摘要: 1.安装组件 yum install bind bind-utils -y 2.启动域名服务 service named start chkconfig named on ss -unlt |grep 53 查看域名服务是否正常启动 3.配置主域名服务器 3.1 配置named.conf文件 修改 阅读全文

posted @ 2017-12-26 10:10 net2817 阅读(518) 评论(0) 推荐(0) 编辑

cetnos 7 增加新的硬盘

摘要: fdisk -l 查看新的硬盘是否挂载 如没有挂载 ls /sys/class/scsi_host/ 查看设备列表 echo "- - - " > /sys/class/scsi_host/host0/scan echo"- - - " > /sys/class/scsi_host/host1/sc 阅读全文

posted @ 2017-12-26 09:52 net2817 阅读(305) 评论(0) 推荐(0) 编辑

2017年12月22日

elk6快速安装

摘要: rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch [elasticsearch-6.x] name=Elasticsearch repository for 6.x packages baseurl=https://art 阅读全文

posted @ 2017-12-22 15:53 net2817 阅读(247) 评论(0) 推荐(0) 编辑

sqoop2 缺少 jackson-core-asl-1.8.8.jar 和 jackson-mapper-asl-1.8.8.jar 这两个jar包

摘要: [root@spark2 client]# cat /var/log/sqoop2/localhost.2017-12-22.log 十二月 22, 2017 10:29:17 上午 org.apache.catalina.core.StandardWrapperValve invoke严重: Se 阅读全文

posted @ 2017-12-22 10:48 net2817 阅读(292) 评论(0) 推荐(0) 编辑

2017年12月20日

mysql5.7.20更改root密码

摘要: my.cnf 中在[mysqld]下面增加 skip-grant-tables 使用空密码登录数据库执行下面命令 update mysql.user set authentication_string=PASSWORD('newpassword') where User='root'; 阅读全文

posted @ 2017-12-20 19:38 net2817 阅读(526) 评论(0) 推荐(0) 编辑

sqoop2问题解决

摘要: sqoop:000> show version --serverException has occurred during processing command Exception: org.apache.sqoop.common.SqoopException Message: CLIENT_000 阅读全文

posted @ 2017-12-20 12:39 net2817 阅读(982) 评论(0) 推荐(0) 编辑

2017年12月18日

批量执行命令(SSH)

摘要: for a in {1..6} ; do scp /etc/hosts enc-bigdata0$a:/etc/hosts ; done 阅读全文

posted @ 2017-12-18 14:23 net2817 阅读(335) 评论(0) 推荐(0) 编辑

2017年12月5日

cdh 5.13 centos6.9安装

摘要: 1.所有节点准备工作 1)。关闭防火墙 2)。关闭selinux 并重启系统 3)。建立NTP服务器,所有数据节点每天定时同步时间。 主节点在ntp.conf中增加 restrict 192.168.0.0 mask 255.255.0.0 nomodify 节点增加自动执行 * 2 * * * n 阅读全文

posted @ 2017-12-05 18:22 net2817 阅读(450) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 下一页

导航