solaris11 format zpool

摘要: # format AVAILABLE DISK SELECTIONS:0. c1t0d0 <LSI-MR9261-8i-2.12-557.86GB>/pci@0,0/pci8086,3c0a@3,2/pci1000,9263@0/sd@0,01. c1t1d0 <LSI-MR9261-8i-2.12 阅读全文
posted @ 2019-05-10 00:40 梓沂 阅读(644) 评论(0) 推荐(0)

solaris硬盘格式化分区

摘要: 创建EFI分区及挂载文件系统的过程: 然后只需要一条命令zpool create -m,就可以创建zfs文件系统并挂在到特定路径/export/home/mrftp 其中pool_3TB是池的名称,c1t1d0是逻辑磁盘 可用zpool list和zfs list、df -h查看挂载情况。 存储池的 阅读全文
posted @ 2019-05-09 22:09 梓沂 阅读(1039) 评论(0) 推荐(0)

Linux使用pam_tally2.so模块限制登录失败锁定时间

摘要: 关于PAM Linux-PAM (Pluggable Authentication Modules for Linux)可插拔认证模块。 https://www.cnblogs.com/klb561/p/9236360.html #vi /etc/pam.d/system-auth 增加auth r 阅读全文
posted @ 2019-04-24 11:00 梓沂 阅读(10258) 评论(0) 推荐(1)

shell脚本if语句的多种条件参数

摘要: if语句有多种写法 [root@shell-yankerp sh]# [ -f file ] && echo "yes" || echo "no" yes修改如下:if [ -f file ] thenecho "yes"elseecho "no"fi 简写: [ -f file ] && echo 阅读全文
posted @ 2019-04-16 21:05 梓沂 阅读(6227) 评论(0) 推荐(0)

系统重启后,mr程序不生成当前时间段的MRx文件问题

摘要: 系统重启后,mr程序不生成当前时间段的MRx文件问题 2019-4-2 之前使用正常的MR程序,系统重启后无法生成MRE\MRO\MRS文件。 服务器有两个时钟:硬件时钟和系统时钟 硬件时钟从根本上讲是CMOS时钟; 系统时钟是由内核维护的,它是从1969年末(即传说中的标志Unix时代开端的那个拂 阅读全文
posted @ 2019-04-04 00:41 梓沂 阅读(191) 评论(0) 推荐(0)

hadoop学习笔记--找到执行hadoop的入口

摘要: 参与个hadoop项目,之前没搞过,赶紧学习: 照葫芦画瓢,得到代码是hdfs2local.sh脚本和LiaoNingFilter.jar包,迫不及待用jd-gui打开jar包,搜索到main(在MANIFEST.MF中没有找到main,只能search,其实在hdfs2local.sh脚本中写明了 阅读全文
posted @ 2019-03-14 12:17 梓沂 阅读(286) 评论(0) 推荐(0)

STREAMING HIVE流过滤 官网例子 注意中间用的py脚本

摘要: Simple Example Use Cases MovieLens User Ratings First, create a table with tab-delimited text file format: CREATE TABLE u_data ( userid INT, movieid I 阅读全文
posted @ 2019-03-12 12:19 梓沂 阅读(198) 评论(0) 推荐(0)

linux-rhel7配置网卡bond双网卡主备模式

摘要: 参考以下文章中的 2.centos7配置bonding: https://www.cnblogs.com/huangweimin/articles/6527058.html 以下是配置过程的操作和打印消息: [root@lnltedmr3 modprobe.d]# systemctl stop Ne 阅读全文
posted @ 2019-02-25 16:23 梓沂 阅读(5191) 评论(1) 推荐(0)

TNS-12560: TNS: 协议适配器错误同时伴有TNS-00584: 有效节点检查配置错误的解决方法

摘要: :修改/home/oracle/app/product/11.2.0/db_1/network/admin/sqlnet.ora(与listener.ora同一目录) 增加白名单: tcp.validnode_checking = yes tcp.invited_nodes = (10.204.25 阅读全文
posted @ 2019-01-15 15:36 梓沂 阅读(2815) 评论(0) 推荐(0)

systemctl 命令完全指南

摘要: https://linux.cn/article-5926-1.html?pr systemctl 命令完全指南 2015-07-31 08:00 译自:http://www.tecmint.com/manage-services-using-systemd-and-systemctl-in-lin 阅读全文
posted @ 2019-01-14 23:19 梓沂 阅读(328) 评论(0) 推荐(0)