Skip to content
Home » Raspberry Pi » Page 4

Raspberry Pi

Raspberry Pi Technology, Related Information, How-To’s, Tips, Tools, and Guides

INSTALL RASPBIAN OS ON RASPBERRY PI 4

This guide shows you how to install an Operating System on a Raspberry Pi 4. The one I chose for this guide is Raspbian, so if you are installing that, you can follow along easily. If you are wondering which hardware I used, the exact items are linked at the bottom

On a Windows computer
Insert your SD Card into the Windows computer
Open a web browser
Navigate to https://www.raspberrypi.org/software/
Download the Raspberry Pi Imager

Once it is downloaded, double the imager.exe file
Select Yes
Click Install
Checkmark Run Raspberry Pi Imager
Click Finish

Now that the Raspberry Pi Imager is running
Click Choose OS
Scroll down and select Raspberry Pi OS (32-Bit)
Click Choose SD
Select your SD Card
Click Write
All existing data …. will be erased. Are you sure you want to continue?
Click Yes
Data is written to the SD Card
The data is automatically verified after it is written
Once it finishes you will see the message that “you can now remove the SD card from the reader”
Remove the card
Click Continue

Now back on the Raspberry Pi
Plug in network cable
Connect the keyboard
Plug in a mouse
Connect the HDMI cable
Install the Micro SD card you just made (up above)
Plug in the power (Last step)

The Raspberry Pi installation begins
Root partition is resized
Desktop shows up
Click Next
Set your country, language, and timezone
Click next
Set password
Click next
Setup screen
Click next
Setup your wireless
When done, click next
On update software screen
Click next to download and install updates
Select OK on the “System is up to date” dialog box
Restart the Raspberry Pi

You are done. Your Raspberry Pi 4 is setup with the Raspbian OS.

Hardware I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

SanDisk MobileMate USB 3.0 microSD Card Reader (Only needed if you dont have a Micro SD Reader/Writer slot in your computer)
https://amzn.to/39toi0G


Thanks for Reading!

USBIT – USB BACKUP TOOL FOR MINING RIGS

Simple, easy, fast backup utility for your mining rigs. I use this on mine, where Ubuntu 20.04 is running off of a usb drive.

Plug the Linux USB Drive into your Windows 10 computer

On a Windows 10 computer, download the latest version of the software from:
https://www.alexpage.de/usb-image-tool/download/

Extract the software on your windows computer
Double Click USB Image Tool, to launch the program
In the White box on the left, select the USB Drive that your Linux VM is on
Select Backup in the bottom menu
Pick the folder where you want the backup to save to
Give it a name like tacticalware
Press Enter
Your backup will begin

Once your backup completes you are ready to go.

To restore the image, you can use the same tool (USBIT), select your Image, Select the USB Drive, and click restore.

Simple, easy, fast….Thanks for reading




SSH On My RASPBERRY PI 4

This is a quick one. I needed ssh on my Raspberry Pi 4, and this is how I did it

Turn on the Pi

Once on the Desktop, click on the Terminal icon

Type:
sudo bash
apt-get update
apt-get install openssh-server
y

Once that installs successfully
systemctl enable ssh
systemctl start ssh

That’s it. You can now login remotely to your pi through ssh



Thanks for reading

Hardware that I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

RASPBERRY PI CHROMEDRIVER INSTALLATION

Instead of running through the long drawn out directions that accompany the error on the screen….this is what i used to install chromedriver

pip3 install chromedriver

You’re welcome



Thanks for reading

Hardware that I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

UPGRADING PYTHON ON RASPBIAN

To Upgrade Python, simply run

sudo bash

apt-get update

apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev tar wget vim

wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz

tar zxf Python-3.8.0.tgz && cd Python-3.8.0 && ./configure –enable-optimizations && make -j 4 && make altinstall

echo “alias python=/usr/local/bin/python3.8” >> ~/.bashrc

source ~/.bashrc

python -v

You should now be 3.8

Writing OctoPrint to SD Card

Quick How-To using a Windows 10 Computer

Simply put, you need to download a third party application to write the OctoPi image to an SD Card. I suggest Etcher for this

Download Etcher from https://www.balena.io/etcher/
Install Etcher onto your Windows 10 computer
Download the OctoPrint image from https://octopi.octoprint.org/latest to your local hard drive on your Windows 10 computer
Unzip the OctoPrint image once the download finishes
Plug your SD Card into the Windows 10 Computer
Open balenaEtcher
Click Select Image
Select your OctoPrint***.img file
Your SD Card should be automatically found and selected by Etcher
Click Flash
The image will now be written to the SD Card
When the image has completed writing you will see the message Flash Complete!
You can now insert the OctoPrint SD Card into the Raspberry Pi and fire it up



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L