%general-entities; ]> Creating the /etc/hosts file /etc/hosts localnet /etc/hosts network /etc/hosts If a network card is not going to be configured, create the /etc/hosts file by running: cat > /etc/hosts << "EOF" # Begin /etc/hosts (no network card version) 127.0.0.1 [<value of HOSTNAME>.example.org] [value of HOSTNAME] localhost # End /etc/hosts (no network card version) EOF If a network card is to be configured, create the /etc/hosts file by running: cat > /etc/hosts << "EOF" # Begin /etc/hosts (network card version) 127.0.0.1 localhost [192.168.1.1] [<value of HOSTNAME>.example.org] [value of HOSTNAME] # End /etc/hosts (network card version) EOF