1.
静态IP地址设置格式:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
#Controller
auto eth0
iface eth0 inet static
address 192.168.61.132
netmask 255.255.255.0
boardcast 192.168.61.255
gateway 192.168.61.2
2.debian 软件源:
#
# deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official i386 CD Binary-1 20141018-11:53]/ wheezy main
#deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official i386 CD Binary-1 20141018-11:53]/ wheezy main
deb http://mirrors.163.com/debian/ wheezy main
deb-src http://mirrors.163.com/debian/ wheezy main
#add debian Source
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
#add debian openStack
deb http://archive.gplhost.com/debian juno-backports main
deb http://archive.gplhost.com/debian juno main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as ‘volatile‘
deb http://mirrors.163.com/debian/ wheezy-updates main
deb-src http://mirrors.163.com/debian/ wheezy-updates main
原文地址:http://blog.csdn.net/yuyezhulan/article/details/42015275