04 2012 档案

摘要:从Linux内核2.6开始,Linux内核的编译采用Kbuild系统,这同过去的编译系统有很大的不同,尤其对于Linux内核模块的编译。在新的系统下,Linux编译系统会两次扫描Linux的Makefile:首先编译系统会读取Linux内核顶层的Makefile,然后根据读到的内容第二次读取Kbuild的Makefile来编译Linux内核。 Linux内核Makefile分类 · Kerne... 阅读全文
posted @ 2012-04-26 10:18 cecwxf 阅读(6911) 评论(0) 推荐(0)
摘要:set nocompatible " show the cursor position all the time set ruler set showmode set showcmd set nu set noignorecase set hlsearch set incsearch set smartindent set showmatch... 阅读全文
posted @ 2012-04-16 10:45 cecwxf 阅读(405) 评论(0) 推荐(0)
摘要:一、Brigde——桥接 :默认使用VMnet0 fish批注: 只要在虚拟机中将IP设对,即使宿主机的IP是错的,也可以通信。但是如此物理网卡被禁用了,则不能通信。 链路: Linux虚拟机->物理网卡 WINDOWS->物理网卡 桥接可以使用静态IP和动态IP,使用动态IP时,返回与物理网卡同一网段的地址(由物理网卡的网关来分配)。 1、原理: Bridge ... 阅读全文
posted @ 2012-04-13 14:53 cecwxf 阅读(3675) 评论(0) 推荐(0)
摘要:下午折腾了会samba服务器。安装完毕以后,发现我的宿主XP不能\\192.168.3.12(linux IP)。 连ping也ping不通。比较头疼。查了一会原因。该弄的都弄了。 防火墙关了,selinux disable了,samba.conf也配置对了。还是不行。 可是用局域网内别人的就可以连到我的samba服务器上,宿主主机居然不能。一步步查找原因,终于被我发现了: 就... 阅读全文
posted @ 2012-04-05 21:12 cecwxf 阅读(401) 评论(0) 推荐(0)