Changes between Version 9 and Version 10 of jazz/10-01-25


Ignore:
Timestamp:
Aug 22, 2010, 6:18:04 PM (14 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/10-01-25

    v9 v10  
    1313   * [[Image(wiki:jazz/10-01-25:VirtualBox_3.0_Tap0.png,width=600)]]
    1414 * 撰寫安裝 virtualbox 的 script - [raw-attachment:wiki:jazz/10-01-25:virtualbox_install.sh virtualbox_install.sh]
    15    * 除了 GPG KEY 改名外(從 sun_vbox.asc 變成 oracle_vbox.asc),沒太大變化。(2010-08-22)
     15   * 自從 Sun 被 Oracle 併購之後,除了 GPG KEY 改名外(從 sun_vbox.asc 變成 oracle_vbox.asc) 跟 Package 描述變成 Oracle 外,沒太大變化。(2010-08-22)
    1616{{{
    17 echo "deb http://download.virtualbox.org/virtualbox/debian lenny non-free" > virtualbox.list
     17#!/bin/bash
     18dist=$(lsb_release -c | awk '{ print $2 }')
     19echo "deb http://download.virtualbox.org/virtualbox/debian $dist non-free" > virtualbox.list
    1820sudo mv virtualbox.list /etc/apt/sources.list.d/
    19 wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
     21wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
    2022sudo apt-get update
    21 new_package=`apt-cache search virtualbox | grep Sun | tail -n 1 | awk '{ print $1 }'`
     23new_package=`apt-cache search virtualbox | grep Oracle | tail -n 1 | awk '{ print $1 }'`
    2224echo $new_package
    2325sudo apt-get install $new_package
    2426}}}
     27{{{
     28virtualbox-3.1 - Sun VirtualBox
     29virtualbox-3.2 - Oracle VM VirtualBox
     30}}}
    2531 * [備忘] 設定 tun 的 script - from : DRBL 進階課程 - [raw-attachment:wiki:jazz/10-01-25:config-tun.sh config-tun.sh]
    2632   * 現在改用 VBoxTunctl 即可。(2010-08-22)