4 266
modifications
Ligne 229 : | Ligne 229 : | ||
aptitude install proxmox-ve-2.6.35 ntp lvm2 | aptitude install proxmox-ve-2.6.35 ntp lvm2 | ||
</pre> | </pre> | ||
==configuration réseau avancée== | |||
<pre> | |||
# network interface settings | |||
auto lo | |||
iface lo inet loopback | |||
iface eth0 inet manual | |||
auto vmbr0 | |||
iface vmbr0 inet static | |||
address <IP> | |||
netmask 255.255.255.0 | |||
gateway <GW> | |||
broadcast <ip>.255 | |||
bridge_ports eth0 | |||
bridge_stp off | |||
bridge_fd 0 | |||
network <ip>.0 | |||
post-up ifconfig vmbr0 inet6 add <ipv6>/64 | |||
pre-down ifconfig vmbr0 inet6 del <ipv6>/64 | |||
auto vmbr1 | |||
iface vmbr1 inet static | |||
address 192.168.0.1 | |||
netmask 255.255.255.0 | |||
broadcast 192.168.0.255 | |||
bridge_ports dummy0 | |||
bridge_stp off | |||
bridge_fd 0 | |||
post-up /etc/pve/kvm-networking.sh | |||
</pre> | |||
==reboot et postinstallation== | |||
Rebootez votre serveur en mode normal : | |||
<pre>reboot</pre> | |||
Créez votre utilisateur : | |||
<pre>adduser pfoo</pre> | |||
Je vous conseil de commencer à sécuriser votre ssh : | |||
* désactivez le login root (directive PermitRootLogin no dans <code>/etc/ssh/sshd_config</code>) | |||
* ajoutez la directive allowusers pfoo dans <code>/etc/ssh/sshd_config</code> |