ohshit604

joined 4 days ago
[–] ohshit604@lemmy.halstead.host 1 points 7 hours ago* (last edited 7 hours ago)

What distro are you using? There are 3 big distro’s you need to keep in mind for, Debian, Arch and Fedora, every other distro typically bases themselves off of one of these big distro’s.

Documentation is your friend, if you’re using a Debian based distros the stress ng repository linked above has this in their documentation -


Debian packages for Ubuntu

Recent versions of stress-ng are available in the Ubuntu stress-ng ppa for various Ubuntu releases:

https://launchpad.net/~colin-king/+archive/ubuntu/stress-ng

(run the commands below to install the package)

sudo add-apt-repository ppa:colin-king/stress-ng
sudo apt update
sudo apt install stress-ng

Now that is installed, they have an examples section.


Examples

Run 8 CPU stressors for 60 seconds:

stress-ng --cpu 8 --timeout 60
stress-ng: info:  [184401] setting to a 1 min run per stressor
stress-ng: info:  [184401] dispatching hogs: 8 cpu
stress-ng: info:  [184401] skipped: 0
stress-ng: info:  [184401] passed: 8: cpu (8)
stress-ng: info:  [184401] failed: 0
stress-ng: info:  [184401] metrics untrustworthy: 0
stress-ng: info:  [184401] successful run completed in 1 min
[–] ohshit604@lemmy.halstead.host 5 points 1 day ago* (last edited 1 day ago)

If you really need to expose something to the internet set yourself up an SSO/OIDC provider and have it sit in front of the service and have a deny-first policy in place, whitelist the known few IP’s that need to connect regularly or alternatively geoblock.

Also suggest setting up some security headers, however headers can be confusing for beginners.

Virtualize or containerize everything.

Somebody watched the backrooms recently.

Is this a question or a statement?

[–] ohshit604@lemmy.halstead.host 5 points 2 days ago* (last edited 1 day ago)

It’s clear that Redlibs maintainer is burnt out, as were the LibReddit folks who developed and maintained it initially before it was forked. Software like this is an endless cat and mouse chase, Reddit break something, the community works around it, rinse and repeat.

It’s why we don’t see Bibliogram around anymore, Instagram made their APi unbearable to work with.

In regard to the difficulty of keeping a Redlib instance alive, currently most of the discussion occurs in one issues post on GitHub, and people have suggested other docker images that currently work.

If you host a SearXNG instance you can replace Reddit links with Redlib links, just add this to your settings.yaml.

 hostnames:
   replace:
     '(.*\.)?reddit\.com$': 'lib.your.domain'
     '(.*\.)?redd\.it$': 'lib. your.domain'

Ubuntu is based off of Debian, just use Debian instead.

[–] ohshit604@lemmy.halstead.host 1 points 3 days ago* (last edited 3 days ago)

I can see the appeal of downloading YouTube content opposed to streaming, however if folks are looking to stream I would suggest Invidious + Freetube.

Got that forehead tattoo like DC Young Fly

[–] ohshit604@lemmy.halstead.host 2 points 3 days ago* (last edited 3 days ago)

Matrix is nice but it’s clear they’re appeasing more towards shareholders than the community, self-hosting via Docker Compose was a PIA as there are 4-5 services that need to talk to one another.

view more: next ›