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

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

Linux Systems Administration Getting Started with Linux

Linux Essentials Objectives Topics:

Perl and R Scripting for Biologists

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

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

Introduction to Linux

Preparing SD card for Pi

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

Introduction to Linux

XLink Kai Raspberry Pi Beginners Tutorial

INTRODUCTION TO LINUX

GNU/Linux: An Essential Guide for Students Undertaking BLOSSOM

CSE Linux VM. For Microsoft Windows. Based on opensuse Leap 42.2

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

Essential Unix and Linux! Perl for Bioinformatics, ! F. Pineda

Filesystem Hierarchy Operating systems I800 Edmund Laugasson

Getting Started with Linux

Adafruit's Raspberry Pi Lesson 6. Using SSH

CS197U: A Hands on Introduction to Unix

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1

Unix System Architecture, File System, and Shell Commands

Contents in Detail. Acknowledgments

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

PiCloud. Building owncloud on a Raspberry PI

ECE 471 Embedded Systems Lecture 10

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

Introduction of Linux

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

1 Installation (briefly)

ELE409 SPRING2018 LAB0

At course completion. Overview. Audience profile. Course Outline. : 55187B: Linux System Administration. Course Outline :: 55187B::

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.

"Charting the Course... MOC B: Linux System Administration. Course Summary

Raspberry Pi Tutorial 2

OptiRain Open 2 Installation Guide for LInux. This guide provides general instructions for installing OptiRain Open 2 on a Linux based server.

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering

Course 55187B Linux System Administration

How to Make a Raspberry Pi Web Server

CompTIA Linux Course Overview. Prerequisites/Audience. Course Outline. Exam Code: XK0-002 Course Length: 5 Days

Introduction to the shell Part II

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers

Exam LFCS/Course 55187B Linux System Administration

Building a standalone access point using a Raspberry Pi Zero W

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

Embedded Linux. A Tour inside ARM's Kernel

Chapter-3. Introduction to Unix: Fundamental Commands

RETROPIE INSTALLATION GUIDE

Raspberry Pi User Guide, 2nd Edition

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK

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

Development Environment Embedded Linux Primer Ch 1&2

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Operating Systems. Copyleft 2005, Binnur Kurt

Operating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing

The Digital Revolution

1 Getting Started Introduction Technical Specifications Basic Setup SD Cards 14

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!

Prerequisites: Students should be comfortable with computers. No familiarity with Linux or other Unix operating systems is required.

Linux Command Line Primer. By: Scott Marshall

Raspberry Pi Introduction

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

Bluetooth Keyboard Setup Instructions

Raspberry Pi Setup Tutorial

Linux Kung Fu. Stephen James UBNetDef, Spring 2017

Introduction to Linux

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester

CSCI 201 Lab 1 Environment Setup

Introduction to Linux. Roman Cheplyaka

Table 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

Linux for Beginners. Windows users should download putty or bitvise:

Basic Linux Command Line Interface Guide

Linux Fundamentals (L-120)

List of Linux Commands in an IPm

LINUX FUNDAMENTALS. Supported Distributions: Red Hat Enterprise Linux 6 SUSE Linux Enterprise 11 Ubuntu LTS. Recommended Class Length: 5 days

Raspberry Pi NTP Clock Setup Guide

Basic Linux Command Line Interface Guide

Chap2: Operating-System Structures

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

Introduction. What is Linux? What is the difference between a client and a server?

CSE 303 Lecture 2. Introduction to bash shell. read Linux Pocket Guide pp , 58-59, 60, 65-70, 71-72, 77-80

Introduction to Supercomputing

Introduction to UNIX command-line

Introduction to remote command line Linux. Research Computing Team University of Birmingham

TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103

EE516: Embedded Software Project 1. Setting Up Environment for Projects

Introduction Into Linux Lecture 1 Johannes Werner WS 2017

Computer Systems and Architecture

The Unix Shell & Shell Scripts

Introduction to Linux Workshop 1

UNIX. The Very 10 Short Howto for beginners. Soon-Hyung Yook. March 27, Soon-Hyung Yook UNIX March 27, / 29

Unix Introduction to UNIX

