301
1
submitted 2 years ago* (last edited 2 years ago) by sup@lemmy.ca to c/selfhost@lemmy.ml
302
0

I'm interested in hosting a small lemmy instance from my home and I already use proxmox for several services so figured I'd start there.

I got a quick test lemmy instance running on an ubuntu VM but decided I wanted to try running it in an LXC container since PVE has a great setup for those. So I tried again with an ubuntu LXC container and got that going pretty quick too. I'm wondering if running a docker container from inside an LXC container is a good idea or not. I like the idea because it seems very portable and lightweight, but I also wonder if I'm creating more overhead by doing the Russian doll thing with containers.

I'm also wondering about DNS and security. The only thing I run locally that's accessible from the web is home assistant and I use Nabu Casa's service for that so it was pretty idiot proof. Does anyone have any general recommendations\dos\donts for running an instance from home? I'm planning to use cloudflare for DNS but I'm kind of new to this part so looking for advice.

303
1
submitted 2 years ago* (last edited 2 years ago) by stroskler@lemmy.skl.works to c/selfhost@lemmy.ml

Hello,

after installing lemmy in swarm the federated sites and communities are not syncing. especially /c/selfhosted and /c/Linux from lemmy.ml. Is this related to the instance overload ?

304
2
submitted 2 years ago by Moonrise2473@feddit.it to c/selfhost@lemmy.ml

I have 49 gb of music and at the moment i just sync it between my devices with syncthing. But i think it will be better if i stream it, as the storage on my phone is limited.

Which streaming server do you recommend?

I saw nextcloud music, but i have the feeling it's half backed and it will just clog my nextcloud install. Or supysonic? Ampache?

305
4
r/ntfy moving to Lemmy (discuss.ntfy.sh)

Hey folks, the r/selfhosted community has always been very kind to ntfy, and with recent events, I'm moving the r/ntfy subreddit to Lemmy.

https://discuss.ntfy.sh/c/ntfy

Feel free to join and/or ask questions about ntfy.

306
1
307
1
submitted 2 years ago by ProctorZeuss@lemmy.ml to c/selfhost@lemmy.ml

Currently using Tutanota but they've just retired my current plan and doubled the price.

I'm looking into hosting my own email. I would like to have encryption but it doesn't function very well when both sender and receiver need to be on the same platform. In addition none of the information being sent by email is overly sensitive so it's not a must.

Anyone that's hosting their own email or has experience/knowledge of Lavabit that would care to chime in I'd be greatly appreciative.

308
3
submitted 2 years ago by ndr@lemmy.world to c/selfhost@lemmy.ml

If I were to create my own instance federated with all the other instances, as of today, how much data would I be storing, since I would make a copy of all the content?

I know this will vary a lot, but I’m looking for a ballpark figure to have an idea. I don’t think it would be a lot, but I can’t find an estimate anywhere.

Reposted from https://lemmy.world/post/55030 as I think this community is probably a better fit

309
2
submitted 2 years ago by pimeys@lemmy.nauk.io to c/selfhost@lemmy.ml

This weekend I installed my own Lemmy instance, so I want to share the instructions to help others, who want to do the same.

I used the Ansible script and it was pretty easy. First I wanted to use my existing PosgreSQL server, what I already use for my Akkoma server. It didn't really work out that well, the migrations failed and I couldn't figure out what didn't work. Eventually I just went back using PostgreSQL on Docker. If you don't start modifying the script, and just use the dockerized PostgreSQL, you will have no problems with the installation.

What you need first is a cheap (or expensive, if you decide to invite million friends to your instance) VPS: I use Hetzner Cloud, which has been working for me super well for many years and I'm very happy with the service. I got the second cheapest AMD instance, with two cores and two gigabytes of RAM. Before buying the instance, you need to upload an SSH key to Hetzner. If you don't have one, creating is easy from the command line: ssh-keygen -t ecdsa. What you need to give to Hetzner is your public key; the one with the .pub extension in your $HOME/.ssh directory. Do not give the private key to anyone. Go with Ubuntu, might work the best with the Ansible script.

You can now SSH to the instance: ssh root@<ip-address from the Hetzner control panel>.

Next what you need is a domain name for the server. Lemmy wants an A record, and being a good internet citizen, you also get an AAAA record for the IPv6 users. I use Cloudflare for my DNS records. It's very easy to set them from their control panel. Do not set the proxy on just yet, we'll come back to that later. You can get the IP addresses from the Hetzner panel. The IPv4 you just copy, for the IPv6 you have to replace the ::/64 with ::1.

Now you should be able to ssh to your instance with the new domain name. It's time to follow the Ansible instructions for Lemmy, just run the script and see it's done correctly with no errors. When you can login to your Lemmy instance as an admin, go back to Cloudflare and turn on proxying to your A and AAAA records to hide your server IP and prevent DDOS attacks.

The first time federation is a bit slow in the beginning. Go to search in your instance, and search for !lemmy@lemmy.ml. It takes a while for the result to arrive. You can SSH to your instance, and look for the logs of your Lemmy image:

root@lemmy:~# docker ps
CONTAINER ID   IMAGE                        COMMAND                  CREATED        STATUS        PORTS                                NAMES
9e940b84cc45   dessalines/lemmy-ui:0.17.3   "docker-entrypoint.s…"   22 hours ago   Up 22 hours   127.0.0.1:6719->1234/tcp             lemmynaukio_lemmy-ui_1
6442d9d93554   dessalines/lemmy:0.17.3      "/app/lemmy"             22 hours ago   Up 22 hours   127.0.0.1:20926->8536/tcp            lemmynaukio_lemmy_1
36a030f7bf27   asonix/pictrs:0.3.1          "/sbin/tini -- /usr/…"   22 hours ago   Up 22 hours   6669/tcp, 127.0.0.1:8934->8080/tcp   lemmynaukio_pictrs_1
979be89076b2   postgres:15-alpine           "docker-entrypoint.s…"   22 hours ago   Up 22 hours   5432/tcp                             lemmynaukio_postgres_1
774112d48c87   mwader/postfix-relay         "/root/run"              23 hours ago   Up 23 hours   25/tcp                               lemmynaukio_postfix_1
> docker logs -f 6442d9d93554

This should start showing you the federated posts in real time. Eventually your search will show up, you can click the community open and subscribe to it. Do the same for other communities what you want to follow, federate other instances and eventually you are part of the federation. It gets faster and easier for the other users, but the beginning is a bit slow.

Congratulations, you're now a Lemmy admin and part of the bigger federation.

310
1
submitted 2 years ago by carlyman@lemmy.ml to c/selfhost@lemmy.ml

Do you host any Fediverse instances for family (Mastodon, etc)? Curious if you get your family to use it and what headaches when linking to other instances.

Seems like a nice way to combine group texts, picture sharing, etc

311
2
submitted 2 years ago by ultraHQ@lemmy.one to c/selfhost@lemmy.ml
312
0
submitted 2 years ago by metaltoilet@beehaw.org to c/selfhost@lemmy.ml

cross-posted from: all over the fediverse

(I think this is probably an okay place to post this, lmk if not)

Looking for collaborators to create a new instance of Lemmy. Among other things this instance will differ from existing ones by having a self-governing structure. Check out the very rough draft linked below to learn about my current vision for this community. Much on the doc will change based on other people's ideas. This community's goal is for it to belong to the community. No specific skills needed, but please read through the concept outline before getting in touch. Any type of contribution is amazing. You just have to be interested. Join me in creating a unique and innovative platform.

313
1
submitted 2 years ago by d4nm3d@reddthat.com to c/selfhost@lemmy.ml

I've set one up using the docker instructions but i can't log in to it.. When i try to signup or login the green button just swirls constantly...

314
1
submitted 2 years ago by paulie420@beehaw.org to c/selfhost@lemmy.ml

I've been working with the two suggested LemmyNet installation methods; Docker and Ansible. Neither are too wild of a setup, but they aren't plug and play docker-compose-like, either.

I want to run a LemmyNet on a subdomain; lemmy.domain.com, and use nginx-proxy-manager to point traffic in the right direction, but it will be on the same local IP... some port changes will need to be made.

Is anyone running their own instances? Have suggestions or tips with things that helped you lean up a lemmy.subnet?

Cheers!!

  • pAULIE42o
  • . . . . . . . . . . .
  • /s
315
2

I plan to have the following services running concurrently on it:

  • A VPN (OpenVPN or Wireguard)
  • A very lightweight personal website
  • A Nextcloud instance (25GB storage max)
  • A Vaultwarden instance
  • An Invidious instance
  • A Matrix server
  • A Lemmy instance

I'm unsure if these would be private or public instances. But I'd be curious to hear any thoughts on how much more space I'd need for public instances too, if you'd have a sense of that.

I currently have a VPS with 2GB RAM + 50GB storage. Would that be enough? Thanks in advance!

316
1
submitted 2 years ago by dogmuffins@lemmy.ml to c/selfhost@lemmy.ml

While I'm not interested in encouraging /r/selfhosted users to leave reddit, I thought it would be good to have some discussion around the possibilities for a selfhosted community on lemmy.

It looks as though most users are washing up in !selfhosted@lemmy.ml, but this is but a temporary refuge in these troubled times. The single mod is not responsive, lemmy.ml is already struggling with load, and the background lemmy.ml community may not be right for us. If we set up shop here we're just going to have to move, probably sooner rather than later.

So if we move, do we create our own instance or move to an existing one better aligned with our needs?

Given that there don't seem to be any instances which are really ideal, the remaining advantages to choosing an existing instance is simply that we rely on someone else's infrastructure (and the associated time, skill, and responsibility). This is a significant advantage which makes this option tough to pass up, but the equally significant disadvantage is that we don't get our own place. It's like renting a room in a frat house rather than building our own mansion.

The remaining option is to create our own instance. If we were to go this route, in my opinion it is critically important that the responsibility for this be shared amongst several people. This dramatically reduces the odds that someone loses interest, or lacks the resources to support the community long term. While I'm certain that everyone in this sub could spin up an instance, we all know that providing high availability to potentially thousands of users is not something to be undertaken on a whim. There's a significant risk to the community in allowing someone to take this on themselves.

I think fosstodon (mastodon) with several admins is a good model of how something like this can work. I also think it would be a good idea to broaden the subject to FOSS rather than merely self hosting.

So the questions are...

Do you think we should create & support a community on an existing instance, or create our own instance?

If an existing instance then which one?

If a new instance then how would you like to see it operated?

317
-1
submitted 2 years ago by crank@beehaw.org to c/selfhost@lemmy.ml

What would folks think about using this tool to clone the existing subreddit? Losing the historical content would really suck. I make heavy use of subreddit search for solving technical problems.

rileynull/RedditLemmyImporter: 🔥 Anti-Reddit Aktion 🔥

This project translates Reddit API responses into a PL/pgSQL script which loads the data into a Lemmy database.

In other words, it takes Reddit posts/comments and puts them into Lemmy.

PS I am a pretty newb person and last time I tried to do much with a db I didn't get very far so please no one rely on me to get this done. I will see about giving it a shot but given the short timelines might not get it in time.

318
30
submitted 2 years ago by casey@lemmy.wiuf.net to c/selfhost@lemmy.ml

Greetings, self-hosting enthusiasts and welcome to the Selfhosted group on Lemmy! I am Fimeg, your tour guide through the labyrinth of digital change. As you're likely aware, we're witnessing a considerable transformation in the landscape of online communities, particularly around Reddit. So let's indulge our inner tech geeks and dive into the details of this issue, and explore how we, as a self-hosting community, can contribute to the solution.

The crux of the upheaval is a policy change from Reddit that's putting the existence of beloved third-party apps, like Reddit is Fun, Narwhal, and BaconReader, in jeopardy. Reddit has begun charging exorbitant fees for API usage, so much so that Apollo is facing a monthly charge of $1.7 million. The ramifications of these charges have resulted in an outcry from the Reddit community, leading to a number of subreddits planning to go dark in protest.

These actions have pushed many users to seek out alternative platforms, such as Lemmy, to continue their digital explorations. The migration to Lemmy is especially significant for us self-hosters. Third-party applications have long been a critical part of our Reddit experience, offering unique features and user experiences not available on the official app.

