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

Size: px
Start display at page:

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

Transcription

1 Technical Manual Software Quality Analysis as a Service (SQUAAD) Team No.1 Implementers: Aleksandr Chernousov Chris Harman Supicha Phadungslip Testers: Kavneet Kaur Reza Khazali George Llames Sahar Pure 04/25/2018

2 Version History Date Author Version Changes made Rationale 04/27/2018 CH 1.0 Add technical documentation for application build/deployment Delivery for as-built package 2

3 Table of Contents Technical Manual 1 Version History 2 Table of Contents 3 Build Dependencies 4 System Requirements 4 Additional Recommended 4 Build steps 4 Docker Toolbox - Windows 4 Linux & Mac Build 6 Auto Reload 6 Generating Docs 6 Deploying on AWS 7 Check Application Server Logs 8 Clearing Out Docker Images to Regain Space (Optionally Run This After Deploy) 8 HTTPS Cert Generation 8 Clear Your Database and Rebuild 10 Populating the DB with New Records 10 3

4 Build Dependencies or Docker Toolbox - for Windows or Mac (ships with everything you will need) Install Virtualbox: brew cask install virtualbox - for Mac Only Docker Docker Compose System Requirements 2GB of RAM 8GB Available Disk Space Additional Recommended Git Bash - for Windows If you receive the following error on Windows: No such file or directory bash, it means that your local git pull is converting line endings to Windows formatting CRLF, rather than respecting the line endings in the repo. You can resolve the issue by following the 4 commands here. Install the above dependencies before proceeding onto the build steps Build steps Docker Toolbox - Windows (using Git Bash terminal) Note: Steps 1-2 are required for only the first build - start with step 3 after you have created a Docker Machine successfully. 1. Confirm Docker toolbox installation was successful by confirming versions of required software. Add your local Docker installation directory to the PATH if the following commands do not work as expected. 4

5 $ docker-machine -v docker-machine.exe version , build $ docker -v Docker version ce, build 02c1d87 $ docker-compose -v docker-compose version , build c7bdf9e3 2. Create a Docker Machine to hold Docker containers for the application. The below command specifies the following configuration (note that your desired configuration may vary depending on your local machine): o use the virtualbox driver o o o o allow the virtual disk to grow to up to 100GB allocate 8GB RAM allocate 2 CPU cores name the machine squaad $ docker-machine create -d virtualbox --virtualbox-disk-size "100000" -- virtualbox-memory "8000" --virtualbox-cpu-count "2" squaad 3. After creating the Docker Machine, check that it is there as expected. $ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS squaad * virtualbox Running tcp:// :2376 v ce 4. Set your Docker Machine environment to squaad (or whatever you named your machine above - the Docker Toolbox default name is default). The setting only affects the current shell session - you must run it every time you open a new shell you wish to interact with the squaad Docker Machine in. $ eval $(docker-machine env squaad) 5. Navigate to the top-level directory for the repo locally. chris@desktop-93ieiib MINGW64 ~ $ cd ~/Documents/repos/SQUAAD/ chris@desktop-93ieiib MINGW64 ~/Documents/repos/SQUAAD (create-build) $ 6. Run the command to bring up the containers and build the application. $ docker-compose up --build 7. Verify that the containers are up and running. 5

6 MINGW64 ~/Documents/repos/SQUAAD (create-build) $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d03e3c643c86 squaad_proxy "nginx -g 'daemon..." 6 minutes ago Up 6 minutes :80->80/tcp, :443->443/tcp squaad_proxy_1 1bc8a85128e9 squaad_client "npm start" 6 minutes ago Up 6 minutes 3000/tcp squaad_client_ a98b squaad_server "/usr/entrypoint.s..." 4 hours ago Up 4 hours 8000/tcp squaad_server_1 ae38192dc02d postgres:9.6 "docker-entrypoint..." 22 hours ago Up 16 hours 5432/tcp squaad_postgres_1 8. Navigate to the URL from step 3, in my case it is The 'https' is important here, and you can expect to see a warning about the self-signed cert locally (you will need to bypass it). Linux & Mac Build (tested on Xubuntu and Docker for Mac) 1. Follow steps 5, 6, and 7 from 'Docker Toolbox - Windows' Instructions above. 2. Navigate to localhost. Auto Reload Auto reload has been tested on the configurations above - code changes to the /src directory in the server directory will trigger a reload of the API code. Similarly, code changes to the /src directory in the client directory will reload the React. Things that will not auto reload - these will require a rebuild: changes to package.json adding/deleting entire files changes to the.sql files in /db - these require the postgres-data volume to be removed to be recognized changes to proxy configuration Dockerfile and docker-compose.yml changes Generating Docs Run the docs generation script (uses ESDoc): Client chris@desktop-93ieiib MINGW64 ~/Documents/repos/squaad (code-docs) 6

7 $ docker-compose run client npm run esdoc $ docker cp $(docker ps -aq head -n 1):/tmp/esdoc/./client/docs $ docker stop $(docker ps -aq head -n 1) $ docker rm $(docker ps -aq head -n 1) Server chris@desktop-93ieiib MINGW64 ~/Documents/repos/squaad (code-docs) $ docker-compose run server npm run esdoc $ docker cp $(docker ps -aq head -n 1):/tmp/esdoc/./server/docs $ docker stop $(docker ps -aq head -n 1) $ docker rm $(docker ps -aq head -n 1) Docs are now available at./client/docs/esdoc and./server/docs/esdoc. Deploying on AWS 1. SSH onto the server ssh -i "squaad.pem" ubuntu@ec us-east-2.compute.amazonaws.com 2. Elevate your shell privileges sudo su 3. Change directory to the SQUAAD repo cd /home/ubuntu/squaad/squaad 4. Stash changes (only changes should be the real HTTP cert/key) git stash 5. Ensure you are on the master branch git checkout master 6. Pull the most recent changes git pull 7. Pop the stashed crt/key for HTTPS back (that way we don't commit this to the repo) git stash pop 8. Rebuild/redeploy the app with the newest code from master HOST=squaadweb.com docker-compose up --build -d 7

8 Check Application Server Logs 1. SSH onto the server ssh -i "squaad.pem" 2. Elevate your shell privileges sudo su 3. Change directory to the SQUAAD repo cd /home/ubuntu/squaad/squaad 4. View logs docker-compose logs -f 5. Ctrl+c to exit Clearing Out Docker Images to Regain Space (Optionally Run This After Deploy) 1. SSH onto the server ssh -i "squaad.pem" 2. Elevate your shell privileges sudo su 3. Remove unused images docker rmi $(docker images -a grep "^<none>" awk '{print $3}') HTTPS Cert Generation Overall Strategy We use the Let's Encrypt certbot utility to generate a free and totally secure HTTPS cert. Certbot uses a series of tests, the easiest and most common being a placement of a specific file on an NGINX server via HTTP. Since our deployment redirects all HTTP requests to HTTPS by default, we take the following approach: 8

9 - Ensure that squaadweb.com and are both pointing to the AWS server - Spin down the application - Spin up a generic NGINX Docker container, exposing port 80 to receive HTTP requests - Install certbot within the NGINX container - Run the cert generation utility - Copy the certs out from the container onto the AWS server - Put the certs into the proper placement for the application deployment - Deploy the application as per usual Requirements - Root SSH access to the AWS server - Familiarity with Docker (specifically docker cp) Steps ssh -i 'squaad.pem' ubuntu@ec us-east-2.compute.amazonaws.com (on AWS server) sudo su docker stop $(docker ps -aq) docker run -p 80:80 --name certbot_nginx -it nginx:1.13 bash (in Docker container) echo 'deb stretch-backports main' >> etc/apt/sources.list apt-get update apt-get install python-certbot-nginx -t stretch-backports -y certbot certonly --standalone -d squaadweb.com -d (prompts for and agreement to terms of service - answer as appropriate) cp /etc/letsencrypt/live/squaadweb.com/fullchain.pem. cp /etc/letsencrypt/live/squaadweb.com/privkey.pem. <Ctrl+d> (on AWS server) docker cp certbot_nginx:fullchain.pem. docker cp certbot_nginx:privkey.pem. mkdir -p /etc/letsencrypt/live/squaadweb.com/ mv fullchain.pem /etc/letsencrypt/live/squaadweb.com mv privkey.pem /etc/letsencrypt/live/squaadweb.com cp /etc/letsencrypt/live/squaadweb.com/fullchain.pem /home/ubuntu/squaad/squaad/proxy/ssl.crt cp /etc/letsencrypt/live/squaadweb.com/privkey.pem /home/ubuntu/squaad/squaad/proxy/ssl.key cd /home/ubuntu/squaad/squaad HOST=squaadweb.com docker-compose up --build -d docker rm certbot_nginx (verify that both squaadweb.com and are shown as secure) 9

10 Clear Your Database and Rebuild docker stop $(docker ps -aq) docker rm -v squaad_postgres_1 docker volume rm squaad_postgres-data docker-compose up --build Note: You will lose your current local database changes and will be set back to the base structure with only the data in the migrations e.g. only login and other default logins will be available. The.sql scripts in this directory will only run on the very first time the database builds. Removing the data volume simulates the initial build and triggers the data load, which means our database version control is essentially a flush-and-fill currently. Populating the DB with New Records 1. SCP the file onto the server, then SSH onto the server (for a server update) scp -i "squaad.pem" huawei-request-insert ubuntu@ec us-east- 2.compute.amazonaws.com:/home/ubuntu ssh -i "squaad.pem" ubuntu@ec us-east-2.compute.amazonaws.com 2. From a directory containing the dump file with only inserts (using huaweirequest-insert as an example file) 3. Determine the new projects to be inserted cat huawei-request-insert grep "INSERT INTO applications"; example result: INSERT INTO applications (repo_url, application) VALUES (' 'apache-carbondata'); INSERT INTO applications (repo_url, application) VALUES (' 'Huawei-openstack4j'); INSERT INTO applications (repo_url, application) VALUES (' 'hyperledger-fabric-sdkjava'); 4. Copy the new dump into the database container docker cp huawei-request-insert squaad_postgres_1:/ 10

11 5. Drop pkey constraint on cpairs docker exec squaad_postgres_1 psql -U postgres -c " ALTER TABLE public.cpairs DROP CONSTRAINT cpairs_pkey; " 6. Drop pkey constraint on impact_pairs docker exec squaad_postgres_1 psql -U postgres -c " ALTER TABLE public.impact_pairs DROP CONSTRAINT impact_pairs_pkey; " 7. Run the new dump's SQL code to populate the tables docker exec squaad_postgres_1 psql -U postgres -f huawei-request-insert 8. Drop the impact_pairs and cpairs sequence index docker exec squaad_postgres_1 psql -U postgres -c " DROP SEQUENCE public.cpairs_id_seq CASCADE; DROP SEQUENCE public.impact_pairs_id_seq CASCADE; " 9. Drop/add pkey constraint back on cpairs docker exec squaad_postgres_1 psql -U postgres -c " ALTER TABLE public.cpairs DROP COLUMN id; ALTER TABLE public.cpairs ADD COLUMN id SERIAL PRIMARY KEY; " 10. Drop/add pkey constraint back on impact_pairs docker exec squaad_postgres_1 psql -U postgres -c " ALTER TABLE public.impact_pairs DROP COLUMN id; ALTER TABLE public.impact_pairs ADD COLUMN id SERIAL PRIMARY KEY; " 11. Insert rows into the project table for each of the application datasets docker exec squaad_postgres_1 psql -U postgres -c " INSERT INTO project (name, repo_url, ispublic, prefix, compile_command, build_folder, source_folder, status) VALUES ('apache-carbondata', ' 1, '', '', '', '', 'ACTIVE'); INSERT INTO project (name, repo_url, ispublic, prefix, compile_command, build_folder, source_folder, status) VALUES ('Huawei-openstack4j', ' 1, '', '', '', '', 'ACTIVE'); INSERT INTO project (name, repo_url, ispublic, prefix, compile_command, build_folder, source_folder, status) VALUES 11

12 ('hyperledger-fabric-sdk-java', ' 1, '', '', '', '', 'ACTIVE'); " 12

By: Jeeva S. Chelladhurai

By: Jeeva S. Chelladhurai CI CD By: Jeeva S. Chelladhurai Tools SCM: www.github.com CI/CD: Jenkins 2.0 Important Plugins: Pipeline (for Jenkinsfile), git, github, SSH Slaves (for build slave) Platform: docker Container Orchestration:

More information

Ubuntu LTS Install Guide

Ubuntu LTS Install Guide 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

More information

Test Plan and Cases (TPC)

Test Plan and Cases (TPC) Test Plan and Cases (TPC) Software Quality Analysis as a Service Team 01 Aditya Kathuria Prototyper Aleksandr Chernous Life Cycle Planner Chris Harman Operation Concept Supicha Phadunsilp Feasibility Analyst

More information

A Hands on Introduction to Docker

A Hands on Introduction to Docker A Hands on Introduction to Docker Len Bass A Hands on introduction Introduction to to Docker May 2017 1 4, Len 2017 Bass 2017 Len Bass 1 Setting expectations This is an introduction to Docker intended

More information

TangeloHub Documentation

TangeloHub Documentation TangeloHub Documentation Release None Kitware, Inc. September 21, 2015 Contents 1 User s Guide 3 1.1 Managing Data.............................................. 3 1.2 Running an Analysis...........................................

More information

Lab Working with Linux Command Line

Lab Working with Linux Command Line Introduction In this lab, you will use the Linux command line to manage files and folders and perform some basic administrative tasks. Recommended Equipment A computer with a Linux OS, either installed

More information

Arup Nanda VP, Data Services Priceline.com

Arup Nanda VP, Data Services Priceline.com Jumpstarting Docker Arup Nanda VP, Data Services Priceline.com My application worked in Dev but not in QA Will it work in production? I need an environment right now No, I can t wait for 2 weeks I just

More information

Bitnami JRuby for Huawei Enterprise Cloud

Bitnami JRuby for Huawei Enterprise Cloud Bitnami JRuby for Huawei Enterprise Cloud Description JRuby is a 100% Java implementation of the Ruby programming language. It is Ruby for the JVM. JRuby provides a complete set of core built-in classes

More information

Bitnami MEAN for Huawei Enterprise Cloud

Bitnami MEAN for Huawei Enterprise Cloud Bitnami MEAN for Huawei Enterprise Cloud Description Bitnami MEAN Stack provides a complete development environment for mongodb and Node.js that can be deployed in one click. It includes the latest stable

More information

USING NGC WITH GOOGLE CLOUD PLATFORM

USING NGC WITH GOOGLE CLOUD PLATFORM USING NGC WITH GOOGLE CLOUD PLATFORM DU-08962-001 _v02 April 2018 Setup Guide TABLE OF CONTENTS Chapter 1. Introduction to... 1 Chapter 2. Deploying an NVIDIA GPU Cloud Image from the GCP Console...3 2.1.

More information

Bitnami Ruby for Huawei Enterprise Cloud

Bitnami Ruby for Huawei Enterprise Cloud Bitnami Ruby for Huawei Enterprise Cloud Description Bitnami Ruby Stack provides a complete development environment for Ruby on Rails that can be deployed in one click. It includes most popular components

More information

Developing and Testing Java Microservices on Docker. Todd Fasullo Dir. Engineering

Developing and Testing Java Microservices on Docker. Todd Fasullo Dir. Engineering Developing and Testing Java Microservices on Docker Todd Fasullo Dir. Engineering Agenda Who is Smartsheet + why we started using Docker Docker fundamentals Demo - creating a service Demo - building service

More information

Bitnami MariaDB for Huawei Enterprise Cloud

Bitnami MariaDB for Huawei Enterprise Cloud Bitnami MariaDB for Huawei Enterprise Cloud First steps with the Bitnami MariaDB Stack Welcome to your new Bitnami application running on Huawei Enterprise Cloud! Here are a few questions (and answers!)

More information

Who is Docker and how he can help us? Heino Talvik

Who is Docker and how he can help us? Heino Talvik Who is Docker and how he can help us? Heino Talvik heino.talvik@seb.ee heino.talvik@gmail.com What is Docker? Software guy view: Marriage of infrastucture and Source Code Management Hardware guy view:

More information

Software Development I

Software Development I 6.148 Software Development I Two things How to write code for web apps. How to collaborate and keep track of your work. A text editor A text editor A text editor Anything that you re used to using Even

More information

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

Running Blockchain in Docker Containers Prerequisites Sign up for a LinuxONE Community Cloud trial account Deploy a virtual server instance Running Blockchain in Docker Containers The following instructions can be used to install the current hyperledger fabric, and run Docker and blockchain code in IBM LinuxONE Community Cloud instances. This

More information

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

Downloading and installing Db2 Developer Community Edition on Ubuntu Linux Roger E. Sanders Yujing Ke Published on October 24, 2018 Downloading and installing Db2 Developer Community Edition on Ubuntu Linux Roger E. Sanders Yujing Ke Published on October 24, 2018 This guide will help you download and install IBM Db2 software, Data

More information

Bitnami MySQL for Huawei Enterprise Cloud

Bitnami MySQL for Huawei Enterprise Cloud Bitnami MySQL for Huawei Enterprise Cloud Description MySQL is a fast, reliable, scalable, and easy to use open-source relational database system. MySQL Server is intended for mission-critical, heavy-load

More information

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

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version... Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing

More information

An introduction to Docker

An introduction to Docker An introduction to Docker Ing. Vincenzo Maffione Operating Systems Security Container technologies on Linux Several light virtualization technologies are available for Linux They build on cgroups, namespaces

More information

MariaDB ColumnStore PySpark API Usage Documentation. Release d1ab30. MariaDB Corporation

MariaDB ColumnStore PySpark API Usage Documentation. Release d1ab30. MariaDB Corporation MariaDB ColumnStore PySpark API Usage Documentation Release 1.2.3-3d1ab30 MariaDB Corporation Mar 07, 2019 CONTENTS 1 Licensing 1 1.1 Documentation Content......................................... 1 1.2

More information

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

Downloading and installing Db2 Developer Community Edition on Red Hat Enterprise Linux Roger E. Sanders Yujing Ke Published on October 24, 2018 Downloading and installing Db2 Developer Community Edition on Red Hat Enterprise Linux Roger E. Sanders Yujing Ke Published on October 24, 2018 This guide will help you download and install IBM Db2 software,

More information

Copyright Heraflux Technologies. Do not redistribute or copy as your own. 1

Copyright Heraflux Technologies. Do not redistribute or copy as your own. 1 @kleegeek davidklee.net heraflux.com in/davidaklee Specialties / Focus Areas / Passions: Performance Tuning Business Continuity Virtualization & Cloud Infrastructure Architecture Health & Efficiency Capacity

More information

Docker on VDS. Aurelijus Banelis

Docker on VDS. Aurelijus Banelis Docker on VDS Aurelijus Banelis Aurelijus Banelis Software developer aurelijus.banelis.lt aurelijus@banelis.lt Docker on VDS You will learn Why VDS? Why docker? What is docker? Is it possible? Why not?

More information

Garment Documentation

Garment Documentation Garment Documentation Release 0.1 Evan Borgstrom March 25, 2014 Contents i ii A collection of fabric tasks that roll up into a single deploy function. The whole process is coordinated through a single

More information

SQL Server Administration on Linux 2017

SQL Server Administration on Linux 2017 @kleegeek davidklee.net heraflux.com davidaklee Specialties / Focus Areas / Passions: Performance Tuning Business Continuity Virtualization & Cloud Infrastructure Architecture Health & Efficiency Capacity

More information

Gunnery Documentation

Gunnery Documentation Gunnery Documentation Release 0.1 Paweł Olejniczak August 18, 2014 Contents 1 Contents 3 1.1 Overview................................................. 3 1.2 Installation................................................

More information

Intro to Linux & Command Line

Intro to Linux & Command Line Intro to Linux & Command Line Based on slides from CSE 391 Edited by Andrew Hu slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson http://www.cs.washington.edu/391/ 1 Lecture summary

More information

Installing and Using Docker Toolbox for Mac OSX and Windows

Installing and Using Docker Toolbox for Mac OSX and Windows Installing and Using Docker Toolbox for Mac OSX and Windows One of the most compelling reasons to run Docker on your local machine is the speed at which you can deploy and build lab environments. As a

More information

Engineering Robust Server Software

Engineering Robust Server Software Engineering Robust Server Software Containers Isolation Isolation: keep different programs separate Good for security Might also consider performance isolation Also has security implications (side channel

More information

Git Command Line Tool Is Not Installed

Git Command Line Tool Is Not Installed Git Command Line Tool Is Not Installed Make Sure It Is Accessible On Y Error: "git" command line tool is not installed: make sure it is accessible on y I have installed git tool. even in git bash its showing

More information

Linux Network Administration. MySQL COMP1071 Summer 2017

Linux Network Administration. MySQL COMP1071 Summer 2017 Linux Network Administration MySQL COMP1071 Summer 2017 Databases Database is a term used to describe a collection of structured data A database software package contains the tools used to store, access,

More information

Docker und IBM Digital Experience in Docker Container

Docker und IBM Digital Experience in Docker Container Docker und IBM Digital Experience in Docker Container 20. 21. Juni 2017 IBM Labor Böblingen 1 What is docker Introduction VMs vs. containers Terminology v Docker components 2 6/22/2017 What is docker?

More information

DCCN Docker Swarm Cluster Documentation

DCCN Docker Swarm Cluster Documentation DCCN Docker Swarm Cluster Documentation Release 1.0.0 Hurng-Chun Lee Sep 12, 2017 Contents 1 Introduction to Docker Swarm 1 1.1 Docker in a Nutshell........................................... 1 1.2 Docker

More information

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes * Commands preceded with "$" imply that you should execute the command as a general user not as root. * Commands preceded with

More information

Creating a Multi-Container Pod

Creating a Multi-Container Pod CHAPTER 13 Creating a Multi-Container Pod A Pod is the atomic unit of an application managed by Kubernetes. A Pod has a single filesystem and IP Address; the containers in the Pod share the filesystem

More information

CS 261 Recitation 1 Compiling C on UNIX

CS 261 Recitation 1 Compiling C on UNIX Oregon State University School of Electrical Engineering and Computer Science CS 261 Recitation 1 Compiling C on UNIX Winter 2017 Outline Secure Shell Basic UNIX commands Editing text The GNU Compiler

More information

Bitnami Re:dash for Huawei Enterprise Cloud

Bitnami Re:dash for Huawei Enterprise Cloud Bitnami Re:dash for Huawei Enterprise Cloud Description Re:dash is an open source data visualization and collaboration tool. It was designed to allow fast and easy access to billions of records in all

More information

Network softwarization Lab session 2: OS Virtualization Networking

Network softwarization Lab session 2: OS Virtualization Networking Network softwarization Lab session 2: OS Virtualization Networking Nicolas Herbaut David Bourasseau Daniel Negru December 16, 2015 1 Introduction 1.1 Discovering docker 1.1.1 Installation Please launch

More information

Lab Exercise: Install & Configure OHDSI Tech Stack

Lab Exercise: Install & Configure OHDSI Tech Stack Lab Exercise: Install & Configure OHDSI Tech Stack Instructor: Time: Prerequisites: Student Knowledge: Lee Evans LTS Computing LLC 1.5 hours Laptop computer with 8GB of memory, VirtualBox installed and

More information

Introduction to Containers

Introduction to Containers Introduction to Containers Shawfeng Dong Principal Cyberinfrastructure Engineer University of California, Santa Cruz What are Containers? Containerization, aka operating-system-level virtualization, refers

More information

Polarion 18.2 Enterprise Setup

Polarion 18.2 Enterprise Setup SIEMENS Polarion 18.2 Enterprise Setup POL005 18.2 Contents Overview........................................................... 1-1 Terminology..........................................................

More information

Prototype Report. Software Quality Analysis as a Service (SQAaaS) Team Number Kavneet Kaur Requirement Engineer. George Llames IIV & V

Prototype Report. Software Quality Analysis as a Service (SQAaaS) Team Number Kavneet Kaur Requirement Engineer. George Llames IIV & V Prototype Report Software Quality Analysis as a Service (SQAaaS) Team Number - 01 Kavneet Kaur Requirement Engineer George Llames IIV & V Aleksandr Chernousov Lift Cycle Planner Supicha Phadungsilp Feasibility

More information

Fixing the "It works on my machine!" Problem with Docker

Fixing the It works on my machine! Problem with Docker Fixing the "It works on my machine!" Problem with Docker Jared M. Smith @jaredthecoder About Me Cyber Security Research Scientist at Oak Ridge National Lab BS and MS in Computer Science from the University

More information

Installing Connector on Linux

Installing Connector on Linux CHAPTER 3 Revised: July 15, 2010 Overview This chapter provides a step-by-step guide to installing the Linux Connector on x86 and x86-64 servers running either Red Hat Enterprise Linux version 5 or Cent

More information

Think Small to Scale Big

Think Small to Scale Big Think Small to Scale Big Intro to Containers for the Datacenter Admin Pete Zerger Principal Program Manager, MVP pete.zerger@cireson.com Cireson Lee Berg Blog, e-mail address, title Company Pete Zerger

More information

Bitnami HHVM for Huawei Enterprise Cloud

Bitnami HHVM for Huawei Enterprise Cloud Bitnami HHVM for Huawei Enterprise Cloud Description HHVM is an open source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach

More information

Running blockchain demo app with Hyperledger Fabric on LinuxONE server Labs

Running blockchain demo app with Hyperledger Fabric on LinuxONE server Labs Running blockchain demo app with Hyperledger Fabric on LinuxONE server Labs Yongkook(Alex) Kim System z Solutions Architect - Vicom Infinity ykim@vicominfinity.com 2017 May 17 NYC Hyperledger/Blockchain

More information

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

Set up, Configure, and Use Docker on Local Dev Machine Set up, Configure, and Use Docker on Local Dev Machine Table of Contents Set up, Configure, and Use Docker on Local Dev Machine... 1 1. Introduction... 2 1.1 Major Docker Components... 2 1.2 Tools Installed

More information

SQL Server containers with in-container data

SQL Server containers with in-container data SQL Server containers with in-container data This article provides step-by-step instructions for working with SQL Server containers with databases running in the container s private file system ( in-container

More information

LiveNX Upgrade Guide from v5.2.0 to v5.2.1

LiveNX Upgrade Guide from v5.2.0 to v5.2.1 LIVEACTION, INC. LiveNX Upgrade Guide from v5.2.0 to v5.2.1 UPGRADE LiveAction, Inc. 3500 Copyright WEST BAYSHORE 2016 LiveAction, ROAD Inc. All rights reserved. LiveAction, LiveNX, LiveUX, the LiveAction

More information

Greenplum-Spark Connector Examples Documentation. kong-yew,chan

Greenplum-Spark Connector Examples Documentation. kong-yew,chan Greenplum-Spark Connector Examples Documentation kong-yew,chan Dec 10, 2018 Contents 1 Overview 1 1.1 Pivotal Greenplum............................................ 1 1.2 Pivotal Greenplum-Spark Connector...................................

More information

Move Amazon RDS MySQL Databases to Amazon VPC using Amazon EC2 ClassicLink and Read Replicas

Move Amazon RDS MySQL Databases to Amazon VPC using Amazon EC2 ClassicLink and Read Replicas Move Amazon RDS MySQL Databases to Amazon VPC using Amazon EC2 ClassicLink and Read Replicas July 2017 2017, Amazon Web Services, Inc. or its affiliates. All rights reserved. Notices This document is provided

More information

Python web frameworks

Python web frameworks Flask Python web frameworks Django Roughly follows MVC pattern Steeper learning curve. Flask Initially an April Fools joke Micro -framework: minimal approach. Smaller learning curve http://flask.pocoo.org/docs/0.12/quickstart/#a-minimalapplication

More information

Get Started with SQL Server containers with cloned databases

Get Started with SQL Server containers with cloned databases Get Started with SQL Server containers with cloned databases SQL Server containers with database cloning supports delivery of large, writable SQL Server environments in seconds, with minimal storage requirements.

More information

Platform Migrator Technical Report TR

Platform Migrator Technical Report TR Platform Migrator Technical Report TR2018-990 Munir Contractor mmc691@nyu.edu Christophe Pradal christophe.pradal@inria.fr Dennis Shasha shasha@cs.nyu.edu May 12, 2018 CONTENTS: 1 Abstract 4 2 Platform

More information

MYR-2017 SimulATOR user manual

MYR-2017 SimulATOR user manual MYR-2017 SimulATOR user manual Naïo technologies - Gazebo on Nvidia-Docker - Author : Andreu Joan Version : 1.0.0 Date : 2017/07/11 Copyright : Naïo Technologies 1. Requirements Minimal requirements :

More information

Object Oriented Programming. Week 1 Part 2 Git and egit

Object Oriented Programming. Week 1 Part 2 Git and egit Object Oriented Programming Part 2 Git and egit Lecture Review of Git Local Repository Remote Repository Using Git from Eclipse Review of Git 3 What is Git? Software Configuration Management (SCM) Supports

More information

Getting Started With Containers

Getting Started With Containers DEVNET 2042 Getting Started With Containers Matt Johnson Developer Evangelist @mattdashj Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session

More information

Singularity: container formats

Singularity: container formats Singularity Easy to install and configure Easy to run/use: no daemons no root works with scheduling systems User outside container == user inside container Access to host resources Mount (parts of) filesystems

More information

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )

More information

Handel-CodePipeline Documentation

Handel-CodePipeline Documentation Handel-CodePipeline Documentation Release 0.0.6 David Woodruff Dec 11, 2017 Getting Started 1 Introduction 3 2 Installation 5 3 Tutorial 7 4 Using Handel-CodePipeline 11 5 Handel-CodePipeline File 13

More information

Installing MediaWiki using VirtualBox

Installing MediaWiki using VirtualBox Installing MediaWiki using VirtualBox Install VirtualBox with your package manager or download it from the https://www.virtualbox.org/ website and follow the installation instructions. Load an Image For

More information

$ wget V SOLUTIONS.tar.bz2 \ --user=lftraining --password=penguin2014

$ wget   V SOLUTIONS.tar.bz2 \ --user=lftraining --password=penguin2014 3.5. LABS 1 Exercise 3.1: Install Kubernetes Overview There are several Kubernetes installation tools provided by various vendors. In this lab we will learn to use kubeadm As an independent tool, it is

More information

Microsoft Cloud Workshop. Containers and DevOps Hackathon Learner Guide

Microsoft Cloud Workshop. Containers and DevOps Hackathon Learner Guide Microsoft Cloud Workshop Containers and DevOps Hackathon Learner Guide September 2017 2017 Microsoft Corporation. All rights reserved. This document is confidential and proprietary to Microsoft. Internal

More information

SUREedge MIGRATOR INSTALLATION GUIDE FOR VMWARE

SUREedge MIGRATOR INSTALLATION GUIDE FOR VMWARE SUREedge MIGRATOR INSTALLATION GUIDE 5.0.1 FOR VMWARE 2025 Gateway Place, Suite #480, San Jose, CA, 95110 Important Notice This document is provided "as is" without any representations or warranties, express

More information

Infoblox Kubernetes1.0.0 IPAM Plugin

Infoblox Kubernetes1.0.0 IPAM Plugin 2h DEPLOYMENT GUIDE Infoblox Kubernetes1.0.0 IPAM Plugin NIOS version 8.X August 2018 2018 Infoblox Inc. All rights reserved. Infoblox Kubernetes 1.0.0 IPAM Deployment Guide August 2018 Page 1 of 18 Overview...

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

If you had a freshly generated image from an LCI instructor, make sure to set the hostnames again:

If you had a freshly generated image from an LCI instructor, make sure to set the hostnames again: Storage Node Setup A storage node (or system as your scale) is a very important unit for an HPC cluster. The computation is often about the data it produces and keeping that data safe is important. Safe

More information

Building CircuitPython

Building CircuitPython Building CircuitPython Created by Dan Halbert Last updated on 2018-05-18 03:47:12 AM UTC Guide Contents Guide Contents Introduction Linux Setup Install a Real or Virtual Linux Machine Native Linux Linux

More information

SCALING DRUPAL TO THE CLOUD WITH DOCKER AND AWS

SCALING DRUPAL TO THE CLOUD WITH DOCKER AND AWS SCALING DRUPAL TO THE CLOUD WITH DOCKER AND AWS Dr. Djun Kim Camp Pacific OUTLINE Overview Quick Intro to Docker Intro to AWS Designing a scalable application Connecting Drupal to AWS services Intro to

More information

Docker for Developers

Docker for Developers Docker for Developers Chris Tankersley This book is for sale at http://leanpub.com/dockerfordevs This version was published on 2017-08-07 This is a Leanpub book. Leanpub empowers authors and publishers

More information

Zadara Enterprise Storage in

Zadara Enterprise Storage in Zadara Enterprise Storage in Google Cloud Platform (GCP) Deployment Guide March 2017 Revision A 2011 2017 ZADARA Storage, Inc. All rights reserved. Zadara Storage / GCP - Deployment Guide Page 1 Contents

More information

WinDocks 1.0 Administration Guide

WinDocks 1.0 Administration Guide WinDocks 1.0 Administration Guide This document is provided to support the Administration of WinDocks hosts. Please refer to the WinDocks User Guide for details on WinDocks client support. WinDocks is

More information

Version Control Systems

Version Control Systems Nothing to see here. Everything is under control! September 16, 2015 Change tracking File moving Teamwork Undo! Undo! UNDO!!! What strategies do you use for tracking changes to files? Change tracking File

More information

DevOps Workflow. From 0 to kube in 60 min. Christian Kniep, v Technical Account Manager, Docker Inc.

DevOps Workflow. From 0 to kube in 60 min.   Christian Kniep, v Technical Account Manager, Docker Inc. DevOps Workflow From 0 to kube in 60 min http://qnib.org/devops-workflow Christian Kniep, v2018-02-20 Technical Account Manager, Docker Inc. Motivation Iteration barriers Works on my Laptop! Why is DevOps

More information

PiranaJS installation guide

PiranaJS installation guide PiranaJS installation guide Ron Keizer, January 2015 Introduction PiranaJS is the web-based version of Pirana, a workbench for pharmacometricians aimed at facilitating the use of NONMEM, PsN, R/Xpose,

More information

Upgrade Tool Guide. July

Upgrade Tool Guide. July Upgrade Tool Guide July 2015 http://www.liveaction.com 4.X to 5.0 The Upgrade Guide from 4.X to 5.0 consists of three parts: Upgrading the LiveAction Server Upgrading the LiveAction Node Upgrading the

More information

Intro to Linux. this will open up a new terminal window for you is super convenient on the computers in the lab

Intro to Linux. this will open up a new terminal window for you is super convenient on the computers in the lab Basic Terminal Intro to Linux ssh short for s ecure sh ell usage: ssh [host]@[computer].[otheripstuff] for lab computers: ssh [CSID]@[comp].cs.utexas.edu can get a list of active computers from the UTCS

More information

Install and upgrade Qlik Sense. Qlik Sense 3.2 Copyright QlikTech International AB. All rights reserved.

Install and upgrade Qlik Sense. Qlik Sense 3.2 Copyright QlikTech International AB. All rights reserved. Install and upgrade Qlik Sense Qlik Sense 3.2 Copyright 1993-2017 QlikTech International AB. All rights reserved. Copyright 1993-2017 QlikTech International AB. All rights reserved. Qlik, QlikTech, Qlik

More information

Bitnami Apache Solr for Huawei Enterprise Cloud

Bitnami Apache Solr for Huawei Enterprise Cloud Bitnami Apache Solr for Huawei Enterprise Cloud Description Apache Solr is an open source enterprise search platform from the Apache Lucene project. It includes powerful full-text search, highlighting,

More information

DOCS

DOCS HOME DOWNLOAD COMMUNITY DEVELOP NEWS DOCS Docker Images Docker Images for Avatica Docker is a popular piece of software that enables other software to run anywhere. In the context of Avatica, we can use

More information

Flexible Engine. Startup Guide

Flexible Engine. Startup Guide Flexible Engine Startup Guide This guide presents the deployment of a web server accessible from the internet and its database, on the Flexible Engine platform 2017 Orange Business Services version July

More information

ThoughtSpot on AWS Quick Start Guide

ThoughtSpot on AWS Quick Start Guide ThoughtSpot on AWS Quick Start Guide Version 4.2 February 2017 Table of Contents Contents Chapter 1: Welcome to ThoughtSpot...3 Contact ThoughtSpot... 4 Chapter 2: Introduction... 6 About AWS...7 Chapter

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Gerrit

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Gerrit Gerrit About the Tutorial Gerrit is a web-based code review tool, which is integrated with Git and built on top of Git version control system (helps developers to work together and maintain the history

More information

Install and Configure Ubuntu on a VirtualBox Virtual Machine

Install and Configure Ubuntu on a VirtualBox Virtual Machine Install and Configure Ubuntu on a VirtualBox Virtual Machine Ronald Mak Department of Computer Engineering Department of Computer Science January 11, 2019 Introduction Because the class will use Linux

More information

Travis Cardwell Technical Meeting

Travis Cardwell Technical Meeting .. Introduction to Docker Travis Cardwell Tokyo Linux Users Group 2014-01-18 Technical Meeting Presentation Motivation OS-level virtualization is becoming accessible Docker makes it very easy to experiment

More information

Getting Started with Hadoop

Getting Started with Hadoop Getting Started with Hadoop May 28, 2018 Michael Völske, Shahbaz Syed Web Technology & Information Systems Bauhaus-Universität Weimar 1 webis 2018 What is Hadoop Started in 2004 by Yahoo Open-Source implementation

More information

How to Implement a Web-based Terminal with Docker

How to Implement a Web-based Terminal with Docker How to Implement a Web-based Terminal with Docker 2015-03-14 Who am I 杜万 (Vangie Du) Full-Stack Web Developer Linux fans Working on Coding@Shanghai About Coding Project Management Source Code Management

More information

Debian 8 Jessie. About. Commit Log. Please NOTE that Debian 9 Stretch is now officially supported by FreeSWITCH.

Debian 8 Jessie. About. Commit Log. Please NOTE that Debian 9 Stretch is now officially supported by FreeSWITCH. Debian 8 Jessie About Please NOTE that Debian 9 Stretch is now officially supported by FreeSWITCH. Debian 8 "Jessie" was the reference platform for FreeSWITCH as of version 1.6. We recommend Debian 9 "Stretch"

More information

PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN<

PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN< PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN< MPILMAN@INF.ETHZ.CH> ORGANIZATION Tutorials on Tuesdays - Sometimes, will be announced In General: no exercise sessions (unless you get an email

More information

Run containerized applications from pre-existing images stored in a centralized registry

Run containerized applications from pre-existing images stored in a centralized registry Introduction This examination is based upon the most critical job activities a Docker Certified Associate performs. The skills and knowledge certified by this examination represent a level of expertise

More information

Guest Shell. Finding Feature Information. Information About Guest Shell. Guest Shell Overview

Guest Shell. Finding Feature Information. Information About Guest Shell. Guest Shell Overview Guestshell is a virtualized Linux-based environment, designed to run custom Linux applications, including Python for automated control and management of Cisco devices. It also includes the automated provisioning

More information

Bitnami OSQA for Huawei Enterprise Cloud

Bitnami OSQA for Huawei Enterprise Cloud Bitnami OSQA for Huawei Enterprise Cloud Description OSQA is a question and answer system that helps manage and grow online communities similar to Stack Overflow. First steps with the Bitnami OSQA Stack

More information

Labtainer Student Guide

Labtainer Student Guide Labtainer Student Guide January 18, 2018 1 Introduction This manual is intended for use by students performing labs with Labtainers. Labtainers assume you have a Linux system, e.g., a virtual machine.

More information

Patch Server for Jamf Pro Documentation

Patch Server for Jamf Pro Documentation Patch Server for Jamf Pro Documentation Release 0.8.2 Bryson Tyrrell Jun 06, 2018 Contents 1 Change History 3 2 Using Patch Starter Script 7 3 Troubleshooting 9 4 Testing the Patch Server 11 5 Running

More information

a. puppet should point to master (i.e., append puppet to line with master in it. Use a text editor like Vim.

a. puppet should point to master (i.e., append puppet to line with master in it. Use a text editor like Vim. Head Node Make sure that you have completed the section on Precursor Steps and Storage. Key parts of that are necessary for you to continue on this. If you have issues, please let an instructor know to

More information

Index. Bessel function, 51 Big data, 1. Cloud-based version-control system, 226 Containerization, 30 application, 32 virtualize processes, 30 31

Index. Bessel function, 51 Big data, 1. Cloud-based version-control system, 226 Containerization, 30 application, 32 virtualize processes, 30 31 Index A Amazon Web Services (AWS), 2 account creation, 2 EC2 instance creation, 9 Docker, 13 IP address, 12 key pair, 12 launch button, 11 security group, 11 stable Ubuntu server, 9 t2.micro type, 9 10

More information

Introduction to the UNIX command line

Introduction to the UNIX command line Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands

More information

Linux at the Command Line Don Johnson of BU IS&T

Linux at the Command Line Don Johnson of BU IS&T Linux at the Command Line Don Johnson of BU IS&T We ll start with a sign in sheet. We ll end with a class evaluation. We ll cover as much as we can in the time allowed; if we don t cover everything, you

More information