CS370 Operating Systems

Linux Kung-Fu. James Droste UBNetDef Fall 2016

LINUX FUNDAMENTALS (5 Day)

LPIC-1 System Administrator

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

Filesystem Hierarchy and Permissions

Topics. Installation Basics of Using GNU/ Linux Administration Tools

IoT with Intel Galileo Gerardo Carmona. makerobots.tk

Transcription:

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, 253 Net-SDP-0.07 directory, 254 precursor packages, 251 ShairPort enable, 255 troubleshooting, 255 wget command, 252 253 Apache apt-get tool, 161 in browser window, 162 configuration Directory config sections, 164 mods-available and mods-enabled, 162 ScriptAlias, 164 sites-available and sites-enabled, 163 history, 160 output, 161 troubleshooting, 165 validation, 161 B BASH, 140, 143 description, 141 FizzBuzz test, 141 init script case statements, 153, 155 comments, 152 forking, 154 Linux system, 153 run files, 154 script creation, 154 touchfile, 155 XBMC, 151 152 interpreted vs. compiled languages, 142 logical operation if, 144 loop, 149, 151 output, 142 143 security and user management new user creation, 157 Raspbian security rules, 157 shebang, 141 test based arithmetics arithmetic operation, 147 assignment mode, 146 dereferencing mode, 146 modulus, 145 operators, 146 output, 147 variable, 146 troubleshooting, 148 149, 151 variables, 144 working principle, 141 BIOS, 8 Bourne Again Shell (BASH), 74, 141 C Commands filesystem, 97 resource monitoring (see System resources monitoring) RTFM, 99 su command, 98 sudo command, 97, 99 system/administrative function, 97 visudo command, 97 Common Gateway Interface (CGI), 175 Compiled languages, 142 configure command, 244 245 291

index D, E dmesg command ALSA device, 214 mmcblkop2, 214 output, 214 troubleshooting, 216 /dev contents, 214 udev administration function, 215 216 working principle, 213 Domain Name System (DNS), 140 Driver message. See dmesg command Dynamic Host Control Protocol (DHCP), 139 F File commands. See also Commands cat command, 109 combine commands awk, 112 buffer, 111 inverse grep, 111 PATH variable, 113 114 ps and grep, 111 user environment, 113 115 xargs, 112 command-line arguments, 109 cron command, 115 116 find command, 109 grep command, 110 kind, 110 less command, 109 usage, 109 Filing system /bin and /sbin, 82 /boot, 82 cp command, 87 definition, 77 /dev, 82 /etc, 81 file permissions chgrp command, 94 chmod command, 92 chown command, 94 -lh argument, 90 sudo command, 93 folder, 78 fully qualified and relative paths, 89 hard disk partitions, 80 /home, 82 /lib, 83 libraries, 77 /lost+found, 83 ls, 85 /media, 83 mkdir command, 86 /mnt, 83 mv command, 87 on Mac, 79 /opt, 83 /proc, 81 pwd command, 84 rm command, 88 root directory, 78, 81 separate roots, 78 shortcuts and links, 95 /srv, 84 /sys, 84 /tmp, 84 touch tool, 86 unified filesystem, 79 users and groups, 90 /usr, 83 /var, 82 FizzBuzz test, 141 Forking, 154 G Generalized Regular Expression Parser (GREP), 110 Generic 105 key (Intl) PC, 29 git command, 242 H HDMI capable display, 5 lead, 5 Hyper Text Markup Language (HTML), 166, 179 tags, 179 180 website, working principle, 180 I, J, K Image Writer on Windows download, 283 to SD card, 285 warning message, 283 win32diskimager, 284 Infinite loop, 149 install command, 254 Internet of Things (IoT), 258 Interpreted languages, 142 Isolation testing, 233 L LAMP, 159 Apache apt-get tool, 161 in browser window, 162 292

