如何更改 Linux 作業系統的主機名稱(hostname)?
主機名稱(hostname)是人類用來識別電腦主機的名稱,在電腦網路中又稱為節點名稱(nodename)。就像是替寵物命名一樣,我們也可以替自己的電腦隨意地進行命名。在安裝 Linux 作業系統的時候,通常就會先指定好主機名稱,這個主機名稱在作業系統安裝完後是可以更改的,那麼要怎麼去更改它呢?
MagicLen · https://magiclen.org
本站也提供简体中文版。切换到简体中文版
分類
作業系統的使用教學與原理,涵蓋 Linux、Windows、macOS 與 Android 等系統的安裝、設定與問題排除,也探討作業系統的運作原理。
共 690 篇文章
主機名稱(hostname)是人類用來識別電腦主機的名稱,在電腦網路中又稱為節點名稱(nodename)。就像是替寵物命名一樣,我們也可以替自己的電腦隨意地進行命名。在安裝 Linux 作業系統的時候,通常就會先指定好主機名稱,這個主機名稱在作業系統安裝完後是可以更改的,那麼要怎麼去更改它呢?
Which of the following Samba services handles the membership of a file server in an Active Directory domain? A. winbindd B. nmbd C. msadd D. admemb E. samba
Which of these tools, without any options, provides the most information when performing DNS queries? A. dig B. nslookup C. host D. named-checkconf E. named-checkzone
Which of the following statements is true regarding the NFSv4 pseudo file system on the NFS server? A. It must be called /exports B. It usually contains bind mounts of the directory trees to be ex...
Which doveadm sub-command displays a list of connections of Dovecot in the following format? (Specify ONLY the command without any parameters.) username # proto (pids) (ips) usera ...
Which OpenLDAP client command can be used to change the password for an LDAP entry? (Specify ONLY the command without any path or parameters.)
After running ssh-keygen and accepting the default values, which of the following files are changed or created? (Choose two.) A. ~/.ssh/id_rsa.key B. ~/.ssh/id_rsa.pub C. ~/.ssh/id_rsa.prv D. ~/...
Which of the following options are valid in /etc/exports? (Choose two.) A. rw B. ro C. rootsquash D. norootsquash E. uid
What is the name of the root element of the LDAP tree holding the configuration of an OpenLDAP server that is using directory based configuration? (Specify ONLY the element's name without any addition...
Which Apache HTTPD configuration directive is used to specify the method of authentication, e.g. None or Basic? A. AuthUser B. AllowedAuthUser C. AuthType D. AllowAuth