Jump to content

Prepping Linux for a NAS station

Go to solution Solved by Master Disaster,
11 minutes ago, HeLiOn said:

Space isn't an issue, since the hard drive has 500 GBs, and this is intented to just run a media server.
That leaves me with the second part of the question, though. I don't know if the cockpit-podman needs anything else to work.

If it has prerequisites then APT will also pull those at install time.

This is pretty much a follow-up for this topic, but I'll put some context here as well.
I decided to use Linux server as an operating system for a NAS station. I was even given clear instructions on how to install everything.

The Linux installation wend down without any issue. However, I got into an issue when trying to install cockpit.
This is the advice I was given:  

On 9/18/2020 at 11:22 PM, Jarsky said:

 

Yeah if you use Ubuntu, the Ubuntu Server install has no desktop environment by default. Then just make sure the SSH Server feature is added during the installation process (i think it is by default). Then you can just use PuTTy or similar to connect to a terminal session remotely for anything you may need outside of the WebUI

 

If you go this route and you want docker, i'd personally install Docker after Ubuntu is installed, to get the official docker.io rather than docker-ce (open source community edition). 

 

So after Ubuntu is installed, to get it up and running just run


sudo apt remove docker docker-engine docker-ce
sudo apt install docker.io
sudo apt install cockpit cockpit-docker -y
sudo systemctl start docker
sudo systemctl enable docker

You may need to allow the port through the firewall, which in Ubuntu would be


sudo ufw allow 9090/tcp

 

Everything should be installed then, and persistant through a reboot, then you can access the Cockpit UI at http://myservername:9090 

 

The problem was that the cockpit-docker package couldn't be located.
After doing a bit of research, I found out that cockpit-docker was discontinued in favor of something called cockpit-podman.
I reckon the podman version can work just as well for having a web UI for my server, but does that man I have to remove the docker.io package and install something else?

This is the very first time I'm operating with Ubuntu server. I know nothing about it...

Link to comment
https://linustechtips.com/topic/1249074-prepping-linux-for-a-nas-station/
Share on other sites

Link to post
Share on other sites

7 minutes ago, HeLiOn said:

This is pretty much a follow-up for this topic, but I'll put some context here as well.
I decided to use Linux server as an operating system for a NAS station. I was even given clear instructions on how to install everything.

The Linux installation wend down without any issue. However, I got into an issue when trying to install cockpit.
This is the advice I was given:  

The cockpit-docker package couldn't be located.
After doing a bit of research, I found out that cockpit-docker was discontinued in favor of something called cockpit-podman.
I reckon the podman version can work just as well for having a web UI for my server, but does that man I have to remove the docker.io package and install something else?

This is the very first time I'm operating with Ubuntu server. I know nothing about it...

I don't know much about ubuntu server, but I'm fairly sure that you don't need to uninstall the docker.io. The only reason to uninstall it would be to save space.

Link to post
Share on other sites

Just now, Lemon797 said:

The only reason to uninstall it would be to save space.

Space isn't an issue, since the hard drive has 500 GBs, and this is intented to just run a media server.
That leaves me with the second part of the question, though. I don't know if the cockpit-podman needs anything else to work.

Link to post
Share on other sites

1 minute ago, HeLiOn said:

Space isn't an issue, since the hard drive has 500 GBs, and this is intented to just run a media server.
That leaves me with the second part of the question, though. I don't know if the cockpit-podman needs anything else to work.

I'm sorry but I don't know the ethier. but I found this guide: https://cockpit-project.org/running#ubuntu

Link to post
Share on other sites

11 minutes ago, HeLiOn said:

Space isn't an issue, since the hard drive has 500 GBs, and this is intented to just run a media server.
That leaves me with the second part of the question, though. I don't know if the cockpit-podman needs anything else to work.

If it has prerequisites then APT will also pull those at install time.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to post
Share on other sites

25 minutes ago, Master Disaster said:

If it has prerequisites then APT will also pull those at install time.

Thanks. I managed to install it. Turns out the podman package was for something else.
I am receiving an error when trying to login through the interface, but I think I'll just join the discord from now on to avoid opening topic after topic.
Thank you for your time.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×