Installation Manual

 


Step 1: Unpack the software

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.

Contents

Step 1: Unpack the software

Platform-specific installers come in both a package form and a tarball. The Linux build comes in three forms: RPM, deb and tarball. The FreeBSD installer and tarball are both .tgz files. 5.4-intel is the installer, i386 is the tarball.


Follow the instructions for your specific package or tarball.


RPM

Basic install:


rpm -i splunk-2.1-0.i386.rpm

Override the default installation directory /opt/splunk:


rpm -i --prefix=/opt/splunk2.1/splunk  splunk-2.1-0.i386.rpm

If you would like to verify the rpm package signature, you can find our GPG public key here.


deb

Basic install:


dpkg -i splunk-2.1-linux-2.6-intel.deb

The Splunk deb package currently cannot be installed in a directory other than its default, /opt/splunk.


Uninstall:


dpkg -r splunk

Purge (delete everything, even config files):


dpkg -P splunk

Splunk package status:


dpkg --status splunk

List all packages:


dpkg --list

FreeBSD

Basic install:


pkg_add splunk-2.1-freebsd-5.4-intel.tgz

Override the default installation directory /opt/splunk:


pkg_add -v -p /usr/splunk splunk-2.1-freebsd-5.4-intel.tgz

Uninstall:


pkg_delete splunk

Uninstall from a non-default directory:


pkg_delete -p /usr/splunk splunk

Splunk package info:


pkg_info -L splunk

List all packages:


pkg_info

Other modifications for BSD

You need this in /boot/loader.conf:


kern.maxdsiz=\"2147483648\" # 2GB
kern.dfldsiz=\"2147483648\" # 2GB

You need this in /etc/sysctl.conf:


vm.max_proc_mmap=2147483647
machdep.hlt_cpus=0

Mac OS

Basic install:


  1. Double-click on splunk.pkg

Override the default installation directory /Applications/splunk:


Command-line install:


installer -pkg splunk.pkg

Command-line install to a different disk or partition:


installer -pkg splunk.pkg -target /Volumes/LaCie\ Disk

-target specifies a target volume, such as another disk, where Splunk will be installed in /Applications/splunk .


To install into a directory other than /Applications/splunk on any volume, use the graphical installer as described above.


Solaris

Basic install:


pkgadd -d splunk.pkg

Override the default installation directory /opt/splunk:


pkgadd -a none -d splunk.pkg 

And then specify the new package base directory when prompted.


Uninstall:


pkgrm splunk

Splunk package info:


pkginfo -l splunk

List all packages:


pkginfo

This documentation applies to the following versions of Splunk: 3.0 , 3.0.1 View the Article History for its revisions.


You must be logged into splunk.com in order to post comments. Log in now.

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.

Feedback submitted, thanks!