1. Home
  2. /
  3. Stabile Documentation
  4. /
  5. Guides
  6. /
  7. Install a Ubuntu Server

Install a Ubuntu Server

In this guide we will install a Ubuntu Server. Your Engine can download the Ubuntu stack from the registry, even if your engine is not linked with the registry.  More stacks are available from the registry, if you link your engine.

Objectives

  • Install a Ubuntu Server and log into it

Prerequisites

  • A working Stabile installation

Source code

  • The source code responsible for generating the Ubuntu Server stack is available in our Git repository.

Install a Ubuntu Server

The Ubuntu server you end up with, when you install the Ubuntu stack, is a relatively lean Ubuntu installation without graphical UI. It comes with a built-in web UI, which integrates with Stabile – the aim is to provide a more seamless experience between infrastructure management and management of virtual servers. To inspect what is added on top of the standard Ubuntu distribution, feel free to inspect the stack source code.

Step 1: Download masters

In order to install a stack, the master images belonging to the stack must be available on the engine you are installing on. To download the master images belonging to the Ubuntu Stack, simply go to the  dashboard in the web UI and tick “Download masters”. You should get an alert when the images begin downloading, and another once they are downloaded.

Step 2: Install a the Ubuntu Bionic stack

Go to the dashboard and click “Install Stack”. This will open the install dialog. From the dropdown select “Ubuntu Bionic”, give your new server a name, and then simply click “Install”. The dialog should now show a progress bar while the server is being installed, and the server’s built-in UI is loaded.

Step 3: Set password and allow access from your IP address

Once the built-in UI is loaded, the first thing you should do is set a password. This will allow you to access your server’s command line. Simply type in a good strong password, and click “Set!”. If you want to access your server over ssh or access the Webmin web UI, which is bundled with the server, click on the IP address to the right of “your current IP is” and click “Set!” – this will add your current IP address to the IP addresses the server can be accessed from.

Step 4: Log in to your server

Now click on the button labeled “Go” in the upper right corner and then click on “to the online terminal”. This will launch a terminal in a separate tab. Log in to your server with username “stabile” and the password you just set.

Step 5: Remove your server (optional)

Once you no longer have any use for the server, you can uninstall it. This will remove every trace of the server and associated images, network configuration, etc. Obviously you should only do this, if there is no data you want to keep around. Launch the built-in web UI by selecting the server in the Stabile Dashboard and clicking the green “Manage” button. Now click the blue button with a gear icon in the upper right corner, and click “Uninstall this stack”. Once again – this will delete the server and all data associated with the server!

 

Leave a Comment

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

*






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