Skip to content

Setting)) Webserver

ilgwonPark edited this page Nov 13, 2018 · 4 revisions

WEB SERVER SETTING.

  1. DOWNLOAD CentOS image to the destination folder from below link.

    /home/cloudera/

    https://s3-us-west-2.amazonaws.com/pulzze-interactor/4.0.0/interactor_4.0.0-rc.7_centos_0608.tar.gz

  2. Back-end Server Setting

    tar -xzvf interactor_4.0.0-rc.7_centos_0608.tar.gz

    cd /interactor/

    ./interactor_connect/ (pw:interactor)

    admin

    license (license Id) (license Pw)

  3. Webserver configuration

     workspace SADITM
    
     interface webserver
    
       port : 4000
    
       type : "http server"
    
       on /# : do
    
         File.read!("/home/cloudera/interactor/webserver/index.html")
    
       exit
    
     exit
    
     start interface webserver
    
  4. index.html file

    iframe tag is different in each Kibana setting.

     <!DOCTYPE html>
     <html>
       <head>
         <meta charset="utf-8">
         <title>TEST PAGE</title>
       </head>
       <body>
         <iframe src="http://seoultech.iptime.org:4601/app/kibana#/dashboard/a11c3-231bfb7a?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3A'2018-08-14T07%3A00%3A00.000Z'%2Cmode%3o%3A'2018-11-13T09%3A59%3A38.736Z'))"style="width:100%; height:100%;top:0;bottom:0;left:0;right:0;position:fixed"></iframe>
       </body>
     </html>
    

You can check your home page with below url

http://localhost:4000

Written by ilgwonpark

Clone this wiki locally