Chinaunix首页 | 论坛 | 博客
  • 博客访问: 136539
  • 博文数量: 27
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 17
  • 用 户 组: 普通用户
  • 注册时间: 2015-01-06 15:12
文章分类
文章存档

2015年(27)

分类: 系统运维

2015-02-13 20:04:50

一.
环境:Centos 6.5 64 bit
下载:download.splunk.com
选择:
注意:下载安装包前需要注册。

二.
安装

点击(此处)折叠或打开

  1. tar -zxvf splunk-6.2.1-245427-Linux-x86_64.gz
  2. cd ..
  3. mv splunk /usr/local
  4. [root@centos bin]# ./splunk enable boot-start
    Init script installed at /etc/init.d/splunk.
    Init script is not configured to run at boot.
    #splunk新特点,使用enable boot-start加入/etc/init.d/splunk,相比以前方便了不少。
  5. #关于./splunkd enable boot-start
  6. #大家可以使用:./splunk help boot-start,查看官方该解释。
  7. 检查是否自启动:
    [root@centos bin]# chkconfig --list splunk
  8. splunk             0:关闭    1:关闭    2:启用    3:启用    4:启用    5:启用    6:关闭

  9. 启动splunk
  10. [root@centos bin]# /etc/init.d/splunk start
    Starting Splunk...

    Splunk> Finding your faults, just like mom.

    Checking prerequisites...
        Checking http port [8000]: open
        Checking mgmt port [8089]: open
        Checking appserver port [127.0.0.1:8065]: open
        Checking kvstore port [8191]: open
        Checking configuration...  Done.
            Creating: /usr/local/splunk/var/run/splunk
            Creating: /usr/local/splunk/var/run/splunk/appserver/i18n
            Creating: /usr/local/splunk/var/run/splunk/appserver/modules/static/css
            Creating: /usr/local/splunk/var/run/splunk/upload
            Creating: /usr/local/splunk/var/spool/splunk
            Creating: /usr/local/splunk/var/spool/dirmoncache
            Creating: /usr/local/splunk/var/lib/splunk/authDb
            Creating: /usr/local/splunk/var/lib/splunk/hashDb
        Checking critical directories...    Done
        Checking indexes...
            Validated: _audit _blocksignature _internal _introspection _thefishbucket history main summary
        Done
    New certs have been generated in '/usr/local/splunk/etc/auth'.
        Checking filesystem compatibility...  Done
        Checking conf files for problems...
        Done
    All preliminary checks passed.

    Starting splunk server daemon (splunkd)...  
    Generating a 1024 bit RSA private key
    ......................++++++
    ...++++++
    writing new private key to 'privKeySecure.pem'
    -----
    Signature ok
    subject=/CN=centos/O=SplunkUser
    Getting CA Private Key
    writing RSA key
    Done
                                                               [确定]

    Waiting for web server at to be available.... Done


    If you get stuck, we're here to help.  
    Look for answers here:

    The Splunk web interface is at


安装完成!
访问地址:127.0.0.1:8000
注意:第一次安装默认用户名和密码是:admin/changeme
需要自己重新设置密码。


阅读(2539) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~