debian-in-virtualbox-vmware实际环境配置文件

来源:互联网 发布:windows virtual pc 编辑:程序博客网 时间:2024/06/18 13:07

一、debian-in-virtualbox
interfaces:

/etc/network/interfaces file on my debian vm

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

allow-hotplug eth0
iface eth0 inet dhcp

resolv.conf:

nameserver 221.130.33.60
nameserver 221.130.33.52

fstab以前的老分区 debian4.0

/etc/fstab: static file system information.

#

proc /proc proc defaults 0 0
/dev/sda3 / ext3 defaults,errors=remount-ro 0 1
/dev/sda4 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sda1 /mnt/c ntfs nls=utf8,umask=222,user 0 0
/dev/sda5 /mnt/d vfat utf8,umask=000,user 0 0
/dev/sda6 /mnt/e vfat utf8,umask=000,user 0 0

0 0