Need advice about which tool to choose?Ask the StackShare community!

CentOS

13.5K
8.9K
+ 1
53
Photon

28
88
+ 1
0
Add tool

Centos vs Photon: What are the differences?

Introduction

This Markdown code presents the key differences between CentOS and Photon operating systems. CentOS is a Linux distribution derived from the sources of Red Hat Enterprise Linux (RHEL), while Photon OS is a lightweight Linux distribution developed by VMware. Below are the key differences between these two operating systems.

  1. Package Management: CentOS uses the yum package manager, which allows administrators to easily install, update, and manage software packages using repositories. On the other hand, Photon OS utilizes the rpm package manager, which is also widely used in many Linux distributions, including RHEL.

  2. Focus and Purpose: CentOS is designed to be a stable platform suitable for server deployments, offering long-term support and security updates. In contrast, Photon OS is specifically tailored for use as a minimal host operating system for running containers and virtual machines, with emphasis on performance and efficiency.

  3. Systemd Integration: CentOS uses the systemd init system, which helps manage the system startup process and provides various features like service management and logging. Photon OS also utilizes systemd, but it has a minimal and optimized implementation with specific focus on container-based environments.

  4. Security Enhancements: While both CentOS and Photon OS prioritize security, CentOS benefits from the extensive security focus and support provided by the Red Hat community. This includes rigorous vulnerability testing, timely security patches, and integration with the Red Hat ecosystem. Photon OS, being developed by VMware, incorporates security enhancements specifically targeted at virtualized and containerized environments.

  5. Kernel and Resource Optimization: CentOS typically ships with a general-purpose Linux kernel that is optimized for a wide range of use cases. In contrast, Photon OS focuses on reducing resource utilization and optimizing performance within virtualized environments by employing a kernel optimized for VMware hypervisors and container runtimes.

  6. Release Cycle and Support: CentOS follows a long-term support model with stable releases and multiple years of support for each major version. Photon OS, on the other hand, adheres to a rolling release model, providing frequent updates and new features. It is worth noting that the long-term support for CentOS 8 has changed as of December 2020, shifting towards CentOS Stream, which has a more continuous release cycle.

In summary, CentOS is a versatile server-focused distribution known for its stability and long-term support, while Photon OS is a lightweight operating system specifically designed for virtualized environments and container deployments, prioritizing performance and efficiency.

Decisions about CentOS and Photon
Michael Fogassy

I have used libvirt in every Linux hypervisor deployment I do. I frequently deploy RHEL or CentOS hypervisor servers with libvirt as the VMM of choice. It's installable via the guided setup for EL-based Linux distros, it uses minimal resources and overhead, integrates seamlessly with KVM and Qemu, and provides powerful CLI for advanced users and experts looking for automated deployments, or via VirtManager in your favorite Linux desktop environment. Best used with Linux VMs, it allows KVM and QEMU direct hardware virtualization access.

See more
Jaron Viëtor

Using Arch Linux for our systems and servers means getting the latest technology and fixes early, as well as early warnings for potential future breakage in other (slower) distributions. It's been easy to maintain, easy to automate, and most importantly: easy to debug.

While our software target is every recent Linux distribution, using Arch internally ensured that everyone understands the full system without any knowledge gaps.

See more
Jerome/Zen Quah
Chose
UbuntuUbuntu
over
CentOSCentOS

Global familiarity, free, widely used, and as a debian distro feels more comfortable when rapidly switching between local macOS and remote command lines.

CentOS does boast quite a few security/stability improvements, however as a RHEL-based distro, differs quite significantly in the command line and suffers from slightly less frequent package updates. (Could be a good or bad thing depending on your use-case and if it is public facing)

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CentOS
Pros of Photon
  • 16
    Stable
  • 9
    Free to use
  • 9
    Reliable
  • 6
    Has epel packages
  • 6
    Good support
  • 5
    Great Community
  • 2
    I've moved from gentoo to centos
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of CentOS
    Cons of Photon
    • 1
      Yum is a horrible package manager
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is CentOS?

      The CentOS Project is a community-driven free software effort focused on delivering a robust open source ecosystem. For users, we offer a consistent manageable platform that suits a wide variety of deployments. For open source communities, we offer a solid, predictable base to build upon, along with extensive resources to build, test, release, and maintain their code.

      What is Photon?

      The fastest way to build beautiful Electron apps using simple HTML and CSS. Underneath it all is Electron. Originally built for GitHub's Atom text editor, Electron is the easiest way to build cross-platform desktop applications.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use CentOS?
      What companies use Photon?
      See which teams inside your own company are using CentOS or Photon.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with CentOS?
      What tools integrate with Photon?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to CentOS and Photon?
      Ubuntu
      Ubuntu is an ancient African word meaning ‘humanity to others’. It also means ‘I am what I am because of who we all are’. The Ubuntu operating system brings the spirit of Ubuntu to the world of computers.
      Fedora
      Fedora is a Linux-based operating system that provides users with access to the latest free and open source software, in a stable, secure and easy to manage form. Fedora is the largest of many free software creations of the Fedora Project. Because of its predominance, the word "Fedora" is often used interchangeably to mean both the Fedora Project and the Fedora operating system.
      Debian
      Debian systems currently use the Linux kernel or the FreeBSD kernel. Linux is a piece of software started by Linus Torvalds and supported by thousands of programmers worldwide. FreeBSD is an operating system including a kernel and other software.
      Amazon Linux
      The Amazon Linux AMI is a supported and maintained Linux image provided by Amazon Web Services for use on Amazon Elastic Compute Cloud (Amazon EC2).
      openSUSE
      The openSUSE project is a worldwide effort that promotes the use of Linux everywhere. openSUSE creates one of the world's best Linux distributions, working together in an open, transparent and friendly manner as part of the worldwide Free and Open Source Software community.
      See all alternatives