Author Archives: Roopendra - Page 8
Install RPM in CentOS
Install RPM in CentOS RPM Package Manager (RPM), originally called the Red-hat Package Manager, is a program to install or uninstall software packages or libraries in Linux. To install RPM…
How to use CURL with Proxy
This post will be demonstrating how to use curl with proxy in PHP and Linux command line. What is additional parameter we need to pass while using curl via proxy.…
Rename all Files in the Directory
Here is the simple shell script to rename all files in the folder with increasing number. In below example I am going to rename all jpg image with increasing number.…
Run Mysql Query from Command Line
Shell script to run mysql query from command line without login into mysql command prompt. You can use these shell script for quickly execution of MySQL query from a Linux Shell. Method…
Start mysql server if not running
Here is the simple shell script to start the mysql service if the service is stopped. #!/bin/bash SERVICE='mysql' if ps ax | grep -v grep | grep $SERVICE > /dev/null…
Test Elasticsearch Query Performance
I am using two tool to benchmark query performance of an Elasticsearch server. Initially I faced problem to test elasticsearch query performance for large elasticsearch query as it's very hard…
Apache Bench for load testing and performance benchmark
Apache Bench for Load Testing AB( Apache Bench) is a command line utility to measure performance of any web server. It's originally designed to test the Apache HTTP server. AB…
Siege a simple load testing and benchmarking tool
Siege is simple load testing and benchmarking tool. Siege support GET and POST method to test your webservers through cookies, HTTP , HTTPS and FTP protocols. You can test single…
Install Elasticsearch using Repositories
Install Elasticsearch using Repositories You can easily install Elasticsearch using APT and YUM repository - Install Elasticsearch Using APT repository - Install Elasticsearch Using Yum repository Install Elasticsearch on Debian:…
Run Jenkins Build From Command Line
Run Jenkins build from command is very simple in Linux system. Jenkins has support to command line client that allows you to access Jenkins from command line. To Trigger Jenkins…