>> Hi. In this video,
we'll walk through installing Splunk
on Linux via the command line.
The next video covers a Windows installation.
If you want any other options or if you'd
like to follow written instructions for these videos,
please check out the supplemental
materials for this course.
To start off, we'll go to the Splunk website.
You will need to be signed in to download Splunk.
After that, go to products,
and then free trials and downloads.
From here, you can pick if
you want to download Splunk Enterprise or Splunk free.
Now, when I click on Splunk free,
something you might notice is that it
takes me to the site for a Splunk Enterprise.
What happens here is that you
get a free trial of Splunk Enterprise,
and if you don't make a purchase,
it turns into Splunk free,
which has some limitations we talked
about in an earlier video,
such as restricted user options and some other things.
From here, we'll select our download.
For this video, we'll pick
the Linux 64 bit tar installation package.
That's something you can do.
If you look down on the bottom here,
there are options for older and other downloads.
If you don't see what you want up here,
there are lots of other options.
Once you click on "Download
Now," you should get a pop-up to download the file.
You also see that this page has a lot of
useful documentations and even instructional videos here.
If you want to just download this file and
run through the installation, that's fine.
But I'm going to hit "Cancel" and
do something a little bit different.
If you only want to work from the command line,
this page gives you an easy option for the W.
Get you to enter right up here.
You can just copy and paste this into the command line.
This seems a little bit of a roundabout way to do it.
But if, for example,
you're just SSH into the machine,
it might come in handy.
I'm going to do this, and then jump
into the terminal here and just paste that in.
Now I've already downloaded,
so I'm going to skip it here.
But we've got this installation package now.
The next step is to unharmed this file.
Something you'll thank yourself later for,
is using the default directory for Splunk,
which is the app directory.
It makes your life so much easier for following
instructions and keeping track of
where you're at when you do this.
In order to do this,
I'm going to type in tar xvzf,
and then copy and paste this package name,
and then do C and opt.
Then after we're done explaining the file here,
the next thing we need to do is just start it.
Spoon commands are located in
the bin folder under opt Splunk bin,
if you do it like we just did.
To start up,
we'll just go opt,
splunk, bin, splunk, start.
Now you can just enter that,
but I'm going to add in
another step and hit n-type and accept the license.
Just to save myself some scrolling.
Now I'll need to put in
a username and come up with a password.
Confirm the password,
and then we should be good to go.
One thing you'll notice is right here it
says the splunk web interface is
at http vacay 8,000.
That's fine machine name.
If we were to open up a browser,
we can just type that in.
Here we have our live Splunk,
we can log into, and you started with.
Perfect. Another step that could be in
the instructions is setting Splunk to start at boot time.
I'm going to leave this out, but
the instructions are in the supplemental materials.
If you don't set it the next time you log in,
you'll just run the same command
minus the except license part to get us started.
In further videos, we'll be spending most of our time in
the web console and go more in depth
with searches and navigating that.
But thanks for watching.
In the next video,
we'll do this installation on a Windows machine.