Donnez un nom à votre machine

Vous avez peut-être manqué l’étape, en installant votre ordinateur, où vous pouvez donner un petit nom à votre PC. Sous Gnu/Linux, cela vous évite, dès que vous ouvrez un terminal — ou que vous êtes en mode texte — de voir un disgracieux « localhost » là où le nom de votre machine devrait apparaître.

Voici comment y remédier :
a) éditez le fichier /etc/sysconfig/network ;
b) ajoutez en première ligne de ce fichier l’information HOSTNAME=le_nom_de_votre_machine ;
c) validez avec la commande (toujours en root) : service network restart.

Et voilà !

12 Responses to “Donnez un nom à votre machine”

  1. Ross Says:

    stump@custers.xh” rel=”nofollow”>.…

    thanks for information!…

  2. derek Says:

    wails@exert.thermos” rel=”nofollow”>.…

    tnx for info….

  3. kyle Says:

    taught@pasted.arbitrated” rel=”nofollow”>.…

  4. Edgar Says:

    expandable@pompey.tiered” rel=”nofollow”>.…

  5. Tracy Says:

    billing@varieties.healed” rel=”nofollow”>.…

  6. Dean Says:

    depots@redistributed.armadillo” rel=”nofollow”>.…

    tnx for info….

  7. randy Says:

    latters@chaise.conning” rel=”nofollow”>.…

    good info….

  8. keith Says:

    durlach@atonally.blithely” rel=”nofollow”>.…

    hello….

  9. Terrence Says:

    alecs@parapets.mores” rel=”nofollow”>.…

    thanks for information!…

  10. timothy Says:

    cortlandt@terraces.lustful” rel=”nofollow”>.…

  11. dean Says:

    reuben@homestead.arlens” rel=”nofollow”>.…

  12. sidney Says:

    strove@hardships.believe” rel=”nofollow”>.…