splunk_centos7
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
splunk_centos7 [2015/01/06 19:23] – [Install and configure Splunl] admin | splunk_centos7 [2015/01/06 19:28] – [Install and configure Splunl] admin | ||
---|---|---|---|
Line 26: | Line 26: | ||
* Configure time sync (chrony). | * Configure time sync (chrony). | ||
* Configure firewall, open ports for splunk. | * Configure firewall, open ports for splunk. | ||
- | ====Install and configure | + | ====Install and configure |
* Download Splunk rpm. | * Download Splunk rpm. | ||
* Create splunk user:< | * Create splunk user:< | ||
Line 32: | Line 32: | ||
* Install Splunk:< | * Install Splunk:< | ||
* Accept license:< | * Accept license:< | ||
- | * Create systemd service **/ | + | * Create systemd service **/ |
- | | + | Description=Splunk |
- | | + | After=network.target |
- | + | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | | + | |
- | | + | |
+ | [Service] | ||
+ | RemainAfterExit=yes | ||
+ | ExecStart=/ | ||
+ | ExecStop=/ | ||
+ | ExecReload=/ | ||
+ | User=splunk | ||
+ | Group=splunk | ||
- | cd / | + | [Install] |
- | ln -sf /usr/ | + | WantedBy=multi-user.target</ |
+ | * Enable auto start at boot:< |
splunk_centos7.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1