AIRIX.NET
  • Home
  • Technology
      • Back
      • My Projects
  • Tool Quick Links
Thursday 9 February 2023

Set host name on Ubuntu Server

Details
Category: Linux
Published: 31 December 2021

To change the computer name on Ubuntu, be it on your home server or an Ubuntu server in the cloud, you can proceed as follows:

  1. Type the hostnamectl command :
    sudo hostnamectl set-hostname newNameHere
    Delete the old name and setup new name.
  2. Next, edit the /etc/hosts file:
    sudo nano /etc/hosts
    Replace any occurrence of the existing computer name with your new one.
  3. Reboot the system to changes take effect:
    sudo reboot

Log Files under Linux - Manage and Monitor

Details
Category: Linux
Published: 13 December 2021
  • Linux

The Linux system and many Linux based programs write their status messages into a log file. Read here about helpful commands under Linux to view and manage these files.

Read more: Log Files under Linux - Manage and Monitor

AIRIX.NET
© The AIRIX.NET 2023
Site presented by The AIRIX.NET
  • Terms of Use
  • Images & Photos
  • Privacy Policy & Cookies
Back to top

The AIRIX.NET is not responsible for the content of external linked sites. By using this website or our services you accept our Terms of Use.