this post was submitted on 25 Jul 2024
96 points (99.0% liked)

Linux

47295 readers
706 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

This is my first post on my new site, I hope someone finds it helpful!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (1 children)

Hey,

cool seeing another bearblog in the wild (I also use Hugo + Bear for my blog).

Quick question: Why do you deploy the Hugo dev server and don't build your page to static HTML?

[–] [email protected] 3 points 1 month ago* (last edited 1 month ago) (2 children)

Awesome it is good to see the bearblog getting some love. Just to keep it short mostly. I was debating adding another article continuing this one using nginx for that part. I could add a section to this one though. Or would you use something other than nginx, I'm open to suggestions. I checked yours out, it's a bit snappier than mine :) . What are you running?

[–] [email protected] 2 points 1 month ago

I'd love to see more on something like Envoy as the reverse proxy. I tend to think of reverse proxies in "generations":

  1. Apache and Friends
  2. Nginx and Buddies
  3. HAProxy and Pals
  4. Envoy and Associates

I'm rather familiar with 0-2 from my previous work. It's really a pity, to me, that nginx is favored so heavily over HAProxy as in all perf and HA testing that I've done has resulted in nginx being left in the dust. The benchmarks that I've seen for Envoy show similar standings. I just haven't spent the time yet to get familiar with it.

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

I use CI to compile the page and add it to nginx, which I then build into a docker container. Once it's finished, I deploy it to my server and it gets served by traefik.

That's another thing I was curious about. Is there a reason why you didn't use docker?

You mentioned in another comment, that you used snap, because it is used in the official certbot instructions. Did you intend this to be 100% faithful to official docs?

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

Nice. I might have to clone that setup for fun. What do you use for CI? I've got jenkins running but I've been wanting to play with gitlab CI/CD too.

I do a lot of my dev work in docker containers, simply so I'm in a clean environment. Doesn't hurt in ease of backup either. No particular reason not to use docker, I also wanted to keep it kind of brief and simple. The guide I originally read that inspired me had a lot of things that were very outdated, and as I worked through getting it working on debian 12 I generally stuck with the source providers instructions when things weren't already packaged for dpkg, or alternatives were more complex.

I am currently mulling around doing extensions on this guide and adding links at the bottom, or just extending this one a bit. Also just thinking about writing a guide for other stuff too. I've been helping people on discord and irc a bit recently and some of what I know might be useful to someone.

I don't know everything by any means far from it, but I've been around since my first beOS and slackware installs a long time ago and I've picked up a lot. I worked developing and deploying pfsense images for a company years ago and have just had a lot of random experience in linux and bsds over the years.

[–] [email protected] 2 points 1 month ago (1 children)

For CI I currently use GitLab, but I want to move it to another git server (and therefore CI) in case they actually sell.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

😱 I had no idea. I just went and read through that wow. I hope they don't sell to someone scummy.