MX is just Debian under the hood.
https://itslinuxfoss.com/install-apache-web-server-debian-12-linux/
This one is a very useful link. Thanks 😊😊
Here’s what somebody suggested to me :
Mx linux is a bad chioce if you cant answer this yourself because its going to differ from most other debian distros. You probably want to use normal debian or linux mint if you are still learning.
To answer anyway; youll want to install lighttpd or similar server using apt, then firgure out the differences between sysvinit and systemd so you can properly configure the server to start.
If you just use debian instead, “sudo apt install lighttpd” would be enough to get everything started.
A web server is just any software that can be accessed with web network protocols. This can look like a lot of things. If you have Python installed you can start a web server right now by running
python -m http.server
. localhost:8000 in a browset would then let you browse files via the (local) web.What kind of server do you want to run?
The same way you set it up on every Linux. What’s your specific problem?
What are you trying to host?
Just pick the webserver you want (nginx, caddy, etc…) and check the docs for Debian instructions since that’s what MX Linux is.
Isn’t it Debian without systemd? So it’s going to be a pain to use regular documentation.
Ah, yeah MX might not be the best choice of a distro for ease of use.
deleted by creator
I got this from someone :
When installing MX-Linux, you can also install the Apache web server. You will be asked during the installation. You can also install the web server later with the package manager.
When setting up, you just have then select the directories that you want to share for web access.
Are we still doing LAMP stacks? Is that still the thing to recommend?
Start small. Do one thing at a time. Set up apache, learn how to secure it, expose it, filter out probes and bots, etc. This is a long and fulfilling journey. Maybe.
I feel like nowadays it’s more specific web servers instead of a general purpose one. Also containerization often is a thing.
How do you begin right from the scratch ?