Ubuntu LTS Install Guide

Similar documents
Downloading and installing Db2 Developer Community Edition on Ubuntu Linux Roger E. Sanders Yujing Ke Published on October 24, 2018

Infoblox Kubernetes1.0.0 IPAM Plugin

Tensorflow/SyntaxNet. Installation Guide

Technical Manual. Software Quality Analysis as a Service (SQUAAD) Team No.1. Implementers: Aleksandr Chernousov Chris Harman Supicha Phadungslip

Set up, Configure, and Use Docker on Local Dev Machine

Docker Swarm installation Guide

Hiptest on-premises - Installation guide

USING NGC WITH YOUR NVIDIA TITAN PC

Downloading and installing Db2 Developer Community Edition on Red Hat Enterprise Linux Roger E. Sanders Yujing Ke Published on October 24, 2018

Blockchain on Kubernetes User Guide

Blockchain on Kubernetes

Bitnami MEAN for Huawei Enterprise Cloud

Hiptest on-premises - Installation guide

Blockchain on Kubernetes

Bitnami Ruby for Huawei Enterprise Cloud

Table of Contents. Table of Contents License server installation guide - Linux. Download SCL

This guide assumes that you are setting up a masternode for the first time. You will need:

Singularity: container formats

Tcpdump. For this exercise you must again be root. Login and obtain root privileges: Note that we use three computers for this exercise.

An introduction to Docker

Bitnami Pimcore for Huawei Enterprise Cloud

MeshCentral 2. Installer s Guide. Version July 31, 2018 Ylian Saint-Hilaire

CHAPTER III PLANNING

PREPARING TO USE CONTAINERS

HipTest on-premises - Installation guide

Bitnami JRuby for Huawei Enterprise Cloud

Network softwarization Lab session 2: OS Virtualization Networking

CS 410/510: Web Security X1: Labs Setup WFP1, WFP2, and Kali VMs on Google Cloud

Using RDP with Azure Linux Virtual Machines

Installing Open Project on Ubuntu AWS with Apache and Postgesql

Running Blockchain in Docker Containers Prerequisites Sign up for a LinuxONE Community Cloud trial account Deploy a virtual server instance

Step 1 - Install Apache and PostgreSQL

Bitnami Re:dash for Huawei Enterprise Cloud

VIRTUAL GPU LICENSE SERVER VERSION , , AND 5.1.0

Docker Enterprise Edition 2.0 Platform Public Beta Install and Exercises Guide

Relay Proxy User Guide

Dragonframe License Manager User Guide Version 1.3.1

Upgrade Tool Guide. July

Hiptest on-premises - Installation guide

Blockchain on vsphere By VMware

Here are tips on configuring various OS and application software to use firewall proxies and overcome proxy issues.

PiranaJS installation guide

Bitnami Mantis for Huawei Enterprise Cloud

Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud

Bitnami OroCRM for Huawei Enterprise Cloud

Comodo IT and Security Manager Software Version 6.4

Configure router. 26. Start AirPort Utility (located in the Utilities folder). The AirPort Utility window show a component diagram:

Buzztouch Server 2.0 with Amazon EC2

How to run NoMachine server inside Docker

SAS Event Stream Processing for Edge Computing 4.3: Deployment Guide

Linux. An introduction. Aurélien Villani 01/2018

Initial setting up of VPN Java version.

SmartCash SmartNode Setup Guide V1.2 Windows 10 13/01/2018 By (Jazz) yoyomonkey Page 1

Deploy the ExtraHop Discover Appliance in Azure

MeshCentral 2. Installer s Guide. Version February 21, 2019 Ylian Saint-Hilaire

Relarium (RLM) Masternode Guide for VPS

iptables and ip6tables An introduction to LINUX firewall

GIT. A free and open source distributed version control system. User Guide. January, Department of Computer Science and Engineering

What you Need to Know about SQL Server and Docker Containers

More Raspian. An editor Configuration files Shell scripts Shell variables System admin

TangeloHub Documentation

Access Control System ACCO NET Installation Manual

Bitnami HHVM for Huawei Enterprise Cloud

Bitnami Apache Solr for Huawei Enterprise Cloud

