KVM 新安装 Debian 无法连接网络问题
新购买了一台KVM的VPS,后台为SolusVM,安装了Debian 7.3.0 (64 Bit)后发现,无法用SSH连接,然后
nano /etc/network/interfaces
auto eth0
#allow-hotplug eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 199.180.114.49
netmask 255.255.255.224
gateway 199.180.114.33
#hwaddress ether 02:00:00:71:72:eb
#hwaddress ether 00:16:3c:a9:84:c9
/etc/init.d/networking restart
apt-get install openssh-server
vi /etc/ssh/sshd_config
/etc/init.d/ssh restart
在Debian中使用apt-get安装软件包时经常会提示让你插入netinst的光盘:
Media change: please insert the disc labeled
当没有时就无法进行安装了, 这时可以打开文件/etc/apt/sources.list文件,注释掉cdrom那一行,然后再执行apt-get update更新下deb仓库, 这样以后再使用apt-get安装时就不会再搜寻cdrom了