Installing Ubuntu server 20.04 LTS on a Netcup root server

By    John Garner on  Tuesday, September 21, 2021
Summary: Below is a step by step guide on how to install Ubuntu server 20.04 LTS on a Netcup root server

The below explanations assume that you have:

- An image of Ubuntu server (ex here : "ubuntu-20.04.3-live-server-amd64.iso")
- A VPS / root server with root access (ex here:   netcup RS   X000 root server)  ready for you to set it up
- An FTP client (ex here: FileZilla Pro / FileZilla) to upload your image
- An SSH client (ex here Putty)
- Optional: maybe a text / notepad doc so you can set up the commands, adjust, and just then copy and paste them

I'm sharing my experience here, and this may not map to what you need / want, but I hope this is useful as a step-by-step guide. I couldn't find anything like this on the Netcup site, but then their prices are really interesting, especially if you can grab it with a promotion.

  1. Download the latest version of Ubuntu (live) server here, choose an LTS version. In the below example, I am using the 'Focal Fossa' version 20.04.3 LTS.
  2. Set-up your server on Netcup so that you have the Ubuntu LTS image uploaded to the temporary "cd-rom" folder, (Note: you are granted FTP access to this temporary folder, and it is just to give you access to these image files so they can be loaded in your virtual CD/DVD drive, do not upload backups with sensitive data, or images including proprietary data etc. to this folder).
  3. Go into the "Media" tab, select "DVD drive" and at the bottom use the "Login data to FTP" to create an account with FileZilla using the ID and password to connect to the server with the hostname (IP address). Upload your image into.
  4. Go into the "Media" tab, select "DVD drive" and scroll down to "Own DVDs", here expand it and you should see the list of images available to you (ie that you uploaded) and specifically here I can see my file "ubuntu-20.04.3-live-server-amd64.iso" (see image below).
  5. Once you have selected the ISO image next to "attach DVD", clicking on the name of ISO image and selecting "set boot mode to DVD", (also add your SCP login password), at the top of the page you will see the message "To activate changes, the server has to poweroff and poweron". As you can see below, you can also install using one of the other official DVD images:
Netcup Control panel select DVD ISO
Netcup Control panel select DVD ISO
  1. I then restart the server by selecting the option "Powercycle" in the "Control" tab, which restarts the server. This means that (by default) your server will boot off the DVD and will start the installation process.
Netcup Control Panel Control Server tab
Netcup Control Panel Control Server tab
  1. You'll then see a message saying "Server Stopped" followed by "starting Server" which switches to "Server started" once the process has finished.
  2. You can now go to the main "General" tab and click on the VNC function that should be a small thumbnail of the current state of the server in the far right hand top part of the panel.

Selecting Your Language

Ubuntu Server LTS Setup Root Server 01 Keyboard Selection
Ubuntu Server LTS Setup Root Server 01 Keyboard Selection

Selecting your keyboard layout

Ubuntu Server LTS Setup Root Server 02 Keyboard layout
Ubuntu Server LTS Setup Root Server 02 Keyboard layout

Selecting your network configuration

Ubuntu Server LTS Setup Root Server 03 ethernet network
Ubuntu Server LTS Setup Root Server 03 ethernet network

Define a proxy if you need it (otherwise leave blank: default)

Ubuntu Server LTS Setup Root Server 04 proxy address
Ubuntu Server LTS Setup Root Server 04 proxy address

If you need to define an alternative archive mirror, do so at this point

Ubuntu Server LTS Setup Root Server 05 ubuntu mirror
Ubuntu Server LTS Setup Root Server 05 ubuntu mirror

For storage requirements, define it here. For example, you can use the Logical Volume Manager group approach here. This will allow you to increase the disk size later on or you can unselect "set up this disk as an LVM group". If you don't want to partition the disk by using the LVM group function, you can deselect it, and, for example, just select "Use an entire disk" only.

Ubuntu Server LTS Setup Root Server 06 part 1 entire disk LVG
Ubuntu Server LTS Setup Root Server 06 entire disk LVG

If you selected the LVM group option, you can select edit here to increase the size of the main allocated disk space by choosing edit on the menu par using the arrow keys:

Ubuntu Server LTS Setup Root Server 07 entire disk LVG allocation
Ubuntu Server LTS Setup Root Server 07 entire disk LVG allocation edit

The select the amount you want to allocate and best to leave some extra space for yourself, just in case you need it later on for an additional partition and save:

Ubuntu Server LTS Setup Root Server 08 entire disk LVG editing size
Ubuntu Server LTS Setup Root Server 08 entire disk LVG editing size

Choose Done once you have the correct configuration and settings

Ubuntu Server LTS Setup Root Server 09 entire disk LVG edited size.jpg
Ubuntu Server LTS Setup Root Server 09 entire disk LVG edited size.jpg

If anything was already there before you started the install you will be asked to confirm that you want to install as it will overwrite anything that was there previously:

