We already saw a tutorial about how to manually install your Turtl Server in Ubuntu, but there is a faster and lighter method to get at the same result, for this we have installed locally a turtl server in Ubuntu Server 16 LTS,
First : Install Ubuntu Server or Ubuntu (Both work, but as an unique server for turtl we will use the Ubuntu Server)
Second : Install Docker
Update apt and add the key and repo
The first thing to do is update apt. To do this, open a terminal window and issue the command sudo apt-get update. Once that finishes, a new GPG key must be added for the repository used to install Docker. To add the new key, issue the following command:
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
The next step is to add the Docker repository. From the terminal window, create the new file with the command sudo nano /etc/apt/sources.list.d/docker.list and add the following contents:
deb https://apt.dockerproject.org/repo ubuntu-xenial main
Save and close that file. Once again, update apt with the command sudo apt-get update.
Install the dependencies
Before we install Docker, there are a couple of dependencies that must be taken care of—these can all be handled with a single command. Go back to your terminal window and issue the following:
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual
You’re ready to install Docker.
Installing, starting, and testing Docker
Docker can now be installed with a single command. From the terminal, issue the following:
sudo apt-get install docker-engine
When the installation completes, you’ll want to add your user to the Docker group with the command:
sudo usermod -aG docker $USER
Once your user has been added, you can run the docker command as your standard user.
In order to run a Docker command, you must first fire up Docker with the command sudo service docker start. You can now test to make sure Docker is installed and running properly by downloading the hello-world test image. From the terminal window, issue the command docker run hello-world. The hello-world image will download and run.
Third : Download and Clone the Git TurtlServer at : https://github.com/ArthurGarnier/turtl-docker
Just do this command line :
sudo git clone https://github.com/ArthurGarnier/turtl-docker