Sunday, June 6, 2010

Notes for Ubuntu

a, sshd
Note: Not enabled by default.
code#sudo apt-get install openssh-server openssh-client
LINK

b, ip config
sudo ifconfig eth0 up 192.168.1.10
code#vim /etc/network/interfaces
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1


c, version
code#cat /etc/issue
code#uname -r

d, virtualBox
-1, download and install
code#sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian lucid non-free"
code#wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

code#sudo apt-get update && sudo apt-get install virtualbox-3.2
Link


-2, start and manage
code#VirtualBox
link


E, Install the new software.
code#apt-cache search xxx
or code#apt-cache search all | grep xxx
code#apt-get install xxx
code#apt-get remove xxx

Link: appnr.com

No comments: