Make hosts file editable with out sudo

Make hosts file editable with out sudo

hosts file allow you to override DNS. This will allow you to point a domain to difernt IP address on

Creating Software RAID 5

RAID 5 Requires 3 or more physical disks. It provides the redundancy of RAID 1 combined with the speed and

How to increase /tmp partition size

How to increase /tmp partition size

On a Linux server /tmp partition was only 1 GB, it get full at times. Server had following in its

Lock User Account in Linux

Lock User Account in Linux

To lock a Linux User account, run You can verify the account is locked with command Example See usermod

Find limit search depth

Find limit search depth

I wanted to find some files inside sub directory of current folder. To do this, find have maxdepth option. This

Set vim as default cronjob editor

Set vim as default cronjob editor

Method 1 Find Replace with Method 2 edit .bash_profile Add Once added, .bash_profile will look like Method 3 If you

xdotool

xdotool

xdotool lets you programmatically simulate keyboard input and mouse activity, move and resize windows, etc. To search for an application

brctl

brctl

brctl show brctl showmacs br0 brctl showstp br0

Block Country in CSF firewall

Block Country in CSF firewall

CSF firewall can block all traffic from a country or list of countries using the GeoIP database. To block a

Can’t locate version.pm in @INC

Can’t locate version.pm in @INC

I got error “Can’t locate version.pm in @INC” running awk. On CentOS, this error is fixed by running See Errors

Plesk Mail not working amavis error

When sending email from a Plesk server, i get error This is beccause amavis service is not running. It is

Install elasticsearch on CentOS 7

Install elasticsearch on CentOS 7

To install elasticsearch, first install java Import key Create file Paste following Install elasticsearch Set elastic search to start on