eli

joined 2 years ago
[–] eli@lemmy.world 1 points 1 day ago

Ah! I had no idea. I heard of, I think, bentopdf as a selfhost option, but I didn't know about Stirling.

Been meaning to deploy a PDF tool suite in my homelab, so adding that to the research pile. Thanks!

[–] eli@lemmy.world 22 points 1 day ago (4 children)

Just a heads up that you can browse and set filters on steamdb to see new historical lows for games(obviously based on steam pricing only).

Some notable historical lows are Silksong, KCD2, Arc Raiders, Hades II, Megabonk...

[–] eli@lemmy.world 2 points 1 day ago (1 children)

I do this as well. Though if I'm deploying a stack(grafana+prometheus+cadvisor) then it all goes under a single folder like /opt/stackname/

But if I'm running multiple services that are mostly separate or not in the same stack then they go in their own folders like /opt/nginx/ and /opt/grafana/

[–] eli@lemmy.world 1 points 1 day ago

Yes, essentially I have:

Proxmox Baremetal
    ↪LXC1
        ↪Docker Container1
    ↪LXC2
        ↪Docker Container2
    ↪LXC3
        ↪Docker Container 3

Or using real services:

Proxmox Baremetal
    ↪Ubuntu LXC1 192.168.1.11
        ↪Docker Stack ("Profana")
            ↪cadvisor
              grafana
              node_exporter
              prometheus
    ↪Ubuntu LXC2 192.168.1.12
        ↪Docker Stack ("paperless-ngx")
            ↪paperless-ngx-webserver-1
              apache/tika
              gotenberg
              postgresdb
              redis
    ↪Ubuntu LXC3 192.168.1.13
        ↪Docker Stack ("teamspeak")
            ↪teamspeak
              mariadb

I do have a AMP game server, which AMP is installed in the Ubuntu container directly, but AMP uses docker to create the game servers.

Doing it this way(individual Ubuntu containers with docker installed on each) allows me to stop and start individual services, take backups via proxmox, restore from backups, and also manage things a bit more directly with IP assignment.

I also have pfSense installed as a full VM on my Proxmox and pfSense handles all of my firewall rules and SSL cert management/renewals. So none of my ubuntu/docker containers need to configure SSL services, pfSense just does SSL offloading and injects my SSL certs as requests come in.

[–] eli@lemmy.world 1 points 1 day ago (1 children)

I have an old Windows laptop. I need to figure out how to do dual boot with Linux

For this I would recommend:

  1. Install Windows first
  2. In Windows, partition the disk drive to how much storage you want. So if you have a 1TB, then maybe do 500GB for Windows and 500GB for Linux? Leave the new partition as unformatted/unallocated
  3. Boot up your linux installer and select the unformatted/unallocated partition for Linux to install to. Don't erase whole disk. But let Linux setup all of it's own formatting and partitions on the empty space

Now why do it this way? Because Windows does NOT like the boot manager being replaced and does NOT like disk space go "missing" unless it allocates it itself. If you install Windows first it'll setup the boot manager for Windows and then when you install Linux grub will get installed and that can manage Windows pretty well.

And if you let Windows partition off the blank space for Linux then Windows knows that that empty partition isn't owned by Windows anymore and it won't freak out seeing the space go missing when Linux takes it over.

This article covers most: https://linuxblog.io/dual-boot-linux-windows-install-guide/

If you have two individual disk drives then I would do the same thing, install Windows on one of the drives, boot into Windows, and make sure the second drive shows up in disk utility, but it isn't formatted for use in Windows, just unallocated/blank. Then when you install Linux you just tell it to install onto the second drive.

and get my vpn sorted (again) so he can use VMs on my Proxmox box

I would 100% recommend Tailscale for this. You can install Tailscale on the Proxmox host and then have your nephew have his own Tailscale account where you can give him access to only the Proxmox box.

I do this with my Proxmox boxes so I can remotely manage them wherever I am. When you first install Tailscale on Proxmox it may require a reboot, so I would recommend being nearby the server so you can login physically if needed, but after it has been smooth sailing for me. Been using it like this for a year or two now.

Of course just a suggestion.

[–] eli@lemmy.world 2 points 2 days ago (2 children)

I don't know of an installable program, but there is: https://www.ilovepdf.com/merge_pdf

[–] eli@lemmy.world 14 points 2 days ago

All of these are pretty good, but my favorite is life savers.

[–] eli@lemmy.world 8 points 3 days ago (1 children)

We're a Linux shop at my work. We do have a windows PC due to corporate policies...but everything we do on our windows PCs we could do from Linux.

Outlook? Website. Excel? Website. Jira? Website. Teams? Website. Nearly everything we do front end wise is all web based. Which, I know electron sucks, but from a "Linux as a main desktop environment"...I'm pretty damn happy with everything being web based nowadays. It's all OS agnostic.

[–] eli@lemmy.world 1 points 3 days ago* (last edited 3 days ago)

There are a lot of great commands in here, so here are my favorites that I haven't seen yet:

  • crontab -e
  • && and || operators
  • ">" and >> chevrons and input/output redirection
  • for loops, while/if/then/else
  • Basic scripts
  • Stdin vs stdout vs /dev/null

Need to push a file out to a couple dozen workstations and then install it?

for i in $(cat /tmp/wks.txt); do echo $i; rsync -azvP /tmp/file $i:/opt/dir/; ssh -qo Connect timeout=5 $i "touch /dev/pee/pee"; done

Or script it using if else statements where you pull info from remote machines to see if an update is needed and then push the update if it's out of date. And if it's in a script file then you don't have search through days of old history commands to find that one function.

Or just throw that script into crontab and automate it entirely.

[–] eli@lemmy.world 2 points 3 days ago

You can do "ss -aepni" and that will dump literally everything ss can get its hands on.

Also, ss can't find everything, it does have some limitations. I believe ss can only see what the kernel can see(host connections), but tcpdump can see the actual network flow on the network layer side. So incoming, outgoing, hex(?) data in transit, etc.

I usually try to use ss first for everything since I don't think it requires sudo access for the majority of its functionality, and if it can't find something then I bring out sudo tcpdump.

[–] eli@lemmy.world 3 points 3 days ago (1 children)

And I believe shift+r will let you go forward in history if you're spamming ctrl+r too fast and miss whatever you're looking for

[–] eli@lemmy.world 6 points 3 days ago* (last edited 3 days ago)

Get a cocksleeve. Blissful creations makes some really great pieces. It's a dildo that you wear essentially

view more: next ›