Rpi-notes-01
Jump to navigation
Jump to search
Getting started with Raspberry Pi
Talk at Westlakes Amateur Radio Club 17 October 2015
noobs vs raspbian
checksums and torrents http://www.nirsoft.net/utils/hash_my_files.html
partitions and sd cards
win32diskimager download and install http://sourceforge.net/projects/win32diskimager/
dd for windows
http://www.chrysocome.net/dd
writing image to sd card
boot into linux
login
shutdown
set memory split (raspi-config)
find current ip address
GPIO http://elinux.org/RPi_Low-level_peripherals
--- next ---
Linux
- Putty / logging in
- Home directory and changing directories ~, cd, pwd, ls, root dir, structure, ls –l command explained
- File permissions (dir, owner, group, world)
- Other commands: touch, cat, grep, | (pipe), more, less
- Vi and basic commands: a, dd, x, ., n, :wq, :wq!, ZZ, r, $, ^, gg, G, cw, / (find)
- Datestamp / unix time
- keeping system up to date
HTML
- .html / .htm
- Basic structure: html-head-body, title
- Bold, nbsp, p, br,
- Tables
- Forms
- css
- images
- javascript
PHP
- <?php ?> open and start tags, renaming extention to .php
- Basic commands: phpinfo(), echo, date
- Printing html tags from php
- Variables and arithmetic
- String concatenation
- Commands: substring, include, if-then, while,
- Fetching html form variables
- Accessing mysql from php
MySQL
- Database and table
- Rows, columns, index, auto-increment, id-field, primary key
- Phpmyadmin web interface
- Field types
- SELECT, INSERT, UPDATE, DELETE
- Sorting