Wednesday 6 April 2016

Install splunk 6.4.0 in ubuntu 14.04LTS


First check your operating system configuration. Based on that download splunk .In my caase I downloaded 64bit.
If you want to check your operating system configuration use uname –a command


Download .deb file .If you are new user it will ask registration once completed registration. Now you can download the file.


After download is completed you can install it using dpkg command like below.
dpkg -i /home/madhu/Downloads/splunk-6.4.0-f2c836328108-linux-2.6-amd64.deb

then you will get like below.

Selecting  previously  unselected package splunk.
(Reading database ... 20803 files and directories currently installed.)
Unpacking splunk (from splunk-6.4.0-204106-linux-2.6-amd64.deb) .
Setting up splunk (6.0.3-204106) .
Complete


Next we need to create the init.d script so that we can easily start and stop Splunk.Change the 
Splunk directory and run the splunk executable with the below arguments.

1
2
 cd /opt/splunk/bin/
   ./splunk enable boot-start



Now it will ask licence and agreement then enter  Y  for accepting licence.

Now start the splunk service

Sudo /opt/splunk/bin/splunk start
Now you can access splunk web ui  http://ipaddress:8000  or its created ui base on your  account like
http://madhu-vb:8000

By default login credentials  is
User name: admin
Password  : changeme