Search Multiple Words or String Pattern

Search Multiple Words or String Pattern

Search is the most important factor which we often used in our daily routine. Some time we need to search multiple words or string in a file, and grep provides the functionality to look into a file and search more than one words. With the combination of grep command and regular expression we can search […]

Create Sub Domain in cPanel

Create Sub Domain in cPanel

Creating sub domain in cpanel is quite simple. To create sub domain in cPanel follow the bellow steps: 1. Login your cpanel account. 2. Click on Subdomain Icon under the Domains section. 3. Fill the subdomain you want to create in the subdomain field. Your complete address should be “subdomain.example.com” 4. Select the main domain […]

How to Install APF Firewall In Linux Servers

How to Install APF Firewall In Linux Servers

APF(Advanced Policy Firewall) is a policy based Iptables firewall system designed for ease of use and configuration. The configuration of APF is quite simple and easy. Below are the steps to install APF firewall: 1. Change to tmp folder to download apf. cd /tmp 2. Download the apf tar file using wget. wget http://www.rfxnetworks.com/downloads/apf-current.tar.gz 3. […]

Disable SeLinux in Linux

Disable SeLinux in Linux

Selinux is an acronym for Security-enhanced Linux. SELinux is a Linux feature that provides the mechanism for supporting access control security policies in the Linux kernel. It is a set of kernel modifications and user-space tools. To disable SELinux temporarily run the following command on shell. $ sudo echo 0 > /selinux/enforce or you can […]