• HappyTimeHarry@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    16 hours ago

    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.

  • CarlMarks@lemmygrad.ml
    link
    fedilink
    arrow-up
    5
    ·
    17 hours ago

    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?

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    18 hours ago

    Just pick the webserver you want (nginx, caddy, etc…) and check the docs for Debian instructions since that’s what MX Linux is.

  • Curious Mind @lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    13 hours ago

    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.

  • twilightwolf90@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    18 hours ago

    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.

    • 𝘋𝘪𝘳𝘬@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      16 hours ago

      I feel like nowadays it’s more specific web servers instead of a general purpose one. Also containerization often is a thing.