在Linux中,给kernel传递参数以控制其行为总共有三种方法: 1.build kernel之时的各个configuration选项。 2.当kernel启动之时,可以参数在kernel被GRUB或LILO等启动程序调用之时传递给kernel。 3.在kernel运行时,修改/proc或/sys...
分类:
系统相关 时间:
2015-02-11 15:51:56
阅读次数:
197
通过阅读Hadoop源码,针对org.apache.hadoop.conf和org.apache.hadoop.io包的部分类接口进行解读,主要包含了hadoop的资源配置类Configuration、hadoop的序列化机制、Writable的地位与继承实现关系、常用类解析等
分类:
其他好文 时间:
2015-02-11 00:25:14
阅读次数:
266
编译内核:
安装内核源码:
选择内核:如gentoo-sourcesemerge gentoo-sources
ls -l /usr/src/linux手动编译内核:cd /usr/src/linux
make menuconfig
必须启用的选项:
显卡:Xorg/Configuration
声卡:ALSA
网卡:根据具体网卡芯片型号,查看wiki。
无线网卡芯片驱动查询:Linux Wir...
分类:
其他好文 时间:
2015-02-10 18:49:25
阅读次数:
228
Oracle 创建数据库图文分解: 1. 选择所有程序->Oracle-OraDb11g_home1->Configuration and Migration Tools -> Database Configuration Assistant, 如下图所示: 2. 步骤1完成后出现如下图所示,点击一...
分类:
数据库 时间:
2015-02-10 13:13:40
阅读次数:
183
今天遇到一个很奇葩的问题!在写Hadoop程序的时候!new一个对象!程序直接跑到finally代码块里面去了!Catch里面的Exception也没有执行。Configuration configuration = new Configuration(); 害我纳闷了好久!就去看了Hadoo...
分类:
编程语言 时间:
2015-02-09 17:55:59
阅读次数:
202
The PXE configuration file defines the menu displayed to the pxe client host as it boots up and contacts the TFTP server. You need a PXE configuration...
分类:
其他好文 时间:
2015-02-09 12:46:56
阅读次数:
137
onConfigurationChanged 不生效问题解决方案: 1).首先,需要重写onConfigurationChanged函数 @Override public void onConfigurationChanged(Configuration newConfig) { super.onC...
分类:
移动开发 时间:
2015-02-09 10:42:15
阅读次数:
202
copy system:running-config nvram:startup-config : to save your configuration changes to the startup configuration so that the changes will not be lost...
分类:
移动开发 时间:
2015-02-08 19:30:28
阅读次数:
233
对 C/S模式 下的 App.config 配置文件的AppSetting节点,支持配置信息现改现用,并可以持久保存。 一. 先了解一下如何获取 配置信息里面的内容【获取配置信息推荐使用这个】 1.1 获取方法一:获取之前需要引用命名空间: using System.Configuration; C...
分类:
移动开发 时间:
2015-02-08 19:24:30
阅读次数:
226
Introduction to configuration wrapper...
分类:
移动开发 时间:
2015-02-08 18:10:15
阅读次数:
176