brew update
brew cask install virtualbox virtualbox-extension-pack vagrant
brew install ansible
cp playbook.yml-example playbook.yml
vagrant up
vagrant provision
# or
vagrant reload --provision
Download latest Raspbian from Raspberry Pi Downloads - Software for the Raspberry Pi, unzip it.
Eject your SD card if you have mounted it.
After running the below command, insert your SD card.
./write_sdcard ~/Downloads/2017-08-16-raspbian-stretch.img
During the writing process, press Ctrl-T to show the progress.
After running the below command, reinsert your SD card.
./sdcard_enable_ssh_and_wifi your_wifi_ssid your_wifi_password
Insert the SD card into your Raspberry Pi, boot up.
Check your router, or run command sudo nmap -sn 192.168.0.0/24
to find ip address of your Raspberry Pi. (192.168.0.0 is your local network)
Using ssh
to log in. The default password of user pi
is raspberry