Tutorials Navigation Down arrow
Tutorials
Kubernetes
Build Test & Deploy
Docker
Deploy Tutorials
Servers
Advanced

Set Up a Linode Server with CI/CD

Introduction

Linode offers high performance SSD Linux servers for all of your infrastructure needs. Whether you’re just getting started or deploying a complex system, launching a Linode cloud server has never been easier. They offer the fastest hardware and network in the industry with scalable environments.

Enabling Continuous Integration and Deployment on your Linode has never been easier. Just follow the simple steps below and you will have a Linode server with CI/CD in no time!

Prerequisites

The only thing you will need to complete this tutorial is to have a Linode account. If you do not have an account you can create one by visiting, here.

Step 1. Set up Linode Instance

The first step to complete is to choose your Linode Plan. Please select the plan that will best fit your needs. For this tutorial I will be using the Linode 1024 plan.

Select Linode Server Plan

Once you have selected your plan please navigate to your dashboard to continuing setting up your Linode Server

Linode Dashboard

Next select the “Deploy An Image” link on your dashboard

Linode Deploy a New Image

You will then be prompted to select an “Image Type” and to set your root password. Please select the appropriate OS for your needs. I have chosen Ubuntu 14.04 for this tutorial. Next set your root password. You will need to use this password later in the tutorial, so please mark it down.

Linode New Image Settings

The last thing to do is to Boot your Server. Click the “Boot” button on the left hand side of the screen to start the boot process

Boot Linode Server

Once your server has been successfully booted you should the server status as “Running” on the right hand side of the screen.

Linode Server Up and Running

Step 2. Remote Access to Your Server

To integrate your Linode Server with Distelli you will need remote access. Luckily Linode offers a few different options.

SSH

The first option is to SSH into your server from your terminal/command line. Follow the three simple steps below to gain access to your server and install the Distelli Agent.

  1. Navigate to the “Remote Access” tab on your dashboard and find the “SSH Access” section at top of the page. Look for a line that says: ssh root@<-IP ADDRESS->
  2. Copy the command, open your terminal, and enter the command.
    $ ssh root@<-IP ADDRESS->
    
  3. You will be prompted for a password. It is the Root Password that you set earlier during the “Deploying your Image” step.
  4. Install the Distelli Agent

Ajaxterm

Linode offers a few other ways of accessing your server remotely. The first option is to use Ajaxterm located at the bottom of the “Remote Access” page. Follow the steps below to install the Distelli Agent via Ajaxterm.

  1. Click the Ajaxterm link near the bottom of the page to open the Ajaxterm window
  2. A window will open and you will be prompted to login. Please enter “root” and then the Root Password you set earlier
    localhost login: root
    Password:
    
  3. Install the Distelli Agent

Lish via SSH

Another way Linode offers remote access is to use Lish via SSH. This is similar to just using SSH. Click the “Lish via SSH” link from the bottom of the “Remote Access” page and follow the steps below to install the Distelli Agent.

  1. Click link at bottom
  2. Enter the password for your Linode Account
  3. Select the linode you created by entering its name
  4. Please enter “root” and then the Root Password you set earlier
    localhost login: root
    Password:
    
  5. Install the Distelli Agent

Step 4. Deploy Your Application

Now that our Linode Server is launched and the Distelli Agent is installed on our server, we are now ready to Deploy our Application. Use the following guides for information on deployments: