How do you set up a web server on MX Linux?
How do you set up a web server on MX Linux?
How do you set up a web server on MX Linux?
The same way you set it up on every Linux. What's your specific problem?
To be fair, not every Linux distro works the same. It has been a while since I setup Apache but there used to be quite a difference in configuration between Fedora derived distros and Debian derived distros for example.
There are a couple of downvotes, but this is a valid comment. It's considered good etiquette to demonstrate that some effort has been made to solve an issue when asking for guidance online.
You don't. You use Debian, Ubuntu, or redhat.
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 :
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.
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.
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.
How do you begin right from the scratch ?
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.
How? It's just Debian with extra tools and sysvinit besides systemd.
Or just set systemd as a default
You just answered your own question