Ubuntu Server LTS Setup Root Server 10 confirm overwite destruction
Ubuntu Server LTS Setup Root Server 10 confirm overwite destruction

Profile setup

You'll then be asked to create your profile which consists of the:
- your name
- servername
- username
- password x2

Ubuntu Server LTS Setup Root Server 11 server profile setup
Ubuntu Server LTS Setup Root Server 11 server profile setup

You can select to install OpenSSH to give you SSH functions (recommended)

Ubuntu Server LTS Setup Root Server 12 install openssh
Ubuntu Server LTS Setup Root Server 12 install openssh

Featured Server Snaps
You can, at this point, decide to install additional functions called Server Snaps. If in doubt these can be installed later fairly easily, so no need to install if you're not sure.

Ubuntu Server LTS Setup Root Server 13 add feaured server snaps
Ubuntu Server LTS Setup Root Server 13 add feaured server snaps

Once you click on 'Done' above the installation process will start

Ubuntu Server LTS Setup Root Server 14 installing
Ubuntu Server LTS Setup Root Server 14 installing

You will then see a message at the top that says 'Install Complete' once this process has completed

Ubuntu Server LTS Setup Root Server 15 installing complete
Ubuntu Server LTS Setup Root Server 15 installing complete

Then select 'Reboot Now' in order to restart the server and complete the process. Remember to detach the DVD/Image.

Ubuntu Server LTS Setup Root Server 16 reboot
Ubuntu Server LTS Setup Root Server 16 reboot
Ubuntu Server LTS Setup Root Server 17 detach DVD
Ubuntu Server LTS Setup Root Server 17 detach DVD
  1. Once you have finished installing, you'll see a message saying "Install complete !" (step 15 above). At the bottom, you can move down and select the "Reboot Now" option to see the installation complete and the server set itself up.
  2. If you still have the DVD set to boot mode (step 17 above), you will need to go back into your NetCup control panel and change that back by going into the "Media" tab and clicking on "DVD Drive", at the top of that section you need to click on "detach DVD". You can then go back to the VNC panel and press enter for the system to reboot without starting from the DVD.
  3. Once you have logged in using the 'username' and 'password' from above, you should switch to root command's by typing "sudo -s" if you need to change any of the server core settings.
  4. You will be asked for the [sudo] password for 'username' and once the password is verified, you'll be granted root privileges. If this is successful, you'll see the first part of server response switch from "username@servername" to "root@servername":
It would look something like this for example:

 myusername@myservername:~$ sudo -s

 [sudo] password for myusername: 

 root@myservername:/home/myusername#

Next steps

It would a good idea to set-up SSH keys on the server and make sure that they work (before deactivating the password option to only use keys)

Article written by  John Garner

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Posts

Check out the most recent posts from the blog: 
Sunday, September 24, 2023
The reliability & accuracy of GenAI

I question the reliability and accuracy of Generative AI (GenAI) in enterprise scenarios, particularly when faced with adversarial questions, highlighting that current Large Language Models (LLMs) may be data-rich but lack in reasoning and causality. I would call for a more balanced approach to AI adoption in cases of assisting users, requiring supervision, and the need for better LLM models that can be trusted, learn, and reason.

Read More
Saturday, September 23, 2023
From Chatbots to Reducing Society's Technical Debt

I discuss my experience with chatbots, contrasting older rules-based systems with newer GenAI (General Artificial Intelligence) chatbots. We cannot dismiss the creative capabilities of GenAI-based chatbots, but these systems lack reliability, especially in customer-facing applications, and improvements in the way AI is structured could lead to a "software renaissance," potentially reducing society's technical debt.

Read More
Friday, June 16, 2023
The imbalance of power in the AI game: in search of the common good

The article discusses the contrasting debate on how AI safety is and should be managed, its impact on technical debt, and its societal implications.
It notes the Center for AI Safety's call for a worldwide focus on the risks of AI, and Meredith Whittaker's criticism that such warnings preserve the status quo, strengthening tech giants' dominance. The piece also highlights AI's potential to decrease societal and technical debt by making software production cheaper, simpler, and resulting in far more innovation. It provides examples of cost-effective open-source models that perform well and emphasizes the rapid pace of AI innovation. Last, the article emphasises the need for adaptive legislation to match the pace of AI innovation, empowering suitable government entities for oversight, defining appropriate scopes for legislation and regulation, addressing ethical issues and biases in AI, and promoting public engagement in AI regulatory decisions.

Read More
Thursday, June 1, 2023
Japan revises copyright laws for AI

Japan has made its ruling on the situation between Content creators and Businesses. Japanese companies that use AI have the freedom to use content for training purposes without the burden of copyright laws. This news about the copyright laws in Japan reported over at Technomancers is seen as Businesses: 1 / Content Creators: 0 The […]

Read More
crossmenuarrow-down