Servers and cloud
Linux distributions for servers
Server distributions like Ubuntu, Debian, RHEL, CentOS Stream, Rocky Linux, Oracle Linux and Amazon Linux vary by support length and release model.
· Mateo Cardenas
HomeGuidesServers and cloudWhat is Linux and why do web servers run it?
Linux is an operating system built around the Linux kernel, the main component that acts as the core interface between a computer's hardware and its processes.1, source 1 A distribution of Linux is a complete Linux system.2, source 2 Red Hat names flexibility and security among the reasons people choose Linux, and Canonical points to Ubuntu Server's support periods and cloud tools.3, 4, sources 3 and 4
Linux is an open source operating system created by Linus Torvalds in 1991.3, source 3 It is a clone of the operating system Unix, written from scratch by Linus Torvalds with assistance from a loosely-knit team of hackers across the Net.2, source 2 The Linux kernel is maintained by a worldwide community of open source enthusiasts.3, source 3 Linux aims towards POSIX and Single UNIX Specification compliance.2, source 2
An operating system, or OS, is the software that directly manages a system's hardware and resources, like the CPU, memory, and storage.3, source 3 Debian defines an operating system as the set of basic programs and utilities that make your computer run.5, source 5 The OS sits between applications and hardware and connects all of your software to the physical resources that do the work.3, source 3
Linux has the features you would expect in a modern fully-fledged Unix, including true multitasking, virtual memory, shared libraries and demand loading.2, source 2 It includes shared copy-on-write executables and proper memory management.2, source 2 Linux also includes multistack networking, including IPv4 and IPv6.2, source 2
Debian says the kernel is the most fundamental program on the computer and does all the basic housekeeping and lets you start other programs.5, source 5 The kernel controls all the major functions of the hardware, whether it is a phone, laptop, server or any other kind of computer.1, source 1
Red Hat lists four kernel jobs: memory management, process management, device drivers, and system calls and security.1, source 1 Memory management means keeping track of how much memory is used to store what, and where.1, source 1 Process management means determining which processes can use the central processing unit (CPU), when, and for how long.1, source 1 Device drivers act as a mediator and interpreter between the hardware and processes.1, source 1
The kernel's system call and security job is to receive requests for service from the processes.1, source 1 User processes collectively make up user space.1, source 1 Applications in user space interact with the kernel through a system call interface (SCI).1, source 1 Code executed by the system runs on CPUs in one of two modes: kernel mode or user mode.1, source 1
Code running in kernel mode has unrestricted access to the hardware, while user mode restricts access to the CPU and memory to the SCI.1, source 1 When a process fails in user mode, the damage is limited and can be recovered by the kernel.1, source 1 A kernel process crash can crash the entire system, because of the kernel's access to memory and the processor.1, source 1
Richard Stallman of the GNU Project writes that Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run.6, source 6 He writes that the kernel is an essential part of an operating system but useless by itself, and can only function in the context of a complete operating system.6, source 6 The kernel is the base component of the OS, and without it the OS does not work.3, source 3 It is responsible for memory, process, and file management.3, source 3
The GNU Project set out to develop a complete free Unix-like system called GNU.6, source 6 Stallman writes that once Torvalds freed Linux in 1992, it fit into the last major gap in the GNU system.6, source 6 The GNU Project says Linux is normally used in combination with the GNU operating system, and calls the whole system GNU/Linux.6, source 6 Its view is that distributions called Linux distributions are really distributions of GNU/Linux.6, source 6
The kernel is just a component in a working Linux system, so someone new to Linux wants a distribution instead.2, source 2 Combinations of software can vary between Linux distributions.3, source 3 Some are general-purpose and some are optimized for specific uses.2, source 2 Stallman writes that the people who developed the various system distributions did a lot of essential work, and that there are many different variants of the GNU/Linux system, often called distros.6, source 6
Every Linux-based OS includes the Linux kernel and a set of software packages that make up the rest of the operating system.3, source 3 Linux includes some common core components, like GNU tools, among others.3, source 3 Debian says a large part of the basic tools that fill out its operating system come from the GNU project.5, source 5 Debian was begun in August 1993 by Ian Murdock as a distribution that would be made openly, in the spirit of Linux and GNU.5, source 5
Debian describes its system as a tower: at the base is the kernel, on top of that are all the basic tools, and next is all the software that you run on the computer.5, source 5 The system user space is the administrative layer for system-level tasks like configuration and software installation.3, source 3 It includes the shell, daemons that run in the background, and the desktop environment.3, source 3
Applications include everything from desktop tools and programming languages to multiuser business suites.3, source 3 A graphical user interface (GUI) is everything you can see and interact with when you boot up your OS, like the menus, windows, and desktop icons.3, source 3 More complex tasks typically use the command line, which gives you direct access to the computer.3, source 3
Linux is a free, open source operating system released under the GNU General Public License (GPL).3, source 3 Anyone can run, study, modify and redistribute the source code, or even sell copies of their modified code, as long as they do so under the same license.3, source 3 The Linux kernel requires a precise SPDX license identifier in all source files.7, source 7 Individual kernel files can be dual licensed, for example under a compatible GPL variant and alternatively under a permissive license like BSD or MIT.7, source 7
The Linux kernel is provided under the terms of the GNU General Public License version 2 only (GPL-2.0), with an explicit syscall exception.7, source 7 Under that exception, the syscall interface is a clear boundary that does not extend the GPL requirements to any software that uses it to communicate with the kernel.7, source 7 The GNU General Public License is intended to guarantee your freedom to share and change free software.8, source 8
The Free Software Foundation says free software is a matter of liberty, not price.9, source 9 It lists freedom 0 as the freedom to run the program as you wish, for any purpose.9, source 9 Under the GPL version 2, the act of running the Program is not restricted.8, source 8
Freedom 1 is the freedom to study how the program works and change it so it does your computing as you wish.9, source 9 Access to the source code is a precondition for studying and changing a program.9, source 9
Freedom 2 is the freedom to redistribute copies so you can help others.9, source 9 Freedom 3 is the freedom to distribute copies of your modified versions to others.9, source 9 A free program must be available for commercial use, commercial development, and commercial distribution.9, source 9
Under the GPL version 2 you have the freedom to distribute copies of free software, and charge for this service if you wish.8, source 8 If you distribute copies of a program under that license, whether gratis or for a fee, you must give the recipients all the rights that you have.8, source 8 You must make sure recipients receive or can get the source code.8, source 8
The GPL version 2 requires modified files to carry prominent notices stating that you changed the files and the date of any change.8, source 8 Each time you redistribute the Program, the recipient automatically receives a license from the original licensor to copy, distribute or modify it under the same terms.8, source 8 You may not impose any further restrictions on the recipients' exercise of the rights it grants.8, source 8 The Free Software Foundation describes copyleft, very simply, as the rule that when redistributing the program, you cannot add restrictions to deny other people the central freedoms.9, source 9
Linux was originally developed first for 32-bit x86-based PCs (386 or higher).2, source 2 It also runs on a multitude of other processor architectures, in both 32- and 64-bit variants.2, source 2 The architectures Linux runs on include PowerPC, ARM, MIPS, IBM S/390 and AMD x86-64.10, source 10
Linux is easily portable to most general-purpose 32- or 64-bit architectures as long as they have a paged memory management unit (PMMU) and a port of the GNU C compiler (gcc).10, source 10 It has also been ported to a number of architectures without a PMMU, although functionality is then somewhat limited.10, source 10 The kernel can run as a userspace application, which is called UserMode Linux (UML).10, source 10
When configuring a kernel from source, make menuconfig uses text based color menus, radiolists and dialogs.10, source 10 The make localmodconfig command creates a config based on the current config and loaded modules, and disables any module option that is not needed for the loaded modules.10, source 10 Having unnecessary drivers will make the kernel bigger, and can under some circumstances lead to problems.10, source 10
Linux has evolved to run on a wide variety of hardware from phones to supercomputers.3, source 3 Debian says its operating system will run on almost all personal computers, including most older models.5, source 5 Linux powers all kinds of technology, from small, data-gathering edge devices to complex, cloud-native applications.3, source 3
Red Hat says Linux is used in the world's 500 most powerful supercomputers.3, source 3 Organizations can also choose to run their Linux OS on a Linux server.3, source 3
Red Hat says Linux is flexible enough to adapt for virtually any need you can imagine.3, source 3 It says that because Linux is open source, it is easier to avoid being locked in to any one vendor's solution, and that when part of your technology stack is not working for you, chances are there is a Linux-based, open source alternative.3, source 3 It also says a worldwide community of practice around Linux has existed for decades.3, source 3 Debian says businesses help maintain free software so they can have a say in how it develops.5, source 5
Canonical describes Ubuntu Server as bringing economic and technical scalability to an enterprise data center, public cloud or private cloud.4, source 4 Ubuntu Server, Canonical says, is certified by leading hardware OEMs, carries a lean initial deployment, and includes integrated deployment and application modeling tools.4, source 4 It fits workloads such as NoSQL databases, web farms or the cloud.4, source 4
Canonical says its Juju tool works on public clouds like AWS and Microsoft Azure, private clouds built on OpenStack, and directly on bare metal via MAAS.4, source 4 It describes LXD, the Linux container hypervisor, as merging the speed and density of containers with the manageability and security of traditional virtual machines.4, source 4 Long term support (LTS) releases of Ubuntu Server receive standard security updates for thousands of open source packages in the Ubuntu Main repository for five years by default.4, source 4 Ubuntu interim releases come every six months and add features.4, source 4
Hardware enablement updates add hardware support to all supported Ubuntu LTS releases.4, source 4 Red Hat says Linux's modularity is beneficial to security, because you can monitor every aspect of the OS.3, source 3 SELinux has been part of the Linux kernel since 2003.3, source 3 SELinux gives administrators visibility into and granular control over user access and application permissions.3, source 3
Red Hat describes Linux kernel live patching as a way to apply critical and important security patches to a running Linux kernel without the need to reboot or interrupt runtime.1, source 1
It is an open source operating system. Linux is built around the Linux kernel and was created by Linus Torvalds in 1991.
Sometimes. The GNU Project calls the whole system GNU/Linux and Linux the kernel, and that naming is its view. Red Hat describes Linux as an open source operating system.
A distribution is a complete Linux system. It includes the kernel and a set of software packages. Some distributions are general-purpose, while others are optimized for specific uses.
Yes. Linux is a free, open source operating system released under the GNU General Public License. Anyone can run, study, modify and redistribute the source code as long as they do so under the same license, and free software is a matter of liberty, not price.
Linux runs on a wide variety of hardware, from phones to supercomputers. Red Hat says it powers small data-gathering edge devices and complex cloud-native applications. Organizations can also run their Linux OS on a Linux server.
The kernel manages memory, processes and device drivers. It also handles system calls and security by receiving requests for service from processes in user space.
Every fact on this page comes from one of these, checked before it goes live.
Servers and cloud
Server distributions like Ubuntu, Debian, RHEL, CentOS Stream, Rocky Linux, Oracle Linux and Amazon Linux vary by support length and release model.
· Mateo Cardenas
Servers and cloud
A server can be hardware, software or both, and it answers client requests. A web server finds the file your browser asks for and sends it back over HTTP.
· Mateo Cardenas
Servers and cloud
nginx is an open source HTTP web server, reverse proxy, content cache and load balancer. Learn how the nginx configuration works and how to set it up.
· Mateo Cardenas
Servers and cloud
Ubuntu Server is a version of Ubuntu built as a backbone for the internet. LTS releases get 5 years of standard security maintenance, more with Ubuntu Pro.
· Mateo Cardenas