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 梓沂 阅读(9012) 评论(0) 推荐(0) 编辑

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 梓沂 阅读(6100) 评论(0) 推荐(0) 编辑

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

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

/etc/init.d/sshd配置SSHD路径忘记修改导致启动失败

摘要: [root@lnlte2dmr3 ~]# bash[root@lnlte2dmr3 ~]# install -v -m700 -d /var/empty/sshdinstall: 正在创建目录"/var/empty/sshd"[root@lnlte2dmr3 ~]# 等待输入超时:自动登出[root 阅读全文
posted @ 2019-01-14 23:11 梓沂 阅读(6897) 评论(0) 推荐(0) 编辑

configure文件的生成

摘要: https://blog.csdn.net/mitesi/article/details/44773951 make 根据Makefile编译源代码,连接,生成目标文件,可执行文件。 make clean 清除上次的make命令所产生的object文件(后缀为“.o”的文件)及可执行文件。 make 阅读全文
posted @ 2019-01-14 22:29 梓沂 阅读(637) 评论(0) 推荐(0) 编辑