UbiKann - Empowering Ubiquity

Installing Ubuntu server 20.04 LTS on a Netcup root server

installing ubuntu server netcup computer programming

installing ubuntu server netcup computer programming

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
  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
  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

Selecting your keyboard layout

Ubuntu Server LTS Setup Root Server 02 Keyboard layout

Selecting your network configuration

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

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

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 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 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

Choose Done once you have the correct configuration and settings

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

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

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

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

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

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

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 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)


Warning: Trying to access array offset on value of type bool in /home/ubikann/public_html/wp-content/plugins/amp-analytics/amp-analytics.php on line 65
Exit mobile version