學術及資源的交流園地 ^_^

module-assistant

 

 

 

aptitude install module-assistant

  • m-a <-- interactive mode
  • m-a prepare <-- 下載所需工具, 比如 linux-headers-??, build-essential
  • m-a update <-- update the list of available kernel modules
  • m-a  list-installed
  • m-a  search
  • m-a  build
  • m-a  install

 

有用選項:

-t, --text-mode   Text mode, no dialog boxes

 


 

實例:

 

某 Server 有以下的 LAN Card

Compile Linux Kernel (Debian)

 

安裝基本的編釋環境:

apt-get install fakeroot build-essential devscripts

 

額外要的包:

zlib1g-dev
# error: zlib.h: No such file or directory

 

 

下載 Kernel 的 Source:

apt-get install linux-source-2.6

獲得

/usr/src/linux-source-2.6.32.tar.bz2

 

解壓:

cd /usr/src

tar -jxf linux-source-2.6.32.tar.bz2

 

套用 Debain 設定:

cp /boot/config-2.6.32-5-686 ./config

 

落 Patch (由於是 Debian 包, 所以不用落 patches)

在 Host 上監測 VM

 

# 在未 enable 及 setup 前, query 是沒有任何數據的 !!

vbox metrics query debian1

 

# 例出某 VM 可以收集的平均數據

vbox metrics list   lxc   "*:avg"

aptitude

 

 

 


 

aptitude moo

aptitude -v moo

RSS feed