如何更改 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