4183
Comment:
|
4183
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
In this article, I'd like to discuss how I setup Debain 11 on Raspberry Pi 4 | In this article, I'd like to discuss how I setup Debian 11 on Raspberry Pi 4 |
How to setup Debian 11 on Raspberry Pi 4
In this article, I'd like to discuss how I setup Debian 11 on Raspberry Pi 4
Raspberry Pi 4 a small logic board with Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC (System on a Chip).
You can get it with 2GB, 4GB or even 8GB of Memory. I'm using Raspberry Pi 4 with 8G of memory with 32G microSD Card.
System Requirements: + Raspberry Pi 4 (4G or 8G) + microSD Card (32G or higher)
Contents
Download Raspberry Pi 4 Image
You can download RPI 4(4G) Verified Image for Bullseye from https://raspi.debian.net/tested-images/ $ wget https://raspi.debian.net/verified/20210823_raspi_4_bullseye.img.xz
Write the image to microSD Card
Please refer to following document to write the image to microSD Card for Linux-based. https://wiki.debian.org/RaspberryPiImages
If you have macOS, use balenaEtcher https://www.balena.io/etcher/
Boot Raspberry Pi 4 with microSD
Assuming you're already assembled Raspberry Pi 4 on its own case and plug-in to a Display via HDMI. Simply plugin microSD to Raspberry Pi 4 and boot from it.
The default username is root without password (set it to your own)
Remote Login to Raspberry Pi 4
To remote login (ssh) to RPI4, I would recommend to create your own account.
# adduser tchung # passwd tchung }} I also recommend to install vim and sudo. {{{ # apt update # apt install vim # update-alternatives --config editor (choose vim.basic) # apt install sudo # adduser tchung sudo
logout and login as yourself
Neofech on Raspberry Pi 4
I always install neofetch on new system for login script
$ sudo apt install neofetch $ echo; neofetch --ascii_colors 1 1 1 1 1 1 _,met$$$$$gg. tchung@rpi4-20210823 ,g$$$$$$$$$$$$$$$P. -------------------- ,g$$P" """Y$$.". OS: Debian GNU/Linux 11 (bullseye) aarch64 ,$$P' `$$$. Host: Raspberry Pi 4 Model B Rev 1.4 ',$$P ,ggs. `$$b: Kernel: 5.10.0-8-arm64 `d$$' ,$P"' . $$$ Uptime: 2 mins $$P d$' , $$P Packages: 272 (dpkg) $$: $$. - ,d$$' Shell: bash 5.1.4 $$; Y$b._ _,d$P' Resolution: 3840x2160 Y$$. `.`"Y$$$$P"' Terminal: /dev/pts/0 `$$b "-.__ CPU: (4) @ 1.500GHz `Y$$ Memory: 91MiB / 7809MiB `Y$$. `$$b. `Y$$b. `"Y$b._ `"""
More Information
Here is more information from RPI4:
$ sudo apt install lsb-release $ lsb_release -d Description: Debian GNU/Linux 11 (bullseye) $ uname -a Linux rpi4-20210823 5.10.0-8-arm64 #1 SMP Debian 5.10.46-5 (2021-09-23) aarch64 GNU/Linux $ lscpu | egrep 'Arch|CPU|Byte|Vendor|Model' Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: ARM Model: 3 Model name: Cortex-A72 CPU max MHz: 1500.0000 CPU min MHz: 600.0000 NUMA node0 CPU(s): 0-3 $ df -hT Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 3.8G 0 3.8G 0% /dev tmpfs tmpfs 781M 644K 781M 1% /run /dev/mmcblk1p2 ext4 30G 965M 27G 4% / tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock /dev/mmcblk1p1 vfat 296M 75M 222M 26% /boot/firmware tmpfs tmpfs 781M 0 781M 0% /run/user/1000 $ free -hw total used free shared buffers cache available Mem: 7.6Gi 89Mi 7.1Gi 0.0Ki 12Mi 399Mi 7.3Gi Swap: 0B 0B 0B