MacGyver IT: w/raspberry Pi 3 Kevin Capwell META Pat Zielke Viroqua

Size: px
Start display at page:

Download "MacGyver IT: w/raspberry Pi 3 Kevin Capwell META Pat Zielke Viroqua"

Transcription

1 Kevin Capwell META Pat Zielke Viroqua DISCLAIMER: The open-source software discussed is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement In no event shall the instructors, authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software. 1 What are the Prerequisites of this Session? Familiarity with the basics of Linux. Being comfortable with CLI. Basic concept of networking technology. Using SMTP for transmission. An area that requires climate monitoring. The need to communicate via digital sign. A thirst for knowledge.

2 Open your John Adams' Boon Boxes! Open your Raspberry Pi 3 Model B Deep Dive on the Raspberry Pi 3

3 Why Install Heatsinks on the RPi 3? 2 The RPi 3's SoC (system on a chip, or CPU) can hit 100 C! That's hot enough to boil water! Not all environments are "ideal". Essential for overclocking the RPi. Helps prevent RPi self throttling. 3M thermal transfer tape just peel and stick. Increase the surface area of SoC by 10 times. RPi with Heatsinks Installed RPi Under load with Thermal Imaging

4 Why DIY Environmental Monitoring? 3 Raspberry Pi 3b - with case ~ $50.00 DS18B20 Digital Temp Probe - 2M $2.50 (1-wire circuit max: 75, length + 3.3v) 4.7k Ohm Resistor ~ $0.25 Qty:3 22cm Solderless Jumper Wires ~ $0.45 Wire Barrier Block ~ $1.40 Software $ all Open-Source! Total: $ Time to "Burn" Raspbian to your microsd Inserting the microsd into the RPi 3

5 NOOBS vs Raspbian 4 NOOBS = New Out Of the Box Software Install a range of OS Live CD Raspbian is the "official" OS of RPi Raspbian is based on Debian distro Release date: Raspbian Stretch Connect the Peripherals to the RPi 3 Parts to Build Your Temp Monitor

6 Temperature Probe Connected to the RPi 3 5 Use the cutter tool to strip 1.5"-2" off of the DS18B20 Red = pin1 3.3v Yellow = pin7 comms Black = pin6 ground Resistor on jumper between pin 1+7 What is Open Source Software? Contributory Software to this Project 6 Apache Apache is the most commonly used Web server on Linux systems. Multi router traffic grapher 2.17 MRTG is a tool to monitor the traffic load on network links.

7 Why? $ Booting the Raspberry Pi 3 Connect the 2.5A power adaptor to the Raspberry Pi 3. After the startup is complete, you will see a Desktop. Go to the RaspMenu upper left > Preferences > Raspberry Pi Config

8 Configuring the Raspberry Pi 3 7 Jump to the Localization tab {Click the OK button after each modification} Locale Lang:en, Co:US Timezone Area:America, Loc:Chicago Key Co:United States, Var:English(US) WiFi Co Code Co:US United States Click on the Interface tab Configuring the Raspberry Pi 3 8 Click on the Interface tab SSH Change to Enable VNC Change to Enable Example: ssh -l pi <ipaddr.of.rpi3> Configuration Click on OK button Select No when you are prompted for a reboot Before we Begin, Here are Some Linux Basics 9 Get help: man <cmd> or <cmd> -h Linux Info: Prompts are important - # vs $ Type: cat /etc/*release* The tab key is your friend The up and down arrows are your friend Capitalization counts Run process in background add & at the end Tail <filename> will give you the last 10 lines

9 Configuring the Raspberry Pi 3 Click the terminal icon on the menu bar. At the $ prompt type: sudo raspi-config Configuring the Raspberry Pi 3 Configuring the Raspberry Pi 3 10 Selecting options from the raspi-config app From the menu select 5. Interfacing Options Select P7 1-wire. Enable 1-wire interface <Yes> <OK> From the menu select 7. Advanced Options Select A1 Expand Filesystem <OK> Select <Finish> Reboot now <Yes> After the reboot, notice the warning about SSH

10 Configuring the Raspberry Pi 3 Return to RPi Config Go to the System tab Change password Change hostname Boot to Desktop Wait for network Click the OK button Configuring the Raspberry Pi 3 This is the top right of the menu bar This section has a few important selections RealVNC configures VNC remote access Bluetooth enables/disables + configuration WiFi enable/disable + select SSID Volume control Task Manager Date + Time Eject a volume Reboot now APT Commands 11 APT (the Advanced Packaging Tool) is a rapid, practical, and efficient way to install packages. Open Terminal apt vs apt-get [answer "Y" to all prompts] sudo apt purge wolfram-engine [streamlined] sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt list --installed sudo apt install <pkg> Reboot now

11 APT Commands 12 After the reboot, customized files have been placed in the ~/oldconfiles directory. Right click Desktop > Desktop Preferences > Defaults > For Large Screens {OK} Open Terminal sudo apt remove/purge <pkg> sudo apt-cache search/policy <keywd pkg> sudo apt autoremove sudo rpi-update Basic System Commands 13 df -h [free space] cat /proc/cpuinfo [processor info] cat /proc/meminfo [memory info] top [show top processes and memory] ls -al [list all files] pwd [print working dir] mkdir myfold chmod 777 myfold ls -al my* rm -fr myfold/ ls -al my* <error> runlevel (3=cli, 5=gui) Enough Basics! Let's Install Some Services 14 sudo apt install apache2 sudo apt install mrtg (read by root > Yes) sudo mkdir /var/www/mrtg cat /boot/config.txt (last: dtoverlay=w1-gpio) cd /sys/bus/w1/devices ls 28* (last file: w1_slave) cat 28*/w1_slave Line 1 ends in YES Line 2 ends w/t=##### cd ~ (this command takes you back "home")

12 Basic Systemd Commands with Examples 15 sudo service apache2 stop sudo service apache2 start sudo service apache2 status sudo systemctl enable/disable <service> sudo systemctl list-unit-files --type=service grep enabled Where is mrtg? sudo cat /etc/rc.local sudo cat /etc/cron.d/mrtg Acquiring the Support Files for the RPi 3 Return to the PIXEL Desktop (which stands for Pi Improved Xwindow Environment, Lightweight ) Enter URL: my.sharepoint.com/:u:/p/kcapwell/eqlvoedzn yhhvob3kxohfbabhb2k3g6w0hrwm2plvfaqrg

13 Distributing the Support Files for the RPi 3 17 ls -al (you should see six files) sudo cp get_temp.py /usr/local/bin sudo cp check_temp.sh /usr/local/bin sudo chmod -R 777 /usr/local/bin sudo chmod -R 777 /usr/local/src sudo chmod -R 777 /var/www/mrtg echo "0" > /usr/local/src/temp_alert_status ls -al /var/www/mrtg Testing the Support Files for the RPi 3 18 Type: get_temp.py Type: check_temp.sh sudo mv /etc/mrtg.cfg /etc/mrtg.old sudo cp mrtg.cfg /etc/mrtg.cfg sudo indexmaker /etc/mrtg.cfg > /var/www/mrtg/index.html ls -al /var/www/mrtg About VI

14 About VI Hmm, Where's the App? About Nano Editing the Support Files for the RPi 3 19 sudo nano /etc/mrtg.cfg (Cont+X when done) sudo nano /usr/local/bin/check_temp.sh sudo nano /etc/apache2/sites-available/000- default.conf {DocumentRoot /var/www/mrtg} sudo service apache2 restart Return to Chromium Press Cont+H Select Clear Browsing Data New Tab Enter localhost in the URL bar

15 Adding Threshold Alerts to your RPi 3 20 Return to the Terminal ($ pwd {tempfiles}) sudo apt install ssmtp sudo apt install mailutils sudo mv /etc/ssmtp/ssmtp.conf ~/Documents sudo mv /etc/ssmtp/revaliases ~/Documents sudo cp ssmtp.conf /etc/ssmtp sudo cp revaliases /etc/ssmtp Editing the Threshold Alerts for the RPi 3 21 sudo nano /etc/ssmtp/ssmtp.conf sudo nano /etc/ssmtp/revaliases nano msg.txt ssmtp user1@example.edu < msg.txt (fix ) sudo crontab -e (stick with nano) * * * * * /usr/local/bin/check_temp.sh cat /var/log/syslog grep check_temp.sh Date + Time /usr/local/bin/check_temp.sh Temperature Monitoring the Results

16 Temperature Monitoring the Results Temperature Monitoring the Results Pat's Awesome Stuff Goes Here

17 Did Someone Mention a Surprise?!?? Questions? Kevin Capwell Midwest Educational Technology Association kcapwell@brainstormk20.com Pat Zielke Viroqua School District pzielke@viroqua.k12.wi.us

Raspberry Pi 3 Model B+ and JMRI with WiFi Access Point for Pi- SPROG One and Pi-SPROG Nano raspian-stretch build

Raspberry Pi 3 Model B+ and JMRI with WiFi Access Point for Pi- SPROG One and Pi-SPROG Nano raspian-stretch build Raspberry Pi 3 Model B+ and JMRI with WiFi Access Point for Pi- SPROG One and Pi-SPROG Nano 2018-03-13-raspian-stretch build May 2018 SPROG DCC These instructions describe the process of setting up a Raspberry

More information

Network Monitoring & Management. A few Linux basics

Network Monitoring & Management. A few Linux basics Network Monitoring & Management A few Linux basics Our chosen platform Ubuntu Linux 14.04.3 LTS 64-bit LTS = Long Term Support no GUI, we administer using ssh Ubuntu is Debian underneath There are other

