Wednesday, December 7, 2016

Reboot to windows form linux-Only for once

Follow the below steps to boot to windows when you are in Linux.

1. check the entries in grub.cfg
[sudiptakumar_laha@symc Desktop]$ sudo grep '^menuentry' /boot/grub2/grub.cfg
menuentry 'CentOS Linux (3.10.0-327.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.el7.x86_64-advanced-e138508e-48ed-4b19-9bcc-446bbfa2da86' {
menuentry 'CentOS Linux (0-rescue-a962980d35964ca6aa2a4d23e8f02266) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-a962980d35964ca6aa2a4d23e8f02266-advanced-e138508e-48ed-4b19-9bcc-446bbfa2da86' {
menuentry "Windows 7" {


2. Here we see windows 7 is the 3nd meny entry and the index is 2 starting from 0. Hence sent grup-reboot 2

[sudiptakumar_laha@symc Desktop]$ sudo grub2-reboot 2


3. Now reboot your computer.

[sudiptakumar_laha@symc Desktop]$ sudo reboot

Sunday, July 17, 2016

Elasticsearch -Part 1

Brief of elasticsearch

Elastic search organizes your data  a makes it available for online searching.

Similar products:

  1. Apache Lucene

Installation prerequisites:

Installation instructions:

  • Create a directory /elaticsearch  and copy elasticsearch-2.3.4.tar.gz  inside the directory.
  • cd /elasticsearch
  • Extract the elasticserach contents tar -xvf elasticsearch-2.3.4.tar.gz

Starting elastic search

  • Go to the bin directory of the elaticsearch folderextracted folder  and execute the below command.
  • /elasticsearch

Verify elastic search install




About Me