Share on Social Media

Follow our detailed guide to install Ubuntu Server 18.04 LTS with easy-to-understand screenshots. Step-by-step instructions to help you set up a reliable server environment. #centlinux #ubuntu #linux

What is Ubuntu Server?

Ubuntu Server is a version of the Ubuntu operating system designed specifically for use on servers. It is optimized for performance, security, and ease of use, making it a popular choice for various server-based applications. Here are some key aspects of Ubuntu Server:

Key Features

  1. Performance: Optimized for running server applications, Ubuntu Server is built to handle high workloads and deliver efficient performance.
  2. Security: Comes with robust security features, including regular updates and security patches. It also includes AppArmor for application security and can be configured with additional security measures like firewalls and intrusion detection systems.
  3. Stability and Reliability: Ubuntu Server is known for its stability and long-term support (LTS) versions, which provide security updates and support for five years from the release date.
  4. Ease of Use: Designed with user-friendliness in mind, Ubuntu Server provides a straightforward installation process and comprehensive documentation. It also supports various management tools and interfaces, such as Webmin and Cockpit, to simplify server administration.
  5. Extensive Package Repository: Includes access to a vast repository of software packages, allowing administrators to easily install and configure server applications like web servers (Apache, Nginx), database servers (MySQL, PostgreSQL), and more.
  6. Cloud and Virtualization Support: Optimized for cloud deployments and virtualization, Ubuntu Server works seamlessly with major cloud providers like AWS, Azure, and Google Cloud. It also supports containerization technologies like Docker and orchestration tools like Kubernetes.
  7. Flexible and Customizable: Ubuntu Server can be customized to meet specific requirements, whether you’re running a small home server or a large enterprise data center.

Common Uses

  • Web Hosting: Hosting websites and web applications using web servers like Apache, Nginx, or Tomcat.
  • Database Management: Running database servers such as MySQL, PostgreSQL, or MongoDB.
  • File and Storage Services: Providing network-attached storage (NAS) or file-sharing services.
  • Mail Services: Hosting email servers and services.
  • Virtualization: Running virtual machines using KVM, QEMU, or other virtualization technologies.
  • Containerization: Deploying containerized applications using Docker and Kubernetes.
  • Development and Testing: Setting up development environments and continuous integration/continuous deployment (CI/CD) pipelines.
  • Network Services: Running DNS, DHCP, VPN, and other network services.

Conclusion

Ubuntu Server is a powerful and versatile operating system tailored for server use, offering a balance of performance, security, and ease of management. Its extensive features and broad support make it suitable for a wide range of server applications, from small businesses to large enterprises.

In this Lab, you will learn how to install Ubuntu Server 18.04 LTS with screenshots. We are using a virtual machine in this lab, but the same steps can be used for installing Ubuntu Server 18.04 LTS on bare metal system.

Ubuntu Server 18.04 LTS does not include a GUI (Graphical User Interface), therefore sysadmins have to perform most of the administration tasks from CLI (Command Line Interface). Therefore, it is advisable for the new sysadmins to read Mastering Ubuntu Server: Master the art of deploying, configuring, managing, and troubleshooting Ubuntu Server 18.04, 2nd Edition (PAID LINK) by Packt Publishing.

Recommended Online Training: Learn Bash Shell in Linux for Beginners

745772 0021

Ubuntu Server 18.04 LTS Requirements

The recommended system requirements to install Ubuntu Server 18.04 LTS are:

  • CPU – 1 Ghz
  • Memory – 1 GB
  • Storage – 1.5 GB

Environment Specification

We are using a virtual machine with following specification.

  • CPU – 3.4 Ghz (2 cores)
  • Memory – 2 GB
  • Storage – 40 GB

Install Ubuntu Server 18.04 LTS

Ubuntu Server 18.04 LTS is available to download from Ubuntu official website.

After downloading Ubuntu Server 18.04 ISO, attach it in the DVDROM of the virtual machine.

