Category: Security

Installation, Security

How to install APF firewall

How to install APF firewall Go to the below path cd /usr/local/src Download the tar file using the below link: wget http://www.rfxnetworks.com/downloads/apf-current.tar.gz Untar the file using the below command. tar -zxf apf-current.tar.gz Go to APF folder now. cd apf Fire the below command to install APF firewall. ./install.sh Now edit config file with your favorite editor. pico ...

Installation, Security

How to Install Grsecurity in linux

How to Install Grsecurity in linux First download the kernel using the below link: http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.32/linux-2.6.32.51.tar.gz Then, download gr-security path using the below link: http://grsecurity.net/stable/grsecurity-2.2.2-2.6.32.51-201201021326.patch Extract the kernel using the below command: tar xjf linux-2.6.24.5.tar.gz Then go to the extracted folder. cd linux-2.6.32.51 Patch the kernel using below command. patch -p1 < ../grsecurity-2.1.11-2.6.24.5-200804211829.patch Use the below ...

Apache, CPanel / WHM, Installation, Security

How to install mod security in linux server

How to install mod security in linux server   First check mod_security is enabled on the server. If it is not installed than you can install it through easy apache. Run the below commands to create the directory and give proper permissions. mkdir /var/asl mkdir /var/asl/tmp mkdir /var/asl/data mkdir /var/asl/data/msa mkdir /var/asl/data/audit mkdir /var/asl/data/suspicious chown nobody.nobody ...

Security, Uncategorized

How to disable root login in linux

How to disable root login in linux  Login to shell. Copy and paste below command to server using your favourite editor. pico -w /etc/ssh/sshd_config Find the line Protocol 2, 1 Uncomment it and change it to look like Protocol 2 Next, find the line #PermitRootLogin yes Un-comment it. It looks like PermitRootLogin no Save the ...

Security, Uncategorized

How to check the RAID Drive Status

RAID - Redundant Array of Inexpensive Disks   How to check 3ware RAID drive status Login to the server via SSH. Paste the below command. 3ware /c0 show It will show the status of all RAID drives. If you are getting any error then try using the below RAID command. 3ware maint rescan How to check Adaptech RAID drive status ...