- 博客(7)
- 收藏
- 关注
原创 已知的Hadoop关键配置
1. 配置选项 hadoop.tmp.dirfs.default.namehdfs://hdnode1m:9000hadoop.tmp.dir/home/grid/disk该目录下会存放hadoop的log,该选项需要在core-site.xml
2014-04-20 21:53:09 639
转载 /etc/hosts.allow和/etc/hosts.deny的作用
[ init.d]$ ls -l /etc/hosts*-rw-r--r--. 1 root root 554 Apr 20 14:32 /etc/hosts-rw-r--r--. 1 root root 370 Jun 7 2013 /etc/hosts.allow-rw-r--r--. 1 root root 460 Jun 7 2013 /etc/hosts.deny
2014-04-20 20:37:04 13280
转载 [iconv] linux系统下与原系统字符编码转换陷阱
original Link: http://blog.csdn.net/userguanguan/article/details/6393310/桌面$ file 备忘录.txt备忘录.txt: ISO-8859 text, with CRLF line terminators 于是用/桌面$ iconv -f ISO-8859 -t utf-8 备忘录.txt>备忘录
2014-04-16 12:28:31 2068
转载 Changing the Auto-Logout Timeout in SSH
http://www.adercon.com/ac/node/39The ssh "timed out waiting for input: auto-logout" messages is generated by ssh upon reaching a auto-logout after an inactivity time specified by the TMOUT environ
2014-04-11 15:54:42 1506
转载 ssh如何限制用户登录的?
SSH的登录限制 1. ip限制/etc/hosts.deny/etc/hosts.allow比如只限制3个外网,1个内网IP连接解决办法:直接在/etc/hosts.deny里面加一行sshd: ALL EXCEPT xxx.xxx.xxx.xxx(允许的ip或网段)sshd: ALL EXCEPT xxx.xxx.xxx.xxx/255.255.
2014-04-11 15:06:15 10579
原创 java Unicode Issues
import java.util.*;import java.io.*;public class EncodingDemoUTF8 { public static void main(String[] args) throws IOException, FileNotFoundException { PrintWriter output = new PrintWriter("te
2014-04-08 22:17:56 798
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人