Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4899

Networking and servers • My First Home Server

$
0
0
Hi all,
i've received now my first Raspberry Pi 5 8GB to create my first Home Server.
This is my first time to use Raspberry Pi so I'm sorry if my said will elementary but i need to learn so much from you :geek:
So this is my Step-by-Step guide to follow me in my project

1. Install Raspberry Pi OS (64bit)
2. Configure RaspBerry (Change Password, SSH, WiFi, Bluetooth, etc... )
3. Install Docker
4. Install Portainer.io
4.1. Install Pi-Hole
4.2. Install Home Assistant

This is my first step on Raspberry, and i'm able to do anly step 1 and 2 :mrgreen:
But I've search here and online and I get this information to install Docker and Portainer.io

UPDATE

Code:

sudo apt updatesudo apt upgrade
DOCKER
Install docker

Code:

curl -sSL https://get.docker.com | sh
Add docker to usermod

Code:

sudo usermod -aG docker $myuserlogout
To see if docker is correctly insert in the usergroup:
groups
Docker should be listed here

Testing Docker

Code:

docker run hello-world
UPDATE

Code:

sudo apt updatesudo apt upgrade

PORTAINER.IO
Install portainer

Code:

sudo docker pull portainer/portainer-ce:latest

Run portainer on docker

Code:

sudo docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
This is the correct way?
I don't know why docker should be install if I use Portainer but I will study on it :mrgreen: :geek:
Than i need to configure the web interface for Portainer.io (port 9000) and then create container for Pi-Hole and Home Assistant and install it, but for me this is a second step :D
Thank you all!

Statistics: Posted by Cadmir — Mon Jul 29, 2024 10:23 am



Viewing all articles
Browse latest Browse all 4899

Trending Articles