自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

贞正

一线码农

  • 博客(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

原创 儿童夜晚睡觉易引起性早熟

声明“绝不小心求证,只管大胆胡说”“儿童夜晚睡觉易引起性早熟” 是从今天早上8点早间新闻

2014-04-20 15:32:46 1755

转载 [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关注的人

提示
确定要删除当前文章?
取消 删除