Setting up a Chaincoin Masternode

How to Set Up External CA VPN Certificates

HOW TO SECURELY CONFIGURE A LINUX HOST TO RUN CONTAINERS

KickSoccer Coin Masternode Setup Guide

Comodo Dome Data Protection Software Version 3.8

CENG 334 Computer Networks. Laboratory I Linux Tutorial

Remote GUI access to a Linux computer using Tightvnc

SmartCash SmartNode Setup Guide v1.2. Windows 10. Date: 13/01/2018. By (Jazz) yoyomonkey

Important: Upgrades are not supported with this installation method.

This tutorial will guide you how to setup and run your own minecraft server on a Linux CentOS 6 in no time.

LiveNX Upgrade Guide from v5.2.0 to v5.2.1

Preparing Your Google Cloud VM for W4705

Exercises. Cacti Installation and Configuration

Exercises. Cacti Installation and Configuration

Bitnami ez Publish for Huawei Enterprise Cloud

The instructions in this document are applicable to personal computers running the following Operating Systems:

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

HANDS UP IF YOU DON T HAVE A VM OR IF YOU DON T REMEMBER YOUR PASSWORDS. Or something broke

Docker task in HPC Pack

Controller Installation

Booting a Galaxy Instance

Working with Ubuntu Linux. Track 2 Workshop June 2010 Pago Pago, American Samoa

Dixicoin (DXC) Masternode Guide for VPS

Automatic Creation of a Virtual Network with VBoxManage [1]

Bitnami MySQL for Huawei Enterprise Cloud

SQL Server vnext on Linux Ubuntu - Part 1

MRCP. Yandex SR Plugin. Administrator Guide. Powered by Universal Speech Solutions LLC

Installation of Hadoop on Ubuntu

How to force automatic removal of deleted files in nextcloud

How To Start Mysql Using Linux Command Line Client In Ubuntu

We want to install putty, an ssh client on the laptops. In the web browser goto:

Bitnami Piwik for Huawei Enterprise Cloud

Policy Manager for IBM WebSphere DataPower 7.2: Configuration Guide

EASYLAMP UBUNTU V1.0 DOCUMENT OWNER: OUDHUIS, JONATHAN INGRAM MICRO CLOUD EUROPE

Intel Education Theft Deterrent Deployment Guide. December 2017

Wallet Installation Guide for Staking on Raspberry PI

Transcription:

Ubuntu 16.04.5 LTS Install Guide Sirenia September 17, 2018

Contents 1 Content 2 2 Login to server 2 3 Ensure access to repositories 3 4 Install Docker 3 5 Install Docker Compose 4 6 Pull software 4 7 Add a certificate 6 8 Create database 6 9 Configure Kwanza 6 10 Test 7 11 Happy? 7 12 Load Locals 7 1 Content This document provides a Ubuntu 16.04.5 LTS install guide. The guide can be followed for Ubuntu installation or serve as a starting point for installing on other Linux OS. You should read the Deployment documentation beforehand, in order to understand the components and their roles. 2 Login to server ssh user@<server> sudo su #password cat /etc/issue Sirenia 2

#Ubuntu 16.04.4 LTS \n \l 3 Ensure access to repositories If target machine has no internet, you could use a HTTP proxy. Otherwise skip this point. If your host is a mac: install squidman http://squidman.net/squidman/ #Open ssh tunnel from local host to enable HTTP proxy connections ssh -R 8080:localhost:8080 root@<ip address of target machine> #On the target machine export http_proxy=http://localhost:8080 export https_proxy=http://localhost:8080 # with visudo add the text: visudo Defaults env_keep = http_proxy https_proxy ftp_proxy 4 Install Docker On the target machine curl -fssl https://download.docker.com/linux/ubuntu/gpg \ sudo apt-key add - sudo add-apt-repository deb [arch=amd64] \ https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable sudo apt-get update apt-cache policy docker-ce sudo apt-get install -y docker-ce sudo systemctl status docker If target machine has no internet add http(s) proxy to docker nano /etc/default/docker # Add these lines #(maybe not needed?) export http_proxy= http://localhost:8080 export https_proxy= http://localhost:8080 #Create a systemd drop-in directory for the docker service: sudo mkdir -p /etc/systemd/system/docker.service.d nano /etc/systemd/system/docker.service.d/http-proxy.conf #Add these lines Sirenia 3

