Guide - Content Server Setup - Part 1

What is provided in this guide? 

The guide will provide you with the information and instructions on how you can set up a Content server on a generic Linux server (Ubuntu). Please refer to the Content Server Recommended Specs before you move to the setting up the content server.

What is the benefit of this?

The goal of the document is that you will be able to create a Content server easily and provide this to us at Rumie so that we can sync this to our Project Sync Process. Once the information is provided for the Content server you have created, Rumie will be able to connect to your server and do the sync. 

The guide will consist of 3 parts:

  1. Setup Linux Server - Ubuntu

  2. Add New User to Ubuntu

  3. Install Nginx Server

1. Linux Server Setup - Ubuntu


Steps to follow

Installing Ubuntu

  • This is a very basic walkthrough tutorial on how to install Ubuntu 18.04, or different Linux Distributions, on your Mac OS or Windows OS using Virtual Box.

  • There are few reasons why you’ll want to do this, but my main reason is to be able to install and use Ubuntu without having to partition my hard drive and install Ubuntu locally on my computer.

 

Requirements

To make sure you have the requirements for this, you just need:

  • Windows OS/ Mac OS Mojave

  • 2 GB RAM that can be dedicated

  • 10 GB of storage (although that can be tweaked)

 

 Tools We’ll Need

  • VirtualBox — A virtualizer that runs virtual machines

  • Ubuntu OS — The Linux OS we’ll be running in VirtualBox

 

What Is VirtualBox? 

It is open-source software that allows us to run multiple different Operating Systems on top of our Mac OS, including Windows, Linux and even Mac OS with Virtual Machines, which are just emulations of operating systems.

 

  1. Install Virtual Box

    1. Our first step to installing Ubuntu on your Windows OS or Mac OS is to install VirtualBox.

    2. Download VirtualBox for OS X Hosts or Windows Hosts depending on your OS. 

    3. Make sure to Double click the VirtualBox.pkg file for Mac OS or the VirtualBox-6.X.X-XXXXXX-Win for Windows 

    4. Complete the installation and you will get a popup prompting installation was successful 

  2. The next step is to download Ubuntu locally to our computer to use with VirtualBox. Your first step is to go to https://ubuntu.com/download.

  3. You’ll want to click on Ubuntu Desktop.

  4. You’ll want to download Ubuntu 18.04.2 LTS. LTS stands for Long-Term Support

  5. Once downloaded, the file will probably sit in your downloads as ubuntu-18.04.2-desktop-amd64.iso. This is our image archive file of the operating system, which we’ll need later.

  6. This is the view when you run VirtualBox, this is what you will see 

  7. Next, we’ll want to create a new machine in Virtual Box by clicking on New, or going to Machine > New

    1. Once the prompt opens, give it a Name (if you start typing ubuntu, it will automatically convert the version to Ubuntu 64-bit), and set the Memory to 2048 MB (2GB). Make sure you set the Hard Disk option to Create a virtual hard disk now. Leave the rest of the options as is and click the Create button.

    2. This will then prompt us to define the settings for our new virtual hard disk.

      1. Set the File size will be set to 10.00GB to give the Ubuntu file enough space to work with, the Hard disk file type to VDI. Allow the Storage on physical hard disk to be Dynamically allocated. Once done, click the Create button

      2. Once your new machine settings are set up, you should see the following

  8. Install ubuntu Image

    1. Right-click on our new machine and go to Start > Normal Start or select the machine and just click the Green Start Arrow Icon. Once done, then click Start

    2. Ubuntu will start then 

    3. When Ubuntu starts click on install Ubuntu

    4. The next prompt will ask you what your keyboard setting might be. I’ve set them to English (US). Once you’ve selected your option, click the Continue button.

    5. Select Normal Installation and Download updates while installing Ubuntu. Click the Continue button.

    6.  Select Erase disk and install Ubuntu, and click the Install now button.

      1. You’ll also be prompted to confirm your selection with the following prompt, just click the Continue button.

    7. Next, we’ll select our location for the timezone, type and set your location, click the Continue button.

    8. Lastly, we’ll give your name, your computer name, username, and give it a password.

    9. The installation will wrap up and you will need to restart

    10. It’ll finish loading and then the login will present itself. Enter your credentials and let Ubuntu load up.

    11. Open the terminal in Ubuntu.

  9. Now we will follow the instructions to create the Content server after installation of Ubuntu

Continue to Part 2 (User Setup)

 

 

 

 



The Rumie Initiative