Giter Site home page Giter Site logo

pi-setup's Introduction

Pi Setup

This is how I set up a Raspberry Pi.

1. Load the operating system on the SD card

I'm using the Raspberry Pi Imager on a Mac and load Raspberry Pi OS (32-Bit)

2. Manually make the initial configuration

Connect the Pi to a monitor, plug keyboard and mouse and power it on. Configure the basic settings:

  • country
  • language
  • timezone
  • password
  • wifi network

Restart the Pi and update the Pi configuration via sudo raspi-config or Preferences > Raspberry Pi Configuration:

  • Set hostname
  • Boot to CLI
  • Enable SSH interface

Restart again

3. Network and SSH configuration

You might want to make a DHCP reservation.

Try to SSH onto the Pi. If it doesn't accept the password then set it directly via the console:

    sudo passwd pi

Create SSH keys

    ssh-keygen -t rsa

Copy your public key to .ssh/authorized_keys.

4. Login and update packages

    ssh pi
    sudo apt update
    sudp apt upgrade

You might want to reboot

5. Run ansible playbook

Assuming you have ansible installed on your development box:

    ansible-playbook playbook.yml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.