Index configuration, 162 history, 160 output, 161 troubleshooting, 165 validation, 161 Linux, 160 MySQL (see MySQL) PHP apt-get command, 176 CGIs, 176 characteristics, 177 dynamic functions, 175 functions, 177 info page, 177 MySQL config info, 178 php5-mysql package, 178 web application basic concept, 181 connection and database, 181 create statement, 181 database content, 182 184 delete option, 188 HTML, 179 insert case, 186 187 overview, 179 PHP code, 181 rtrim function, 190 to-do list, 191 troubleshooting, 191 website data insertion, 184, 186 website content, 159 Lightweight Desktop Environment (LXDE), 64 Linux, 9 LXDE, 39 accessories calculator, 45 file manager, 45 Image Viewer, 46 PDF Viewer, 48 task manager, 48 terminal, 49 text editor, 50 XArchiver, 44 clock icon, 42 CPU monitor, 42 games menu, 50 Minecraft, 51 Pi games, 51 Help menu, 57 Internet menu, 52 Pi Store, 53 Raspberry Pi Resources, 53 web browser, 54 Mathematica, 41 network icon, 41 Preferences menu, 57 Programming menu, 54 Mathematica and Wolfram, 55 Python 2 and Python 3, 56 Scratch, 56 shut down button, 42 speaker controls, 41 start menu, 41 42 trash icon, 41 Wolfram, 41 M Mail transfer agent (MTA), 221 make command, 253 Makefile, 243 Media center Airplay amixer command, 252 boot, 255 Build.PL script, 254 build script, 254 central controlling system, 251 lsmod command, 252 make command, 253 Net-SDP-0.07 directory, 254 precursor packages, 251 ShairPort enable, 255 troubleshooting, 255 wget command, 252 253 XBMC (see XBox Media Center (XBMC)) Micro USB lead, 4 modprobe command, 251, 256 Motion capture configuration testing, 218 ffmpeg_cap_new, 218 installation, 216 open and edit file, 218 output, 216 scp command, 217 target_dir, 218 threshold, 218 troubleshooting, 220 mutt tool, 223 MySQL installation, 166 167 Structured Query Language (SQL) data insertion, 171 DELETE, 175 pi, 168 SELECT, 171 173 syntax, 167 table creation, 168 170 types, 167 UPDATE, 173 174 293

index N Nano, 119 cursor keys, 124 exit file, 123 keyboard combinations, 121 modified file, 121 save file, 122 shortcut bar, 121 word search, 125 WriteOut command, 122 NOOBS, 281 description, 10 downloaded, 11 SD card, 11 start up, 17 versions, 10 O The Onion Router (TOR). See TOR P, Q PHP apt-get command, 176 CGIs, 176 characteristics, 177 dynamic functions, 175 functions, 177 info page, 177 MySQL config info, 178 php5-mysql package, 178 Pi management BASH (see BASH) remote access command line, 139 DNS, 140 Linux environment, 139 networking, 140 SSH, 140 R rapsi-config command, 238 Raspberry Pi. See also Media center alerting system mutt tool, 223 SSMTP, 221 testing, 224 troubleshooting, 225 ARM-based device, 11 BIOS, 8 blank DVD, 3 boot up, 16 configuration, 22 advanced options, 35 boot up, 23 camera enable, 32 Change Timezone, 28 29 default language selection, 27 desktop booting, 24 Expand Filesystem, 23 24 international settings menu, 26 keyboard, 29 locale selection, 26 27 memory allocation, 35 overclocking, 33 34 password change, 24 25 Rastrack, 32 decision making, 226 design solution, 227 dmesg command ALSA device, 214 mmcblkop2, 214 output, 214 troubleshooting, 216 /dev contents, 214 udev administration function, 215 216 working principle, 213 envelope, 1 2 expr function, 231 for loop, 230 hardware requirements, 211 HDMI capable display, 5 HDMI lead, 5 if statement, 229 keyboard and mouse, 7 LASTCOUNT and NUMFILES, 230 micro SD card, 5 6 micro USB lead, 4 motion capture configuration testing, 218 ffmpeg_cap_new, 218 installation, 216 open and edit file, 218 output, 216 217 scp command, 217 target_dir, 218 threshold, 218 troubleshooting, 220 multicard reader, 7 mutt tool, 224 NOOBS description, 10 downloaded, 11 SD card, 11 start up, 17 versions, 10 294

