There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

kbin.life

howdy , to selfhosted in Incredibly Lost and frustrated trying to set up self hosted lemmy server
@howdy@thesimplecorner.org avatar

Install wsl for windows Ubuntu default.(can install wsl in PowerShell).

Install Ansible in wsl, create ssh keys to your VPS, follow those instructions.

On my Ubuntu server I did literally nothing but the ssh key generation.

cereal7802 ,
@cereal7802@lemmy.game-files.net avatar

I think this is one of the more sensible answers here. If your workstation is windows, then utilize WSL for ansible and deploy onto a ubuntu or debian host (I’m assuming it works fine on debian, I used ubuntu). You might run into some issues with ansible dependencies as the readme doesn’t seem to cover everything from what i remember, but once ansible works and has the correct configs, deployment is super easy.

howdy ,
@howdy@thesimplecorner.org avatar

Yeah Ansible I had to set the path variable and did the ssh key generation. Other than that my lemmy was up and running in like 10 minutes all automated. You can go back and change the config by rebuilding the yaml. It’s not bad at all.

cereal7802 ,
@cereal7802@lemmy.game-files.net avatar

I ran into some dependency issues(needed to install ansible-collection-community-docker on my fedora workstation), but after that it ran fine and installed everything first run. I made some adjustments to the inventory config afterwards, but aside from that it just worked.

yesdogishere ,

sadly, none of these is worth implementing. Remember, Windows is designed to break. MS has millions of tiny levers to flick, and they don't care if their mindless flicking fucks up your work. Worse of all, the law protects them from flicking to destroy you out of spite. Best thing to do is just use linux. Or design our own OS. Since Linux itself is slowly collapsing under the weight of MS bullshit. And god forbid that shithole IOS.

jjakc , to selfhosted in How do I use a CDN for a Lemmy instance hosted on a VPS?
@jjakc@lemthony.com avatar

Buy your domain with cloudflare, or transfer it over to them. Then just set up dns to point to you server and make sure the proxy switch is on. Pretty sure that’s all you need to do at the free tier

MigratingtoLemmy OP ,

Hi, can I purchase my domain elsewhere? The other commenter mentioned something about changing nameservers, how would the process you describe be different from just changing nameservers (if I have a domain name from a different provider)?

jjakc ,
@jjakc@lemthony.com avatar

It’s basically the same. Like they said, you just follow the intructions on cloudflare to change the name servers on your registrar and then you’re good

B4tid0 , to youshouldknow in YSK - you shouldn't avoid getting your pictures taken
@B4tid0@lemmy.world avatar

My Condolences.

When I turned 24 and started to make friends outside the circle of friends that I grew up with I realized I had so many pictures of everything but of me in them to show , to remember those times by. It was kind of awful , and now I make an effort to be a part of the memories i am making if only to one day look back at what i looked liked then. Social media ruin being part of pictures for me but trying to connect to other people in real life and being kinder to myself made me realise why is actually very important to me. There are memories I have zero pictures of just because “I don’t want to make this moment about pictures and social media” as if there is no other purpose to pictures but social media , i was a dummy.

The worse part is there is a lot of pictures i am in that i don’t remember the context of until other people bring up the story of it. I guess the whole “We didn’t know we were making memories, we just. knew we were having fun." - Winnie the Pooh. Is legitness. So be part of the picture people even if just to remember youself by.

Tash , to selfhosted in DIY vs pre-build NAS for home use
@Tash@kbin.social avatar

I picked up an old Dell Optiplex tower and slapped 4 cheap 4 TB drives in it. Setup as RAID 5 I got 12 TB of "redundant" storage for cheap! Perfect spot to keep all the p0rn torrents.

But I used OpenMediaVault for that deployment. It's been OK.... but I kinda feel that I am missing out on some of the more active developments of other distributions.

Despite that, I would absolutely suggest grabbing an old office computer and throwing some drives into it for a home NAS.

vividspecter ,

It’s the power usage and physical space that puts me off those kind of solutions. Of course, that varies a lot based on your living circumstances (location, whether you own a house, etc).

dryguy , to youshouldknow in YSK How to bypass paywalls on news articles

A lot of paywalls disappear when you turn off javascript. I use a plugin that adds a button to quickly toggle javascript for specific web pages. It works for a large percentage of paywalled articles. On the few paywalled sites where I actually use javascript, it is easy to just turn it back on again when needed. The plugin I use is JavaScript Switcher, but there are others out there.

Kethal ,

That’s nice to know. There’s also “reader mode” built right into Firefox.

dryguy ,

I did not know about reader mode. It seems that it is unavailable for some websites, so it can still be useful to switch off JavaScript in those cases.

kusix , to selfhosted in DIY vs pre-build NAS for home use
@kusix@kbin.social avatar

