boydster

joined 1 year ago
[–] boydster@sh.itjust.works 106 points 1 week ago

"What do you say to the Proud Boys?"

  • "I don't know them, but stand back and stand by"

"What do you say about Project 2025?"

  • "I don't know them, but I wish them well"

Cool. Cool cool cool.

[–] boydster@sh.itjust.works 41 points 1 week ago (1 children)

A møøse ønce bit my sister

[–] boydster@sh.itjust.works 3 points 1 week ago

There are dozens of us!

[–] boydster@sh.itjust.works 12 points 1 week ago (1 children)

He's not our president anymore! Yet!

[–] boydster@sh.itjust.works 33 points 1 week ago (6 children)

Geriatric millennial checking in from 1983.

I like the "Oregon Trail generation" name someone mentioned earlier too, I might lean into that one more in the future. Remember playing Math Blaster on an Apple Mac Classic in elementary school computer lab? Then you were there too!

[–] boydster@sh.itjust.works 276 points 1 week ago (9 children)

Strange women lying in ponds distributing swords as a basis for a system of government.

[–] boydster@sh.itjust.works 6 points 3 weeks ago (1 children)

I think they meant the 1980s, as opposed to temperatures in the 80s in terms of degrees

[–] boydster@sh.itjust.works 4 points 1 month ago* (last edited 1 month ago)

That's just, like, your opinion...

[–] boydster@sh.itjust.works 1 points 1 month ago

First OS: MS-DOS 5

First Linux (many years later): Yellow Dog on one of those dome-shaped iMacs with the PPC chips

[–] boydster@sh.itjust.works 3 points 1 month ago

It's a described feature of a paid service though, so it goes a bit beyond just being nice. More importantly for me, the app also leaks memory insanely, at least in the latest Debian build. I spun up a Windows vm with ProtonVPN because the Linux experience (which, again, I pay for) was too frustrating

[–] boydster@sh.itjust.works 13 points 1 month ago

"I used to take a lot of bribes and I should have let everyone know. I mean, I still do, but I used to, too."

[–] boydster@sh.itjust.works 3 points 1 month ago* (last edited 1 month ago)

Well sure, but let's not throe the baby out with the baptism water, eh?

27
submitted 4 months ago* (last edited 4 months ago) by boydster@sh.itjust.works to c/linux@lemmy.ml
 

After seeing someone else posting their struggles with getting Docker running on their system, I thought I might share my process for setting up new Docker nodes. I don't make any representations about my way being the right way, or the best way, but this way has been working for me. I have been playing around with a swarm, but if you aren't setting up a swarm you can just omit the swarm commands and some of the firewall allows (keep what you need open, obviously, like 22 for SSH if you're using it). Similarly, if you aren't connecting to a NAS, you can leave out the part about mounting external storage.

# new Docker Swarm node setup from fresh Debian Netinst

# as root, all nodes
apt install sudo
usermod -aG sudo [user]
logout

# as [user], all nodes
sudo apt update
sudo apt upgrade -y
sudo apt install fail2ban rkhunter ufw unattended-upgrades ca-certificates curl -y
sudo ufw allow 22 
sudo ufw allow 2377
sudo ufw allow 7946
sudo ufw allow 4789
sudo ufw enable
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
sudo usermod -aG docker [user]

## Shared Storage Stuff, all nodes ##

nano ~/.smbcredentials
# paste the following:
#   username=[cluserUser]
#   password=[clusterPW]
#
# add mount point for shared storage
sudo nano /etc/fstab
# add the following to the bottom:
# /[NAS.IP.Address]/[ClusterStorageFolder]/ /home/[user]/share cifs credentials=/home/[user]/.smbcredentials 0 0

# on main node only
docker swarm init --advertise-address 
  #  copy the join command, we'll need it next

# on any additional nodes, paste the command copied above
docker swarm join [...all the rest of the command...]

# for each docker container, on any manager node
mkdir ~/share/[serviceName]  
cd ~/share/[serviceName]
  #  copy relevant compose.yml into the folder
  #  if necessary, also create any needed directories
docker compose up -d
docker compose down
docker stack deploy -c compose.yml
view more: next ›