Index presetup, 212 SD card reader, 6 7 software design problems considerations, 226 goals, 226 requirements, 226 SSMTP, 223 testing, 231 launch method, 232 updates, 233 troubleshooting, 233 USB power adapter, 5 Read The Flaming Manual (RTFM), 99 Red Hat Enterprise Linux (RHEL), 9 Regular expressions, 131, 242 Relational database system, 166 Root, 97 S Scripting languages. See Interpreted languages Secure Shell (SSH), 72 Send our mail to the mail server (SSMTP), 221, 223 Source code. See Compiled languages SSH, 140 Stream Editor (sed), 242 243 Structured Query Language (SQL) data insertion, 171 DELETE, 175 pi, 168 SELECT, 171 173 syntax, 167 table creation, 168 169 DESCRIBE command, 170 primary key, 168 SHOW command, 170 syntax, 168 types, 167 UPDATE, 173 174 sudo sh tor.sh command, 278 System resources monitoring CPU utilization percentage, 101 disk usage, 103 105 free to view memory allocation, 103 memory allocation, 103 memory usage, 102 process management kill command, 107 kill processes, 108 /proc file system, 108 columns, ps, 107 ps command, 106 ps ef, 106 process table, 102 tasks, 101 top command, output, 99 100 uptime and load average, 101 T TeleVideo 925 computer terminal, 59 Text editor, 119 TOR Browser Check, 279 confirmation, 277 Disable, 279 Epiphany, 276 error, 280 installation, 275 kernel module, 280 local IP range, 277 loopback addres, 277 non_tor variable, 277 raspberry pi update, 280 relays list, 274 upgrade command, 280 usage, 276 work station, 274 Transparent proxy, 276 U USB connectors, 4 USB power adapter, 5 V Video. See XBox Media Center (XBMC) Vim cursor keys, 131 delete command, 132 description, 125 i and r commands, 134 modes/personalities, 127 q command, 129 w command, 127 word search, 129 Virtual Network Computing (VNC) execution, 195 installation, 195 output, 195 TightVNC Client, 196 vncserver, 196, 198 Visual mode copy and paste, 135 highlighting text, 134 295

index W WiFi command line, 206, 208 configuration ifconfig, 205 network details, 204 scan results window, 203 wpagui window, 202 D-Link DWA-131, 199 Ethernet cable, 208 ifconfig, 200 installation package, 201 lsusb command, 200 overview, 198 setup, 199 USB devices, 198 wpa-gui, 201 Windows 10 benefits, 259 configuration, 267 language selection, 268 Pi information, 269 Tutorials, 270 WindowsIoTCoreWatcher, 270 Windows on Devices page, 269 firmware image to SD card, 262 erase content, 264 flash file, 264 warning message, 265 Internet of Things, 258 IoTCoreImageHelper, 263 IoT tools, 260 on Raspberry Pi, 257 installation requirements, 259 SD card booting, 266 Wireless Computing (WiPi) commands, 194 Pi usage, 193 194 power output, 209 uncontraints human input devices, 194 remote GUI, 195 196 USB adapters, 209 with WiFi (see WiFi) Writing an image to SD card disk utility, 286 dd tool, 289 terminals, 287 Raspian download Bit Torrent client, 282 Image Writer, Windows, 283 third party OS, 281 X XBox Media Center (XBMC) boot, 249 250 boot screen, 247 Boxee Box, 237 build-setup, 238 buttons and playback controls, 249 definition, 237 main menu, 247 operating system, 238 Pi boot system, 246 Pisces, 238 RaspMC, 238 remote control application, 248 sed and regular expressions, 242 source code configure command, 244 245 makefile, 243 make system, 246 troubleshooting, 246, 250 VideCoreIV, 241 XMBCbuntu, 237 X-server, 39 Y, Z Ye Olde Computer, 60 BASH, 74 command line, 72 command line interface, 62 console, 63 dumb terminal, 60 GUIs and TUIs, 61 LXTerminal, 64 modern terminals, 61 pipes, 62 simplicity, 62 SSH client, 66 on Mac, 71 server on Pi, 65 text based interface, 62 text based sessions, 62 virtual terminal, 63 296