More information

Raspberry Pi Class Ed 299. Mike Davis Truman College 5/26/2015

Raspberry Pi Class Ed 299. Mike Davis Truman College 5/26/2015 Raspberry Pi Class Ed 299 Mike Davis Truman College 5/26/2015 Goals for Today Discuss Raspberry Camera Projects Fruit Rotting Air Powered Car Photo booth Use a Python Program to control the camera Copy,

More information

INTRODUCTION. To avoid the PHP7 conflicts use this OS image: STEP 1 - Parts List:

INTRODUCTION. To avoid the PHP7 conflicts use this OS image:   STEP 1 - Parts List: INTRODUCTION These are enhanced instruction set to install RaspberryPints on a Raspberry Pi 2 Model B with use of an AlaMode card and Flow Meters from AdaFruit.com. I started with instruction set here:

More information

PiCloud. Building owncloud on a Raspberry PI

PiCloud. Building owncloud on a Raspberry PI PiCloud Building owncloud on a Raspberry PI PiCloud - Building owncloud on a Raspberry PI by Sebastian Büttrich is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International

More information

RaspiDigiHamClock. Raspberry Pi Amateur Radio Digital Clock. v WA4EFH R.Grokett

RaspiDigiHamClock. Raspberry Pi Amateur Radio Digital Clock. v WA4EFH R.Grokett RaspiDigiHamClock Raspberry Pi Amateur Radio Digital Clock v2018-07-08 WA4EFH R.Grokett Overview Amateur Radio Operators (aka HAM Radio) use 24 hour UTC (Universal Coordinated Time) for much of their operation.

More information

Introduction to Raspberry Pi 3 Model B Updates: 9/18/17 6/2/2018

Introduction to Raspberry Pi 3 Model B Updates: 9/18/17 6/2/2018 Introduction to Raspberry Pi 3 Model B Updates: 9/18/17 6/2/2018 A. Objectives 1. Learn about basics of Pi 3 embedded system 2. Learn how to operate your Pi 3 using different interfaces 3. Learn how to

More information

You will need to know the IP address or the hostname of the pi (as discussed above) to continue and login to your pi via putty over Ethernet.

You will need to know the IP address or the hostname of the pi (as discussed above) to continue and login to your pi via putty over Ethernet. MEGR3092 Advanced Motorsports Instrumentation. Raspberry pi project. V0.38 10/4/16 Logger build guide: You will likely find this easier with a HDMI cord and a usb keyboard. If those are not available,

More information

Wallet Installation Guide for Staking on Raspberry PI

Wallet Installation Guide for Staking on Raspberry PI Wallet Installation Guide for Staking on Raspberry PI V2.1 November 2018 CONTENTS 01. Version History... 13 02. Introduction... 3 03. Prerequisites... 13 04. Installation Steps... 6 05. Add an address

More information

Raspberry Pi Setup Tutorial

Raspberry Pi Setup Tutorial Raspberry Pi Setup Tutorial The Raspberry Pi is basically a miniature linux- based computer. It has an ARM processor on it, specifically the ARM1176JZF- S 700 MHz processor. This is the main reason why

More information

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

