Serveur internet sous Debian

Aller à la navigation Aller à la recherche

La création d'un serveur internet sous GNU/Linux.

La distribution choisie est Debian 8 en cette fin d'année 2016.

Wiki Debian

Paramétrage réseau

Accès au paramétrage réseau :

  • 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

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

Mise à jour des dépôts

apt-get update

Si un dépôt a été paramétré, modifier le fichier suivant :

  • /etc/apt/sources.list

Installation MySQL

apt-get install mysql-server phpmyadmin

Le compte par défaut pour MySQL est root

  • c'est au moment de l'installation qu'un mot de passe pour se compte est demandé.

Installation node.js

apt-get install nodejs