I bought a used Datto NAS and put xpenology on it. Without drives, $300 got me 4 bays, 1 internal 2.5", dual 10gb nics, and 32gb of ecc ddr4. If you're ok using the hacked bootloader for synology's os, it's hard to beat.

falkerie71 ,
@falkerie71@sh.itjust.works avatar

Are there any limitations for using xpenology? I’m assuming you still won’t be able to use Synology’s services that require their servers, correct?

kusix ,
@kusix@kbin.social avatar

That's functionally it. Instead of quick connect I just run Tailscale/OpenVPN if I need to access it away from home. You also can't get easy SSL Certs in the gui, but it you can get them yourself and upload them if needed. If you DIY, your CPU also won't show up correctly in the GUI, but works just fine. Otherwise, I don't notice anything missing.

There's a few different loader options since DSM 7.x, but I've been using "TinyCore RedPill Loader Build Support Tool ( M-Shell )" with zero issues throughout multiple updates. They've even semi-recently gotten it working to support auto updates with no manual builder reloading. Much lessy finicky that the DSM 5/6 days.

So yeah, it's grey area bootloader... but I've been using it daily since 2016 with no real issues.

falkerie71 ,
@falkerie71@sh.itjust.works avatar

Good to know. Thanks!

grilledsausage , to selfhosted in DIY vs pre-build NAS for home use

Got a Xeon E5-2690v2 with TrueNAS Scale and a Synology DS418. Having used both pretty heavily over the years I can safely say I'm indifferent. The Synology is efficient; the TrueNAS Scale box performs really well with the added bonus of being able to run Kubernetes and Docker workloads. They're both sitting in their respective corners, doing their respective things, with minimal intervention.

simple , to nostupidquestions in if many people started posting pictures, wouldn't that overload Lemmy completely?
@simple@lemmy.world avatar

Depends on the instance, some are well-prepared and can expand storage depending on the traffic, so I think they’ll be fine. People are already posting a lot of images, but it is a good idea to try and link to other sources rather than stress the servers.

gds , to youshouldknow in YSK How to bypass paywalls on news articles

Reader view in mobile Safari often works. As does switching to a private window. Failing that Google usually has a cache if archive.is doesn't.

Fmstrat ,

Same in Firefox. And if you only get the preview in reader mode, refresh after you are in reader mode.

Pirky , to youshouldknow in YSK how to eat dessert in the desert
@Pirky@lemmy.world avatar

I always remembered it because the reverse of desserts is stressed. So if you’re stressed you need some desserts.

AFKBRBChocolate , to youshouldknow in YSK How to bypass paywalls on news articles

Just as a side note (and I’m not advocating for anything, I just think it’s good for people to think things through and have the full picture), the reason why many publications went to a subscription model is that so many people started using ad blockers. The publications have staff who want to be paid for the job they do, and other expenses like server infrastructure. They used to pay for all of that by selling ads on their sites, but then people found ways to avoid seeing ads, so the advertisers didn’t want to pay for them anymore.

So the publications had a choice between shutting their doors or charging a subscription, and many chose the latter. Now people are using techniques like this to avoid the subscriptions. The publications will either have to figure out a more effective paywall, come up with a different business model, or go out of business.

blivet ,
@blivet@kbin.social avatar

I wish the micropayments model people were proposing twenty years ago had taken off. I don’t have any interest in subscribing to The New York Times, for example, because I just don’t read it very much, but I wouldn’t object to paying a few cents every time I happened to read one of their articles.

AFKBRBChocolate ,

Yeah, I agree that model is more tenable. Honestly, if the websites hadn’t gotten so riddled with completely obnoxious ads, people might have been less motivated to use ad blockers when they were first available. Our older two kids were teenagers in those days, and told us we should start using them. I told them the same thing about the business model, and they just insisted that the content should be free. I said then, and I say now, that’s unrealistic. I know I wouldn’t work a full time job for no pay, and I wouldn’t expect anyone else to.

Reliant1087 ,

I was perfectly fine with having header/footer/banner ads and left my adblocker off, unfortunately almost all advertisements have become so obnoxiously placed and irritating. If they weren’t so greedy, I feel like most people would have been okay with it.

I’m okay with my physical newspaper running ads too but not putting super intrusive ones or the ones that are disguised as actual reporting.

JesusTheCarpenter ,

Yes, it’s a weird one. We got used to the fact that everything is pretty much free on the internet. Unfortunately, nothing is free, we either pay with out personal data, watching and interacting with ads or through subscriptions and paywals.

There is just no incentive for people to provide good content on the internet unless they have other means of sustaining themselves or they charge for it.

For instance, there is so much free stuff thanks to developers making their hard work open source. However, they are only able to do it because even if they are not getting payed for this, either they have a job that pays for other work they do or they have access to other means of financial support like family for instance. And I am not saying that much of open source (not all) is not essentially people giving away their hard work for free but I am saying that if the choice was to make some program for free and go hungry or charge for it and have a meal then we all know what it would look like.

