-
Download Raspian Jessie with Pixel from raspberrypi.org
-
Write the
.imgto a microSD card following this guide -
Put the microSD card in the pi; attach a monitor, keyboard, and mouse; then power it up.
-
IMPORTANT Set the password for the
piuser (default is "raspberry"):$ passwd -
Connect the pi's wifi to
CSE-Local. Make sure to check the "Register Me Now" check box so that the department remembers this pi's MAC address. -
From
$HOMEclone this repo$ git clone https://github.com/DistributedComponents/discoberry-farm -
Update to latest release and install system dependencies:
$ sudo $HOME/discoberry-farm/apt-update.sh $ sudo reboot -
Localize, enable ssh, and set hostname. Run:
$ sudo raspi-configUnder
Localizationset:- locale to
en_US.UTF-8 UTF-8(make sure to unset the GB locale) - timezone to
America/Los_Angeles - keyboard to US layout
- wifi codes to US
Under
Interfacing Optionsset:- ssh to enabled
Under
Advanced Optionsset:- hostname to
discoberryNN(whereNNis the number of this pi)
When you finish, accept the prompt to reboot.
- locale to
-
Set up ssh. Make sure ssh is running (and implicitly create
$HOME/.ssh):$ ssh localhostGet the IP of this pi:
$ $HOME/discoberry-farm/ip.shFrom another pi in the farm, do (where
IPis the IP address of the pi you are setting up):$ $HOME/discoberry-farm/copy-keys-to.sh IPNow to make sshd passwordless, run:
$ sudo vim /etc/ssh/sshd_configand make sure these lines are set as follows:
PermitRootLogin no PermitEmptyPasswords no ChallengeResponseAuthentication no PasswordAuthentication no UsePAM noFinally, restart sshd so the changes take effect:
$ sudo /etc/init.d/ssh restart -
Copy
DNSTOKfrom another pi in the farm:$ scp discoberryNN.duckdns.org:~/discoberry-farm/DNSTOK $HOME/discoberry-farm/If you're setting up a pi numbered 1 - 5, then
NNshould be in that range. If you're setting up a pi numbered 6 - 10, thenNNshould be in that range. Next, make sure this pi is registered on Duck DNS. Finally, install the crontab:$ crontab $HOME/discoberry-farm/crontab
-
Notifications
You must be signed in to change notification settings - Fork 0
DistributedComponents/discoberry-farm
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published