Public
Snippet $628 authored by Jeremy

LINUX - Installation DEBIAN

Edited

Sources :

# nano /etc/apt/sources.list :
# Mettre en commentaire la source CD-ROM

deb http://deb.debian.org/debian jessie main contrib non-free
deb-src http://deb.debian.org/debian jessie main contrib non-free

deb http://deb.debian.org/debian jessie-updates main contrib non-free
deb-src http://deb.debian.org/debian jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free

deb-src http://security.debian.org/ jessie/updates main contrib non-free

Interfaces : $ nano /etc/network/interfaces

# 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
auto eth0
allow-hotplug eth0
iface eth0 inet static
  address 192.168.152.252
  netmask 255.255.255.0
  gateway 192.168.152.254

DNS :

$ nano /etc/resolv.conf <= le fichier est vide

Ajouter dans le fichier :

nameserver 12.34.56.78

Changer HOSTNAME :

  • Update /etc/hostname
  • Update /etc/hosts, so local address(es) resolves with the new system name.
  • Reboot
15 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment