Page 1 of 1

Generic to cpanel version

Posted: 16 Dec 2024, 22:01
by itnewton
Support

I currently have the generic version and would like to migrate to cpanel version.

I initially installed the generic version but I am using cpanel.

I was able to install the cpanel version but it still says generic.

How do I change this?

csf -v
csf: v14.22 (generic)

I posted this on cpanels support and they told me to raise the issue here.

Thanks

John

Re: Generic to cpanel version

Posted: 16 Dec 2024, 22:06
by ForumAdmin
The quick way is to set GENERIC = "0" in /etc/csf/csf.conf, but you may not necessarily have all the correct settings for a cPanel server correctly configured, namely log file locations. To avoid problems, I would rename /etc/csf/csf.conf out of the way and then run through the installation of csf again. This will setup the cPanel configuration. If you had made changes you should go through the config file you renamed out of the way and make any changes to the newly created csf.conf

Re: Generic to cpanel version

Posted: 17 Dec 2024, 19:50
by itnewton
Tried the GENERIC = "0" but that leaves the setup still as generic as it is missing cpanel settings in csf.conf.
I found the best way was command line uninstall and then re-install.

Thanks

John

First

cd /etc/csf
sh uninstall.sh

Second

cd /root
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
./install.cpanel.sh

After you configure CSF, you must disable testing mode. To take CSF out of testing mode, perform the following steps:
Click Firewall.
Change the value of Testing from 1 to 0.
Click Change.