目前日期文章:201011 (3)

瀏覽方式: 標題列表 簡短摘要

1. modify /home/id/.vimrc

2. add a line "hi Comment ctermfg=blue"

 

Edit: 12/06/2010  change "ctermfg=darkgrey" to "ctermfg=blue"

文章標籤

kyletso 發表在 痞客邦 留言(0) 人氣()

1. yum install gcc

(2. yum install kernel-devel)  optional

(3. yum install mkinitrd ) optional

4. "VM->install VMware Tools" and extract the file

5. ./vmware-install.pl

6. <Enter> <Enter> <Enter> ...

7. C header files: /lib/modules/$releasever/build/include

    如果沒有這些header檔案的話, 自己編一下kernel就會出現了, 不過這些vmware tools都會自己找到

文章標籤

kyletso 發表在 痞客邦 留言(0) 人氣()

1. download the source code from kernel.org or whatever.

2. read the "README" in the directory and that's it.  /jk

3. copy the config file in "/boot/" to "your_src_directory" (eg. /home/xxx/build/linux-2.6.xx/)

    and rename it as ".config"

4. > make oldconfig

5. <Enter> <Enter> <Enter> ...

6. > yum(apt-get) install ncurses-devel

7. > make menuconfig

    (p.s. turn off PAE or Page : Processor type and features --> High Memory Support)

8. > make -j2

    (-j2 means 2 jobs, speed up)

9. > make modules_install install

10. reboot

 

remember to modify the "/etc/grub.conf" file and change the "Timeout" to a reasonable value

(default is 0 =.=)

文章標籤

kyletso 發表在 痞客邦 留言(0) 人氣()