Install OpenResty Edge Node
Notice
The following documents/information need to be prepared before installation.
- Configuration package:
openresty-edge-VERSION.tar.gz
, download from Download Center. - Your Edge Admin’s IP and port, corresponding to
ADMIN_HOST
andADMIN_PORT
below. - Your Log Server’s IP and port, corresponding to
LOG_SERVER_HOST
andLOG_SERVER_PORT
below.
1. Preparation
If your network has a firewall, you need to add the following whitelist.
openresty.com 443
openresty.org 443
pkg.openresty.com 443
ADMIN_HOST ADMIN_PORT
LOG_SERVER_HOST LOG_SERVER_PORT
2. Install OpenResty Edge Node
Copy
openresty-edge-VERSION.tar.gz
to the current directoryDecompress
tar -xvf openresty-edge-VERSION.tar.gz
- Run the installer
cd openresty-edge-VERSION
sudo /bin/bash openresty-edge-installer.sh -a install -c node --admin-host ADMIN_HOST --log-server-host LOG_SERVER_PORT
# Example:
sudo /bin/bash openresty-edge-installer.sh -a install -c node --admin-host admin.trial.openresty.com --log-server-host logserver.trial.openresty.com
Please replace ADMIN_HOST
and LOG_SERVER_PORT
in the command line with the actual values, and then follow the interactive prompts to complete the installation.
3. Getting Started
Login to Edge Admin website:
URL:
https://ADMIN_HOST
If you are trying Edge, the URL and account password for Edge Admin will be sent with your trial email.
For the trial version, admin is deployed on our machines, while for the future purchase of the full version, we will provide the installation package for self-deployment.
After login, go to the gateway clusters tab, there you will see the join request from the newly deployed node.
According to the information in the join request, confirm that it is your own node, and then click approve.
The procedure of approval is to add a new node to a gateway cluster. So before you approve, you need to create a cluster on the GUI, and then you can choose when you approve.
More:
If you have any questions, please contact us.