Start the virtual machine.

The installer will take you to the Language selection page.

Ubuntu Server - Preferred Language
Ubuntu Server – Preferred Language

Select your preferred language and press Done.

Ubuntu Server - Keyboard Configuration
Ubuntu Server – Keyboard Configuration

Select your Keyboard layout here. You can detect your keyboard layout by using “Identify keyboard” option. You will be asked a couple of questions and the auto-detection tool will identify your keyboard.

Press Done after selecting the right keyboard layout.

Ubuntu Server - Network Connections
Ubuntu Server – Network Connections

The installer will automatically configures a DHCP assigned network for your Ubuntu server. However, you can configure manual IP address and related settings according to your requirement form this screen.

There is a “Create bond” option available on this screen. By using this option you can configure a network bond (Link aggregation) if your Server has more than one network interfaces.

Press Done after configure your network settings.

Ubuntu Server - Configure Proxy
Ubuntu Server – Configure Proxy

If your Ubuntu machine requires a proxy server to connect to Internet, you can provide the details on this screen.

Press Done to continue to next screen.

Configure Ubuntu Archive Mirrors
Configure Ubuntu Archive Mirrors

If you want to use a non-default archived mirror, then enter the details here, otherwise continue with the default archived mirror and press Done.

Ubuntu Filesystem Setup 1
Ubuntu Filesystem Setup 1

Select the partitoning options here.

You can select default partioning scheme, LVMS or manual partitioning from this screen.

We are selecting “Use An Entire Disk And Set Up LVM” option.

Press <ENTER> on the selected option to continue to next screen.

Ubuntu Filesystem Setup 2
Ubuntu Filesystem Setup 2

Select the disk that you want to use for creating partitions and press <ENTER>.

Ubuntu Filesystem Setup 3
Ubuntu Filesystem Setup 3

The installer will display the partition layout according to predefined template. You can further customize the partition layout here.

Press Done after customizing the partition layout.

Ubuntu Filesystem Setup 4
Ubuntu Filesystem Setup 4

Ubuntu installer will ask you to confirm the required action. Because this is a destructive action and it will remove all existing data and partitions on your selected disk.

Since, we are using a virtual machine therefore, there is no need to worry about the data lost.

Press “Continue” to create partitions and LVMS.

Ubuntu Server - Profile Setup
Ubuntu Server – Profile Setup

Create an admin user on this screen.

After configuring user profile, Press Done to continue.

Ubuntu Server - SSH Setup
Ubuntu Server – SSH Setup

Select “Install OpenSSH Server” for remote administration of your Ubuntu Server. Leave the other options to defaults and press Done to continue.

Ubuntu Featured Server Snaps
Ubuntu Featured Server Snaps

If you want to install additional server environments on your Ubuntu machine, then you can select the available snaps from this screen.

We are not selecting any snap here, because, as a best practice we always prefer to install any software on server if and only if it is required, thus enforcing the concept of Bastion system.

Press Done to continue.

Ubuntu Install Complete!
Ubuntu Install Complete!
Ubuntu Installation complete!
Ubuntu Installation complete!

After installation click on Reboot Now.

Ubuntu Server Reboot
Ubuntu Server Reboot

Press <ENTER> to reboot.

Ubuntu Server Bash Prompt
Ubuntu Server Bash Prompt

Login to the CLI shell of Ubuntu Server.

Final Thoughts

Installing Ubuntu Server 18.04 LTS can be straightforward with the right guidance, and our step-by-step guide with screenshots ensures a smooth setup process. Whether you’re setting up a server for the first time or need a reliable reference, our comprehensive instructions will help you get your server up and running efficiently.

For a detailed guide with screenshots on how to install Ubuntu Server 18.04 LTS, check out my Fiverr gig: Install & Configure Ubuntu Server. I provide expert support to ensure your installation process is successful and hassle-free.

If you have any questions or need additional assistance, feel free to reach out!

Leave a Reply