< Previous | Contents | Next >
7.5.3. Configuring the system hostname
During the boot process, the file /etc/hostname is used for establishing the system's hostname. Create the /etc/hostname file and enter a hostname by running:
echo "<lfs>" > /etc/hostname
echo "<lfs>" > /etc/hostname
<lfs> needs to be replaced with the name given to the computer. Do not enter the Fully Qualified Domain Name (FQDN) here. That information is put in the /etc/hosts file.