Debian 最小化安装后基本设置
1. vi /etc/apt/sources.listdeb 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-free
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
如果要加入cdrom源
mount /dev/cdrom /media/cdrom0
apt-cdrom -m -d=/media/cdrom0add
apt-get update
2. apt-get install vim openssh-server
3. vi /etc/hosts
remove or comment the line beginning with 127.0.1.1
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.200
dns-nameservers 210.22.84.3
service networking restart
https://www.google.com/favicon.ico
页:
[1]