Note: These instructions assume a fresh install of the Raspberry Pi's image. It'd be ideal if we could set up a backed up .img file with the necessary softwares installed at a known working version and then have a script for installing our scripts and applications.
Required Components:
microSD card and adapter
Linux OS (Windows is unable to read drives formatted as ext4)
The latest image of Raspbian-jessie-lite can be found here: IMG Download. Download the .img file into whatever directory you desire and decompress it.
Follow the directions on this page: https://caffinc.github.io/2016/12/raspberry-pi-3-headless/
Pay special attention to the IP addresses you write to /etc/dhcpcd.conf, you will need these for getting in a later step.
Once finished with the directions in step 2, run the following command to verify that you're successful
ssh pi@<wlan0_static_ip_address>
If you're prompted for a password, enter "raspberry" (the default password) and you're on your merry way.
It's recommended to change from the default password at this point for security. Use password "3vt-p!"
Required Components:
Router
Ethernet cable
Next the Pi needs to be configured to run it's own WiFi Access Point. Connect the Pi to a router via an Ethernet cable (WiFi will not working as we'll be reconfiguring that interface). You wrote down the eth0 static IP address from before right?
SSH in using the ethernet address.
Run the following commands:
sudo apt-get update
sudo apt-get -y install vim
*Note: Alternatively, as you'll see in the tutorials, you can use nano as the editor. All up to the user.
4. Follow the commands in this tutorial for setting up the DHCP server and DNS masking: WiFi Access Point tutorial
5. Once again, note down the address you enter into /etc/network/interfaces. This is the address we'll use to SSH into the Pi later.
All done! You should be able to connect to the Pi's wifi network and SSH in using the address you noted in the last set of directions.