• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Saturday, May 31, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Linux

How To Install Rancher on Ubuntu 14.04

How VPS by How VPS
January 1, 2020
in Linux
0
0
SHARES
11
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Using a Different System?
  2. Introduction
  3. Requirements
  4. Installing
  5. Configuration
  6. Adding another host
  7. Conclusion
  8. Want to contribute?

Using a Different System?

  • Install Rancher on Ubuntu 16.04

  • Install Rancher on CentOS 7

Are we missing a guide for your target system? Request one, or submit your own!


Introduction

Rancher is an open source platform for running containers and building a private container service. Rancher is based on Docker, so you can run it on a dedicated box, KVM machine or even on a LXC container. Rancher provides a huge library of applications which are installed within a few clicks and also supports docker images from Dockerhub.

Requirements

  • At least 1GB Memory
  • A Linux distribution that supports Docker ( in our case we’ll be using Ubuntu )

Installing

As already stated above, Rancher is based on Docker. That requires us to have the latest version of Docker installed on our machine. In order to install the latest Docker version, we have to run the following command:

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list
sudo apt-get update && sudo apt-get install docker-engine apparmor
sudo docker run -d --restart=always -p 8080:8080 rancher/server

After waiting some minutes for Rancher to complete some initial processes and setup, we can visit the Rancher Admin Interface at http://SERVER_IP:8080.

Configuration

Because we don’t want that everybody has access to our Rancher Admin Interface, we restrict the access to our personal user ( which we have to create first ). We navigate to the page Admin->Accounts and create our user there. After creating the user, Rancher should turn on authentication by default. If it does not, you can navigate to Admin->Access Control and enable it there.

After we’ve finished these steps, we can already start deploying our first containers and using Rancher!

Adding another host

When scaling applications, it’s very important to have multiple physical servers running as container backends. Rancher has a very easy system to add more hosts with just one command.

All other hosts must fulfil the same requirements are our master node. After we install Docker on them, we have to navigate to Infrastructure->Hosts and click the “Add Hosts” button. Once we’ve entered our details ( like server IP ) and customized it to fit our needs, we can copy the command which Rancher generated for us and run it on the server which we want to use as second ( or third, there’s actually no limit ).

After doing this step, it takes a few minutes for the second server to setup and install all the dependencies. The host will automatically pop-up under the Infrastructure->Hosts page once the tasks mentioned one sentence earlier are done.

Conclusion

Rancher is great for scaling and deploying Docker containers at any size. And more interestingly, Rancher is provided as open source. Open source means that you can edit the source to fit your needs or even participate in development.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

How To Access Your Vultr VPS

Next Post

How to Install Moodle on Ubuntu Server 16.04

Next Post

How to Install Moodle on Ubuntu Server 16.04

Leave a Reply Cancel reply

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

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet