How to upgrade Centos
e.g. to update your 7.4.1708 system to 7.5.1804, use the following procedure:
First, ask your system what version you’re on now:
$ cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
Next, upgrade with:
$ sudo yum clean all
$ sudo yum upgrade
$ sudo systemctl reboot
Finally, once this is done, you can verify that you’re running the latest build with:
$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
First, ask your system what version you’re on now:
$ cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
Next, upgrade with:
$ sudo yum clean all
$ sudo yum upgrade
$ sudo systemctl reboot
Finally, once this is done, you can verify that you’re running the latest build with:
$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
Komentar