matross Release SNAPSHOT
|
|
- Bruno Chapman
- 5 years ago
- Views:
Transcription
1 matross Release SNAPSHOT June 01, 2014
2
3 Contents 1 Getting Started What is matross? Who is matross for? How does matross compare to? How do I use matross? Design simple automation simple to extend reusable and composable flexible Task Plugins command script template file temp-file stream-to-file stream-from-file Connection Plugins Local SSH Vagrant Contributing Writing Task Plugins Writing Connection Plugins i
4 ii
5 remote process gun Contents 1
6 2 Contents
7 CHAPTER 1 Getting Started 1.1 What is matross? Matross is a process automation utility that makes it easy to do work on local or remote machines. 1.2 Who is matross for? People who need to run processes in an automated way. 1.3 How does matross compare to? Matross loves you and cares about you. Matross wants you to relax and get some sleep. Matross wants you to snuggle up with a good book and a glass of scotch and enjoy life. Matross wants to see you go outside and enjoy the sun and not worry about computers. Other process automation utilities are sadistic. They want to see you cry. They lure you in with a sense of simplicity and ease of use only to turn around and force their psychotic tendencies on you. They draw you in and then bind your hands and try to shove you into some multi-layered abstraction that leaks everywhere all over your nice new clothes. Matross just wants to help. 1.4 How do I use matross? Matross is currently pre-alpha software. If you are stubborn and want to use it in spite of this see the contribution guide. 3
8 4 Chapter 1. Getting Started
9 CHAPTER 2 Design Quick and dirty high level architecture & design goals, please patch this!! Make something that is actually useful. Don t compromise simplicity for convenience. Make automation natural and complex things possible. Simple means single responsiblity, without interleaving or overlapping parts. 2.1 simple automation reference based template system immutable, always available data scalable configuration (1 machine or 1k machines) 2.2 simple to extend plugin system designed around protocols 2.3 reusable and composable plugins configurations operations 2.4 flexible with or without sudo able to work on any type of connection agented or agentless Keep in mind this is not a feature list but instead a general direction. Change as you see fit. 5
10 6 Chapter 2. Design
11 CHAPTER 3 Task Plugins Tasks are matross main unit of coordination across connections. Using tasks you can execute specific commands over a remote connection and ensure the system is in a desired state. The core set of task plugins include: 3.1 command Execute a shell command on the target machine in a normalized environment. For example, {:command "echo $VAR" :env {:VAR "herp"}} is equivalent to running /usr/bin/env -i VAR=herp /bin/sh -c echo $VAR on the target machine Example {:command "echo $message", :env {:message "hello, world!"}} Configuration :command command to run :env map containing shell environment (optional) - default: {} :shell path to shell to use (optional) - default: /bin/sh Resources Task Source 3.2 script Execute a script :file or :inline content on the target machine, optionally (by default) rendering it as a mustache template prior to execution. See also matross.tasks.command 7
12 3.2.1 Example {:file "hello.sh.mustache", :type :script, :vars {:cool "script, yo"}} Configuration :file a file to render :template whether or not to template the script - default: true :env environment variables to expose to the script - default: {} :inline a string to render (optional, instead of :file) :vars map of vars for templating (optional) - default: {} Resources Task Source 3.3 template Render the :file or :inline content as a mustache template and write the result to the :dest file on the target machine Example {:type :template, :dest "~/wow", :inline "{{ example }} is cool!", :vars {:example "matross"}} Configuration :file a local template file to render :dest where to put the templated content :inline string to render (optional, instead of file) :vars for template substitution Resources Task Source 3.4 file Coerces files on the remote filesystem 8 Chapter 3. Task Plugins
13 3.4.1 Example {:path "/tmp/sensitive-file", :type :file, :state :absent} {:path "/etc/db/required-directory", :group "db", :mode 750, :type :file, :state :directory, :owner " Configuration :path remote file path :group file group :mode unix file permissions :state one of: :file, :directory, :absent - default: :file :owner file owner Resources Task Source 3.5 temp-file Creates a temporary file on the target machine and returns the file path in :out Example {:temp-dir "/my/other/tmp", :type :temp-file} ;; you can also use the with-temp-files conveneince macro (with-temp-files [tmp-a tmp-b] (use-temp-files tmp-a tmp-b)) Configuration :temp-dir Remote temporary directory (must already exist) - default: /tmp Resources Task Source 3.6 stream-to-file Write the contents of the given source input to the desired file on the target machine temp-file 9
14 3.6.1 Example {:type :stream-to-file, :src "alias git=wow", :dest "~/.bash_aliases"} Configuration :src source input, string or stream :dest remote filepath Resources Task Source 3.7 stream-from-file Low level task to stream the contents of a file on the target machine to the given writer locally Example {:type :stream-from-file, :src "~/.bashrc", :dest my-input-stream} Configuration :src remote file path :dest destination writer Resources Task Source 10 Chapter 3. Task Plugins
15 CHAPTER 4 Connection Plugins Connections are what matross uses to control remote machines. A connection can be any sort of system you can connect to and execute commands. This could be local, ssh, a virtual container, or anything else you might think to implement. The core set of connection plugins include: 4.1 Local The local connection allows you to run tasks against the local machine Example {:type :local} Configuration None Resources Connection Source 4.2 SSH The SSH connection lets you connect to remote systems over the secure shell protocol Example {:type :ssh :hostname "example.com" :port 2222} 11
16 4.2.2 Configuration :hostname The hostname of the remote machine to connect to. :port Defaults to 22. :username Defaults to current username. :private-key-path By default will use ~/.ssh/id_rsa :public-key-path By default will use ~/.ssh/id_rsa.pub In theory this also supports all options that can be passed to ssh -o, but this has not been tested Resources Connection Source 4.3 Vagrant The vagrant connection allows you to run tasks against a vagrant box over SSH. Uses vagrant ssh-config <box-name> to query information about the vagrant box Example {:type :vagrant :name "ubuntu-14.04"} Configuration :name Name of the vagrant box. Defaults to default (same as vagrant) Resources Connection Source 12 Chapter 4. Connection Plugins
17 CHAPTER 5 Contributing Matross is free software, everyone is encouraged to help make it better. Matross should be simple and pleasant to use, anything else is unexpected behavior and should be reported and fixed. Here are a few specific ways that you could help: use early or unreleased versions report bugs or unexpected behavior suggest new features write or edit documentation write or refactor code (no patch is too small) review patches file or resolve issues Matross is designed to be extended. 5.1 Writing Task Plugins Tasks are configurable operations that execute on machines. They are provided a remote connection and a usersupplied config. With these they can chain together any number of other internal tasks and remote processes Defining tasks The deftask macro is a convenient way to implement the required protocols and multimethods required to hook into the matross plugin system. (deftask :my-task [conn config] ;; (run conn commands...) (task-result task-successful? changed? result-map)) This will register the task :my-task for use with matross. Your task may take any configuration and return any result-map. 13
18 5.1.2 Using your task {:type :my-task :my-arg "hello, world"} This map will be provided instances of :my-task as config. External Resources Check out the source code for futher information. Task Interface Template Task 5.2 Writing Connection Plugins Connections are core to the design and operation of matross. Using a simple process interface matross can connect to a remote system and execute commands. Built in connection types include local and ssh connections, but the system is designed to be extended Connection Interface Matross connections must implement two lifecycle functions: ; IConnect (connect [self] "connect to a machine") (disconnect [self] "disconnect from a machine") And implement a single entry point: ; IRun (run [self process] "execute a command on a machine") Process Model The contract of implementing run for a connection is that given a process specification as input, a representation of a running process will be returned. Above process is a map containing the keys :cmd and optionally :in. The command is a sequence of a program to run and any number of positional arguments. ;; list representing a command to be run ["/bin/sh" "-c" "seq 10 tail -n 50"] A processes :in should be either a String or an InputStream. {:in "hello world" :cmd ["cat"]} The result of executing run should be a representation of a process: specifically two streams, stdout & stderr, and a future of the process exit status. { :out InputStream :err InputStream :exit FutureExitCode } 14 Chapter 5. Contributing
19 5.2.3 Registering Connections In order to register with the matross runner a connection must implement the get-connection multimethod. ; matross.connections.core/get-connection (defmethod get-connection :my-type [connection-spec] (build-my-connection connection-spec)) The registered function is expected to return something that satisfies both the IConnect and IRun protocols. The input is a user-provided map representing the connection, the only hard requirement being that the :type of the map matches your dispatch key (:my-type in the example above). ;; example connection spec { :type :docker :image "ubuntu" } The docker connection type doesn t exist, you should implement it! External Resources Check out the source code for futher information. Connection Interface Local Connection 5.2. Writing Connection Plugins 15
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 informationNetwork Administration/System Administration (NTU CSIE, Spring 2018) Homework #1. Homework #1
Submission Homework #1 Due Time: 2018/3/11 (Sun.) 22:00 Contact TAs: vegetable@csie.ntu.edu.tw Compress all your files into a file named HW1_[studentID].zip (e.g. HW1_bxx902xxx.zip), which contains two
More informationUNIX System Programming Lecture 3: BASH Programming
UNIX System Programming Outline Filesystems Redirection Shell Programming Reference BLP: Chapter 2 BFAQ: Bash FAQ BMAN: Bash man page BPRI: Bash Programming Introduction BABS: Advanced Bash Scripting Guide
More informationLab #2 Physics 91SI Spring 2013
Lab #2 Physics 91SI Spring 2013 Objective: Some more experience with advanced UNIX concepts, such as redirecting and piping. You will also explore the usefulness of Mercurial version control and how to
More informationLinux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2
Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades 2017-2018 Q2 Facultat d Informàtica de Barcelona This first lab session is focused on getting experience in working
More informationGNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018
GNU/Linux 101 Casey McLaughlin Research Computing Center Spring Workshop Series 2018 rccworkshop IC;3df4mu bash-2.1~# man workshop Linux101 RCC Workshop L101 OBJECTIVES - Operating system concepts - Linux
More informationRecap From Last Time:
Recap From Last Time: BGGN 213 Working with UNIX Barry Grant http://thegrantlab.org/bggn213 Motivation: Why we use UNIX for bioinformatics. Modularity, Programmability, Infrastructure, Reliability and
More informationBGGN 213 Working with UNIX Barry Grant
BGGN 213 Working with UNIX Barry Grant http://thegrantlab.org/bggn213 Recap From Last Time: Motivation: Why we use UNIX for bioinformatics. Modularity, Programmability, Infrastructure, Reliability and
More informationUseful Unix Commands Cheat Sheet
Useful Unix Commands Cheat Sheet The Chinese University of Hong Kong SIGSC Training (Fall 2016) FILE AND DIRECTORY pwd Return path to current directory. ls List directories and files here. ls dir List
More informationbash Args, Signals, Functions Administrative Shell Scripting COMP2101 Fall 2017
bash Args, Signals, Functions Administrative Shell Scripting COMP2101 Fall 2017 Positional Arguments It is quite common to allow the user of a script to specify what the script is to operate on (e.g. a
More informationCommand Interpreters. command-line (e.g. Unix shell) On Unix/Linux, bash has become defacto standard shell.
Command Interpreters A command interpreter is a program that executes other programs. Aim: allow users to execute the commands provided on a computer system. Command interpreters come in two flavours:
More informationCOMS 6100 Class Notes 3
COMS 6100 Class Notes 3 Daniel Solus September 1, 2016 1 General Remarks The class was split into two main sections. We finished our introduction to Linux commands by reviewing Linux commands I and II
More informationContainers. Pablo F. Ordóñez. October 18, 2018
Containers Pablo F. Ordóñez October 18, 2018 1 Welcome Song: Sola vaya Interpreter: La Sonora Ponceña 2 Goals Containers!= ( Moby-Dick ) Containers are part of the Linux Kernel Make your own container
More informationOverview of the UNIX File System
Overview of the UNIX File System Navigating and Viewing Directories Adapted from Practical Unix and Programming Hunter College Copyright 2006 Stewart Weiss The UNIX file system The most distinguishing
More informationNetwork 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 informationPhp Scripts If Then Else Linux Bash Shell
Php Scripts If Then Else Linux Bash Shell I am using awk as part of and if then else statement. KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here. I just wrote
More informationDocker Container Logging
Docker Container Logging Default logging behavior Docker natively streams STDOUT and STDERR from a container into a built-in logging service. In order to make use of this services, applications must be
More informationCSE 15L Winter Midterm :) Review
CSE 15L Winter 2015 Midterm :) Review Makefiles Makefiles - The Overview Questions you should be able to answer What is the point of a Makefile Why don t we just compile it again? Why don t we just use
More informationDeveloping Kubernetes Services
/ MARCH 2019 / CON LONDON Developing Kubernetes Services at Airbnb Scale What is kubernetes? @MELAN IECEBULA Who am I? A BRIEF HISTORY Why Microservices? 4000000 3000000 MONOLITH LOC 2000000 1000000 0
More informationEnvironment Variables
Environment Variables > the shell has variables: my_var="some_value" > no space allowed around "=" echo $my_var > dereferencing by prepending a "$" > more generally: ${my_var} > shell variables can be
More informationI/O and Shell Scripting
I/O and Shell Scripting File Descriptors Redirecting Standard Error Shell Scripts Making a Shell Script Executable Specifying Which Shell Will Run a Script Comments in Shell Scripts File Descriptors Resources
More informationIntroduction To. Barry Grant
Introduction To Barry Grant bjgrant@umich.edu http://thegrantlab.org Working with Unix How do we actually use Unix? Inspecting text files less - visualize a text file: use arrow keys page down/page up
More informationSingularity: 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 informationOverview of the UNIX File System. Navigating and Viewing Directories
Overview of the UNIX File System Navigating and Viewing Directories Copyright 2006 Stewart Weiss The UNIX file system The most distinguishing characteristic of the UNIX file system is the nature of its
More information6.033 Computer System Engineering
MIT OpenCourseWare http://ocw.mit.edu 6.033 Computer System Engineering Spring 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. M.I.T. DEPARTMENT
More informationGarment 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 informationA Brief Introduction to Unix
A Brief Introduction to Unix Sean Barag Drexel University March 30, 2011 Sean Barag (Drexel University) CS 265 - A Brief Introduction to Unix March 30, 2011 1 / 17 Outline 1 Directories
More informationChapter 9. Shell and Kernel
Chapter 9 Linux Shell 1 Shell and Kernel Shell and desktop enviroment provide user interface 2 1 Shell Shell is a Unix term for the interactive user interface with an operating system A shell usually implies
More information: the User (owner) for this file (your cruzid, when you do it) Position: directory flag. read Group.
CMPS 12L Introduction to Programming Lab Assignment 2 We have three goals in this assignment: to learn about file permissions in Unix, to get a basic introduction to the Andrew File System and it s directory
More informationLec 1 add-on: Linux Intro
Lec 1 add-on: Linux Intro Readings: - Unix Power Tools, Powers et al., O Reilly - Linux in a Nutshell, Siever et al., O Reilly Summary: - Linux File System - Users and Groups - Shell - Text Editors - Misc
More informationTECH 4272 Operating Systems
TECH 4272 Lecture 3 2 Todd S. Canaday Adjunct Professor Herff College of Engineering sudo sudo is a program for Unix like computer operating systems that allows users to run programs with the security
More informationCS 25200: Systems Programming. Lecture 11: *nix Commands and Shell Internals
CS 25200: Systems Programming Lecture 11: *nix Commands and Shell Internals Dr. Jef Turkstra 2018 Dr. Jeffrey A. Turkstra 1 Lecture 11 Shell commands Basic shell internals 2018 Dr. Jeffrey A. Turkstra
More informationCS197U: A Hands on Introduction to Unix
CS197U: A Hands on Introduction to Unix Lecture 4: My First Linux System Tian Guo University of Massachusetts Amherst CICS 1 Reminders Assignment 2 was due before class Assignment 3 will be posted soon
More informationCSC209F Midterm (L0101) Fall 1998 University of Toronto Department of Computer Science
CSC209F Midterm (L0101) Fall 1998 University of Toronto Department of Computer Science Date: November 6 th, 1998 Time: 1:10 pm Duration: 50 minutes Notes: 1. This is a closed book test, no aids are allowed.
More informationbash, part 3 Chris GauthierDickey
bash, part 3 Chris GauthierDickey More redirection As you know, by default we have 3 standard streams: input, output, error How do we redirect more than one stream? This requires an introduction to file
More informationTable of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs
Summer 2010 Department of Computer Science and Engineering York University Toronto June 29, 2010 1 / 36 Table of contents 1 2 3 4 2 / 36 Our goal Our goal is to see how we can use Unix as a tool for developing
More informationIntroduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines
Introduction to UNIX Logging in Basic system architecture Getting help Intro to shell (tcsh) Basic UNIX File Maintenance Intro to emacs I/O Redirection Shell scripts Logging in most systems have graphical
More informationBash Programming. Student Workbook
Student Workbook Bash Programming Published by ITCourseware, LLC, 7245 South Havana Street, Suite 100, Englewood, CO 80112 Contributing Authors: Julie Johnson, Rob Roselius Editor: Jeff Howell Special
More informationLinux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester
Linux Essentials Programming and Data Structures Lab M Tech CS First Year, First Semester Adapted from PDS Lab 2014 and 2015 Login, Logout, Password $ ssh mtc16xx@192.168.---.--- $ ssh X mtc16xx@192.168.---.---
More informationMore Raspian. An editor Configuration files Shell scripts Shell variables System admin
More Raspian An editor Configuration files Shell scripts Shell variables System admin Nano, a simple editor Nano does not require the mouse. You must use your keyboard to move around the file and make
More informationIntroduction Variables Helper commands Control Flow Constructs Basic Plumbing. Bash Scripting. Alessandro Barenghi
Bash Scripting Alessandro Barenghi Dipartimento di Elettronica, Informazione e Bioingegneria Politecnico di Milano alessandro.barenghi - at - polimi.it April 28, 2015 Introduction The bash command shell
More informationLab 2: Linux/Unix shell
Lab 2: Linux/Unix shell Comp Sci 1585 Data Structures Lab: Tools for Computer Scientists Outline 1 2 3 4 5 6 7 What is a shell? What is a shell? login is a program that logs users in to a computer. When
More informationChapter 1 - Introduction. September 8, 2016
Chapter 1 - Introduction September 8, 2016 Introduction Overview of Linux/Unix Shells Commands: built-in, aliases, program invocations, alternation and iteration Finding more information: man, info Help
More informationGetting 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 informationCENG 334 Computer Networks. Laboratory I Linux Tutorial
CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction
More informationCisco IOS Shell. Finding Feature Information. Prerequisites for Cisco IOS.sh. Last Updated: December 14, 2012
Cisco IOS Shell Last Updated: December 14, 2012 The Cisco IOS Shell (IOS.sh) feature provides shell scripting capability to the Cisco IOS command-lineinterface (CLI) environment. Cisco IOS.sh enhances
More informationdo shell script in AppleScript
Technical Note TN2065 do shell script in AppleScript This Technote answers frequently asked questions about AppleScript s do shell script command, which was introduced in AppleScript 1.8. This technical
More informationA shell can be used in one of two ways:
Shell Scripting 1 A shell can be used in one of two ways: A command interpreter, used interactively A programming language, to write shell scripts (your own custom commands) 2 If we have a set of commands
More informationZK Watcher Documentation
ZK Watcher Documentation Release Nextdoor Engineering December 17, 2015 Contents 1 About 1 1.1 Installation................................................ 1 1.2 Running.................................................
More informationLinux for Beginners. Windows users should download putty or bitvise:
Linux for Beginners Windows users should download putty or bitvise: https://putty.org/ Brief History UNIX (1969) written in PDP-7 assembly, not portable, and designed for programmers as a reaction by Bell
More informationInfoblox IPAM Driver for Kubernetes. Page 1
Infoblox IPAM Driver for Kubernetes Page 1 1. CNI-Infoblox IPAM Driver for Kubernetes.................................................................. 3 1.1 Overview.......................................................................................
More informationA Brief Introduction to the Linux Shell for Data Science
A Brief Introduction to the Linux Shell for Data Science Aris Anagnostopoulos 1 Introduction Here we will see a brief introduction of the Linux command line or shell as it is called. Linux is a Unix-like
More informationScripting. More Shell Scripts Loops. Adapted from Practical Unix and Programming Hunter College
Scripting More Shell Scripts Loops Adapted from Practical Unix and Programming Hunter College Copyright 2006 2009 Stewart Weiss Loops: for The for script version 1: 1 #!/bin/bash 2 for i in 1 2 3 3 do
More informationThe Packer Book. James Turnbull. April 20, Version: v1.1.2 (067741e) Website: The Packer Book
The Packer Book James Turnbull April 20, 2018 Version: v1.1.2 (067741e) Website: The Packer Book Some rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted
More informationPart III. Shell Config. Tobias Neckel: Scripting with Bash and Python Compact Max-Planck, February 16-26,
Part III Shell Config Compact Course @ Max-Planck, February 16-26, 2015 33 Special Directories. current directory.. parent directory ~ own home directory ~user home directory of user ~- previous directory
More informationUnix as a Platform Exercises. Course Code: OS-01-UNXPLAT
Unix as a Platform Exercises Course Code: OS-01-UNXPLAT Working with Unix 1. Use the on-line manual page to determine the option for cat, which causes nonprintable characters to be displayed. Run the command
More informationCSCI 2132: Software Development. Norbert Zeh. Faculty of Computer Science Dalhousie University. Shell Scripting. Winter 2019
CSCI 2132: Software Development Shell Scripting Norbert Zeh Faculty of Computer Science Dalhousie University Winter 2019 Reading Glass and Ables, Chapter 8: bash Your Shell vs Your File Manager File manager
More informationPlease wait to turn the page until everyone is told to begin.
Name: Write your name in the space provided above. Without looking at the test contents, write your initials on the top right corner of every sheet of paper. The last page is a reference. Please wait to
More informationEngineering 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 informationargcomplete Documentation
argcomplete Documentation Release Andrey Kislyuk Nov 21, 2017 Contents 1 Installation 3 2 Synopsis 5 2.1 argcomplete.autocomplete(parser).................................... 5 3 Specifying completers
More informationANSIBLE BEST PRACTICES: THE ESSENTIALS
ANSIBLE BEST PRACTICES: THE ESSENTIALS Timothy Appnel Senior Product Manager, Ansible GitHub: tima Twitter: appnelgroup 2 THE ANSIBLE WAY COMPLEXITY KILLS PRODUCTIVITY That's not just a marketing slogan.
More informationIntroduction to the shell Part II
Introduction to the shell Part II Graham Markall http://www.doc.ic.ac.uk/~grm08 grm08@doc.ic.ac.uk Civil Engineering Tech Talks 16 th November, 1pm Last week Covered applications and Windows compatibility
More informationThe bootstrap node must be network accessible from the cluster nodes. The bootstrap node must have the HTTP(S) ports open from the cluster nodes.
Advanced DC/OS Installation Guide With this installation method, you package the DC/OS distribution yourself and connect to every node manually to run the DC/OS installation commands. This installation
More informationBOINC extensions in the SZTAKI DesktopGrid system
BOINC extensions in the SZTAKI DesktopGrid system József Kovács smith@sztaki.hu BOINC Workshop, Grenoble, 10/09/2008 SZTAKI Desktop Grid: BOINC project http://szdg.lpds.sztaki.hu/szdg SZTAKI Desktop Grid:
More informationRecap From Last Time: Setup Checklist BGGN 213. Todays Menu. Introduction to UNIX.
Recap From Last Time: BGGN 213 Introduction to UNIX Barry Grant http://thegrantlab.org/bggn213 Substitution matrices: Where our alignment match and mis-match scores typically come from Comparing methods:
More informationbash Tests and Looping Administrative Shell Scripting COMP2101 Fall 2017
bash Tests and Looping Administrative Shell Scripting COMP2101 Fall 2017 Command Lists A command is a sequence of commands separated by the operators ; & && and ; is used to simply execute commands in
More informationShell Scripting. Jeremy Sanders. October 2011
Shell Scripting Jeremy Sanders October 2011 1 Introduction If you use your computer for repetitive tasks you will find scripting invaluable (one of the advantages of a command-line interface). Basically
More informationCOMP 2718: Shell Scripts: Part 2. By: Dr. Andrew Vardy
COMP 2718: Shell Scripts: Part 2 By: Dr. Andrew Vardy Outline Control Operators Shell Functions Local Variables read - Read Values form Standard Input IFS Loops break continue Reading Files within Loops
More informationBasic Linux (Bash) Commands
Basic Linux (Bash) Commands Hint: Run commands in the emacs shell (emacs -nw, then M-x shell) instead of the terminal. It eases searching for and revising commands and navigating and copying-and-pasting
More informationIntroduction to UNIX Command Line
Introduction to UNIX Command Line Files and directories Some useful commands (echo, cat, grep, find, diff, tar) Redirection Pipes Variables Background processes Remote connections (e.g. ssh, curl) Scripts
More informationIntroduction to remote command line Linux. Research Computing Team University of Birmingham
Introduction to remote command line Linux Research Computing Team University of Birmingham Linux/UNIX/BSD/OSX/what? v All different v UNIX is the oldest, mostly now commercial only in large environments
More informationGetting Started With Cpsc (Advanced) Hosted by Jarrett Spiker
Getting Started With Cpsc (Advanced) Hosted by Jarrett Spiker Advanced? - Assuming that everyone has done at least a year of CPSC already, or has a strong base knowledge. - If not, there is a Beginners
More informationHow to run NoMachine server inside Docker
How to run NoMachine server inside Docker Page 1 of 5 Given that Docker is installed on the host machine, to run NoMachine server inside Docker it's enough to build an image from the Dockerfile and launch
More informationGetting your department account
02/11/2013 11:35 AM Getting your department account The instructions are at Creating a CS account 02/11/2013 11:36 AM Getting help Vijay Adusumalli will be in the CS majors lab in the basement of the Love
More informationUNIX shell scripting
UNIX shell scripting EECS 2031 Summer 2014 Przemyslaw Pawluk June 17, 2014 What we will discuss today Introduction Control Structures User Input Homework Table of Contents Introduction Control Structures
More informationbistro Documentation Release dev Philippe Veber
bistro Documentation Release dev Philippe Veber Oct 10, 2018 Contents 1 Getting started 1 1.1 Installation................................................ 1 1.2 A simple example............................................
More informationWelcome to the Bash Workshop!
Welcome to the Bash Workshop! If you prefer to work on your own, already know programming or are confident in your abilities, please sit in the back. If you prefer guided exercises, are completely new
More informationAdvanced DC/OS Installation Guide
Advanced DC/OS Installation Guide With this installation method, you package the DC/OS distribution yourself and connect to every node manually to run the DC/OS installation commands. This installation
More informationBash Shell Programming Helps
Bash Shell Programming Helps We use the Bash shell to orchestrate the chip building process Bash shell calls the other tools, does vector checking The shell script is a series of commands that the Bash
More informationPart 1: Basic Commands/U3li3es
Final Exam Part 1: Basic Commands/U3li3es May 17 th 3:00~4:00pm S-3-143 Same types of questions as in mid-term 1 2 ls, cat, echo ls -l e.g., regular file or directory, permissions, file size ls -a cat
More informationCross platform enablement for the yocto project with containers. ELC 2017 Randy Witt Intel Open Source Technology Center
Cross platform enablement for the yocto project with containers ELC 2017 Randy Witt Intel Open Source Technology Center My personal problems Why d I even do this? THE multiple distro Problem Yocto Project
More informationAbout 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 informationCSE 374 Midterm Exam Sample Solution 2/6/12
Question 1. (12 points) Suppose we have the following subdirectory structure inside the current directory: docs docs/friends docs/friends/birthdays.txt docs/friends/messages.txt docs/cse374 docs/cse374/notes.txt
More informationReview of Fundamentals. Todd Kelley CST8207 Todd Kelley 1
Review of Fundamentals Todd Kelley kelleyt@algonquincollege.com CST8207 Todd Kelley 1 GPL the shell SSH (secure shell) the Course Linux Server RTFM vi general shell review 2 These notes are available on
More informationLING 408/508: Computational Techniques for Linguists. Lecture 5
LING 408/508: Computational Techniques for Linguists Lecture 5 Last Time Installing Ubuntu 18.04 LTS on top of VirtualBox Your Homework 2: did everyone succeed? Ubuntu VirtualBox Host OS: MacOS or Windows
More informationLab 10: Sockets 12:00 PM, Apr 4, 2018
CS18 Integrated Introduction to Computer Science Fisler, Nelson Lab 10: Sockets 12:00 PM, Apr 4, 2018 Contents 1 The Client-Server Model 1 1.1 Constructing Java Sockets.................................
More informationLab 3 : Sort program
Lab : Sort program Introduction Your pointy haired Dilbert manager decided to write a Sort program which you have now inherited. The Sort program intends to emulate the main functionality of the GNU sort
More informationAn Illustrated Guide to Shell Magic: Standard I/O & Redirection
An Illustrated Guide to Shell Magic: Standard I/O & Redirection Created by Brennen Bearnes Last updated on 2015-03-03 05:15:07 PM EST Guide Contents Guide Contents Overview Input & Output Standard I/O
More informationADVANCED LINUX SYSTEM ADMINISTRATION
Lab Assignment 1 Corresponding to Topic 2, The Command Line L1 Main goals To get used to the command line. To gain basic skills with the system shell. To understand some of the basic tools of system administration.
More informationsottotitolo A.A. 2016/17 Federico Reghenzani, Alessandro Barenghi
Titolo presentazione Piattaforme Software per la Rete sottotitolo BASH Scripting Milano, XX mese 20XX A.A. 2016/17, Alessandro Barenghi Outline 1) Introduction to BASH 2) Helper commands 3) Control Flow
More informationA Guide to Condor. Joe Antognini. October 25, Condor is on Our Network What is an Our Network?
A Guide to Condor Joe Antognini October 25, 2013 1 Condor is on Our Network What is an Our Network? The computers in the OSU astronomy department are all networked together. In fact, they re networked
More informationUsing BiDiBLAH: Very concise getting started guide.
Using BiDiBLAH: Very concise getting started guide. 1 Tables of contents Using BiDiBLAH... 3 Install procedure:... 3 Installing the raw socket driver:... 3 Install and/or configure your firewall... 5 Configure
More informationNode.js. Node.js Overview. CS144: Web Applications
Node.js Node.js Overview JavaScript runtime environment based on Chrome V8 JavaScript engine Allows JavaScript to run on any computer JavaScript everywhere! On browsers and servers! Intended to run directly
More informationSTATS Data Analysis using Python. Lecture 8: Hadoop and the mrjob package Some slides adapted from C. Budak
STATS 700-002 Data Analysis using Python Lecture 8: Hadoop and the mrjob package Some slides adapted from C. Budak Recap Previous lecture: Hadoop/MapReduce framework in general Today s lecture: actually
More informationThe landscape. File hierarchy overview. A tree structure of directories The directory tree is standardized. But varies slightly among distributions
The landscape David Morgan File hierarchy overview A tree structure of directories The directory tree is standardized But varies slightly among distributions portions can spread across different partitions
More informationIntroduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University
Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an
More informationScaffold Documentation
Scaffold Documentation Release 1.1 Alin Eugen Deac Oct 29, 2017 Contents 1 Contents 3 1.1 How to Install.............................................. 3 1.2 Install Scaffolds.............................................
More informationIntro 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 informationCSE 390a Lecture 2. Exploring Shell Commands, Streams, and Redirection
1 CSE 390a Lecture 2 Exploring Shell Commands, Streams, and Redirection slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson http://www.cs.washington.edu/390a/ 2 Lecture summary Unix
More informationWindows Subsystem for Linux Guide Documentation
Windows Subsystem for Linux Guide Documentation Release Kenneth Reitz Aug 30, 2017 Contents: 1 Background on WSL (Windows Subsystem for Linux) 3 1.1 What is WSL?..............................................
More information