편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
13번째 줄: | 13번째 줄: | ||
*내려받은 파일을 서버<ref>스플렁크 클라이언트들 중 하나</ref>에 업로드 | *내려받은 파일을 서버<ref>스플렁크 클라이언트들 중 하나</ref>에 업로드 | ||
*rpm 설치 | *rpm 설치 | ||
<source lang=' | <source lang='cli'> | ||
[root@client01 ~]# rpm -ivh splunkforwarder-5.0.3-163460-linux-2.6-x86_64.rpm | [root@client01 ~]# rpm -ivh splunkforwarder-5.0.3-163460-linux-2.6-x86_64.rpm | ||
warning: splunkforwarder-5.0.3-163460-linux-2.6-x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 653fb112 | warning: splunkforwarder-5.0.3-163460-linux-2.6-x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 653fb112 | ||
32번째 줄: | 32번째 줄: | ||
==최초 실행== | ==최초 실행== | ||
<source lang=' | <source lang='cli'> | ||
[root@client01 ~]# /opt/splunkforwarder/bin/splunk start --accept-license | [root@client01 ~]# /opt/splunkforwarder/bin/splunk start --accept-license | ||
57번째 줄: | 57번째 줄: | ||
[ OK ] | [ OK ] | ||
</source> | </source> | ||
<source lang=' | <source lang='cli'> | ||
[root@client01 ~]# netstat -anp | grep :8089 | [root@client01 ~]# netstat -anp | grep :8089 | ||
tcp 0 0 0.0.0.0:8089 0.0.0.0:* LISTEN 1529/splunkd | tcp 0 0 0.0.0.0:8089 0.0.0.0:* LISTEN 1529/splunkd | ||
</source> | </source> | ||
<source lang=' | <source lang='cli'> | ||
[root@client01 ~]# ps -ef | grep splunk | grep -v grep | [root@client01 ~]# ps -ef | grep splunk | grep -v grep | ||
root 1529 1 0 14:44 ? 00:00:00 splunkd -p 8089 start | root 1529 1 0 14:44 ? 00:00:00 splunkd -p 8089 start | ||
68번째 줄: | 68번째 줄: | ||
==자동 시작 설정== | ==자동 시작 설정== | ||
<source lang=' | <source lang='cli'> | ||
[root@client01 ~]# /opt/splunkforwarder/bin/splunk enable boot-start | [root@client01 ~]# /opt/splunkforwarder/bin/splunk enable boot-start | ||
Init script installed at /etc/init.d/splunk. | Init script installed at /etc/init.d/splunk. | ||
Init script is configured to run at boot. | Init script is configured to run at boot. | ||
</source> | </source> | ||
<source lang=' | <source lang='cli'> | ||
[root@client01 ~]# service splunk status | [root@client01 ~]# service splunk status | ||
Splunk status: | Splunk status: | ||
79번째 줄: | 79번째 줄: | ||
splunk helpers are running (PIDs: 2208). | splunk helpers are running (PIDs: 2208). | ||
</source> | </source> | ||
<source lang=' | <source lang='cli'> | ||
[root@client01 ~]# chkconfig --list | grep splunk | [root@client01 ~]# chkconfig --list | grep splunk | ||
splunk 0:off 1:off 2:on 3:on 4:on 5:on 6:off | splunk 0:off 1:off 2:on 3:on 4:on 5:on 6:off |