this post was submitted on 25 Jul 2023
77 points (94.3% liked)

Linux

51065 readers
880 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
 

I've come across Red Hat allot lately and am wondering if I need to get studying. I'm an avid Ubuntu server user but don't want to get stuck only knowing one distro. What is the way to go if i want to know as much as I can for use in real world situations.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 years ago

A company I worked at 2016-2022 used mainly CentOS and Ubuntu for all their servers at customers' sites

[–] [email protected] 2 points 2 years ago

I always use Ubuntu Server. It was my first distro 20 years ago and it's still where I'm most comfortable.

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

My current job is all Ubuntu LTS, my job before that was all CentOS, and my job before that was a mixture of Debian and FreeBSD.

load more comments (1 replies)
[–] [email protected] 2 points 2 years ago

Most likely debian or debian-distroless

[–] [email protected] 2 points 2 years ago

I was working as a DWDM technician sometime ago and IIRC most of DWDM hardware (or at least the Infinera ones, as I had used those the most) were actually running on Gentoo, which was kinda surprising for me.

But in "regular" environments I have mainly seen Ubuntu or Debian.

[–] [email protected] 2 points 2 years ago

I work for a big enterprise, we have RHEL on all our Linux servers save for a few that are SuSe for SAP.

[–] [email protected] 2 points 2 years ago (4 children)

I'm seeing a lot of very interesting answers but I'm wondering what you mean by "production environment".

Do you mean VFX Production? (English not my first language so if "production" is used in different industries, well, I didn't know).

I'm new to the industry and worked for small companies that don't use Linux. But my VFX peeps use Rocky, Mint, and Ubuntu ( stronger preference for Rocky in studios).

[–] [email protected] 2 points 2 years ago

In this context production means servers or machines which make money in a business. The partner term is normally staging: a testbed environment.

load more comments (3 replies)
[–] [email protected] 1 points 2 years ago

At work: Alpine-based docker containers. Flatcar Container Linux for host VMs.

Personally: Ubuntu Server. Some alpine docker containers.

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

For learning system administration, I think Cent OS Stream can be a great choice. Not because it offers something special than others but because it would familiarize you with the RHEL/Fedora family and in my experience majority of enterprise-servers are using one of its family members, be it RHEL, the former CentOS, Oracle Linux, Amazon Linux or some other variant.

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

I think Ubuntu is the most popular distro in the cloud, at least based on cloud provider metrics. Dockerhub shows like 30 million downloads a week for it regularly, which is a lot compared to most images. Debian would be good to learn as that's what Ubuntu is based on and all the major software with will probably target it. Alpine is good to learn as it's super slim, tends to be used for containers a lot.

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

I don't use Linux at work (I wish I did), but I default to Ubuntu Server for at-home Docker needs. I might switch to plain Debian at some point.

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

I recently finished reading a good docker book. They explained why alpine is so great to use: its like 16 MBs or something. I deployed a Minecraft server with it just for fun. Pretty cool. Shrunk the image a good 15 percent from a debian version I believe. Check it out if you want. Have a good one.

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

Thanks, I'll check it out! I honestly run into disk space issues with Ubuntu Server a lot. I'll give it a partition and it will fill up with this opaque "ubuntu--vg-ubuntu--lv" volume pretty quickly.

Here's a df -h on it right now:

/dev/mapper/ubuntu--vg-ubuntu--lv 38G 17G 20G 47% /

Need to manually prune Docker and run other admin tasks to keep it under control.

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

This sounds like an automation opportunity. If docker starts to fill up, I assume you pull or build a lot of images. If the reason is rooted in software development, you might wanna look at ci/cd. If not, I suggest going through your process and maybe changing the routine. Like run with a -rm command. Thats what I do when I test stuff. The container gets removed immediately after stopping. There are many neat tricks. Hit me up if you need more info.

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

You're absolutly right, but this is about host os, not container os

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

Mostly cost. We used to run a lot of Oracle databases and they have become extremely expensive to keep running. So we are migrating to PostgreSQL. The servers were getting migrated to CentOS but now that RedHat fucked that distro we are going back to RedHat. Part of that deal is switching from chef to Ansible. So to save costs we are consolidating to a single vendor.

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

So what are the biggest differences. Or is it mostly the same? Also thanks for the responses!

load more comments (1 replies)
[–] [email protected] 0 points 2 years ago (1 children)
[–] [email protected] 2 points 2 years ago

For production server? No. mostly NixOS is for desktop.

Ansible cover what nixOS doesn't in Debian/RHEL space, and it's idempotent and better than nixOS config. Unless they change their approach for server, I don't see any way in near future it will be massively adopted.

load more comments
view more: ‹ prev next ›