Skip to content

Release Candidate Validation

tuteng edited this page Nov 6, 2019 · 14 revisions

Download the binary distributions

Unzip the server distribution apache-pulsar-manager-<release>-bin.tar.gz. The unzipped binary is in a directory called apache-pulsar-manager-<release>. All the operations below happen within that directory.

Validation checksum

shasum -a 512 apache-pulsar-manager-<release>-src.tar.gz
shasum -a 512 apache-pulsar-manager-<release>-bin.tar.gz

Start Pulsar standalone

./bin/pulsar standalone -nss -a 127.0.0.1
cd apache-pulsar-manager-<release>

Start Pulsar Manager backend service

java -jar pulsar-manager.jar 

Start Pulsar Manager frontend service

  1. Install Nginx.
  • Mac
brew install nginx
  • Ubuntu
apt-get install nginx
  • Centos
yum install -y nginx
  1. Copy the Nginx configuration file nginx.conf to the Nginx server.
worker_processes  1;

events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    #access_log  logs/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;

    #gzip  on;

    server {
        listen       9527;
        server_name  0.0.0.0;

        location / {
            root   /usr/local/var/www;
            index  index.html index.htm;
        }

        location /admin {
          proxy_pass http://localhost:7750;
        }

        location /pulsar-manager {
          proxy_pass http://localhost:7750;
        }

        location /lookup {
          proxy_pass http://localhost:7750;
        }
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   /usr/local/var/www;
        }
    }
}
  1. Copy static resource.
cp -r dist/* /usr/local/var/www/
  1. Start the Nginx server.
cp nginx.conf /usr/local/etc/nginx/
nginx -t
nginx
  1. Open the website http://localhost:9527 and log in to. Username: pulsar Password: pulsar

  2. Validate the login.

  3. Validate a new environment.

  4. Validate a tenant.

  5. Validate a namespace.

  6. Validate a topi.c

  7. Validate a subscription.

  8. Validate a cluster.

  9. Stop nginx.

nginx -s stop
Clone this wiki locally