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

Networking and servers • Re: My First Home Server

$
0
0
Welcome and remember to take backups :lol:

Code:

sudo apt updatesudo apt full-upgradesudo apt autoremove
is my preferred way to get everything up to date and remove older packages though you can put it on one line as

Code:

sudo apt update && sudo apt -y full-upgrade && sudo apt autoremove
The '-y' will automatically do the install without waiting for confirmation (I like to know what I am removing hence the lack of this on the autoremove step). Use of the '&&' will make the command stop if the step has an issue.

As for Portainer / Docker - yes you need Docker for Portainer BUT I would avoid using it TBH as a beginner as though it hides a lot of the complexity you do not get a decent understanding of what is being set up or how.

I would look to use Docker Compose files - these are often posted by the container creators and easier to step through and understand what is being set up. They are easier to use than the command line as you use a full editor (eg nano) to create them so can review first and can add comments in so you understand what is happening.

Enjoy yourself and remember it's OK to break things as you learn a lot when debugging things.

ps - Do not forget to make backups (PI O/S has the SD Copy tool if you are using the GUI or look at RonR tool here.

Statistics: Posted by MiscBits — Mon Jul 29, 2024 12:00 pm



Viewing all articles
Browse latest Browse all 5091

Trending Articles