1. vi /etc/apt/sources.listvim
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-freessh
deb http://mirrors.sohu.com/debian wheezy main non-free contrib
deb http://mirrors.sohu.com/debian wheezy-proposed-updates main contrib non-free
deb-src http://mirrors.sohu.com/debian wheezy main non-free contrib
deb-src http://mirrors.sohu.com/debian wheezy-proposed-updates main contrib non-free
deb http://mirrors.sohu.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.sohu.com/debian-security wheezy/updates main contrib non-free
ide
若是要加入cdrom源google
mount /dev/cdrom /media/cdrom0
apt-cdrom -m -d=/media/cdrom0 add
spa
apt-get update
rest
2. apt-get install vim openssh-server
server
3. vi /etc/hostsdns
remove or comment the line beginning with 127.0.1.1ip
vi /etc/hostname
vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.44.13
netmask 255.255.255.0
gateway 192.168.44.200rem
dns-nameservers 210.22.84.3
service networking restart