SisyphusOnStrike ,

Almost makes it seem like a UBI would be a good way to support the people who do work that no one wants to actually pay for (usually because the people avoiding payment aren’t getting paid enough in the first place)

pipariturbiini , to selfhosted in Cryptomator: A Warning About Data Loss

Are there any better alternatives for use with cloud storage?

Kongar , to gaming in What are you playing this week?

Tears of the kingdom - little late to the party but it’s a fun game.

eatham , to nostupidquestions in What happens to downvotes when instances have different policies?
@eatham@aussie.zone avatar

They just can’t downvote but other people can downvote them

themoonisacheese , to selfhosted in How do I use a CDN for a Lemmy instance hosted on a VPS?
@themoonisacheese@sh.itjust.works avatar

Quick question: why? Why not choose to host a server in the US, near it’s “costumer base”?

If you’re doing it for the exercise, fine (though I think you’ll find that cloud flare is pretty hands-off and you basically just click a few buttons).

If you’re genuinely looking to improve cross-planet load times, I regret to inform you that a personal Lemmy instance is very much not a good target for this. A CDN works by hosting whatever parts of your site you can nearer to the people who will request them. For a huge company like discord, this means that when you upload an image to a server, they will sum up all users likely to load that image soon, find where they are and send a copy of that image nearby, saving on intercontinental traffic. They get to do this because they have many users, and they control the CDN (because they built it).

You on the other hand, are going to ask cloud flare nicely to do all of this for you. Since you aren’t paying, cloud flare is going to try to do this automatically and without cooperation from your software. This means that cloud flare will basically only try to cache parts of Lemmy that are static, so really only the page layout and that’s about it. Ultimately, the Lemmy website for your instance might load a little bit faster, but posts can’t be predicted and so those will have to go cross-continental on a cache miss.

The other advantage this affords is that anyone interested in taking down your instance will have to take it up with cloud flare. If the way they’re trying is brute force, they will fail where they would have succeeded against just your server. If their way of doing it is through legal threats, they might have better luck (though cloud flare tries to remove itself from a position where they have to police what their service can be used for, my opinion is that it is a matter of time before they are forced to).

MigratingtoLemmy OP ,

Thank you for the wonderful comment!

The only reason I’m looking to host in Europe is because of the prices: this server will not allow for sign-ups (i.e. it will only be for me). I will likely only need 1GB of RAM and very little CPU power to get this to work. The prices in Europe for low-cost VPSes are better than in the US. I don’t actually care about which country/continent I’m hosting it in, this decision was purely financial.

I have a question: I believe I can set Lemmy to auto-sync content from communities I’m interested in (I can set the frequency for the auto-sync) - would it be possible for Cloudflare to cache the content if it is already in the database of my Lemmy instance? I know that CDNs can only really cache static content but I do not know enough about CDNs/Cloud Networking in general to be able to figure out just what it would be able to cache.

Thank you, yes I had the protections offered by Cloudflare in mind when I asked this question. I do not plan to do anything illegal so I hope I’ll be fine.

Could you also tell me why Cloudflare asks me to change the authoritative nameservers on my registrar’s page to their nameservers? I think my networking is getting a bit rusty, I really can’t figure it out.

One more thing; is there a difference in configuring a Cloudflare CDN vs a Cloudflare reverse-proxy for a VPS instance? I see people in c/homelab talk about this but I never really delved into it, but if I could access my network remotely using this it would a great bonus.

Thanks!

themoonisacheese ,
@themoonisacheese@sh.itjust.works avatar

Adding to the hetzner comment: I think AWS has free very crappy servers. If you’re a student, the Github Student Pack has free digitalocen credits.

In theory, cloud flare could pre-cache content before you request it. Unfortunately, that would require significant effort from Lemmy to let cloud flare know that there is new content, and then it would be up to cloud flare to decide to cache it for 1 client. Both these things aren’t happening.

CF needs to dynamically control where requests for your server end up, and for that they need to be the authoritative DNS for it.

Cloud flare indeed acts as a reverse proxy (because that’s how CDNs work), but unlike a self-hosted reverse proxy, theirs will be on their servers, so will not have much more more access to your network than yourself outside of it. I think they have some sort of offering to actually give your more access, but A) idk if that’s free and B) that requires an always-on computer in your local network, at which point why not just host your Lemmy instance on it?

obviouspornalt ,

Another option for very cheap VM, storage, bandwidth: Oracle Free Forever

www.oracle.com/cloud/free/

themoonisacheese ,
@themoonisacheese@sh.itjust.works avatar

Wasn’t aware of that since I both have my own server and happen to despise oracle but good for people who need cheap compute!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines