CSF Instalation (config server firewall)

CSF Instalation (config server firewall)

CSF installation on servers with cPanel SSH onto the box and sudo as root, go into the normal user home folder (should be /home/plugandplayroot) and execute the following: wget https://download.configserver.com/csf.tgz tar -xzf csf.tgz cd csf sh install.sh This will take care of installing the firewall, now for the configuration. PS: leave your ssh connection opened since it will be required again. Login to the box whm console and search for firewall, from here we go to Firewall configuration. Configuration –…

Read More Read More

Create Centos 6.6 startup script

Create Centos 6.6 startup script

How to start a custom script/app on CentOs boot Open a terminal and as root go to /etc/init.d/ Create the file here with whatever name you want, we will use gitlab as an example. Copy and paste the code below into the file and change it as per your application requirements: #!/bin/bash # # gitlab GitLab Docker container 7.9 # # chkconfig: 345 70 30 # description: GitLab Docker container 7.9 # processname: gitlab # Source function library. . /etc/init.d/functions…

Read More Read More

%d bloggers like this: