How to Fix cPanel Installation issue (FATAL): Unable to create /etc/selinux/config. in this tutorial you will learn how to fix file permission error, Cpanel installation issue, centos SELinux issue.
To fix the issue we need chattr -i to solve the cPanel installation issue which is because of file permission of SELinux/config. chattr (Change Attribute) is a command-line Linux utility that is used to set/unset certain attributes to a file in Linux system to secure accidental deletion or modification of important files and folders
lsattr /etc/selinux/config
—-i——–e- /etc/selinux/config
if you see this:
chattr -i /etc/selinux/config
wow thanks for sharing, i fixed this issue with your last command, used vultr centos server and got this issue in all server while trying to install cPanel in it.
Thanks again
i am glad to hear that, Thank you!