Linux Server Install: Part 1

Laxfed Paulacy
2 min readJan 5, 2023

Pick a Linux distribution, install, update, and upgrade it, bruh.

Return to Series Page

Install Ubuntu Server

To install Ubuntu 20.04 Server, you will need to perform the following steps:

  1. Download the Ubuntu 20.04 Server ISO image from the Ubuntu website (https://ubuntu.com/download/server).
  2. Create a bootable USB drive or DVD using the ISO image.
  3. Boot your server from the bootable media.
  4. Follow the prompts to install Ubuntu. You will need to select your language, location, and keyboard layout, as well as configure your network settings and create a user account.
  5. During the installation process, you will also be asked to partition your hard drive. It is recommended to use the “Guided — use entire disk” option to let the installer partition the disk for you.
  6. Once the installation is complete, remove the bootable media and reboot the server.
  7. After the reboot, log in to your server using the user account you created during the installation process.

While this tutorial will be using Ubuntu 20 Server, but the commands should pretty work with most other Linux distributions.

After installing Ubuntu 20.04 Server, there are a few things you may want to do to set up your server and get it ready for use.

Update and Upgrade the Distribution

sudo apt update && sudo apt upgrade -y

Take a break, this might take a while…

Additional steps that this tutorial will go over include, but are not limited to the following

  1. Install additional software: Depending on your intended use for the server, you may want to install additional software. For example, if you want to set up a web server, you might install Apache or Nginx. You can use the apt command to install packages from the default repositories.
  2. Configure the firewall: Ubuntu comes with a firewall called UFW (Uncomplicated Firewall). You can use this tool to allow or block incoming and outgoing traffic to your server.
  3. Set up remote access: If you want to access your server remotely, you will need to set up SSH (Secure Shell). This will allow you to connect to your server from another computer using a terminal program.
  4. Configure backups: It is important to regularly back up your data to protect against data loss. There are many tools available for creating backups on Ubuntu, including rsync and tar.

These are just a few suggestions for things you might want to do after installing Ubuntu 20.04 Server. The specific steps you take will depend on your specific needs and goals for the server. Over the next series of posts I will cover the things that I do when setting up a Linux Distribution Server.

Next

--

--

Laxfed Paulacy

Delivering Fresh Recipes, Crypto News, Python Tips & Tricks, and Federal Government Shenanigans and Content.