Installation

Before you start

This guide requires the use of the Windows Subsystem for Linux (WSL). The next section will elaborate more on that, but it is wise to get familliar with the elements of the WSL terminal first:

image

Element Purpose
username Linux has users, just like Windows. This is the name you chose when you first set up WSL.
ComputerName When Windows is installed to a PC or laptop, it assigns a name to it. In Linux, the name of the pc is shown after the username with an @ in between.
~/DirectoryName Whenever you make/do anything in WSL, it happens in a directory/folder. The blue text shows which folder is currently active.
$ Anything you type will appear after this dollar sign. In this guide several commands will be supplied to copy in the WSL window, enter those here.

NOTE: In WSL, copy and paste are not assigned to CTRL+C and CTRL+V. If you want to paste something in WSL, you have to press the right mouse button. Then press Enter to confirm.

Preparation

If you are an average user with no prior Linux experience, you generally want to use the Windows Subsystem for Linux (WSL). WSL is a Windows 10 tool that allows users to run a light instance of Linux on their own computer without having to set up a complicated virtual machine or a separate server running Linux. In order to use Talos you will need the following:

For a guide on getting this ready I suggest following the manual method found in this guide. Make sure to select Ubuntu 18.04 in step 6.

DISCLAIMER: WSL is a product made by the developers at Microsoft, it has nothing to do with Talos or it’s developers. As such, we cannot provide support for problems encountered during the installation process of WSL.

Once you have everything ready start Ubuntu by opening the Start Menu and typing in Ubuntu 18.04 and selecting the first option. Follow instructions until you reach a prompt. To make sure your system is up to date run the first command, then the second:

sudo apt-get update
sudo apt-get upgrade

NOTE 1: As mentioned above, copy each command and paste it into WSL by clicking the right mouse button on the WSL window.

NOTE 2: In Linux, administrator accounts are referred to as super-users. The first word of each line, sudo, stands for “super-user do”. Everything written after this word is executed with administator privileges. If you are asked for the password you defined when setting up WSL, please do so.

Automatic script

Because this guide assumes no prior knowledge of Linux, we wrote a small script that will install Talos in the current user’s home directory.

NOTE: In Linux, home directories are user-specific directories located in /home/your-username/. In my instance, as my user is named holtder, my home directory is /home/holtder/. For ease of use, linux has a wildcard to quickly access the home directory of the user that is currently logged in, the tilde (~).

Starting the script

From the WSL prompt, use the following command:

source <(curl -s https://raw.githubusercontent.com/Holtder/Talos/master/installtaloswsl.sh)

You will be presented with the following:

image

Type “1” and press “Enter” to confirm.

Installing prerequisites

Next you will be presented with the following prompt:

image

If you have read and done everyting in this guide up to this point, you can accept this prompt without worries. If you forgot to use the update/upgrade commands, this script will crash and the Ubuntu windows will close.

Creating the directory and downloading the files

The next step the script will perform for you is the downloading (cloning) of all the relevant files you need for running talos and placing them in the right folder. Read the prompt as presented and accept.

image

Let the installer run it’s course, it will be completed once you see the following text:

image

Congratulations, Talos is now successfully installed on your instance of Ubuntu.

Starting Talos

In WSL, type the following:

talos-server

You will be presented with the same choice as when you first started the installer, now choose option “2” and press Enter. Once you see the following screen, Talos has initialized!

image

Open a browser of your preference, such as Google Chrome, Internet Explorer or Mozilla Firefox, and enter the following address:

127.0.0.1:5000

Closing Talos

In WSL, simply press Ctrl+C to close the Talos server.

NOTE: In Linux, the C in Ctrl+C does not stand for ‘Copy’, but for ‘Close’