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
沒有留言:
張貼留言