debianにsun-java6-jreをインストール

source.listに追加
deb http://mirror.aarnet.edu.au/debian/ squeeze non-free
# apt-get update

# apt-cache search sun-java

ia32-sun-java6-bin – Sun Java(TM) Runtime Environment (JRE) 6 (32-bit)

sun-java6-bin – Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)

sun-java6-demo – Sun Java(TM) Development Kit (JDK) 6 demos and examples sun-java6-fonts – Lucida TrueType fonts (from the Sun JRE)

sun-java6-javadb – Java(TM) DB, Sun Microsystems’ distribution of Apache Derby sun-java6-jdk – Sun Java(TM) Development Kit (JDK) 6

sun-java6-jre – Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)

sun-java6-plugin – The Java(TM) Plug-in, Java SE 6

sun-java6-source – Sun Java(TM) Development Kit (JDK) 6 source files

 

# update-java-alternatives -s java-6-sun

[VirtualBox]debianにVirtualBoxをインストール

/etc/apt/source.listに該当OSのdebを追記

deb http://download.virtualbox.org/virtualbox/debian saucy contrib
deb http://download.virtualbox.org/virtualbox/debian raring contrib
deb http://download.virtualbox.org/virtualbox/debian quantal contrib
deb http://download.virtualbox.org/virtualbox/debian precise contrib
deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

sudo apt-get update
sudo apt-get install virtualbox-4.3

[KVM]virsh consoleが詰まったとき

virsh consoleで接続しようとした時に、前回ちゃんとログアウトしなかった等の理由で以下のようなメッセージが出てアクセス出来ないときがある。

operation failed: Active console session exists for this domain

この場合は

# /etc/init.d/libvirt-bin restart

で回復。