Another approach to #selfhosting - this time with quite limited list of functions and more wisdom, I hope.
It is going to be on my trusty Thinkpad x220 with 16 GB and 1 TB ssd, with #Debian and contenerised stack of:
- #Wordpress CMS
- #Moodle #LMS
- Nextcloud AIO

So, obviously, I am writing here to tap some #hivemind wistom, specifically

  • What is the least painful way to learn #Docker up to the level I need for this deployment?
  • What is the best Moodle LMS image available? I did some research and obviously there is no "official" or "aio" image available. I do not believe I am competent enough to pack my own container, so any and all help would be appreciated.

reshared this

in reply to 8Petros [cracking the system for a living]

This entry was edited (2 days ago)
in reply to 8Petros [cracking the system for a living]

Not an expert, but it doesn’t seem to have any disadvantages over Docker (well, being less popular is a bit of a disadvantage, but I guess not much in this case). Most of the reasons @unusnemo mentions for using this are much more important in the case of much bigger projects, enterprise stuff. The main reason for using containers for you is probably just that it should be much easier to configure and maintain, which is about as good with Docker as with Podman I guess.

The RAM thing should be less of a problem with fewer/no containers too, but I dunno, I hear that they don’t have that much overhead. Wuatek has been running on 8GB of RAM for a long time and it’s only a problem during updates, when the linker wants to hog all the memory (so, Gentoo specific, I know I don’t have to tell you not to run Gentoo though ;D).

Although I might as usual be too fond of rawdogging my hosting straight on bare metal, so there definitely is some bias here. :blobfoxmlem:

in reply to timorl

This entry was edited (1 day ago)
in reply to 8Petros [cracking the system for a living]

@8Petros [cracking the system for a living] @timorl

They have a lot of information there and depending on your skill level may be adequate to learn what you want. It is the podman development teams official website. The book will have you up and running a lot faster, depends on your priorities.

When it comes to installing podman, if it is not already installed (it is by default on Fedora) just use your Debian repo, it will be there. The community offers a lot of documentation and assistance. Though on Gnu/Linux we tend to follow this chain when installing new software.

  1. If it is in our distro's repo, use that first
  2. build from source (if you have the knowledge.
  3. download from official site
  4. Use flatpak

MS/Windows users tend to be used to downloading software from the web. This is not a common practice for 'nix environment.

in reply to 8Petros [cracking the system for a living]

@8Petros [cracking the system for a living] @EduNET_LK

If you setup Moodle on a lamp stack instead of using Nextcloud you may find that containers are not even required for your project at all. Not to say containers are bad. I use them for many projects. Just the project I am using them for are intended to be scalable and run as microservices on a distributed network of servers. I also use them in software development which is another topic.

This entry was edited (1 day ago)
in reply to 8Petros [cracking the system for a living]

In that case I propose two projects:
- Project A. Web applications on LAMP
- Project B. Learn Docker

Project A covers target 1, therefore has higher priority and should be tackled first. There are tons of LAMP instructions, from setting up the LAMP platform, installing WordPress, installing Moodle, etc. If you are new to Moodle, your starting point could be docs.moodle.org/en/Installatio… or choose one from docs.moodle.org/en/Category:In…. Either way ask in the Installing help forum on moodle.org.

in reply to EduNET_LK

I am pretty confident I can install "raw" Wordpress (done many times) and Moodle (thank you for pointing me in the right direction).

The only thing I need to confirm is how to install #Nextcloud #AIO without containers (it is contenerized by default).

OK, more checking is in order. Thank you for now - will publish updates here for sure.

in reply to 8Petros [cracking the system for a living]

The media in this post is not displayed to visitors. To view it, please go to the original post.

OK. Now we are talking about a whole palette of web applications. One has to look at them individually:
- WordPress and Moodle: We both agree that LAMP is feasible and in case of Moodle, the official method.

- Nextcloud: I did only a few "trial" installations. Then followed the official method, which comes packaged in Docker. Everytime it worked! But don't ask me how to maintain it or debug in case of problems. You don't have to, there's a huge choice, see docs.nextcloud.com/server/stab…

This entry was edited (1 day ago)