Article

Table of Contents
Theme:
Was this article helpful?

0  out of  1 found this helpful

Try Vultr Today with

$50 Free on Us!

Want to contribute?

You could earn up to $600 by adding new articles!

How to Update Rocky Linux

Last Updated: Mon, Jul 12, 2021
Best Practices FAQ

Introduction

It is a best practice to update your server on a regular schedule for security and stability. Use this guide to keep your server updated.

Make a Backup

Always make a backup before updating your system.

1. Update the Package Database

Use yum check-update to update the package database from the enabled repositories.

$ sudo yum check-update

2. Upgrade Packages

Use yum update to upgrade the packages.

$ sudo yum update

3. Restart the Server

$ sudo reboot

Conclusion

Periodic updates keep your server secure and stable. Make sure you have a snapshot or backup strategy in place before updating.

Want to contribute?

You could earn up to $600 by adding new articles