As members of the Selfhosted group on Lemmy, we're not just bystanders in this shift - we have the knowledge, skills, and power to contribute to the solution. One of the ways we can contribute is by assisting with the archiving efforts currently being organized by r/datahoarder on Reddit. As self-hosting enthusiasts, we understand the value of data preservation and have the technical acumen required to ensure the wealth of information on Reddit is not lost due to these policy changes.

So, while we navigate this new territory on Lemmy, let's continue to engage in productive discussions, share insights, and help to shape the future of online communities. Your decision to join Lemmy's Selfhosted group signifies a commitment to maintain the spirit of a free and open internet, a cause that is dear to all of us.

Finally, in line with the spirit of the original Reddit post, if you wish to spend money, consider supporting open-source projects or charities that promote a free and accessible internet.

With that, let's roll up our digital sleeves and embark on this new journey together. Welcome to the Selfhosted group on Lemmy!

319
1

Hi. I am trying to figure out how to get high-speed storage in my R640 server. I just want to use consumer-grade NVME disks, so I can write data at ≥ 1GByte/sec per disk. Do you have any suggestions on what hardware to choose?

320
1
Keepalived (lemmy.ml)
submitted 2 years ago by g7s@lemmy.ml to c/selfhost@lemmy.ml

I am currently looking into High Availability for my work setup. I am having some problems understanding how to achive that. I have two servers, one running libvirt and a couple VM, the other one nothing much yet.

To achieve HA with keepalived, I would have to setup the exact same VMs under the second server, right? If that's the case, how would I make sure that the "mirrors" stay equal, If for example the master goes down, the backup takes over, some changes are made in a DB and the master knows nothing about these changes.

Maybe I misunderstood keepalived so far, can somebody provide me with an example setup or hints on how to achieve what I want to do?

Kind Regards

g7s

321
1
submitted 2 years ago* (last edited 2 years ago) by boo@beehaw.org to c/selfhost@lemmy.ml

So I self host some stuff like jellyfin, ssh server for borg backup etc. over lan(Asus RT-AX53U router).

And just noticed that i still use cat5 and cat5e cables.

Does it make sense to upgrade to newer cat8 cables?

322
2
submitted 2 years ago by raccoon@lemmy.ml to c/selfhost@lemmy.ml

Title, I want to host a Lemmy instance and to save money I was hoping to use a pizero that I already have. I would consider a vps, but I worry about bandwidth

323
2

I don't know if renting a dedicated server goes against the point of selfhosting but whatever.
Everyone seems to recommend hetzner on reddit because they are cheaper, but OVH seems to be much cheaper that hetzner for low end servers, especially the Kimsufi and So You Start ranges.

This is the server I was looking at with OVH:
CPU : Intel Xeon D1520 - 4c/8t - 2.2 GHz/2.6 GHz
Memory : 32 GB DDR4 ECC
Storage : 4 x 2 TB HDD SATA Soft RAID
Public bandwidth : 250 Mbps
Price: £26.66 per month.

hetzner seems to start a lot higher with specs, but I don't need 64GB of ram and a 1Gb/s internet connection, The instance I am posting this from is the lowest spec kimsufi possible with an intel atom and 4GB of RAM and that is running lemmy and mastodon fine.

Is there something else bad about OVH that I am missing? (other than the flammable servers)

324
4
submitted 2 years ago by audricd@lemmy.ml to c/selfhost@lemmy.ml

Hello all,

Let me share with you with this amazing list of links for self hosting services. Its a very long one, and I have barely tried a handful of them myself.

I hope you all find this inspiriting and resourceful.

Regards,

325
2
submitted 2 years ago* (last edited 2 years ago) by azron@lemmy.ml to c/selfhost@lemmy.ml

If you run a matrix server and haven't yet heard of or moved to spantaleev's matrix-docker-ansible-deploy do yourself a favor and take the plunge. I switched after running matrix with a few bridges for years and wow what a time saver!

view more: ‹ prev next ›

Self Hosted - Self-hosting your services.

11599 readers
167 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS