Ubuntu Server 22.04 LTS (Jammy Jellyfish) is a robust and reliable operating system perfect for server environments. Follow this step-by-step guide to install Ubuntu Server 22.04 LTS.
Step 1: Download Ubuntu Server 22.04 LTS
- Go to the official Ubuntu Server download page.
- Click on the Download button for Ubuntu Server 22.04 LTS.
Step 2: Create a Bootable USB Drive
You need a bootable USB drive to install Ubuntu Server. Use tools like Rufus (Windows) or Etcher (Linux/Mac) to create one.
Using Rufus on Windows:
- Download and install Rufus.
- Insert your USB drive and open Rufus.
- Select the Ubuntu Server ISO file you downloaded.
- Set the Partition scheme to GPT and File system to FAT32.
- Click Start to create the bootable USB drive.
Using Etcher on Linux/Mac:
- Download and install Etcher.
- Insert your USB drive and open Etcher.
- Select the Ubuntu Server ISO file and your USB drive.
- Click Flash to create the bootable USB drive.
Step 3: Boot from USB Drive
- Insert the bootable USB drive into your server.
- Restart the server and enter the BIOS/UEFI settings (usually by pressing
F2
,F12
,Delete
, orEsc
during startup). - Change the boot order to prioritize the USB drive.
- Save the changes and exit the BIOS/UEFI settings.
Step 4: Start the Installation Process
- When the system boots from the USB drive, you’ll see the Ubuntu Server installer menu. Select Install Ubuntu Server and press Enter.
- Choose your preferred language and press Enter.
- Select your keyboard layout and press Enter.
Step 5: Configure Network
- The installer will attempt to configure the network automatically via DHCP. If you want to configure the network manually, select Network configuration and follow the prompts to set up your network.
Step 6: Configure Storage
- Choose your storage configuration. You can select Use an entire disk for automatic partitioning or Custom storage layout for manual partitioning.
- If using an entire disk, select the disk to install Ubuntu Server on and press Enter.
- Confirm the changes and press Done to continue.
Step 7: Set Up User and System
- Enter your server’s profile information:
- Your name
- Your server’s name
- A username
- A password (and confirm it)
- Press Enter to continue.
Step 8: SSH Setup
- Choose whether to install OpenSSH server:
- Select Install OpenSSH server if you need remote access to your server.
- Press Enter to continue.
Step 9: Featured Server Snaps
- Choose any additional server snaps (software packages) to install. These are optional and can be installed later if needed.
- Press Enter to continue.
Step 10: Install Ubuntu Server
- The installation process will begin. This may take some time depending on your hardware.
- Once the installation is complete, you will see a prompt to Reboot your system.
Step 11: Post-Installation Setup
- Remove the USB drive and press Enter to restart the server.
- Log in with your username and password.
- Update your system to ensure you have the latest packages and security updates.
sudo apt update
sudo apt upgrade -y
You have successfully installed Ubuntu Server 22.04 LTS on your system. Your server is now ready to use for hosting applications, websites, and other services. Enjoy the stability and performance of Ubuntu Server!