CentOS 7 end of the life support from Navy Linux 7.

Here is how CentOS 7.x converted to Navy Linux 7.9r1.

Backup First

Create a backup of your machine before executing.

Create a Backup of all repositories and remove CentOS repositories
cp -R /etc/yum.repos.d /etc/yum.repos.backup
rm -rf /etc/yum.repos.d/Cent*
Setup Navy Linux Release Variables
echo "7" > /etc/yum/vars/releasever
echo "7.9r1" > /etc/yum/vars/releaseversion
uname -i > /etc/yum/vars/infra
Create Navy Linux repositories
curl -o /etc/yum.repos.d/navy-linux-base.repo https://raw.githubusercontent.com/navy-linux/navylinux-release/7.9r1/navy-linux-base.repo
Upgrade to Navy linux
yum clean all
yum update -y


Welcome to Navy Linux Family, feel free to report any issue on Issue Tracker https://github.com/navy-linux/issue-tracker

Edit this page