Tag Archive for: dpkg

[Splunk revision update] Update splunk version ubuntu

19 Oct
October 19, 2019

1. Download and update using dpkg -i <splunk package>.

user@Lnx:~$ sudo dpkg -i splunk-7.3.2-c60db69f8e32-linux-2.6-amd64.deb 
[sudo] password for <user>: 
(Reading database ... 235721 files and directories currently installed.)
Preparing to unpack splunk-7.3.2-c60db69f8e32-linux-2.6-amd64.deb ...
This looks like an upgrade of an existing Splunk Server. Attempting to stop the installed Splunk Server...
Stopping splunkd...
Shutting down.  Please wait, as this may take a few minutes.
..
Stopping splunk helpers...

Done.
Unpacking splunk (7.3.2) over (7.3.1) ...
Setting up splunk (7.3.2) ...
complete
user@Lnx:~$

2. Update and start service.

user@Lnx:~$ cd /opt/splunk/bin/
user@Lnx:/opt/splunk/bin$ sudo ./splunk enable boot-start
Do you agree with this license? [y/n]: y
Perform migration and upgrade without previewing configuration changes? [y/n] y

3. Restart Splunk service

user@Lnx:~$ sudo service splunk restart

4. Visit splunk url on host.

http://127.0.0.1:51546
© Copyright - HHGG It's 42