Ubuntu18.04安装splunk
1.官网下载包splunk deb
2.安装
dpkg -i splunk-xx.deb
3. 设置用户名密码
cd /opt/splunk/bin ./splunk #设置登录用户名和密码
4.修改端口
./splunk set web-port 8001
5.如果报错
vi /opt/splunk/etc/splunk-launch.conf
添加(或修改)
OPTIMISTIC_ABOUT_FILE_LOCKING = 1
再重启splunk
./splunk restart #/opt/splunk/bin