Author Topic: [SOLVED] CSF Didn't install??  (Read 9022 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
[SOLVED] CSF Didn't install??
« on: September 08, 2016, 01:25:33 PM »
Hi,

I've just installed CWP on a second server and in the process of configuring it it looks like CSF didn't install during the CentOS Web Panel install process.  There is no /etc/csf folder, if I do a service csf status I get 'unrecognised service' s a response and in the CSF admin area there are errors like:

Code: [Select]
failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/modules/firewall.php
Plus any csf commands I run get a 'command not found' response. 

Is there a way I can fix this and install CSF so that it can be managed by CWP?
« Last Edit: September 09, 2016, 08:15:57 AM by batgranny »

Offline
*****
Re: CSF Didn't install??
« Reply #1 on: September 09, 2016, 07:27:15 AM »
you can install it manually

Offline
*
Re: CSF Didn't install??
« Reply #2 on: September 09, 2016, 08:15:38 AM »
Thanks, installing it manually worked with no issues. For anyone who has the same problem following the instructions on the csf website worked like a charm:

Code: [Select]
cd /usr/src
rm -fv csf.tgz
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

A couple of things, you'll need to turn off testing mode and you'll need to add port 2030 to the list of allowed ports.