官术网_书友最值得收藏!

Installing Splunk on Linux

You can get Splunk Enterprise for Linux on the Splunk website, starting at this URL: https://www.splunk.com/en_us/download/splunk-enterprise.html.

Create a free account with Splunk from this page, or log in if you already have one. On the Choose Your Download page, click the tab for the operating system (Linux, in this case), and select one of the packaging options—.deb, .tgz, or .rpm. We will choose an .rpm for this example, as the OS is Red Hat Enterprise Linux (RHEL) Server release 7.5 (obtained by typing cat /etc/redhat-release in a Terminal).

Clicking the Download button next to .rpm will start a download process, but it also reveals a link you can click to download the rpm using the command line (wget) – we'll use this option. Clicking the link opens a message box where you can copy the wget command (in this case, your exact filename of the rpm will vary, depending on the version of Splunk you're downloading):

wget -O splunk-7.1.1-8f0ead9ec3db-linux-2.6-x86_64.rpm 'https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64andplatform=linuxandversion=7.1.1andproduct=splunkandfilename=splunk-7.1.1-8f0ead9ec3db-linux-2.6-x86_64.rpmandwget=true'

Logged in with a Terminal as root on your Linux server, from any directory (I used /root), paste the preceding command and press Enter. If you get an error message command not found, you'll need to install wget by typing yum install wget -y.

After verifying that rpm downloaded successfully, install it:

rpm -i splunk-7.1.1-8f0ead9ec3db-linux-2.6-x86_64.rpm

The rpm will install Splunk in the /opt/splunk directory, and all files should have the owner and group as Splunk. That's it! 

主站蜘蛛池模板: 南岸区| 南投市| 龙泉市| 时尚| 五指山市| 沈阳市| 新密市| 沙坪坝区| 论坛| 营口市| 全州县| 巴中市| 乳山市| 津南区| 铜山县| 天台县| 凤城市| 澎湖县| 绥宁县| 嘉义县| 沐川县| 色达县| 扶沟县| 连云港市| 三明市| 通化市| 通渭县| 桦川县| 讷河市| 长沙市| 宁国市| 丘北县| 宁城县| 大足县| 巴楚县| 泗洪县| 房产| 聂荣县| 新河县| 郸城县| 荆州市|