Ubuntu Linux: change hostname








  1. edit /etc/hostname:
    wilsons-pc
  2. edit /etc/hosts:
    192.168.20.8 wilson-pc
  3. restart hostname service:
    /etc/init.d/hostname restart



No comments:

Post a Comment