UCSD Main WebsiteUCSD Jacobs SchoolDepartment of Computer Science and Engineering
About CSECSE PeopleFacultyGraduate EducationUndergraduate EducationDepartment AdministrationContact CSE
spacer gif
spacer gif
CSE People
spacer gifspacer gif
spacer gif
plus signspacer gifAcademic Affairs
spacer gif
spacer gifspacer gifFaculty/Staff Intranet
spacer gif
plus signspacer gifFinancial Affairs
spacer gif
plus signspacer gifHuman Resources
spacer gif
minus signspacer gifComputing Support
spacer gifspacer gifServices
spacer gifspacer gifResources for TAs & Instructors
spacer gifspacer gifFacilities
spacer gifspacer gifRequest Help
spacer gifspacer gifOther Resources
spacer gifspacer gifWindows Resources
spacer gifspacer gifComputing Policy
spacer gif
plus signspacer gifFacilities
spacer gif
spacer gifspacer gifComputing FAQ
spacer gif
spacer gif
spacer gif
Search
spacer gifspacer gifspacer gif
 
 
Google
spacer gifspacer gif
spacer gif
spacer gif
spacer gif
spacer gif
spacer gifspacer gif
Home»Department Administration»Computing Support»Other resources»Converting from RHEL to CentOS»Conversion Overview
spacer gif
Conversion Overview
spacer gif
spacer gifspacer gifspacer gif
spacer gif

The Linux operating system that the department recommends for people to use is CentOS. If you are familiar with Red Hat Enterprise Linux, CentOS is virtually identical to RHEL (it is built from the same sources as RHEL). CentOS can be downloaded from http://www.centos.org.

If you have computers running Red Hat Enterprise Linux that you installed back when the department had a site license for Red Hat Enterprise Linux, you can convert those systems to CentOS fairly easily, without having to do an operating system re-installation. This will ensure that you continue to be able to get security updates as required by the campus minimum network security standards.

Converting an existing RHEL system to CentOS is not very difficult, though it will require downloading software packages manually and modifying your system configuration. The process is basically:

  • DO NOT perform a final update with RHEL! This is especially important for RHEL 5, as RHEL 5.2 will not down-convert to CentOS 5.1. This will be less of an issue once CentOS catches up to the RHEL releases.
  • Download and import the CentOS RPM GPG public key.
  • Download necessary CentOS replacement packages.
  • Remove specific packages from the Red Hat system.
  • Install the CentOS packages.
  • Reboot the system.

CSEHelp has been steadily converting all the department servers from RHEL to CentOS over the past several months, and these procedures have been tested many times.

If you do run into any problems, feel free to contact CSEHelp for assistance.

Conversion Script
CSEHelp is providing a conversion script to assist with the conversion from RHEL to CentOS in a simple, automated fasion. This script will need to be downloaded to the machine you wish to convert, and must be run as root. Additionally, the system you are converting must have internet access, minimally on the UCSD private networking (172.*).

The script will, by default, use the on-campus CentOS mirror to fetch the software packages it needs, but this can be changed by changing the "centos_mirror" variable at the top of the script.

We've tested the script on both Red Hat Enterprise Linux 4 and Red Hat Entperprise Linux 5 systems, and have had successful conversions to CentOS in both scenarios. However, if you have installed third-party packages either manually or via non-Red Hat repositories, you may run into problems that the script cannot account for. This is primarily an issue if you installed sqlite or yum. If the script discovers a package dependancy problem, it will alert you before making any configuration changes to your system.

Performing the Conversion Manually
The instructions are slightly different depending whether you are using RHEL 4.x or RHEL 5.x.

spacer gif
spacer gif
spacer gifback to top ^
spacer gif
spacer gif
spacer gif
spacer gif
9500 Gilman Drive, La Jolla, CA 92093-0404
spacer gif
About CSE | CSE People | Faculty & Research | Graduate Education | Undergraduate Education
Department Administration | Contact CSE | Help | Search | Site map | Home
webmaster@cs.ucsd.edu
Official web page of the University of California, San Diego
Copyright © 2003 Regents of the University of California. All rights reserved.
spacer gif