Raspberry Pi task checklist:
- install pi from noobs
- connect HDMI, keyboard and mouse
- insert SD card
- connect power
- select Raspian install, click install
- once install is finished, in raspi-config, choose third line (startup options)
- select login to gui automatically
- tab to save, restart
- login with pi/raspberry
- ssh into from local mac
- check your IP address from terminal using ifconfig
- from another machine, ping the address of your Rπ box
- note the response time
- ssh into the unit with: ssh pi@10.14.254.x or whatever your IP address is from ifconfig
- use the normal password
- test your connection with who, last and man
- man ps
- note ps ax (no flags) and other options
- apt-get update
- from either your ssh connection (terminal) or the LX terminal, run sudo apt-get update
- sudo shutdown -r now
- install tightvnc server
- sudo apt-get install tightvncserver
- run: tightvncserver
- create control and view passwords
- start VNC server from terminal: tightvncserver
- client can be iTeleport or free installer at tightvnc.com
- port is probably 5901
- must run tightvncserver after restart to enable (see me if you want to automate this)
- Install wireless network
- make sure wireless unit is plugged into USB port
- use utility (upper left) to select wireless network
- sudo apt-get install wavemon
- run: wavemon
- pretty pictures...
- install netatalk
- sudo apt-get install netatalk
- after install, restart
- verify that you can login to your rPI using appletalk (command-K)
- install apache2 web server
- sudo apt-get install apache2 -y
- after install, restart
- test your web server at http://127.0.0.1
- test your webserver at http://10.14.254.x
- create home web directory
- open terminal
- sudo mkdir /home/pi/www
- sudo chmod 777 /home/pi/www
- sudo mv /var/www /var/www-backup
- sudo ln -s /home/pi/www /var/www
- sudo reboot
- test your web server now, it should show a folder listing
- create a sample page
- on your mac desktop, use command-shift-3 to take a picture of the desktop
- login to your rPI using command-k and the IP address
- login is pi, password is raspberry
- drop the screenshot file into the www directory
- refresh the web page, check to see if you can open the file
- scp index.html from /var/www/
- ssh into the unit from your mac
- using the scp commands, copy the index.html page from the web directory of your Rπ box:
- scp pi@10.14.88.x:/var/www-backup/index.html /Users/yourname/Desktop
- open the index.html page with textwrangler, note the html structure
- change a few words, then drag the changed file onto the safari icon to view your changes
- drop the file into the www directory, see if the listing changes
- folders and directories
- create a folder in www called test
- on your browser, navigate to test http://10.14.254.x/test/
- see if the directory listing returns
- index.html is the default page, if it is not there, the server returns a directory listing
- copy jpg into www, change index.html into index2.html
- using the mounted directory on your mac, insert a jpg file
- change the name of index.html to index2.html
- view the site in a browser-what changed?
- open the index2.html file and the jpg file in a browser
- demonstrate directory listing
- add a few more items to your directory
- check to see if the directory is listed
Comments