just_another_person@lemmy.world
on 07 May 03:07
nextcollapse
The same way you set it up on every Linux. What’s your specific problem?
some_guy@lemmy.sdf.org
on 07 May 23:34
nextcollapse
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.
LeFantome@programming.dev
on 12 May 17:19
collapse
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.
twilightwolf90@lemmy.world
on 07 May 03:37
nextcollapse
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.
MangoPenguin@lemmy.blahaj.zone
on 07 May 14:25
collapse
Ah, yeah MX might not be the best choice of a distro for ease of use.
tuckerm@feddit.online
on 07 May 04:05
nextcollapse
What are you trying to host?
CarlMarks@lemmygrad.ml
on 07 May 04:35
nextcollapse
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?
HappyTimeHarry@lemm.ee
on 07 May 05:14
nextcollapse
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.
I think you know its not just a matter of “clicking a setting in a gui once”
Why would you choose a non systemd based distro only to just switch it over to systemd? Why over complicate thinga for a new user who is clearly just starting out? Just use normal debian!
I think you know its not just a matter of “clicking a setting in a gui once”
I know it is that simple because I’ve done it while running MX on my devices… You can even switch between the two at boot freely.
Why would you choose a non systemd based distro only to just switch it over to systemd? Why over complicate thinga for a new user who is clearly just starting out? Just use normal debian!
It comes with tools that make system management a lot easier for beginners. I think that’s more than a fair trade for having to click a single setting in a gui.
You obviously haven’t used MX, and I have no clue where you’re pulling your opinions out of from. Give it a try instead of continuing to spew nonsense.
I tried it about a week ago but since i have zero interest in alternatives to systemd or gui tools I find its easy to just install something that uses the things i want by default.
If you enjoy having that extea option and managing it with gui tools then im glad mx works for you, but it seems overcomplicated with no practical benefit to me.
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.
threaded - newest
The same way you set it up on every Linux. What’s your specific problem?
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.
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.
How do you begin right from the scratch ?
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.
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.
What are you trying to host?
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?
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
So, clicking a setting in a gui once is such a big deal that MX is a bad choice? Next level…
I think you know its not just a matter of “clicking a setting in a gui once”
Why would you choose a non systemd based distro only to just switch it over to systemd? Why over complicate thinga for a new user who is clearly just starting out? Just use normal debian!
I know it is that simple because I’ve done it while running MX on my devices… You can even switch between the two at boot freely.
It comes with tools that make system management a lot easier for beginners. I think that’s more than a fair trade for having to click a single setting in a gui.
You obviously haven’t used MX, and I have no clue where you’re pulling your opinions out of from. Give it a try instead of continuing to spew nonsense.
I tried it about a week ago but since i have zero interest in alternatives to systemd or gui tools I find its easy to just install something that uses the things i want by default.
If you enjoy having that extea option and managing it with gui tools then im glad mx works for you, but it seems overcomplicated with no practical benefit to me.
What can sysv do that systemd cant anyway?
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.
Here’s what somebody suggested to me :
youtube.com/watch?v=8yVkkpK73DU
MX is just Debian under the hood.
itslinuxfoss.com/install-apache-web-server-debian…
This one is a very useful link. Thanks 😊😊
You don’t. You use Debian, Ubuntu, or redhat.