Im looking for free entry-level materials about self hosting and network architecture in general. I know that some professors put presentations for free on their websites. im looking for: e-books,lectures,tutorials,videos.

Thanks in advance. -kapx132

    • kapx132@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      my first goal is to learn how networks work, and then once i learn the basics i want to host my own matrix server.

      • vegetaaaaaaa@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 year ago

        how networks work

        http://tcpipguide.com/free/index.htm and lookup terms/protocols on wikipedia as you go.

        But as others said, I think you would learn faster if you pick a specific project and try to implement it from scratch. A matrix server is a nice project, but it will have you dig into matrix-specific configuration which is not particularly relevant if you’re just trying to learn system administration and networking.

        I would start with a more “basic” project and ensure you got the fundamentals right, and document or automate (shell scripts, ansible…) all steps:

        • install a virtualization platform (hypervisor)
        • create a VM and install Debian inside it, using LVM for disk management, and a static IP address
        • practice with creating/restoring snapshots, add/remove hardware and resources (vCPUs, RAM, disk storage) from the VM
        • set up an SSH server and client using SSH keys
        • setup a firewall with some basic rules (e.g. only accept SSH connections from a specific IP address and DROP all other SSH connections, forward all HTTPS connections to another IP address…)
        • setup monitoring with a few basic rules (alert if the SSH server is down, alert if disk space or free memory is low…)
        • automate security updates

        Then you can work your way up to more complex services, lookup security hardening measures on your existing setup (as always, document or automate all steps). To give you some ideas, you can find ansible roles I wrote for these tasks here. The common role implements most of what I listed above. The monitoring role implements the monitoring part. There are a few other roles for middleware/infrastructure services (web server/reverse proxy, DNS server, database services, VPN…) and a few more for applications (matrix+element, gitea, jellyfin, mumble…). Start at tasks/main.yml for each role, follow the import_tasks statements from there, and read at least the name: for each task to get a good overview of what needs to be done, and implement it yourself from a shell in the first time. If you break your setup, restore the initial VM snapshot and start again (at this point you’ve automated or documented everything, so it should not take more than a few minutes, right?) .

        Each of these tasks will require you to research available software and decide for yourself which is best for your requirements (which hypervisor? which firewall frontend? which monitoring solution? etc)

      • marcos@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        2
        ·
        1 year ago

        I suggest you reverse that order. If first you learn how to host your own matrix server, you’ll have a better idea of what part of “how networks work” you wan to learn.

        Or maybe you decide you want a full graduation course on how network works so you can learn all of the basics. But either way, that first half is a large endeavor.

        • CarbonatedPastaSauce@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          Agreed, networking knowledge can be pretty ephemeral if you don’t have a way to put it into practice and solidify that knowledge in your brain.

          My suggestion would be to learn basic Linux and get a server up. Then learn firewall on that server and then how to configure and use a vpn on it - as a client AND a server. Then move on to switching and finally basic routing. At that point you’ll have enough general knowledge to know what you want to do next.

  • krash
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Learning the fundamentals first (such as networking) is a good way forward. You will propably need to learn many other subjects along the way, such as how system services are handled, permissions in linux, linux system administration in general and so on.

    If you just want the fundamentals of networking, these resources are pretty good:

    And my favorite:

    Feel free posting to this community with questions or try finding someone who can be your ballplank. Getting started can be very challenging before you’ve grasped the basics.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    DNS Domain Name Service/System
    HTTP Hypertext Transfer Protocol, the Web
    HTTPS HTTP over SSL
    IP Internet Protocol
    SSH Secure Shell for remote terminal access
    SSL Secure Sockets Layer, for transparent encryption
    TCP Transmission Control Protocol, most often over IP
    VPN Virtual Private Network

    [Thread #219 for this sub, first seen 16th Oct 2023, 20:15] [FAQ] [Full list] [Contact] [Source code]

  • cron@feddit.de
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    Not free, but there are courses in udemy starting from 15€ for new customers. But be warned, these “basic” courses are between 15 and 25 hours of video. Network is not a topic you can teach yourself in one day.

  • Max-P@lemmy.max-p.me
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I learned everything by experimenting with it. Back in the days, that was running my own local Apache for development on Ubuntu 7.10. And then I slowly started toying with different services, eventually got my own VPS, learned to firewall and lock things down. Eventually I got into VMs which got me to learn networking and how bridges work. Later on, I played with VPNs and as my needs grew the network and routing grew as well.

    You can learn from tutorials but the real learning is the hands on experience.

    VMs are free and cheap to run these days, make a VM, play with it, mess it up however you want, try to fix it, reinstall it as necessary. Try to find ways a bad actor could get to it and how to prevent it.