You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by gu...@apache.org on 2019/11/05 02:29:50 UTC
[pulsar-manager.wiki] branch master updated: Created Release
Candidate Validation (markdown)
This is an automated email from the ASF dual-hosted git repository.
guangning pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-manager.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new 1c6de93 Created Release Candidate Validation (markdown)
1c6de93 is described below
commit 1c6de930bb920292695a54826ccb07efef1a2bc4
Author: tuteng <eg...@gmail.com>
AuthorDate: Tue Nov 5 10:29:47 2019 +0800
Created Release Candidate Validation (markdown)
---
Release-Candidate-Validation.md | 130 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 130 insertions(+)
diff --git a/Release-Candidate-Validation.md b/Release-Candidate-Validation.md
new file mode 100644
index 0000000..41094d7
--- /dev/null
+++ b/Release-Candidate-Validation.md
@@ -0,0 +1,130 @@
+# 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.
+
+## 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
+```
+
+2. 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;
+ }
+ }
+}
+```
+
+3. Copy static resource.
+
+```
+cp -r dist/* /usr/local/var/www/
+```
+
+4. Start the Nginx server.
+
+```
+cp nginx.conf /usr/local/etc/nginx/
+nginx -t
+nginx
+```
+
+5. Open the website http://localhost:9527 and log in to.
+Username: pulsar
+Password: pulsar
+
+
+6. Validate the login.
+
+7. Validate a new environment.
+
+8. Validate a tenant.
+
+9. Validate a namespace.
+
+10. Validate a topi.c
+
+11. Validate a subscription.
+
+12. Validate a cluster.
+
+13. Stop nginx.
+
+```
+nginx -s stop
+```
\ No newline at end of file