• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "servers". Back to normal view
    1. Self-hosting a podcast server

      I am wanting to setup a personal podcast server but I am not really sure how to go about that. I have my own server at home with docker and I am not sure if there are any well-known FOSS...

      I am wanting to setup a personal podcast server but I am not really sure how to go about that.

      I have my own server at home with docker and I am not sure if there are any well-known FOSS (preferable dockerized) podcast server applications that I can spin up and load some podcast episodes into so that I can create my own custom podcast feed that only I would subscribe to?

      and I want to be able to support video podcasts.

      17 votes
    2. Advice on expanding storage in starter homelab/media server

      I've been slowly fiddling around with setting up a little homelab and media server for the last few months. As a web developer, I've always wanted to learn a bit more of the infrastructure side of...

      I've been slowly fiddling around with setting up a little homelab and media server for the last few months. As a web developer, I've always wanted to learn a bit more of the infrastructure side of things, hence the homelab part. The deteriorating quality of major streaming services finally pushed me to set up a media server as well.

      Right now, my setup is very basic. I've been using an old repurposed office laptop. It's a simple dell latitude 5540 I got ridiculously cheap due to it's barely usable crusty keyboard, but since I mainly SSH into it that's not really an issue. I formatted it, doubled the ram, and installed the latest stable Debian release. (Headless)

      After that, I chose to install yams which was recommended here. Definitely saved a lot of time there! Finally, I added an old unisex raspberry pi I had lying around. The idea is that it's the only part of the setup that is on 24/7, since it has an almost negligible footprint. Whenever I want the main server running, I SSH into the raspberry and use wakeonLAN to start the main server. I'm probably gonna make a tiny web interface for that soon.

      Now on to the part I need advice for. The laptop and attached HD are quickly running out of space. I know just slapping on extra hard drives has a limit, and am vaguely aware of things like unraid existing, but am a bit overwhelmed right now with all the information and options in this space.

      Does anyone have some advice on something I can tackle for a reasonable amount of work/budget? Something basic, but with the possibility of expansion in the future?

      Any other tips on where to go next in general are of course also appreciated. (On that note, I'm right now not opening up the server to ingress from outside. I only interact with it on the home network, as I primarily work from home)

      17 votes
    3. Building a home media server on a budget

      Hi I figured before I start venturing into other forums dedicated to this sort of thing, I'd ask here on Tildes since I'm at least comfortable with the community and how helpful they can be here....

      Hi

      I figured before I start venturing into other forums dedicated to this sort of thing, I'd ask here on Tildes since I'm at least comfortable with the community and how helpful they can be here.

      I'm tired of all of the subscription services I have, movies and TV shows disappearing from them, buying a film on Prime and only being able to watch it offline through a specific app. Even then, half the time we're watching comfort TV shows that we have on DVD already (X-Files and Friends for instance).

      So I figured that building a home media server would give me the chance to cut the cord with a couple of these services and allow us to start using and controlling our own data again.

      I have a budget of around £300 (I could perhaps push to £400 if needed) and I'm honestly not sure at all where to start. I have knowledge on how to build brand new, medium to high end gaming PCs as I've done it since I was in my late teens and built my first PC with the wages from my very first job but building a budget minded PC for use as a home media server goes completely over my head.

      I've noticed that a lot of the pre-built NAS or media server boxes are very expensive so my first thought was to buy a refurbed workstation or small form factor PC that has enough "oomph" to do the trick but I don't know what ones to even start looking at and then I start to feel a little bit out of my comfort zone.

      Things like getting the right CPU in these refurbed machines that offers the features I'm looking for like hardware transcoding etc., integrated GPU's, ensuring there's enough SATA ports for multiple hard drives and an SSD for a boot drive, and then to top it all off ensuring that while achieving these features the thing shouldn't draw too much power when idling as it'll be on for long stretches of time, if not left on 24/7.

      I've also got no knowledge of Linux, I've never even looked at it but if it's genuinely easy enough (for someone with next to no Linux experience) then I'd be happy to give it a shot if it offers better performance compared to using Windows 10 or something.

      All the server will be used for is watching TV shows, perhaps the odd film, listening to a bit of music perhaps and the odd podcast now and again. Simultaneous streaming will be fairly minimal, perhaps 2 streams as me or my partner watch one thing and our daughter watches another on her tablet. In regards to streaming outside the house that will also be almost non-existent, perhaps, again our daughter watching a kids TV show like Pokemon or Fireman Sam on her tablet when we're out but me and my partner don't tend to watch anything when we're outside the house, certainly not TV shows or movies anyway.

      Redundancy isn't something I'm too horrendously worried about, I wouldn't be storing anything like photos that we wouldn't want to lose on it and while it'd be annoying, losing a drive with TV shows or films on it wouldn't be the end of the world.

      Any help would be massively appreciated, thanks.

      36 votes
    4. Which OS to pick for my first home server?

      Edit: I've just purchased an Unraid license. I'll give it a go and it may not turn out well, but for the time being, the question is settled. I appreciate everyone for providing insightful and...

      Edit: I've just purchased an Unraid license. I'll give it a go and it may not turn out well, but for the time being, the question is settled. I appreciate everyone for providing insightful and informative answers!

      Hey everyone,

      I've recently bought myself a NUC (NUC11TNHi3) that I intend to run as a home server, using many of my external USB drives as the storage.

      My use case is very narrow. I'll use it as a Plex server and seed/leech torrents with it.

      I've never built a home server like this before (I did dabble with it on a RPi, but that was just for PiHole), so I've never had to research what operating systems are available to me. After some research, I narrowed it down to two options.

      1. Windows
        This option is the most straightforward given that it's the system I'm familiar with the most. My use case is also very narrow, so I could set everything up in a couple of hours. All I'd have to do is install Plex server, a torrent client, exposing them to the outside world with port forwarding or Tailscale (never used it before but seems easy enough), and share my external USB drives locally so that I can access them using my regular desktop computer at home. The downside of this is that Windows can be finicky. I'd also prefer to have my drives pooled under a single drive. A cursory research suggests that Windows can do this as well, but not in a way that inspires confidence.

      2. Unraid
        I hadn't heard about this since last week, but it seems like a nice option. It costs money, it's proprietary, and I'd likely have to reformat all my NTFS drives to be able to use it but I was wondering if this would be the best long term solution. The learning curve will be there. Arrays, cache drives, share drives etc. are terms I'm not familiar with (though I can guess what purpose they serve) so it will be more time consuming to set things up properly. But given how narrow my use case is, as elegant a solution as it seems, is it necessary? I'm only considering this because seems like this is the best purpose built OS in the market right now.

      Some clarifications:

      • I'm sure someone will suggest a Linux distro. I have used Fedora as my main OS for a couple of years and I was quite happy with it, however I could never wrap my head around the Linux permissions structure, which Plex is awful with, as it creates its own user and look for drives under that user. I must have spent hours and hours to make Plex read my external drives properly before, but I've never managed to make it do so without some sort of hacky way and I don't want to do that with my home server. I don't want to have any doubts that things can go wrong. I want something that just works. (If only Synology had a capable device that could handle multiple simultaneous 4K transcodings. I'd have just throw my money at them instead of buying a NUC.)

      • My use case will remain narrow. Maybe way down the road I can automate stuff with Sonarr or Radarr or stuff like that, but I don't think I'll ever consume enough recently released stuff to justify it. One thing is for certain, I'm never going to host my password server, feed reader, or something like that on this device.

      That's about it. What should I do?

      Given that I'm a novice is this area, I'd be all ears to listen any other related or unrelated advice for someone who's just starting to build their first home server.

      Thank you in advance.

      27 votes
    5. How does one draw in a community for their Minecraft server?

      I'm kind of withdrawn and I don't talk a lot but I want to curate a community of chill people to play with. I just started my server and I've got 3 people whitelisted, of which 2 have shown up and...

      I'm kind of withdrawn and I don't talk a lot but I want to curate a community of chill people to play with. I just started my server and I've got 3 people whitelisted, of which 2 have shown up and those two are family members. And one person who tried to join but wasn't whitelisted, but idk how they got the ip since they're not in the discord.

      I have around 300 subscribers where I posted the link, but only 3 people joined the discord (one being another subscriber, bc one of my family members hasn't accepted the discord invite yet but is whitelisted anyway bc duh). I'm just kind of feeling like the kid who invited his whole class to his birthday party but only 2 people showed up. I'm not sure what I've done wrong or if I missed an important step.

      16 votes
    6. What operating system do you run your home servers on?

      I'm going to set up my first home server with an Intel NUC, but I can't decide what OS to use. Ubuntu seems popular but I like Pop!_OS and am not sure if that would be a good option. Then there's...

      I'm going to set up my first home server with an Intel NUC, but I can't decide what OS to use. Ubuntu seems popular but I like Pop!_OS and am not sure if that would be a good option. Then there's TrueNas and Unraid, but as a newbie, what's the best choice?

      I'm also just curious what everyone else is using :)

      Edit: Thank you for your great responses!

      49 votes
    7. What are you self-hosting currently?

      I recently discovered Paperless-ngx and have immediately fell in love. I must now decide whether to host it on my VPS (risky with personal documents), on a Pi at home or finally invest in a proper...

      I recently discovered Paperless-ngx and have immediately fell in love. I must now decide whether to host it on my VPS (risky with personal documents), on a Pi at home or finally invest in a proper home server (something cheap but with a bit more power than a Pi4). It can totally be run a Pi, but performance may not be as good.

      Does Tildes have a big self-hosted community? What are you self-hosting currently, and what do you enjoy about it?

      52 votes
    8. Setting up a NAS as a first timer?

      So I've seen some posts here and elsewhere about people making a home NAS setup, using it as a media server with jellyfin/plex/.arr to set up media + keep files/passwords/photos, and then managing...

      So I've seen some posts here and elsewhere about people making a home NAS setup, using it as a media server with jellyfin/plex/.arr to set up media + keep files/passwords/photos, and then managing it remotely. That sounds incredibly cool.

      I also did some cursory searching that one way to do things without messing with port-forwarding is to look into Tailscale to network remotely.

      I want to try this for my parents and I, especially since I will be training abroad for several years while they will be based in Asia.

      The obvious problem is I don't have any experience with the process or even networking in general. I also do not know how to code in any capacity. I am in a decidedly non-tech field of work.

      I've been googling but want to know if this a feasible idea at my skill level? Is this work for hobbyists or those in the professional field of computing? Am I going to potentially shoot myself security-wise if i try this? Should experiment with something smaller-scale first?

      Preliminary "Research":

      1. Watched Practical Networking on youtube to see what I was getting into (understood... lets say 45% of what he was talking about)
      2. Plan to get a synology NAS with minimum 4 drive bays (Supposedly this is easiest for beginners?)
      3. Connect to network via tailscale
      4. Get a vpn
      5. Install docker
      6. Install apps
      7. Connect it to PCs and smart tv at my parent's home in Asia
      8. ???
      9. Maintain it from Europe?

      Any advice on how to start or any guides to recommend? (most of what I've found is 2021 or earlier so I am unsure if a lot's changed since then)

      9 votes
    9. Homeserver, hosted server, domains and stuff. What do you do, what should I do?

      I'm having a "server" (very cheap, very old office pc) in my house I use together with dynamic dns. But it's not really stable, (needs regular restarts and dyndns is not really gold either) and as...

      I'm having a "server" (very cheap, very old office pc) in my house I use together with dynamic dns. But it's not really stable, (needs regular restarts and dyndns is not really gold either) and as I want to offer family acces to nextcloud and myabe plex? any other ideas? and all the other nice stuff the free software world has to offer, this is not working well enough to not make them flee back to google + apple and stay there till eternity!

      the other thing is, i got used to ssh and stuff over the last years and want to improve my skills and learn.

      I know these two dont really go well hand in hand :-(

      I actually have a decent up and down speed at my home so an upgrade for my existing system is thinkable but dyndns is just a PITA and i'd like having my own domain. do these work with changing ips? because with the prices they ask here for staric ips I can just rent a server in a center somewhere.

      what do you do to self host, how do you do it and what would be your advise for me?

      19 votes
    10. Need suggestions for server email tutorial

      I usually setup debian or ubuntu servers. One of the pain areas I have avoided is email and usually just off-load the email to a 3rd party service. I currently need to setup a server with an email...

      I usually setup debian or ubuntu servers. One of the pain areas I have avoided is email and usually just off-load the email to a 3rd party service. I currently need to setup a server with an email server and need a really simple straightforward tutorial. I thought I would see if the community has any suggestions.

      10 votes
    11. In which a foolish developer tries DevOps: critique my VPS provisioning script!

      I'm attempting to provision two mirror staging and production environments for a future SaaS application that we're close to launching as a company, and I'd like to get some feedback on the...

      I'm attempting to provision two mirror staging and production environments for a future SaaS application that we're close to launching as a company, and I'd like to get some feedback on the provisioning script I've created that takes a default VPS from our hosting provider, DigitalOcean, and readies it for being a secure hosting environment for our application instance (which runs inside Docker, and persists data to an unrelated managed database).

      I'm sticking with a simple infrastructure architecture at the moment: A single VPS which runs both nginx and the application instance inside a containerised docker service as mentioned earlier. There's no load balancers or server duplication at this point. @Emerald_Knight very kindly provided me in the Tildes Discord with some overall guidance about what to aim for when configuring a server (limit damage as best as possible, limit access when an attack occurs)—so I've tried to be thoughtful and integrate that paradigm where possible (disabling root login, etc).

      I’m not a DevOps or sysadmin-oriented person by trade—I stick to programming most of the time—but this role falls to me as the technical person in this business; so the last few days has been a lot of reading and readying. I’ll run through the provisioning flow step by step. Oh, and for reference, Ubuntu 20.04 LTS.

      First step is self-explanatory.

      #!/bin/sh
      
      # Name of the user to create and grant privileges to.
      USERNAME_OF_ACCOUNT=
      
      sudo apt-get -qq update
      sudo apt install -qq --yes nginx
      sudo systemctl restart nginx
      

      Next, create my sudo user, add them to the groups needed, require a password change on first login, then copy across any provided authorised keys from the root user which you can configure to be seeded to the VPS in the DigitalOcean management console.

      useradd --create-home --shell "/bin/bash" --groups sudo,www-data "${USERNAME_OF_ACCOUNT}"
      passwd --delete $USERNAME_OF_ACCOUNT
      chage --lastday 0 $USERNAME_OF_ACCOUNT
      
      HOME_DIR="$(eval echo ~${USERNAME_OF_ACCOUNT})"
      mkdir --parents "${HOME_DIR}/.ssh"
      cp /root/.ssh/authorized_keys "${HOME_DIR}/.ssh"
      
      chmod 700 ~/.ssh
      chmod 600 ~/.ssh/authorized_keys
      chown --recursive "${USERNAME_OF_ACCOUNT}":"${USERNAME_OF_ACCOUNT}" "${HOME_DIR}/.ssh"

sudo chmod 775 -R /var/www
      sudo chown -R $USERNAME_OF_ACCOUNT /var/www
      rm -rf /var/www/html
      

      Installation of docker, and run it as a service, ensure the created user is added to the docker group.

      sudo apt-get install -qq --yes \
          apt-transport-https \
          ca-certificates \
          curl \
          gnupg-agent \
          software-properties-common
      
      curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
      sudo apt-key fingerprint 0EBFCD88
      
      sudo add-apt-repository --yes \
         "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
         $(lsb_release -cs) \
         stable"
      
      sudo apt-get -qq update
      sudo apt install -qq --yes docker-ce docker-ce-cli containerd.io
      
      # Only add a group if it does not exist
      sudo getent group docker || sudo groupadd docker
      sudo usermod -aG docker $USERNAME_OF_ACCOUNT
      
      # Enable docker
      sudo systemctl enable docker
      
      sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
      sudo chmod +x /usr/local/bin/docker-compose
      sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
      docker-compose --version
      

      Disable root logins and any form of password-based authentication by altering sshd_config.

      sed -i '/^PermitRootLogin/s/yes/no/' /etc/ssh/sshd_config
      sed -i '/^PasswordAuthentication/s/yes/no/' /etc/ssh/sshd_config
      sed -i '/^ChallengeResponseAuthentication/s/yes/no/' /etc/ssh/sshd_config
      

      Configure the firewall and fail2ban.

      sudo ufw default deny incoming
      sudo ufw default allow outgoing
      sudo ufw allow ssh
      sudo ufw allow http
      sudo ufw allow https
      sudo ufw reload
      sudo ufw --force enable && sudo ufw status verbose
      
      sudo apt-get -qq install --yes fail2ban
      sudo systemctl enable fail2ban
      sudo systemctl start fail2ban
      

      Swapfiles.

      sudo fallocate -l 1G /swapfile && ls -lh /swapfile
      sudo chmod 0600 /swapfile && ls -lh /swapfile
      sudo mkswap /swapfile
      sudo swapon /swapfile && sudo swapon --show
      echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
      

      Unattended updates, and restart the ssh daemon.

      sudo apt install -qq unattended-upgrades
      sudo systemctl restart ssh
      

      Some questions

      You can assume these questions are cost-benefit focused, i.e. is it worth my time to investigate this, versus something else that may have better gains given my limited time.

      1. Obviously, any critiques of the above provisioning process are appreciated—both on the micro level of criticising particular lines, or zooming out and saying “well why don’t you do this instead…”. I can’t know what I don’t know.

      2. Is it worth investigating tools such as ss or lynis (https://github.com/CISOfy/lynis) to perform server auditing? I don’t have to meet any compliance requirements at this point.

      3. Do I get any meaningful increase in security by implementing 2FA on login here using google authenticator? As far as I can see, as long as I'm using best practices to actually ssh into our boxes, then the likeliest risk profile for unwanted access probably isn’t via the authentication mechanism I use personally to access my servers.

      4. Am I missing anything here? Beyond the provisioning script itself, I adhere to best practices around storing and generating passwords and ssh keys.

      Some notes and comments

      1. Eventually I'll use the hosting provider's API to spin up and spin down VPS's on the fly via a custom management application, which gives me an opportunity to programmatically execute the provisioning script above and run some over pre- and post-provisioning things, like deployment of the application and so forth.

      2. Usage alerts and monitoring is configured within DigitalOcean's console, and alerts are sent to our business' Slack for me to action as needed. Currently, I’m settling on the following alerts:
        1. Server CPU utilisation greater than 80% for 5 minutes.
        2. Server memory usage greater than 80% for 5 minutes.
        3. I’m also looking at setting up daily fail2ban status alerts if needed.
      9 votes
    12. Advice for first home server?

      Hello, I have a few questions. I didn't want to wast money so I wanna use what I have in terms of hardware, only the PSU and storage if needed. PC: CPU AMD 5 1600 RAM 16G SSD 125 GB for OS...

      Hello,

      I have a few questions. I didn't want to wast money so I wanna use what I have in terms of hardware, only the PSU and storage if needed.

      PC:

      • CPU AMD 5 1600
      • RAM 16G
      • SSD 125 GB for OS

      Services I think of running:

      • Node Tor middle relay
      • Node Bitcoin
      • Node XMR
      • Gitea or Gitlab
      • Maybe some service to host files or make a share for lan or a could service
      • Maybe a TS Server or Minecraft

      Questions:

      1. Do I have enough power to run all of this or I am being to greedy? I have raspberry(not pi 4) stopped at home doing nothing I could run some of this services on them if the computer can't handle everything.
      2. Should I virtualize? Can you explain me your response on this?
      3. I thinking of buying a good PSU since I am running this 24/7, should I invest in gold platinum or something like that?
      4. Should I have multiple disks if yes can you explain how much and for what.

      This is will be my first server at home so I would like to hear tips if you think I am forgetting something.

      Thanks in advance.
      Edit: visualize > virtualize

      17 votes
    13. Is it a good idea to use an AWS server as a vpn?

      I have an amazon server that I use to host my email and my simple website. I'm considering setting a vpn up on it, but I'm not sure if it's worth it. Would my data be as secure as with 3rd party...

      I have an amazon server that I use to host my email and my simple website. I'm considering setting a vpn up on it, but I'm not sure if it's worth it. Would my data be as secure as with 3rd party vpns? Would Amazon see my traffic? It seems like if I go this route, anything that I do could be traced back to me, because the see the ip of my server and than ask amazon who owns it.

      10 votes
    14. Any homeserver operators out there?

      I am a long time homeserver operator and was just wondering if there was anyone else around that is into server hosting and system administration like me. if you do, feel free to share any stories...

      I am a long time homeserver operator and was just wondering if there was anyone else around that is into server hosting and system administration like me.
      if you do, feel free to share any stories you may have about being a homeserver operator.

      If anyone is wondering I own a dell poweredge r410 and a few HP workstations

      25 votes