Download CSF ¶
In the previous section, we explained how to install all the required dependencies for CSF. Now, we’ll guide you through downloading the latest version of ConfigServer Firewall & Security.
Generic Environment¶
These instructions are primarily written for servers without a control panel (such as cPanel, DirectAdmin, etc.). However, most users can still follow along since the installation process is largely the same across all environments.
The main difference comes after installation — the way you access and manage CSF will vary depending on the control panel in use.
Download the latest version of CSF. You can either download a specific version, or download the repositories' current version.
Finding the Latest Version
You can find out what the latest version of CSF is by visiting our Github Releases page.
Next, we need to extract the .zip
to a folder on our server. We are going to unzip the CSF zip to /tmp/csf
:
After you extract the .zip
, you can now change over to the folder where the extracted CSF files are located:
Set the install.sh
script to have +x
executable permissions by running the command:
At this point, we have CSF downloaded to your system and ready to install. However, we are going to first run Diagnostic Tests to ensure that our system is ready to handle CSF and has all required dependencies.
Select what documentation you would like to proceed with next ...
-
Up next, we will explain how to run some diagnostic tests on your server before installing CSF. These tests ensure that your server meets all requirements regarding perl dependencies.
Running these checks will confirm whether CSF can function properly on your server.
cPanel & WHM¶
If you have a server which you do not personally manage or do not have root access for, you will need to sign into WHM and see if your server provider has already pre-installed a copy of CSF which you can use. Without root access to the server, you will be unable to install CSF. Contact your hosting provider for additional information.
However, if you manage your own server with root shell access, and have a valid cPanel & WHM license, this means that you can manually install ConfigServer Firewall onto your server to utilize it.
First, log in to your server as the root
user via SSH.
You will need to download the latest version of CSF. You can either download a specific version, or download the repositories' current version.
Unzip / decompress the downloaded file to your server. We have provided instructions for extracting both the newer .zip
format, and the older tar .tgz
format:
After you extract the .zip
, you can now change over to the folder where the extracted CSF files are located:
Set the install.sh
script to have +x
executable permissions by running the command:
At this point, we have CSF downloaded to your system and ready to install. However, we are going to first run Diagnostic Tests to ensure that our system is ready to handle CSF and has all required dependencies.
Select what documentation you would like to proceed with next ...
-
Up next, we will explain how to run some diagnostic tests on your server before installing CSF. These tests ensure that your server meets all requirements regarding perl dependencies.
Running these checks will confirm whether CSF can function properly on your server.