Tony Chung Blog

此部落格是作為工作紀錄之用, 免得到處搜尋, 這裡試一下, 那裏試一下, 浪費寶貴時間.

2017年8月1日 星期二

Change computer name (Ubuntu)

Refer to https://askubuntu.com/questions/9540/how-do-i-change-the-computer-name

Step 1: Edit /etc/hostname
    # vim /etc/hostname
Step 2: Edit /etc/hosts
    # vim /etc/hosts
Step 3:
    # hostnamectl set-hostname 'new-hostnam'
Step 4: Restart Terminal
張貼者: TonyChung 於 清晨7:23
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

關於我自己

TonyChung
檢視我的完整簡介

網誌存檔

  • ►  2022 (11)
    • ►  3月 (10)
    • ►  1月 (1)
  • ►  2021 (4)
    • ►  12月 (1)
    • ►  11月 (1)
    • ►  10月 (2)
  • ►  2020 (3)
    • ►  12月 (2)
    • ►  11月 (1)
  • ►  2019 (10)
    • ►  11月 (2)
    • ►  9月 (1)
    • ►  7月 (2)
    • ►  6月 (1)
    • ►  3月 (3)
    • ►  2月 (1)
  • ►  2018 (9)
    • ►  12月 (2)
    • ►  8月 (1)
    • ►  7月 (1)
    • ►  3月 (3)
    • ►  1月 (2)
  • ▼  2017 (38)
    • ►  12月 (1)
    • ►  11月 (13)
    • ►  10月 (6)
    • ►  9月 (6)
    • ▼  8月 (10)
      • USB compatibility between 2.0 & 3.x
      • Optimization on SSD
      • crontab usage
      • VMware is running extremely slow
      • Thunderbird setting for Hibox
      • Samba installation and configuration
      • Wine crashing with NVIDIA GeForce GTX 750 Ti
      • Add a new hard drive to CentOS 7
      • 備份LINE電腦版的歷史訊息與聊天記錄
      • Change computer name (Ubuntu)
    • ►  7月 (2)
輕柔雅緻主題. 技術提供:Blogger.