[Service] Environment= HTTP_PROXY=http://localhost:8080/ #Flush changes: sudo systemctl daemon-reload #Restart Docker: sudo systemctl restart docker #Verify that the configuration has been loaded: systemctl show --property=environment docker #Environment=HTTP_PROXY=http://localhost:8080/ 5 Install Docker Compose On the target machine sudo curl -L https://github.com/docker/compose/releases/\ download/1.18.0/docker-compose- uname -s - uname -m -o\ /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose --version #docker-compose version 1.18.0, build 8dd22a9 6 Pull software On the target machine pull some Sirenia software mkdir /root/deploy cd /root/deploy Create a docker-compose file for your specific setup. You could take a base in this example version: 3 services: kwanza: image: registry.gitlab.com/sirenia/dist/kwanza:v2.5.0 restart: unless-stopped environment: KWANZA_DATABASE: pg://postgres:postgres@postgres/kwanza KWANZA_CERT_SUBJECTS: <FQDN> Sirenia 4

KWANZA_CERT: /cert/cert.pem KWANZA_KEY: /cert/key.pem KWANZA_SALT: kwanzified KWANZA_AUTH: jwt ports: - 8000:8000 # HTTP(S) - 8001:8001 # TCP (grpc) - 6060:6060 # Profiling volumes: - /usr/local/etc/sirenia/cert:/cert - /usr/local/etc/sirenia/kwanza/conf:/etc/sirenia/kwanza depends_on: - postgres cuesta: image: registry.gitlab.com/sirenia/dist/cuesta:v1.3.2 restart: unless-stopped environment: CUESTA_CERT: /cert/cert.pem CUESTA_KEY: /cert/key.pem KWANZA_URL: https://<fqdn>:8000/v1 KWANZA_STREAMURL: wss://<fqdn>:8000/v1/stream ports: - 80:80-443:443 volumes: - /usr/local/etc/sirenia/cert:/cert depends_on: - kwanza postgres: image: postgres:10 restart: always ports: - 5444:5432 environment: PGDATA: /data volumes: Sirenia 5

- /root/postgresdata:/data Now pull some software from the repository and try to start the combined setup. docker login registry.gitlab.com #dist-<username> / <password> #... Login Succeeded docker-compose up <ctrl-c> (stop again) 7 Add a certificate Kwanza will generate self-signed cert at startup. Alternatively copy valid cert for prod here /usr/local/etc/sirenia/cert It must be a valid x.509 certificate with a full trust chain to a CA in PEM format. 8 Create database Initialize a Postgres database cd /root/deploy docker-compose up -d postgres docker exec -it deploy_postgres_1 /bin/bash su postgres psql CREATE DATABASE kwanza; \q exit exit 9 Configure Kwanza cd /usr/local/etc/sirenia/kwanza/conf nano.kwanza.yml paste this users: Sirenia 6

admin: d224cfd091471383708424f3e494f8029b456b0e559fe82ee9adb5b66a7f1e55 john: d224cfd091471383708424f3e494f8029b456b0e559fe82ee9adb5b66a7f1e55 jonathan: d224cfd091471383708424f3e494f8029b456b0e559fe82ee9adb5b66a7f1e55 10 Test Ok, we are ready to test the complete setup cd /root/deploy/ docker-compose stop docker-compose up Look for errors etc in the logs. Login to Cuesta * https://server-name/ * user:john pass:1234 11 Happy? If no erreos show up, we are ready to go. Start the setup as background processes. docker-compose stop docker-compose up -d 12 Load Locals Depending on the version you have, it may be necessary to load translations by hand. On a local client or the target server, with node installed, do this https://gitlab.com/sirenia/cuesta/raw/develop/scripts/i18n.js?inline=false npm install axios npm install query-string USER=jonathan PASS=1234 HOST= https://<server-name>:8000/v1 node i18n.js Sirenia 7