...
Get the program here: https://www.vagrantup.com/downloads.html
...
Tips and Notes
- Any files in the same (host) directory as the vagrant file will be shared with the VMs under /vagrant/
...
Bringing Up A Splunk Instance
Using this recipe file (Splunk Vagrantfile) from Lynda.com Learning Splunk, you can bring up an instance of Splunk on VirtualBox.
Code Block | ||
---|---|---|
| ||
vagrant up |
...
SSH Into Splunk Instance
Code Block | ||
---|---|---|
| ||
vagrant ssh splunk |
...
Download and Install Splunk
Download free version of Splunk and install it
Code Block | ||
---|---|---|
| ||
sudo su -
wget -O splunk-7.3.1-bd63e13aa157-linux-2.6-amd64.deb 'https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=linux&version=7.3.1&product=splunk&filename=splunk-7.3.1-bd63e13aa157-linux-2.6-amd64.deb&wget=true'
dpkg -i splunk-7.3.1-bd63e13aa157-linux-2.6-amd64.deb |
...
Set Initial Admin Password
Code Block | ||
---|---|---|
| ||
/opt/splunk/bin/splunk start |
...
Set Splunk To Run At Boot Time
Use these commands to set splunk to auto-start on boot.
Code Block | ||
---|---|---|
| ||
cd /opt/splunk/bin
./splunk enable boot-start
systemctl enable splunk
systemctl start splunk |
...
Connect To Web Interface
In a browser, connect to this IP address which the VB Splunk vm has been set to.
Code Block | ||
---|---|---|
| ||
http://192.168.33.10:8000 |