Configure router. 26. Start AirPort Utility (located in the Utilities folder). The AirPort Utility window show a component diagram: Configure router The Raspberry Pi 3 (RPi) should be assigned a fixed IP address in the router. After installing osmc for the first time, you should configure the router. 26. Start AirPort Utility (located

More information

Adafruit's Raspberry Pi Lesson 6. Using SSH

Adafruit's Raspberry Pi Lesson 6. Using SSH Adafruit's Raspberry Pi Lesson 6. Using SSH Created by Simon Monk Last updated on 2017-08-16 01:12:07 AM UTC Guide Contents Guide Contents Overview Enabling SSH Using a blank boot file Using Raspi-Config

More information

Raspberry Pi 3 Model B and JMRI with WiFi Access Point for Pi-SPROG One and Pi-SPROG Nano raspian-jessie build

Raspberry Pi 3 Model B and JMRI with WiFi Access Point for Pi-SPROG One and Pi-SPROG Nano raspian-jessie build Raspberry Pi 3 Model B and JMRI with WiFi Access Point for Pi-SPROG One and Pi-SPROG Nano 2017-04-10-raspian-jessie build June 2017 SPROG DCC These instructions describe the process of setting up a Raspberry

More information

XLink Kai Raspberry Pi Beginners Tutorial

XLink Kai Raspberry Pi Beginners Tutorial XLink-Kai-Raspberry-Pi-Beginners-Tutorial.md XLink Kai Raspberry Pi Beginners Tutorial Hi! This tutorial will guide you through setting up XLink Kai on a Raspberry Pi to play multiplayer system link Xbox

More information

Interfacing with Raspberry Pi 3 Model B Updated: 9/19/17

Interfacing with Raspberry Pi 3 Model B Updated: 9/19/17 Interfacing with Raspberry Pi 3 Model B Updated: 9/19/17 A. Objectives 1. Learn about basics of Python programming 2. Learn how to use Python and Shell scripts to control GPIO ports on the Pi B. Time of

More information

Sigma Tile Workshop Guide. This guide describes the initial configuration steps to get started with the Sigma Tile.

Sigma Tile Workshop Guide. This guide describes the initial configuration steps to get started with the Sigma Tile. Sigma Tile Workshop Guide This guide describes the initial configuration steps to get started with the Sigma Tile. 1 Contents Contents... 2 Chapter 1: System Requirements... 3 Chapter 2: Configure Your

More information

Raspberry Pi 3 Model B and JMRI with WiFi Access Point for Pi-SPROG One and Pi-SPROG Nano

Raspberry Pi 3 Model B and JMRI with WiFi Access Point for Pi-SPROG One and Pi-SPROG Nano Raspberry Pi 3 Model B and JMRI with WiFi Access Point for Pi-SPROG One and Pi-SPROG Nano SPROG DCC July 2016 These instructions describe the process of setting up a Raspberry Pi 3 Model B as a WiFi access

More information

Raspberry Pi NTP Clock Setup Guide

Raspberry Pi NTP Clock Setup Guide Raspberry Pi NTP Clock Setup Guide Several steps are involved in getting your Raspberry Pi to operate as a NTP Clock. To begin with, you must obtain a LCD Plate (www.adafruit.com) and build it. You must

More information

BME280 Documentation. Release Richard Hull

BME280 Documentation. Release Richard Hull BME280 Documentation Release 0.2.1 Richard Hull Mar 18, 2018 Contents 1 GPIO pin-outs 3 1.1 P1 Header................................................ 3 2 Pre-requisites 5 3 Installing the Python Package

More information

Adafruit's Raspberry Pi Lesson 11. DS18B20 Temperature Sensing

Adafruit's Raspberry Pi Lesson 11. DS18B20 Temperature Sensing Adafruit's Raspberry Pi Lesson 11. DS18B20 Temperature Sensing Created by Simon Monk Last updated on 2016-11-03 12:19:05 AM UTC Guide Contents Guide Contents Overview Other Code Libraries Parts Hardware

More information

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions Lanka Education and Research Network Linux Architecture, Linux File System, Linux Basic Commands 28 th November 2016 Dilum Samarasinhe () Overview History of Linux Linux Architecture Linux File System

More information

Node-RED Dashboard: Pi Control

Node-RED Dashboard: Pi Control : Pi Control Will English June 26, 2017 will.english@vivaldi.net 1 Summary I am using a Raspberry Pi as a headless computer through VNC. A particular interest is learning Node-RED flow programming and

More information

Raspberry Pi Tutorial 2

Raspberry Pi Tutorial 2 Raspberry Pi Tutorial 2 Date: 2/20/2014 Demonstrations: 1. John Mosser will demonstrate a motion sensor using a Raspberry Pi. 2. Alain Tschanz will demonstrate how to access and monitor your Raspberry

More information

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

More 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 information

CYVA Research. Raspberry Pi MQTT Configuration

CYVA Research. Raspberry Pi MQTT Configuration CYVA Research Raspberry Pi MQTT Configuration 2018 CYVA Research Corporation. All rights reserved. 1 of 28 Table of Contents Introduction...3 Raspbian OS Build...3 From Linux...3 NOOBS Installation Instructions...4

More information

Building a standalone access point using a Raspberry Pi Zero W

Building a standalone access point using a Raspberry Pi Zero W Building a standalone access point using a Raspberry Pi Zero W by Barry Robinson The Raspberry Pi Zero W is a small, single board computer (SBC) that has WiFi and Bluetooth connectivity built-in. It is

More information

All rights reserved by Waveshare Electronics Co., Ltd. Not allow to modify, distribute, or copy without permission.

All rights reserved by Waveshare Electronics Co., Ltd. Not allow to modify, distribute, or copy without permission. DVK512 User Manual Copyright All rights reserved by Electronics Co., Ltd. Not allow to modify, distribute, or copy without permission. Revision History Revision Date Description V1.0 Aug. 18, 2014 Initial

More information

RETROPIE INSTALLATION GUIDE

RETROPIE INSTALLATION GUIDE RETROPIE INSTALLATION GUIDE CONTENTS THE FOLLOWING GUIDE WILL COVER THE INSTALLATION, SETUP AND CONFIGURATION OF THE RASPBERRY PI, RASPBIAN OS AND RETROPIE Author: http://rpiarcadebuild.wordpress.com/

More information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

Preparing SD card for Pi

Preparing SD card for Pi Preparing SD card for Pi Sarwan Singh Assistant Director(S) NIELIT Chandigarh Education is the kindling of a flame, not the filling of a vessel. - Socrates 1 sarwan@nielit Using NOOBS- New Out Of Box Software

More information

The Broadband Ham Net community has had a need for a stand alone time server for their meshes. This document will attempt to fill in this need.

The Broadband Ham Net community has had a need for a stand alone time server for their meshes. This document will attempt to fill in this need. Introduction: The Broadband Ham Net community has had a need for a stand alone time server for their meshes. This document will attempt to fill in this need. Some caveats to consider before embark on a

More information

D, E I, J, K. Generalized Regular Expression Parser (GREP), 110 Generic 105 key (Intl) PC, 29 git command, 242

D, E I, J, K. Generalized Regular Expression Parser (GREP), 110 Generic 105 key (Intl) PC, 29 git command, 242 Index A Advanced Linux Sound Architecture (ALSA) device, 214 Airplay amixer command, 252 boot, 255 build script, 254 Build.PL script, 254 central controlling system, 251 lsmod command, 252 make command,

More information

1 Introduction to Raspberry Pi. Date: 24/08/2016 Name: ID:

1 Introduction to Raspberry Pi. Date: 24/08/2016 Name: ID: 1 Introduction to Raspberry Pi 1 Date: 24/08/2016 Name: ID: Name: ID: 1 Introduction to Raspberry Pi The Raspberry Pi is a credit card-sized computer designed and manufactured in the UK with the initial

More information

Spring 2017 Gabriel Kuri

Spring 2017 Gabriel Kuri Lab 2 ECE 431L Spring 2017 Gabriel Kuri This lab is made up of two parts. Part 1 will consist of familiarizing yourself with the Raspberry Pi (RPi). It includes running Unix/Linux commands to become somewhat

More information

Programmable Analog Input Node (PAIN) Master Semester Thesis, Nicolo D Anna.

Programmable Analog Input Node (PAIN) Master Semester Thesis, Nicolo D Anna. Programmable Analog Input Node (PAIN) Master Semester Thesis, Nicolo D Anna. ETH Zu rich June 19, 017 Figure 1: Image of the wire connections between the Pi and Evaluation board. Contents 1 Introduction

More information

Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi

Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi Created by lady ada Last updated on 2017-08-29 10:20:23 PM UTC Guide Contents Guide Contents Overview Pinouts Enabling Serial Console Option

More information

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018

GNU/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 information

Remote GUI access to a Linux computer using Tightvnc

Remote GUI access to a Linux computer using Tightvnc Remote GUI access to a Linux computer using Tightvnc The command line is a great way to manage a remote Linux computer if you don't mind typing in commands, but sometimes you need to be able to view a

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

CS CS Tutorial 2 2 Winter 2018

CS CS Tutorial 2 2 Winter 2018 CS CS 230 - Tutorial 2 2 Winter 2018 Sections 1. Unix Basics and connecting to CS environment 2. MIPS Introduction & CS230 Interface 3. Connecting Remotely If you haven t set up a CS environment password,

More information

Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi

Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi Nick Antipa, Li-Hao Yeh, based on labs by Jon Tamir and Frank Ong January 24, 2018 This lab will walk you through setting up your Raspberry Pi

More information

1. USB to Serial cable driver installation instructions 2. Instructions for use with Raspberry Pi 3. Instructions for use with WRT54g and similar

1. USB to Serial cable driver installation instructions 2. Instructions for use with Raspberry Pi 3. Instructions for use with WRT54g and similar TechnoFix This document contains three sections: 1. USB to Serial cable driver installation instructions 2. Instructions for use with Raspberry Pi 3. Instructions for use with WRT54g and similar Please

More information

#Uncomment the second line to enable any form of FTP write command. #write_enable=yes

#Uncomment the second line to enable any form of FTP write command. #write_enable=yes Installing and configuring Apache 2 in Linux Please note that dashes (-) are used to indicate what you should type, they should not be included in the command. Install Linux on an old desktop, dual core

More information

L.A.M.P. Stack Part I

L.A.M.P. Stack Part I L.A.M.P. Stack Part I By George Beatty and Matt Frantz This lab will cover the basic installation and some configuration of a LAMP stack on a Ubuntu virtual box. Students will download and install the

More information

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

Working with Ubuntu Linux. Track 2 Workshop June 2010 Pago Pago, American Samoa Working with Ubuntu Linux Track 2 Workshop June 2010 Pago Pago, American Samoa Assumptions You are comfortable with the following: Core Linux concepts - Shells - Permissions - Graphical user interface

More information

Node-RED Dashboard: Pi Control

Node-RED Dashboard: Pi Control : Pi Control Will English July 17, 2017 will.english@vivaldi.net 1 Summary I am using a Raspberry Pi as a headless computer through VNC. A particular interest is learning Node-RED flow programming and

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

LAB #7 Linux Tutorial

LAB #7 Linux Tutorial Gathering information: LAB #7 Linux Tutorial Find the password file on a Linux box Scenario You have access to a Linux computer. You must find the password file on the computer. Objective Get a listing

More information

Raspberry Pi 2b PART 1. Table of Contents. Step by step guide. 1. Hardware (0:05) RS Online (ex-tax prices)... 3 MSY ebay...

Raspberry Pi 2b PART 1. Table of Contents. Step by step guide. 1. Hardware (0:05) RS Online (ex-tax prices)... 3 MSY ebay... Step by step guide PART 1 Table of Contents 1. Hardware (0:05)... 3 RS Online (ex-tax prices)... 3 MSY... 4 ebay... 4 Centercom Computers... 4 2. Installing the operating system (0:21)... 5 Preparing the

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

Davide Cavaliere 18 th February 2017

Davide Cavaliere  18 th February 2017 Davide Cavaliere www.monocilindro.com dadez87@gmail.com 18 th February 2017 This guide explains how to set in read mode your Raspberry Pi 3, running the latest Raspbian Jessie (January 2017). This feature

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

UNIT 9 Introduction to Linux and Ubuntu

UNIT 9 Introduction to Linux and Ubuntu AIR FORCE ASSOCIATION S CYBERPATRIOT NATIONAL YOUTH CYBER EDUCATION PROGRAM UNIT 9 Introduction to Linux and Ubuntu Learning Objectives Participants will understand the basics of Linux, including the nature,

More information

ugreen DAB Board Instructions v6

ugreen DAB Board Instructions v6 ugreen Instructions v6 1 Introduction The v4 is a revised and more efficient new version of the. Its smaller layout allows a better integration into most Raspberry Pi enclosures. It is available in two

More information

Spreedbox Getting Started Guide

Spreedbox Getting Started Guide Spreedbox Getting Started Guide Last Updated: September 2017 CONTENTS 1. Introduction... 3 2. Prerequisites... 4 3. Opening the box... 5 4. USB Manual, Quick Start Guide & MAC Sticker... 6 5. International

More information

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack!

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack! Topics What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack! What is a Raspberry Pi? The Raspberry Pi is a Credit Card sized computer.

More information

Linux Kung Fu. Ross Ventresca UBNetDef, Fall 2017

Linux Kung Fu. Ross Ventresca UBNetDef, Fall 2017 Linux Kung Fu Ross Ventresca UBNetDef, Fall 2017 GOTO: https://apps.ubnetdef.org/ What is Linux? Linux generally refers to a group of Unix-like free and open source operating system distributions built

More information

dnsmasq configuration

dnsmasq configuration Aim: Raspberry Pi searches for known router's (SSID) If the router is not found then it creates a hotspot so tablets, phones and computers can connect to the Raspberry Pi's WiFi hotspot, which is not routed

More information

Getting started with the RAK 831 Lora Gateway and RPi3 V1.0 Shenzhen Rakwireless Technology Co., Ltd Rak

Getting started with the RAK 831 Lora Gateway and RPi3 V1.0 Shenzhen Rakwireless Technology Co., Ltd Rak Getting started with the RAK 831 Lora Gateway and RPi3 V1.0 Shenzhen Rakwireless Technology Co., Ltd www.rakwireless.com info@rakwireless.com 2016 Rakwireless all rights reserved. Mentioned in this document,

More information

User Manual V4.0. Element14 element14.com/pidesktop 1

User Manual V4.0. Element14 element14.com/pidesktop 1 User Manual Element14 element14.com/pidesktop 1 Table of Contents 1. Introduction... 3 1.1 Overview... 3 1.2 Features... 3 1.3 Kit Content... 3 2. Getting Started... 4 2.1 Additional Required Items...

More information

Sit with your new teammate

Sit with your new teammate Sit with your new teammate Chadd Group 1 Group 5 Raimundo Ben Brynn Chris M Group 2 Group 4 Group 8 Group 6 Verity Cormac Michael Scott Logan Chris G Michael Kyle Group 3 Group 7 Ryan Mason Larry Jacob

More information

Adding a Real Time Clock to Raspberry Pi

Adding a Real Time Clock to Raspberry Pi Adding a Real Time Clock to Raspberry Pi Created by lady ada Last updated on 2016-11-03 01:44:48 AM UTC Guide Contents Guide Contents Overview Wiring the RTC Adafruit DS1307 Real Time Clock Assembled Breakout

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 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 information

The Wonderful World of Services VINCE

The Wonderful World of Services VINCE The Wonderful World of Services VINCE Agenda definitions services for Windows and Linux breaks? auditing Linux logs for Linux useful tools Goals develop a better understanding of Linux and Windows services

More information

Experiments 1 How to set up Raspberry Pi B+ The little computer you can cook into DIY tech projects

Experiments 1 How to set up Raspberry Pi B+ The little computer you can cook into DIY tech projects Experiments 1 How to set up Raspberry Pi B+ The little computer you can cook into DIY tech projects The Raspberry Pi is a computer about the size of a credit card. The darling of the do-it-yourself electronics

More information

Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Embedded Linux Systems Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Generic Embedded Systems Structure User Sensors ADC microcontroller

More information

Chap2: Operating-System Structures

Chap2: Operating-System Structures Chap2: Operating-System Structures Objectives: services OS provides to users, processes, and other systems structuring an operating system how operating systems are designed and customized and how they

More information

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou EECS 2031 - Software Tools Lab 2 Tutorial: Introduction to UNIX/Linux Tilemachos Pechlivanoglou (tipech@eecs.yorku.ca) Sep 22 & 25, 2017 Material marked with will be in your exams Sep 22 & 25, 2017 Introduction

More information

Lab 1: Introduction to Linux Networking

Lab 1: Introduction to Linux Networking CMPE 150: Introduction to Computer Networks Fall 2011 http://courses.soe.ucsc.edu/courses/cmpe150/fall11/01/ Lab 1: Introduction to Linux Networking Materials: Please bring a USB drive to each lab section.

More information

Adafruit NFC/RFID on Raspberry Pi

Adafruit NFC/RFID on Raspberry Pi Adafruit NFC/RFID on Raspberry Pi Created by Kevin Townsend Last updated on 2018-08-22 03:31:24 PM UTC Guide Contents Guide Contents Overview Freeing UART on the Pi Step One: Run raspi-conf Step Two: Disable

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

Manual to install experimental firmware on a TYTERA MD380

Manual to install experimental firmware on a TYTERA MD380 By Erik, PA0ESH. Monday 28 November 2016 I've been a while in the possession of a MD380/390 Tytera to experiment with DMR. This Chinese MD380/390 is a delight in use and with the support of Arjan Hogt,

More information

System Manager Unit (SMU) Hardware Reference

System Manager Unit (SMU) Hardware Reference System Manager Unit (SMU) Hardware Reference MK-92HNAS065-02 Notices and Disclaimer Copyright 2015 Hitachi Data Systems Corporation. All rights reserved. The performance data contained herein was obtained

More information

Bluetooth Keyboard Setup Instructions

Bluetooth Keyboard Setup Instructions Bluetooth Keyboard Setup Instructions Setup Using GUI (NOOBS/Raspbian) 1. Insert your micro SD card into the micro SD card slot on the Raspberry Pi. 2. Connect an HDMI cable from your Raspberry Pi to your

More information

Manual of ET-LCD SW HAT

Manual of ET-LCD SW HAT ET- LCD SW HAT ET-LCD SW HAT is Board I/O that is specifically designed for connection with Board Raspberry Pi through Connector 40-PIN; this board includes LCD 16x2, SW, Buzzer, RTC DS3231 with Connector

More information

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

This guide assumes that you are setting up a masternode for the first time. You will need: KRT MN Guide Setting up a masternode requires a basic understanding of Linux and blockchain technology, as well as the ability to follow instructions closely. It also requires regular maintenance and careful

More information

Digital Free Library. Created by Kirby Griese. Last updated on :35:15 PM UTC

Digital Free Library. Created by Kirby Griese. Last updated on :35:15 PM UTC Digital Free Library Created by Kirby Griese Last updated on 2018-01-04 04:35:15 PM UTC Guide Contents Guide Contents Overview Parts Needed Preparation Prepare Micro SD Card Install Apache Configure Access

More information

F28HS Hardware-Software Interface: Systems Programming

F28HS Hardware-Software Interface: Systems Programming F28HS Hardware-Software Interface: Systems Programming Hans-Wolfgang Loidl School of Mathematical and Computer Sciences, Heriot-Watt University, Edinburgh Semester 2 2016/17 0 No proprietary software has

More information

Installation guide. Step1. Install the OS for Raspberry Pi 3. Go to to download Raspbian to the PC.

Installation guide. Step1. Install the OS for Raspberry Pi 3. Go to   to download Raspbian to the PC. Installation guide Step1. Install the OS for Raspberry Pi 3 Go to https://www.raspberrypi.org/downloads/ to download Raspbian to the PC. Unzip 2017-01-11-raspbian-jessie.zip and you will get a disc image

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2016 Lecture 5 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 User Operating System Interface - CLI CLI

More information

Introduction to the Raspberry Pi AND LINUX FOR DUMMIES

Introduction to the Raspberry Pi AND LINUX FOR DUMMIES Introduction to the Raspberry Pi AND LINUX FOR DUMMIES 700Mhz ARM v6 Broadcomm CPU+GPU 512 MB RAM (256MB on Model A) Boots off SD card for filesystem USB, Audio out, LAN (Model B only) HDMI + Composite

More information

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG *nix Crash Course Presented by: Virginia Tech Linux / Unix Users Group VTLUUG Ubuntu LiveCD No information on your hard-drive will be modified. Gives you a working Linux system without having to install

More information

Installation of RedHawk 6.5-r24.2 on the Jetson TX1 Development Board Release Notes. September 19 th, 2017

Installation of RedHawk 6.5-r24.2 on the Jetson TX1 Development Board Release Notes. September 19 th, 2017 Installation of RedHawk 6.5-r24.2 on the Jetson TX1 Development Board Release Notes September 19 th, 2017 This page intentionally left blank 1. Introduction This document describes the process of installing

More information

5inch HDMI LCD (B) User Manual

5inch HDMI LCD (B) User Manual 5inch HDMI LCD (B) User Manual Description 5 inch Resistive Touch Screen LCD, HDMI interface, supports various systems Features 800 480 high resolution, touch control Supports Raspberry Pi, and driver

More information

Raspberry Pi as an Ad Blocking Access Point

Raspberry Pi as an Ad Blocking Access Point Raspberry Pi as an Ad Blocking Access Point Created by Justin Cooper Last updated on 2017-12-05 07:26:38 PM UTC Guide Contents Guide Contents Overview Preparation Install Software Improving Performance

More information

Presented by Bill Genske Gary Jackson

Presented by Bill Genske Gary Jackson Quintessential School Systems Session C Linux Presented by Bill Genske Gary Jackson Copyright Quintessential School Systems, 2009 All Rights Reserved 867 American Street --- Second Floor --- San Carlos,

More information

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Introduction 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 information

Linux 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 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 information

Perl and R Scripting for Biologists

Perl and R Scripting for Biologists Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications

More information

TECHILA WORKER INSTALLATION GUIDE LINUX ADMINISTRATOR GUIDE

TECHILA WORKER INSTALLATION GUIDE LINUX ADMINISTRATOR GUIDE ADMINISTRATOR GUIDE 17 OCTOBER 2016 2/12 17 OCTOBER 2016 Disclaimer Techila Technologies Ltd. disclaims any and all warranties, express, implied or statutory regarding this document or the use of thereof

More information

Using RDP with Azure Linux Virtual Machines

Using RDP with Azure Linux Virtual Machines Using RDP with Azure Linux Virtual Machines 1. Create a Linux Virtual Machine with Azure portal Create SSH key pair 1. Install Ubuntu Bash shell by downloading and running bash.exe file as administrator.

More information

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University Lab2 - Bootloader 1 / 20 Cross-compile U-Boot. Connect to Raspberry Pi via an USB-TTL cable. Boot Raspberry Pi via U-Boot. 2 / 20 Host Machine OS: Windows Target Machine Raspberry Pi (2 or 3) Build Machine

More information

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04

More information

Adafruit NFC/RFID on Raspberry Pi

Adafruit NFC/RFID on Raspberry Pi Adafruit NFC/RFID on Raspberry Pi Created by Kevin Townsend Last updated on 2016-11-03 06:36:54 AM UTC Guide Contents Guide Contents Overview Freeing UART on the Pi Step One: Run raspi-conf Step Two: Disable

More information

Operating Systems and Using Linux. Topics What is an Operating System? Linux Overview Frequently Used Linux Commands

Operating Systems and Using Linux. Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands 1 What is an Operating System? A computer program that: Controls how the CPU, memory

More information

Helsinki 19 Jan Practical course in genome bioinformatics DAY 0

Helsinki 19 Jan Practical course in genome bioinformatics DAY 0 Helsinki 19 Jan 2017 529028 Practical course in genome bioinformatics DAY 0 This document can be downloaded at: http://ekhidna.biocenter.helsinki.fi/downloads/teaching/spring2017/exercises_day0.pdf The

More information

Introduction: What is Unix?

Introduction: What is Unix? Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix

More information

UoW HPC Quick Start. Information Technology Services University of Wollongong. ( Last updated on October 10, 2011)

UoW HPC Quick Start. Information Technology Services University of Wollongong. ( Last updated on October 10, 2011) UoW HPC Quick Start Information Technology Services University of Wollongong ( Last updated on October 10, 2011) 1 Contents 1 Logging into the HPC Cluster 3 1.1 From within the UoW campus.......................

More information

Getting Started With UNIX Lab Exercises

Getting Started With UNIX Lab Exercises Getting Started With UNIX Lab Exercises This is the lab exercise handout for the Getting Started with UNIX tutorial. The exercises provide hands-on experience with the topics discussed in the tutorial.

More information

Linux crash lecture by Andrey Lukyanenko

Linux crash lecture by Andrey Lukyanenko Linux crash lecture by Andrey Lukyanenko T-110.5102 Laboratory Works in Networking and Security 20.1.2015 Otaniemi based on material of Miika Komu, 2013 Traversing Directories cd Change Directory Change

More information