So previously i introduced my server and its hardware and now I was thinking of talking about what software is running it!
Th Rockpro64 have loads of OSs available, kudos to the community, but for the purpose of a NAS/server I went with the openmediavault from ayufan. This version is based on debian and have been very stable over the >1 year that I have used it. I also decided to go for the 64-bit version, because why make it easy, right? tbh it doesn’t really matter that much…
There also are the nextcloud pi distro which could be perfect for those who really just want a NAS and cloud storage.
I run kernel 5.3.0-1119-ayufan-g1c884c63e943 as it was the latest available when I updated last time(time to upgrade again). Ayufan-jenkins provides kernelupdates for the rockpro64 regularly on their github. For the purpose of a NAS the most important thing is to get at least kernel 5.1 as it solved the issues I had with getting my SATA-controller running as explained in a previous post.
Openmediavault(OMV) has a really intuitive and easy to use GUI and if you want to set up a NAS it makes your job pretty easy. There is also tons of information on their documentation page and their forums can often help otherwise.
They have a lot of plugins for OMV which offer easy setup of services like plex. For nextcloud and others you have to install them some other way and the way I chose to do it was through docker containers. They are pretty straight forward to use but maybe not so intuitive if you’re used to the “normal” way of installing and updating programs/apps. The good thing is that you can separate the different services you run so that they wont cause problems to each other. You also protect the rest of the system through a level of virtualization.
For terminal newbs like myself it’s a relief that OMV have a GUI for docker container management which helps alot!
So what docker containers do I run?
First of all I run plex, this could just as well be done through the OMV plugin but I like the fact that i can mess up and just remove the docker container and start over. Not being a linux wizard I appreciate the simplicity. Of course you can remove the plugin as well but I have messed systems up in ways not thought possible so the safer the better.
As mentioned, Nextcloud runs on a docker container as well. As a database I run Mariadb in a separate container. This is also helpful if you mess up your Nextcloud install. You can just make a new container using the same data-folder and database and your cloud is revived (has happened to me).
Then I obviously run this blog as a wordpress container and another Mariadb container as its database(because if I mess one database up I atleast haven’t messed all of them up).
Let’s encrypt runs in another container to serve as a reverse proxy, handling all the communication with the web and handling the SSL certificates. I also run Nginx containers that function as the web-server for the wordpress containers and communicates with the Let’s encrypt container.
Bitwarden is another container that handles all my passwords, 10/10 would recommend!
Lastly I have a Pihole-container to clean up my websurfing experience.
I have had an enormous help from techno dad life‘s youtube tutorials setting all of this up. Some change was required in some cases but as a base these really helped me. In the future I’m thinking of writing down the steps required to set the services up as a form of tutorial so stay tuned I guess?