How to install SUSE Linux

Subscribe
Voiced by Amazon Polly

Setting up the VM

In this article I will show how to install SUSE Linux. In my network I have KVM on a RHEL 7.6 Server for my virtual servers. Opening up virt-manager (which is being deprecated as of RHEL 8) we will choose Local install media (ISO image or CDROM). I had previously downloaded the ISO into a directory on the server that hosts all the ISO’s I use.

KVM on RHEL 7.6 for installing SUSE Linux.

Choosing browse I select the SLE-15-Installer-DVD-x86_64 image.

choosing the SUSE Linux ISO

For this test server, I went with 2 GBs of RAM and 2 CPUs.

Setting the memory and CPUs

As this is just a test server, I just went with a 25GiB hard disk. I have an upcoming project of moving all my virtual images to my NAS, as the server is running out of space for further virtual machines.

Setting up 25 GiBs of storage

Next is to give the Server a name, this is just within the KVM environment and is not related to the hostname or DNS naming. I connected the server to my core network on virbr0.

Naming the SUSE installation and defining the network

Starting the SUSE Linux Installation

Once the server boots from the ISO you are provided various options. For this we will go with Installation.

Choosing installation for installing SUSE Linux.

The installation will begin loading the Linux Kernel next.

Loading the Linux Kernel

Updating the Installer

As the ISO is just 600 MBs, most of the installation will be downloaded over the Internet.

Updating the Installer

We can then choose our Language, and Keyboard layout. Both default for English. Before you continue you need to choose which product you are going to install. The options are SUSE Linux Enterprise Server 15, SUSE Linux Enterprise High-Performance Computing 15, SUSE Linux Enterprise Server for SAP Applications 15, and SUSE Linux Enterprise Desktop 15.

Choosing the product to install SUSE Linux

Next is the obligatory license agreement, check on agree to continue.

The agreement

The installation will then perform a System Probe.

Probing the system

Registration

Next, we come upon the registration. You can get a 60 day free trial of SUSE Linux.

Registration with SUSE

Next, we are given the option of enabling repositories that allow us to update our server over time. You will want to do this, as we should always keep our operating systems up to date.

Enabling the repos

Enabling extentions and modules

SUSE allows you to add additional exertions and modules to expand on your base installation. Chose what works for your enviornment and then proceed.

Setting up the extensions and modules

Next we can add more products by attaching it via a number of options as shown below.

Adding additional products

Network Settings

You can leave the networking to default if you wish, or click on the Network Configuration and manually configure the network settings.

Network settings

I went with SUSE for the hostname, my domain is home.therootuser.com, and my DNS server is 192.168.1.53.

setting up the hostname and DNS servers.

On the routing tab I specified the default IPv4 Gateway, and picked the device that connects to this gateway, which is my eth0 device.

Setting up the routing

Installation begins

Once done, we can start the installation. This process takes some time, so sit back and relax.

Installing SUSE Linux
Performing Installation

Once finished, the system will reboot on its own, or you can click on OK.

The server reboots when done

Initial boot of SUSE Linux

After the server reboots you’ll see the SUSE boot screen.

SUSE boot menu

By default you will not be able to SSH into your server, so lets open up the firewall to allow us access.

# firewall-cmd --permanent --add-service=ssh
# firewall-cmd --reload
Enable ssh on the server via firewall-cmd

Updating the Server

Just to verify, let’s do an update.

# zypper update

The server was just installed, so there are no updates at this time.

Updating the SUSE server

Installing screenfetch

I like having screenfetch, so let’s use this as an example on installing software.

# zypper addrepo https://download.opensuse.org/repositories/utilities/SLE_15/utilities.repo
adding the repo to install screenfetch
# zypper refresh
refreshing the repos
# zypper install screenfetch
zypper install screenfetch

After the installation is finished we can test out the program.

# screenfetch
running screenfetch

Final steps on installing SUSE Linux

Wrapping things up, just running a few commands to check our hostname and IP address.

# ip addr
# hostnamectl status
Verifying IP address and hostname on SUSE server.

At this point I have just installed SUSE Enterprise Linux. My main reason is just wanting to see the differences. In the few seconds of using SUSE two things I liked is:

  1. SSH is blocked by default
  2. When you log in as root, the prompt turns red.

In the past, I have mainly used Red Hat, Fedora, and CentOS. So I’m looking forward to seeing what differences are in SUSE.

Share

Ivan Windon

Ivan Windon is a Lead Engineer at Verizon Enterprise Solutions. Ivan is actively engaged in Cloud Technologies with AWS, Google, and Azure. Ivan has extensive experience with Linux and Windows administration, DNS, Networking, IDM, and Security. In his free time, he enjoys being with his wife and two children. The family enjoys hiking, and traveling when able. His favorite locations are Yosemite NPS, and San Francisco, California.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: