How to Check the Linux System Configuration?

 [email protected]:~# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 58
Model name: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
Stepping: 9
CPU MHz: 1693.375
CPU max MHz: 3500.0000
CPU min MHz: 1600.0000
BogoMIPS: 6185.52
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm epb ssbd ibrs ibpb stibp kaiser tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts flush_l1d
r[email protected]:~#

Elastic Search is showing Status Failed to Restart

Elastic Search is showing Status Failed to Restart:

  The Previously Elastic search is not working? then please follow these steps::
Remove previous versions of ElasticSearch:
sudo apt-get --purge autoremove elasticsearch
Remove the Elastic Search directories:
sudo rm -rf /var/lib/elasticsearch/

sudo rm -rf /etc/elasticsearch
Now, Re Install ElasticSearch 1.6 (as your version required ):
Downloading and Installing Elasticsearch

Elasticsearch can be downloaded directly from in zip, tar.gz, deb, or rpm packages. For Ubuntu, it’s best to use the deb (Debian) package which will install everything you need to run Elasticsearch.

At the time of this writing, the latest Elasticsearch version is 1.7.2. Download it in a directory of your choosing with the command:


Then install it in the usual Ubuntu way with the dpkg command like this:

sudo dpkg -i elasticsearch-1.6.0.deb
 If you want the latest released version of Elasticsearch, go to to find the link, and then use wget to download it to your Droplet. Be sure to download the deb package.
Go to your elastic search downloaded directory and
cd /.../downloads/.....
now, run this command,
sudo dpkg -i elasticsearch-1.6.0.deb
Selecting previously unselected package elasticsearch.
(Reading database … 215950 files and directories currently installed.)
Preparing to unpack elasticsearch-1.7.2.deb …
Creating elasticsearch group… OK
Creating elasticsearch user… OK
Unpacking elasticsearch (1.7.2) …
Setting up elasticsearch (1.7.2) …
Processing triggers for systemd (229-4ubuntu21.2) …
Processing triggers for ureadahead (0.100.0-19) …
ureadahead will be reprofiled on next reboot
Now, Start the Elastic search service,
sudo service elasticsearch start
Check the Elastic search, is it working,
sudo service elasticsearch status
Now, Check in your local machine Elastic Search is working or not…
For Output in local machine: type:
# Result::


  "status" : 200,

  "name" : "Skin",

  "cluster_name" : "elasticsearch",

  "version" : {

    "number" : "1.7.2",

    "build_hash" : "e43676b1385b8125d647f593f7202acbd816e8ec",

    "build_timestamp" : "2015-09-14T09:49:53Z",

    "build_snapshot" : false,

    "lucene_version" : "4.10.4"


  "tagline" : "You Know, for Search"