Centos Online Tutorials

CentOS (/ˈsɛntɒs/, from Community Enterprise Operating System; also known as CentOS Linux) is a discontinued Linux distribution that provided a free and open-source community-supported computing platform, functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL). In January 2014, CentOS announced the official joining with Red Hat while staying independent from RHEL, under a new CentOS governing board.

CentOS
GNOME Shell as the default desktop environment in CentOS 8.3
DeveloperThe CentOS Project
(affiliated with Red Hat)
OS familyLinux (Unix-like)
Working stateDiscontinued
Source modelOpen source
Initial release14 May 2004; 19 years ago (2004-05-14)
Final release
  • 8.5.2111 (16 November 2021; 2 years ago (2021-11-16))
  • 7.9-2009 (12 November 2020; 3 years ago (2020-11-12))
Marketing targetServers, desktop computers, workstations, supercomputers
Update methodRelease Candidate
Package managerdnf (command line); PackageKit (graphical); .rpm (binaries format)
Platformsx86-64, ARM64, and ppc64le
Kernel typeMonolithic (Linux kernel)
Default
user interface
Bash, GNOME Shell
LicenseGNU GPL and other licenses
Succeeded byCentOS Stream, AlmaLinux, Rocky Linux
Official websitecentos.org

The first CentOS release in May 2004, numbered as CentOS version 2, was forked from RHEL version 2.1AS. Since version 8, CentOS officially supports the x86-64, ARM64, and POWER8 architectures, and releases up to version 6 also supported the IA-32 architecture. As of December 2015, AltArch releases of CentOS 7 are available for the IA-32 architecture, Power ISA, and for the ARMv7hl and AArch64 variants of the ARM architecture. CentOS 8 was released on 24 September 2019.

In December 2020, Red Hat unilaterally terminated CentOS development in favor of CentOS Stream, a distribution positioned upstream of RHEL. In March 2021, CloudLinux (makers of CloudLinux OS) released a RHEL derivative called AlmaLinux. Later in May 2021, one of the CentOS founders (Gregory Kurtzer) created the competing Rocky Linux project as a successor to the original mission of CentOS.

History edit

CentOS originated as a build of CAOS Linux, an RPM-based Linux distribution started by Gregory Kurtzer in 2002. Infiscale described its GravityOS as " the small footprint of Caos", indicating a certain level of influence from the discontinued distribution.

In June 2006, David Parsley, the primary developer of Tao Linux (another RHEL clone), announced the retirement of Tao Linux and its rolling into CentOS development. Tao users migrated to the CentOS release via yum update.

In July 2009, it was reported in an open letter on the CentOS Project web site that one of CentOS's founders, Lance Davis, had disappeared in 2008. Davis had ceased contribution to the project, but continued to hold the registration for the CentOS domain and PayPal account. In August 2009, the CentOS team reportedly made contact with Davis and obtained the centos.info and centos.org domains.

In July 2010, CentOS overtook Debian to become the most popular Linux distribution for web servers, with almost 30% of all Linux web servers using it. Debian retook the lead in January 2012.

In January 2014, Red Hat announced that it would sponsor the CentOS Project, "helping to establish a platform well-suited to the needs of open source developers that integrate technologies in and around the operating system". As a result of these changes, ownership of CentOS trademarks was transferred to Red Hat, which now employs most of the CentOS head developers; however, they work as part of Red Hat's Open Source and Standards team, which operates separately from the Red Hat Enterprise Linux team. A new CentOS governing board was also established.

On 8 December 2020, the CentOS Project announced that the distribution would be discontinued at the end of 2021 in order to focus on CentOS Stream. The community's response to this announcement was overwhelmingly negative. Soon thereafter, Gregory Kurtzer (one of CentOS's founders) announced a new project to continue the original CentOS focus, which became known as Rocky Linux. CloudLinux created AlmaLinux to provide a community-supported successor to CentOS Linux, aiming for binary-compatibility with the current version of RHEL. A beta version of AlmaLinux was first released on February 1, 2021, and the first stable release of AlmaLinux was published on March 30, 2021. A beta version of Rocky Linux was release on April 30, 2021, and subsequently on June 21, 2021, the stable release of Rocky Linux 8.4 was released.

Design edit

CentOS developers use Red Hat's source code to create a final product very similar to RHEL. Red Hat's branding and logos are changed because Red Hat does not allow them to be redistributed. CentOS is available free of charge. Technical support is primarily provided by the community via official mailing lists, web forums, and chat rooms.

The project is affiliated with Red Hat but aspires to be more public, open, and inclusive. While Red Hat employs most of the CentOS head developers, the CentOS Project itself relies on donations from users and organizational sponsors.

Versioning and releases edit

CentOS releases edit

CentOS version numbers for releases older than 7.0 have two parts, a major version and a minor version, which correspond to the major version and update set of Red Hat Enterprise Linux (RHEL) used to build a particular CentOS release. For example, CentOS 6.5 is built from the source packages of RHEL 6 update 5 (also known as RHEL version 6.5), which is a so-called "point release" of RHEL 6.

