Aller au contenu
Infogérance Linux Debian en France

Infogérance Linux Debian en France

Kogitae : Ingéniérie de l'hébergement Internet

  • Accueil
  • Parcours
  • Presse
  • Portfolio
  • Blog

Change Hostname Permanently on Debian or Ubuntu « AdminUser.wOrdpress.cOm

  • Accueil » Blog » Change Hostname Permanently on Debian or Ubuntu « AdminUser.wOrdpress.cOm
DansDebian

Change Hostname Permanently on Debian or Ubuntu « AdminUser.wOrdpress.cOm

Change Hostname Permanently on Debian or Ubuntu

Posted February 10, 2008 by SiiN in debian, ubuntu. Tagged: debian, Linux, ubuntu. 4 Comments

Debian based systems use the file /etc/hostname to read the hostname of the computer at boot time and set it up using the init script /etc/init.d/hostname.sh

We can edit the file /etc/hostname and change the hostname and then run:

/etc/init.d/hostname.sh start

Steps:

1. sudo gedit /etc/hostname

2. Save the file with the hostname you like to set

3. sudo /etc/init.d/hostname.sh s

viaChange Hostname Permanently on Debian or Ubuntu « AdminUser.wOrdpress.cOm.

chanegr-hostname-ubuntu change-hostname-and-save-ubuntu change-hostname-permanently-ubuntu change-hostname-ubuntu changer-hostname-debian-squeeze changer-nom-de-machine-ubuntu debian debian-squeeze-change-hostname etchostname-save etcinit-dhostname-sh hostname hostname-debian-squeeze hostname-linux set-hostname-debian-5 squeeze-hostname ubuntu-change-hostname-2011 ubuntu-etc-hostname ubuntu-hostname ubuntu-sh-etchostname ubuntu-sh-hostname

Étiquettes

administrateur-systeme-freelance (9) amazon (3) apache (14) asterisk (9) auth (3) bash (6) blog-administrateur-systeme (14) blog-administration-systeme (4) collectd (5) cpu (3) debian (30) dovecot (4) duplicate (3) f (6) freelance-asterisk (3) google (3) infogerance-linux (5) infogérance (4) ipv6 (7) kernel (4) kogitae (30) kogitae-com (3) kogitae-fr (6) lamp-or-linux-or-developpement-web-and-apache-or-php-or-mysql-or-adobe-or-eclipse-or-zend-or-mozilla-or-firefox (17) lenny (4) lighttpd (5) limit (4) linux (26) mail (7) mdadm (6) mysql (14) openvz (9) optimiser (4) php (5) postfix (11) privvmpages-openvz (3) pxe (3) raid (3) SEO (5) ssh (8) ssl (3) test (3) voip (4) wordpress (6) www-kogitae-fr (7)