Install Elasticsearch 5.0 on RHEL / CentOS

Install Elasticsearch on RHEL / CentOS This article will cover install Elasticsearch version on CentOS and RHEL distribution. Also guideline to change to Default Cluster and Index settings in Elasticsearch So Let's start with prerequisites Prerequisites: As per the recommendation Elasticsearch need or later and only Oracle’s Java and the…
More..
Linux

Deleting Lines Containing Specific string from multiple files

Deleting Lines Containing Specific string from multiple files recursively Syntax: grep -Rl "STRING" /directory/path/ | xargs sed -i "/STRING/d" Example: Below example delete lines containing @license tag from src/main/php directory all files recursively grep -Rl "@license" src/main/php | xargs sed -i "/@license/d" Option Description: -R or --dereference-recursive For each directory…
More..
12
TechieRoopTutorials, Programming Solutions, Tips & Tricks 2017