Starting with version 7.0, CentOS version numbers also include a third part that indicates the monthstamp of the source code the release is based on. For example, version number 7.0-1406 still maps this CentOS release to the zeroth update set of RHEL 7, while "1406" indicates that the source code this release is based on dates from June 2014. Using the monthstamp allows installation images to be reissued for (as of July 2014) oncoming container and cloud releases, while maintaining a connection to the related base release version.

Since mid-2006 and starting with RHEL version 4.4, which is formally known as Red Hat Enterprise Linux 4.0 update 4, Red Hat has adopted a version-naming convention identical to that used by CentOS (for example, RHEL 4.5 or RHEL 6.5).

On 10 September 2019 CentOS deferred CentOS 8.1 work for CentOS 7.7 since CentOS 7.x was in production and CentOS 8.x was not in production. Once CentOS 7.7 was released resources moved back to CentOS 8.0.

On 24 September 2019 CentOS officially released CentOS version 8.0.

End-of-support schedule edit

According to the Red Hat Enterprise Linux (RHEL) life cycle, CentOS 5, 6 and 7 will be "maintained for up to 10 years" as it is based on RHEL. Previously, CentOS 4 had been supported for seven years.

CentOS
version
Release
date
Full
updates
Maintenance
updates
Old version, no longer maintained: 3 2004-03-19 2006-07-20 2010-10-31
Old version, no longer maintained: 4 2005-03-09 2009-03-31 2012-02-29
Old version, no longer maintained: 5 2007-04-12 2014-01-31 2017-03-31
Old version, no longer maintained: 6 2011-11-27 2017-05-10 2020-11-30
Older version, yet still maintained: 7 2014-07-07 2020-08-06 2024-06-30
Old version, no longer maintained: 8 2019-09-24 2021-12-31
Legend:
Old version
Older version, still maintained
Latest version
Latest preview version
Future release

Older version information edit

CentOS version 7 edit
CentOS version Architectures RHEL base Kernel CentOS release date RHEL release date Delay (days)
7.0-1406 x86-64 7.0 3.10.0-123 2014-07-07 2014-06-10 27
7.1-1503 x86-64 7.1 3.10.0-229 2015-03-31 2015-03-05 26
7.2-1511 x86-64 7.2 3.10.0-327 2015-12-14 2015-11-19 25
7.3-1611 x86-64 7.3 3.10.0-514 2016-12-12 2016-11-03 39
7.4-1708 x86-64 7.4 3.10.0-693 2017-09-13 2017-07-31 43
7.5-1804 x86-64 7.5 3.10.0-862 2018-05-10 2018-04-10[115] 31
7.6-1810 x86-64 7.6 3.10.0-957 2018-12-03[137] 2018-10-30[138][115] 34
7.7-1908 x86-64 7.7 3.10.0-1062 2019-09-17[139] 2019-08-06[140][115] 42
7.8-2003 x86-64 7.8 3.10.0-1127 2020-04-27[141] 2020-03-30[142][115] 28
Older version, yet still maintained: 7.9-2009 x86-64 7.9 3.10.0-1160 2020-11-12[143] 2020-09-29[144][115] 44

Latest version information edit

CentOS version 8 edit

AltArch releases edit

AltArch releases are released by the Alternative Architecture Special Interest Group (AltArch SIG) to support architectures that are not supported by the base CentOS releases.

Add-ons releases edit

Software Collections (SCL) is a CentOS repository that provides a set of programming languages, database servers, and various related packages. Provided software versions are either more recent than their equivalent versions included in the base CentOS distribution, or are made available as official CentOS packages for the first time.[164] (See also the list of CentOS repositories below.)

Packages available from the SCL do not replace the default system tools provided with CentOS. Instead, a parallel set of tools is installed in the /opt directory, and can be optionally enabled per application by using supplied scl utility. For example, the default versions of Perl or MySQL remain those provided by the base CentOS installation.[164]

Add-on name Architectures Base CentOS version CentOS release date RHEL release date Delay (days)
Software Collections (SCL) 1.0[165] x86-64 6.4, 6.5[166] 2014-02-19[166] 2013-09-12[165] 160
Developer Toolset 2.0[167] IA-32, x86-64 6.4 [168] 2013-09-12[167]

Releases without upstream equivalents edit

Some of the ISO images released by the CentOS Project have no direct upstream equivalents. They are created for specific purposes, such as for providing a live bootable image, or for providing a reduced-size installation medium. In addition to those listed below, there are also AltArch releases, which also have no direct upstream equivalents.

LiveCD and LiveDVD images contain a bootable compressed file system, created by a set of custom scripts[169] using a kickstart configuration file.[170] These live images can be also installed to hard disk, thus obtaining a fully functional CentOS installation. The set of packages installed that way on a hard disk can not be adjusted during the installation, as that is a simple transfer of the image existing on CD/DVD, to a hard disk. After booting from hard disk, yum can be used for adding or removing packages.[171]

MinimalCD images contain a minimum of packages required for a functional installation, with no compromises in security or network usability. These minimal images use the standard CentOS installer with all of its regular features minus the selection of packages. Yum can be used after the installation is completed to add or remove packages.[172][173]

