Wednesday, July 29, 2015

Kibana 4 Test

  1. 2014.11.07
    1. basic authentication (temporal method)
      1. sudo su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm'
      2. sudo yum install nginx
      3. sudo yum -y install httpd-tools
      4. sudo htpasswd -c /etc/nginx/conf.d/.htpasswd tester
      5. cd /etc/nginx/conf.d
      6. sudo vim kibana.conf
        1. server {
                  listen       9201;
                  server_name  hadoopdev-03;
                  charset utf-8;
                  
                  location / {
                      auth_basic "Restricted";
                      auth_basic_user_file /etc/nginx/conf.d/.htpasswd;
                      root   /opt/kibana;
                      index  index.html index.htm;
                  }
          }
      7. cd /opt/
      8. sudo wget https://download.elasticsearch.org/kibana/kibana/kibana-3.1.1.zip
      9. sudo unzip kibana-3.1.1.zip
      10. cd kibana-3.1.1/
      11. sudo vim config.js
      12. elasticsearch: "http://x.x.x.x:9200",
      13. cd ..
      14. sudo ln -s kibana-3.1.1/ kibana
      15. sudo service nginx start
      16. http://x.x.x.x:9201/#/dashboard/elasticsearch/Security_Team

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.