Install OpenResty Edge Node
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
- Your Log Server’s IP and port, corresponding to
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
openresty-edge-VERSION.tar.gzto the current directory
tar -xvf openresty-edge-VERSION.tar.gz
- Run the installer
cd openresty-edge-VERSION sudo /bin/bash openresty-edge-installer.sh
- Enter the action you want to perform
What would you like to do?  Install  Upgrade  Downgrade  Uninstall 1 What you choose is: Install.
- Enter the version you want to install (The latest version information can be obtained from Changelog)
Which version would you like to install? (like 22.6.1) 22.6.1
- Enter the component you want to install
Which component would you like to install?  Edge Admin DB  Log Server DB  Edge Admin  Log Server  Edge Node 5 What you choose is: Edge Node.
- If successful, the following prompt will be displayed at the end
Install Edge Node successfully!
3. Modify the OpenResty Edge Node configuration
Modify the configuration file
/usr/local/oredge-node/conf/config.ini with the following contents：
Note: ADMIN_HOST, ADMIN_PORT, LOG_SERVER_HOST, LOG_SERVER_PORT should be replaced with the actual values.
# # NOTICE: please feel free to edit these configurations if necessary. # [admin] # admin server host, default: host = "ADMIN_HOST" port = "ADMIN_PORT" [log_server] # log server host, default: host = "LOG_SERVER_HOST" port = "LOG_SERVER_PORT"
Restart the service after modifying the configuration file:
sudo systemctl start upgrade-oredge-node
The installation of OpenResty Edge Node is now complete.
4. Getting Started
Login to Edge Admin website:
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.
If you have any questions, please contact us.