this post was submitted on 15 Jun 2023
14 points (88.9% liked)

Lemmy.World Announcements

28890 readers
19 users here now

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news ๐Ÿ˜

Outages ๐Ÿ”ฅ

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to [email protected] e-mail.

Report contact

Donations ๐Ÿ’—

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

founded 1 year ago
MODERATORS
 

I've searched and it seems that information is limited. I have a mini PC in my office not doing anything and would like to make it into a proper Lemmy server. It seems a bit involved and while I'm technically inclined it's over my head. I already have a domain but I have absolutely no idea where to go from here.

top 13 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 12 points 1 year ago (2 children)

If you are not familiar with docker, I suggest you learn it. Then follow this guide.

https://join-lemmy.org/docs/en/administration/install_docker.html

If you are planning on hosting from home I highly suggest that you use something like cloudflare tunnels. You are going to be advertising your instance to the fediverse, so you do not want your home ip exposed.

Use this to setup the cloudflare tunnel into a reverse proxy, then point the reverse proxy to you lemmy instance.

https://www.linuxserver.io/blog/zero-trust-hosting-and-reverse-proxy-via-cloudflare-swag-and-authelia

[โ€“] [email protected] 1 points 1 year ago (2 children)

The only experience that I've had with docker is when I had it installed on my Synology NAS and was trying to run a Home Assistant container. I could not get it to work at all so instead I have a mini PC dedicated to just Home Assistant. I will read into cloudfare and revese proxy. Thanks for the info.

[โ€“] [email protected] 2 points 1 year ago

I would keep trying, once you get over the hump it's a total game changer.

[โ€“] Falmarri 1 points 1 year ago

If you don't have your home assistant set up as accessible from the Internet, there's a plugin that uses cloudflare tunnels for that.

https://community.home-assistant.io/t/new-add-on-cloudflared/361637/10

[โ€“] drphungky 1 points 1 year ago (1 children)

Proxy and/or reverse proxy is where my understanding of pipes and tubes gets pretty scant. Is that cloudflare link similar to what I feel like I normally see set up with nginx? I want to eventually set it up so my server is accessible from outside my home network (watching Plex would be pretty neat while on the road in the RV), and I feel like a test Lemmy server would be good practice.

[โ€“] [email protected] 3 points 1 year ago (1 children)

Is it normal practice? Maybe 50/50. A lot of self holsters will tell you to use a cloudflare tunnel no matter what. It does help weed out a lot of bots. If you open a port and look at the access log in nginx, you will see thousands of attempts daily. It's basically bots constantly scanning the ipv4 range fishing for common vulnerabilies. I cloudflare will filter a lot of that out.

Personally I use cloudflare, but only for Lemmy. My other hosted applications don't use it, it's too complicated (and cloudflare can see your data). I use it for Lemmy to mask my ip address.

For plex, I would just allows Plex to open port 32400 and use their setup. Plus, cloudflare could ban you for streaming through their tunnel. It violated their TOS.

[โ€“] drphungky 1 points 1 year ago

I have found Plex's solution to be kind of unreliable but that's good info, thanks. I'll look into it all one of these days.

[โ€“] [email protected] 4 points 1 year ago (2 children)

Google the lemmy-ansible repository. You'll need to install Linux on your PC first.

[โ€“] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Or setup wsl. That's what I used to deploy Ansible

[โ€“] [email protected] 1 points 1 year ago (1 children)

I've read about ansible, I just have no idea what it is or how it works. I've already got Ubuntu running on my computer.

[โ€“] [email protected] 1 points 1 year ago (1 children)

It follows instructions and replicates them automatically. AKA auto-install.

[โ€“] NABDad 2 points 1 year ago

For a second, I thought you were giving some "Silence of the Lambs" instructions there.

It follows instructions or else it gets the hose again...

[โ€“] [email protected] 0 points 1 year ago

your first hurdle is installing a lemmy server locally. this is a mission on it's own, and I can be of zero assistance here.

your second hurdle is enabling port forwarding and making that server accessible from the internet. I'm going to assume you know how to do the 2nd. port foward dot com if you don't.

your third hurdle will be setting up dynamic dns. again, lots of choices here, and different tiers of service/support. I'm assuming this is enough to point you in the right direction, and your home router likely has built in support for a few providers.

I recommend tackling these hurdles in order, but they don't have to be done in order.

load more comments
view more: next โ€บ