Connect with us

Hi, what are you looking for?


How to get CentOS installed on a Raspberry Pi

How to get CentOS installed on a Raspberry Pi


As one of the common single-board computer systems in the marketplace, the Raspberry Pi is a mainstay in most Linux customers’ properties. Whether or not it’s for residence server purposes, computer systems for youths, studying Linux or another talent, you possibly can absolutely discover a use for the Pi. Given its reputation as a house server, we’re going to point out you easy methods to set up CentOS in your Raspberry Pi to create a rock-solid residence server.

Getting the CentOS Picture

The particular Raspberry Pi pictures from the CentOS venture are hidden just a little bit within the downloads web page. For one of the best expertise, I like to recommend utilizing CentOS 7. From the CentOS Residence web page, click on on “CentOS Linux.”

How to get CentOS installed on a Raspberry Pi

Click on on “7(2003).” That model quantity might change over time.

Select whichever mirror is closest to you within the mirror web page, and also you’ll be offered with a listing of choices to select from. There are a pair which can be vital for this venture: 4 on the time of writing that say “RaspberryPi” within the title. For my case, I’ll be grabbing the one that claims “RaspberryPi-Minimal-4,” as I’m putting in this on a Raspberry Pi 4b. Be sure to decide on whichever is greatest suited to your explicit use case.

How to get CentOS installed on a Raspberry Pi
How to get CentOS installed on a Raspberry Pi

Flashing Your SD Card

For many customers, Balena Etcher might be the only option for flashing your Raspberry Pi SD playing cards. One of many key elements is that it’s going to flash straight from the xzip archives that you just obtain for many Raspberry Pi pictures.

The flashing course of is straightforward. Launch the appliance, choose the supply file (the CentOS archive on this case), the SD card port and click on “Begin Flashing.”

How to get CentOS installed on a Raspberry Pi

It’ll solely be a short time at the beginning is completed and you may boot out of your SD card in your Pi.

Booting CentOS on Your Raspberry Pi

With these pictures, it must be simply so simple as turning it on and ready till you get to the command immediate. When you had been capable of set up both the KDE or the GNOME model, you’ll be bumped straight to the login display screen.

The default login credentials are:

  • Username: root
  • Password: centos

An vital observe: change the foundation password and create a non-root consumer for your self instantly. When you don’t do that, there’s an honest likelihood that somebody (aka hacker) will know this and get into your system with root entry. That’s not good. The instructions to create a brand new consumer are as follows:

Altering your root password: passwd

Creating a brand new consumer:

Substitute your most popular username and password. That command will create a consumer within the wheel or sudo group, permitting you to totally change customers and keep away from logging in as root. When you try this, be certain to make use of the su command to change customers to your newly-created consumer like so:

Substitute the username of the consumer you simply created. From there, be certain your packages are updated with the replace command:

Putting in a Graphical Desktop Atmosphere

This is among the best elements. You possibly can see the obtainable software program teams with the next command:

Select which one you’d like to put in. I’ll be putting in GNOME, however KDE Plasma is on the market as effectively.

This appears to rely on which Raspberry Pi you’re utilizing. On my Pi 4b, I couldn’t get systemd to leap into the GUI although it stated it was working. Your mileage might differ.

Now that you just’ve realized easy methods to set up CentOS in your Raspberry Pi, now you can create an IRC server or arrange a Tor Proxy or Wi-Fi bridge. The only of all is to create a private net server.

How to get CentOS installed on a Raspberry Pi
John PerkinsJohn is a younger technical skilled with a ardour for educating customers on one of the best methods to make use of their know-how. He holds technical certifications protecting subjects starting from laptop {hardware} to cybersecurity to Linux system administration.

Is this text helpful?

centos raspberry pi 3 b+,centos 8 arm,pi3 centos,fedora raspberry pi 3,centos arm64,pidora,centos raspberry pi 64-bit,centos rootfs,fedora raspberry pi,centos altarch,centos 8,install centos on raspberry pi 4,centos aarch64 raspberry pi 4,raspberry pi centos 7 64-bit,centos 7 install,centos on raspberry pi windows,centos download,centos 7 minimal install

You May Also Like


The latest round of MITRE ATT&CK evaluations proved yet again that Microsoft customers can trust they are fully protected even in the face of...


On Thursday, April 23rd, 2020, Canonical Ltd, the makers of Ubuntu Linux distribution officially released the long-awaited Ubuntu 20.04 version code-named “Focal Fossa”, it...


As the robot process automation (RPA) market becomes more and more dynamic, more and more companies are trying to integrate RPA into their business...


Virtual Machine Manager is one of the best hypervisors available for the Linux desktop. This is well-designed and well-functioning QEMU/KVM virtualization software that takes...