Raspberry Pi Setup – The Basics (SSH, FTP, Python)
Raspberry Pi Setup – The Basics. This tutorial will show you how to do an initial Raspberry Pi Setup as well as some useful software SSH, FTP. I am running Mac OS X Yosemite. If you are using windows this tutorial should still work although you may have to change a few small things.
1. Setup SD Card
Visit the Raspberry Pi downloads page and download the NOOBS .zip file. Expand the zip file and drag all of the contents onto your SD card (after formatting). Once this is complete you can eject the SD card and plug it into your pi.
2. Enable SSH
Under advanced options after booting you will want to enable SSH so that you can access the Pi from your computer and have your monitor back.
3. Change default password
Change the default password. For obvious reasons. At the command line run the command ifconfig to see what the IP address of your Pi. Mine is 192.168.0.8.
4. Logging into SSH
You can ssh into your pi with the command
5. Update – Upgrade – Reboot
Run the command
sudo apt-get install rpi-update -y && sudo apt-get update && sudo apt-get upgrade -y && sudo shutdown -r now
to upgrade and update your Raspberry Pi. It should reboot when it is complete.
6. Installing Useful Tools (Python, FTP, PIL)
Run the command
sudo apt-get install python-dev -y python-pip -y libjpeg8-dev -y sudo pip install PIL
to install python development tools and libjpeg. It should take a few minutes to install.
sudo apt-get install vsftpd -y sudo nano /etc/vsftpd.conf
Edit or uncomment the following lines to secure VSFTPD
Hit CTRL + x and type y and hit enter to save the file.
sudo /etc/init.d/vsftpd restart
You can now FTP into your Raspberry Pi with software such as FileZilla.