generated from smiths/capTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Raspberry Pi Setup Guide
Amos Yu edited this page Nov 4, 2022
·
3 revisions
If the Raspberry Pi card ever corrupts, we may have to clean install the Raspbian image. We will then have to set up the environment to restore it to how it was.
- With a monitor plugged in, open Applications Menu > Preferences > Raspberry Pi Configuration
- Under System, change Hostname to
capstone - Change Password to
Capstone123!
From Pi My Life Up
- In terminal, run
sudo apt install tightvncserver - Run
vncserver :1 - Follow the prompts in the terminal to set up the password
- Run
sudo nano /etc/systemd/system/vncserver.service - In the editor, paste the following:
[Unit]
Description=TightVNC remote desktop server
After=network.target
[Service]
User=capstone
Type=forking
ExecStart=/usr/bin/vncserver :1
ExecStop=/usr/bin/vncserver -kill :1
[Install]
WantedBy=multi-user.target
- Test that it is properly set up by running
sudo systemctl start vncserverandsudo systemctl status vncserver
From Stack Exchange
- Run
sudo apt remove lxplug-volumepulse
From GitHub Docs
- In terminal, run
ssh-keygen -t ed25519 -C "your_email@example.com"to generate a new SSH key - Run
clip < ~/.ssh/id_ed25519.pubto copy the public SSH key to your clipboard - Add the key to your GitHub profile under SSH and GPG keys
- In terminal, run
pip install --user pipenv