Special interest groups edit

Special interest groups (SIGs) are organized portions of the CentOS community that open paths for building specialized variants of CentOS, which fulfill specific sets of requirements. SIGs have the freedom to modify and enhance CentOS in various ways, including adding more cutting-edge software, rebuilding existing packages depending on the requirements, providing alternative desktop environments, or making CentOS available on otherwise unsupported architectures.[195]

Architectures edit

As of version 8, CentOS fully supports x86-64, POWER8 and 64-bit ARM architectures,[196] while the following architectures are not supported:

  • IA-32 in all variants, not supported since CentOS 7
  • IA-32 without Physical Address Extension (PAE), not supported since CentOS 6
  • IA-64 (Intel Itanium architecture), was supported in CentOS 3 and 4
  • 32-bit PowerPC (Apple Macintosh and PowerMac running the G3 or G4 PowerPC processor), beta support was available in CentOS 4
  • IBM Mainframe (eServer zSeries and S/390), not supported since CentOS 5
  • Alpha, support was available in CentOS 4
  • SPARC, beta support was available in CentOS 4

As of December 2015, AltArch releases of CentOS 7 are available for the ARMv7hl and AArch64 variants of the ARM architecture,[13] and plans exist for supporting other variants of the ARM architecture. ARM support is a community effort coordinated through the AltArch SIG.[13][197] AltArch releases of CentOS 7 are also available for the IA-32 architecture and Power ISA (POWER7 and POWER8 chips).[12]

A Live CD version of CentOS is available at mirror.centos.org. A bootable Live USB image of CentOS can be created manually or with UNetbootin.

CentOS images are also available on Amazon's EC2 cloud, in form of prebuilt and already published Amazon Machine Images (AMIs).[198][199]

Repositories edit

There are three primary CentOS repositories (also known as channels), containing software packages that make up the main CentOS distribution:[200]

  • base : contains packages that form CentOS point releases, and gets updated when the actual point release is formally made available in form of ISO images.
  • updates : contains packages that serve as security, bugfix or enhancement updates, issued between the regular update sets for point releases. Bugfix and enhancement updates released this way are only those unsuitable to be released through the CentOS-Fasttrack repository described below.[201][202]
  • addons : provides packages required for building the packages that make up the main CentOS distribution, but are not provided by the upstream.[e]

The CentOS Project provides several additional repositories that contain software packages not provided by the default base and updates repositories. Those repositories include the following:[203]

  • CentOS Extras : contains packages that provide additional functionality to CentOS without breaking its upstream compatibility or updating the base components.
  • CentOSPlus : contains packages that actually upgrade certain base CentOS components, changing CentOS so that it is not exactly like the upstream provider's content.
  • CentOS-Testing : serves as a proving ground for packages on their way to CentOSPlus and CentOS Extras. Offered packages may or may not replace core CentOS packages, and are not guaranteed to work properly.
  • CentOS-Fasttrack : contains bugfix and enhancement updates issued from time to time, between the regular update sets for point releases. The packages released this way serve as close candidates for the inclusion into the next point release. This repository does not provide security updates, and does not contain packages unsuitable for uncertain inclusion into point releases.[201][202][204]
  • CR (Continuous Release) : makes generally available packages that will appear in the next point release of CentOS. The packages are made available on a testing and hotfix basis, until the actual point release is formally released in form of ISO images.[205]
  • debuginfo : Contains packages with debugging symbols generated when the primary packages were built.
  • contrib : Contains packages contributed by CentOS users that do not overlap with any of the core distribution packages.
  • Software Collections : Provides versions of software newer than those provided by the base distribution, see above for more details.

CentOS Stream edit

CentOS Stream is a "continuously delivered distro that tracks just ahead of Red Hat Enterprise Linux (RHEL) development, positioned as a midstream between Fedora Linux and RHEL."[206] which is designed for "anyone interested in participating and collaborating in the RHEL ecosystem".[206]

Because prior CentOS releases were derived directly from RHEL (RHEL was essentially upstream of CentOS), Stream thus represents a change from prior CentOS releases, being situated between the upstream development in Fedora and the downstream development for RHEL. That said, CentOS Stream 9 and RHEL 9 started from the same codebase[207] and thus CentOS Stream could reasonably be seen as "closer" to RHEL than Fedora.

The initial release, CentOS Stream 8, was released on 24 September 2019, at the same time as CentOS 8.[208] As CentOS 8 became unsupported, The CentOS Project provided a simple means of converting from CentOS Linux 8 to CentOS Stream 8.[209]

Notes edit

Centos Tutorials: CentOS is a community-supported, mainly free software operating system based on Red Hat Enterprise Linux (RHEL). It exists to provide a free enterprise class computing platform and strives to maintain 100% binary compatibility with its upstream distribution. CentOS stands for Community ENTerprise Operating System

Latest online Centos Tutorials with example so this page for both freshers and experienced candidate who want to get job in Centos company

Latest online Centos Tutorials for both freshers and experienced

advertisements

View Tutorials on Centos View all questions

Ask your interview questions on Centos

Write Your comment or Questions if you want the answers on Centos from Centos Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---