Update Kernel

If you have this warning in your AAPANEL

To update the kernel on your server via the command line in Putty, you can use the appropriate command for your distribution. Depending on the operating system you are using with your aapanel, the commands may vary.

To update the kernel on your server via the command line in Putty, you can use the appropriate command for your distribution. Depending on the operating system you are using with your aapanel, the commands may vary.

For Ubuntu/Debian-based systems:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

After these commands, the system will be updated, including the kernel. Once you finish the update, you may need to restart the server to activate the new kernel.

For CentOS/RHEL-based systems:

sudo yum update

This command will update all software on the system, including the kernel. After completing the update, restart the server.

Important:

1. Restarting the Server:

– After updating the kernel, it’s essential to restart the server to apply the changes.

– You can restart the server with the command:

sudo reboot

2. Checking the New Kernel Version: After restarting, you can check the current kernel version with the command:

uname -r

Note: Before performing a kernel update, make sure you have backed up important information, and familiarize yourself with the process of updating the kernel. Procedures may vary depending on the configuration and requirements of your hosting provider.