Splunk 설치 편집하기

경고: 로그인하지 않았습니다. 편집을 하면 IP 주소가 공개되게 됩니다. 로그인하거나 계정을 생성하면 편집자가 사용자 이름으로 기록되고, 다른 장점도 있습니다.

편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.

최신판 당신의 편집
19번째 줄: 19번째 줄:
==설치==
==설치==
* splunk-5.0.3-163460-linux-2.6-x86_64.rpm를 서버로 업로드
* splunk-5.0.3-163460-linux-2.6-x86_64.rpm를 서버로 업로드
<syntaxhighlight lang='console'>
<source lang='console'>
[root@zetawiki ~]# rpm -ivh splunk-5.0.3-163460-linux-2.6-x86_64.rpm
[root@zetawiki ~]# rpm -ivh splunk-5.0.3-163460-linux-2.6-x86_64.rpm
warning: splunk-5.0.3-163460-linux-2.6-x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 653fb112
warning: splunk-5.0.3-163460-linux-2.6-x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 653fb112
38번째 줄: 38번째 줄:
Complete documentation is at http://docs.splunk.com/Documentation/Splunk
Complete documentation is at http://docs.splunk.com/Documentation/Splunk
-------------------------------------------------------------------------
-------------------------------------------------------------------------
</syntaxhighlight>
</source>


==최초 실행==
==최초 실행==
<syntaxhighlight lang='console'>
<source lang='console'>
[root@zetawiki ~]# /opt/splunk/bin/splunk start --accept-license
[root@zetawiki ~]# /opt/splunk/bin/splunk start --accept-license


102번째 줄: 102번째 줄:


The Splunk web interface is at http://jmnote:8000
The Splunk web interface is at http://jmnote:8000
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
[root@zetawiki ~]# netstat -anp | grep 80
[root@zetawiki ~]# netstat -anp | grep 80
tcp        0      0 0.0.0.0:8000                0.0.0.0:*                  LISTEN      2080/python         
tcp        0      0 0.0.0.0:8000                0.0.0.0:*                  LISTEN      2080/python         
tcp        0      0 0.0.0.0:8089                0.0.0.0:*                  LISTEN      2021/splunkd
tcp        0      0 0.0.0.0:8089                0.0.0.0:*                  LISTEN      2021/splunkd
</syntaxhighlight>
</source>
:→ 8000 포트이 웹용, 8089 포트가 관리용이다.<ref>http://docs.splunk.com/Documentation/Splunk/5.0.3/Admin/Changedefaultvalues#Change_network_ports</ref>
:→ 8000 포트이 웹용, 8089 포트가 관리용이다.<ref>http://docs.splunk.com/Documentation/Splunk/5.0.3/Admin/Changedefaultvalues#Change_network_ports</ref>


==자동 시작 설정==
==자동 시작 설정==
재부팅시에 자동으로 시작되도록 하자.
재부팅시에 자동으로 시작되도록 하자.
<syntaxhighlight lang='console'>
<source lang='console'>
[root@zetawiki ~]# /opt/splunk/bin/splunk enable boot-start
[root@zetawiki ~]# /opt/splunk/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.
</syntaxhighlight>
</source>
:→ 서비스로 등록되고 자동시작 설정이 되었다고 한다.
:→ 서비스로 등록되고 자동시작 설정이 되었다고 한다.
<syntaxhighlight lang='console'>
<source lang='console'>
[root@zetawiki ~]# service splunk status
[root@zetawiki ~]# service splunk status
Splunk status:
Splunk status:
124번째 줄: 124번째 줄:
splunk helpers are running (PIDs: 2022).
splunk helpers are running (PIDs: 2022).
splunkweb is running (PID: 2080).
splunkweb is running (PID: 2080).
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
[root@zetawiki ~]# chkconfig --list | grep splunk
[root@zetawiki ~]# 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
</syntaxhighlight>
</source>
:→ 잘 설정되어 있음을 확인할 수 있다.
:→ 잘 설정되어 있음을 확인할 수 있다.


제타위키에서의 모든 기여는 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0 라이선스로 배포된다는 점을 유의해 주세요(자세한 내용에 대해서는 제타위키:저작권 문서를 읽어주세요). 만약 여기에 동의하지 않는다면 문서를 저장하지 말아 주세요.
또한, 직접 작성했거나 퍼블릭 도메인과 같은 자유 문서에서 가져왔다는 것을 보증해야 합니다. 저작권이 있는 내용을 허가 없이 저장하지 마세요!

취소 편집 도움말 (새 창에서 열림)

이 문서에서 사용한 틀: