All Projects → oracle → Centos2ol

oracle / Centos2ol

Licence: upl-1.0
Script and documentation to switch CentOS Linux to Oracle Linux

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Centos2ol

Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (+67.4%)
Mutual labels:  oracle, centos
Bento
Packer templates for building minimal Vagrant baseboxes for multiple platforms
Stars: ✭ 3,779 (+1987.85%)
Mutual labels:  oracle, centos
Oracle Java
Ansible role to install Oracle Java 8/11 on Debian and RedHat based distributions.
Stars: ✭ 144 (-20.44%)
Mutual labels:  oracle, centos
Material Apex
A Material Design Theme for Oracle APEX
Stars: ✭ 161 (-11.05%)
Mutual labels:  oracle
Bandchain
BandChain - Decentralized Data Delivery Network
Stars: ✭ 163 (-9.94%)
Mutual labels:  oracle
Spring Boot Plus
🔥 Spring-Boot-Plus is a easy-to-use, high-speed, high-efficient,feature-rich, open source spring boot scaffolding. 🚀
Stars: ✭ 2,198 (+1114.36%)
Mutual labels:  centos
Flutter smart select
SmartSelect allows you to easily convert your usual form select or dropdown into dynamic page, popup dialog, or sliding bottom sheet with various choices input such as radio, checkbox, switch, chips, or even custom input. Supports single and multiple choice.
Stars: ✭ 179 (-1.1%)
Mutual labels:  switch
Raidfinder
Crossplatform RNG tool for Pokemon Sword/Shield raids
Stars: ✭ 161 (-11.05%)
Mutual labels:  switch
Image Bootstrap
⛅️ Creates (chroots and) bootable virtual machine images; command line tool (Python 3)
Stars: ✭ 178 (-1.66%)
Mutual labels:  centos
Linq2db
Linq to database provider.
Stars: ✭ 2,211 (+1121.55%)
Mutual labels:  oracle
Rom Sql
SQL support for rom-rb
Stars: ✭ 169 (-6.63%)
Mutual labels:  oracle
Node Oracledb
Oracle Database driver for Node.js maintained by Oracle Corp.
Stars: ✭ 2,018 (+1014.92%)
Mutual labels:  oracle
React Icheck
🔘 iCheck components built with React. Highly customizable checkbox, radio buttons and radio group.
Stars: ✭ 175 (-3.31%)
Mutual labels:  switch
Appbundle Maven Plugin
Maven plugin that creates an Application Bundle for OS X containing all your project dependencies and the necessary metadata
Stars: ✭ 163 (-9.94%)
Mutual labels:  oracle
React Native Switch
Customisable switch component for RN
Stars: ✭ 179 (-1.1%)
Mutual labels:  switch
Login Shell
SSH登陆显示脚本
Stars: ✭ 161 (-11.05%)
Mutual labels:  centos
Universaljavaapplicationstub
universalJavaApplicationStub - an alternative Application launcher script for Java based macOS Apps that works with both Apple's and Oracle's PList format and supports the old Apple Java 6 as well as all the latest Oracle/OpenJDK/Adopt/Corretto JRE's/JDK's. Plus it supports drag&drop to the Dock icon 🎉
Stars: ✭ 174 (-3.87%)
Mutual labels:  oracle
Sqlcheck
Automatically identify anti-patterns in SQL queries
Stars: ✭ 2,062 (+1039.23%)
Mutual labels:  oracle
Plutonium
An easy-to-use UI framework for Nintendo Switch homebrew
Stars: ✭ 166 (-8.29%)
Mutual labels:  switch
Guacamole Install Rhel 7
Apache Guacamole installation bash script for RHEL 7 and CentOS 7 including options for Nginx, HTTPS, SSL, LDAP, Let's Encrypt certificates and more
Stars: ✭ 174 (-3.87%)
Mutual labels:  centos

Switch from CentOS to Oracle Linux

This script is designed to automatically switch a CentOS instance to Oracle Linux by removing any CentOS-specific packages or replacing them with the Oracle Linux equivalent.

Supported versions

This script currently supports switching CentOS Linux 6, CentOS Linux 7 and CentOS Linux 8. It does not support CentOS Stream.

Before you switch

IMPORTANT: this script is a work-in-progress and is not designed to handle all possible configurations. Please ensure you have a complete backup of the system before you start this process in the event the script is unable to convert the system successfully.

Remove all non-standard kernels

Because of the GRUB2 BootHole vulnerability, our SecureBoot shim can only boot kernels signed by Oracle and we can only replace the default CentOS kernels. While this may not have an impact if SecureBoot is currently disabled, enabling it at a later date could render the system unbootable. For that reason, we strongly recommend removing all non-standard kernels, i.e. any kernel that is installed that is not provided by either the base or updates repo. This includes the centosplus kernels.

  1. Ensure your CentOS yum or dnf configuration is working, i.e. there are no stale repositories.
  2. Disable all non-CentOS repositories. You can re-enable the repos after the switch.
  3. Ensure you have at least 5GB of free space in /var/cache.
  4. All automatic updates, e.g. via yum-cron should be disabled.

Usage

  1. Login to your CentOS Linux 6, 7 or 8 instance as a user who has sudo privileges.
  2. Either clone this repository or download the centos2ol.sh script.
  3. Run sudo bash centos2ol.sh to switch your CentOS instance to Oracle Linux.

Usage options

  • -r Reinstalls all CentOS RPMs with Oracle Linux RPMs

    If a system is swiched to Oracle Linux and there is no newer Oracle Linux version of a package already installed then the CentOS version remains. This option proceeds to reinstall any CentOS RPM with an identical version from Oracle Linux. This is not necessary for support and has no impact to a systems functionality but is offered so a user can remove CentOS GPG keys from the truststore. A list of all non-Oracle RPMs will be displayed after the reinstall process.

  • -k Do not install the UEK kernel and disable UEK repos

    This option will not install the UEK kernel and will disable all UEK yum repositories.

  • -V Verify RPM information before and after the switch

    This option creates four output files in /var/tmp/:

    • ${hostname}-rpms-list-[before|after].log: a sorted list of installed packages before and after the switch to Oracle Linux.
    • ${hostname}-rpms-verified-[before|after].log: the RPM verification results for all installed packages before and after the switch to Oracle Linux.

Testing

See TESTING.md for instructions on the available tests and how to run them.

Known issues

  1. There is a reported issue with the upstream OpenJDK package resetting the alternatives configuration during a dnf reinstall transaction.

    We recommend recording the output of alternatives --list prior to running centos2ol.sh and reviewing the same output after switching. If you experience an issue with a package other than OpenJDK, please open an issue

Limitations

  1. The script currently needs to be able communicate with the CentOS and Oracle Linux yum repositories either directly or via a proxy.
  2. The script currently does not support instances that are registered to a third-party management tool like Spacewalk, Foreman or Uyuni.
  3. Compatibility with packages installed from third-party repositories is expected but not guaranteed. Some software doesn't like the existence of an /etc/oracle-release file, for example.
  4. Packages that install third-party and/or closed-source kernel modules, e.g. commercial anti-virus products, may not work after switching.
  5. The script only enables the base repositories required to enable switching to Oracle Linux. Users may need to enable additional repositories to obtain updates for packages already installed (see issue #1.

Debugging

Run sudo bash -x centos2ol.sh to switch your CentOS instance to Oracle Linux in debug mode. This will print a trace of commands and their arguments or associated word lists after they are expanded but before they are executed.

Get involved

We welcome contributions! See our contribution guidelines.

Support

Resources

For more information on Oracle Linux, please visit oracle.com/linux.

License

Copyright (c) 2020, 2021 Oracle and/or its affiliates.

Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].