4 203
modifications
Ligne 109 : | Ligne 109 : | ||
Configurez votre /etc/fstab : | Configurez votre /etc/fstab : | ||
<pre> | <pre> | ||
# /etc/fstab: static file system information. | |||
# | |||
# <file system> <mount point> <type> <options> <dump> <pass> | |||
proc /proc proc defaults 0 0 | |||
/dev/md1 / ext3 defaults,errors=remount-ro 0 1 | |||
/dev/md0 /boot ext4 defaults 0 2 | |||
/dev/sda3 none swap sw 0 0 | |||
/dev/sdb3 none swap sw 0 0 | |||
/dev/md2 /var ext4 defaults 0 2 | |||
</pre> | |||
/etc/network/interfaces : | |||
<pre> | |||
# 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 | |||
# The primary network interface | |||
auto vmbr0 | |||
iface vmbr0 inet static | |||
address <IP> | |||
netmask 255.255.255.0 | |||
gateway <GW> | |||
bridge_ports eth0 | |||
bridge_stp off | |||
bridge_fd 0 | |||
</pre> | |||
/etc/hosts : | |||
<pre> | |||
127.0.0.1 localhost | |||
::1 localhost ip6-localhost ip6-loopback | |||
fe00::0 ip6-localnet | |||
ff00::0 ip6-mcastprefix | |||
ff02::1 ip6-allnodes | |||
ff02::2 ip6-allrouters | |||
<IP> <hostname> | |||
</pre> | |||
<pre> | |||
echo votrehostname > /etc/hostname | |||
echo votrehostname > /etc/mailname | |||
</pre> | </pre> |