To disable SELinux on Ubuntu, follow these steps:
Open the terminal by pressing
Ctrl+Alt+T
on your keyboard.Type the following command to install the SELinux management tool:
1
sudo apt-get install selinux-utils
Once the installation is complete, run the following command to disable SELinux:
1
sudo selinux-disable
Restart your Ubuntu system to apply the changes made.
Note: Disabling SELinux may weaken your system’s security. Only disable SELinux if you know what you are doing or if it is causing issues. It’s recommended to consult with an expert if you are unsure.