Skip to content

tmiland/csf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConfigServer Security & Firewall (csf)

================================

Install ConfigServer Security & Firewall (csf)

Installs all dependencies using apt or yum

Tested on:

  • CentOS 8
  • Debian 10
  • Fedora 33
  • Ubuntu 18.10

Default temp dir is /tmp/csf, this can be changed in install script.

By default, the installer logs into $TMP/install.log and $TMP/error.log. Check these for further info about the installation process.

Dependencies

  • Package manager (apt or yum)
  • HTTP Client (curl, wget or fetch)
  • TAR executable
  • Perl
  • Perl modules: (Debian/Ubuntu: libwww-perl liblwp-protocol-https-perl libgd-graph-perl, RHEL: perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph)

Dependencies will be installed during the progress, but installing them on your own is advised.

Installation

$ wget https://github.com/tmiland/csf/raw/master/csf_installer.sh
$ chmod +x csf_installer.sh
$ ./csf_installer.sh --install
  • Webmin module will be installed automatically if Webmin is installed.
    • Not currently tested Script command which will run: /usr/share/webmin/install-module.pl /usr/local/csf/csfwebmin.tgz
  • For manually installing the module: Log in to Webmin and install the CSF module from /usr/local/csf/csfwebmin.tgz

Offline installation

Clone this repository or download csf_installer.sh and download the following file manually into the install script path:

CSF Archive

Run csf_installer.sh --install

Uninstallation

  • Run csf_installer.sh --uninstall

You may find some error messages in the log about apf. If you don't know what apf is or you don't have apf installed just ignore these messages.

For further info check Official website or Installation notes

changelog

Credits

Forked from installation

Donations

  • PayPal me
  • [BTC] : 33mjmoPxqfXnWNsvy8gvMZrrcG3gEa3YDM

Web Hosting

Sign up for web hosting using this link, and receive $100 in credit over 60 days.

DigitalOcean

Disclaimer

*** Use at own risk ***

License

MIT License Image

MIT License