LInstructions for deploying wgcloud on Linux (using CentOS as an example for installation)
Firstly, let's download the installation package. Actually, Windows deployment is relatively simple, just unzip and start up. However, the prerequisite is that we need to prepare MySQL and configure JDK 1.8 (JDK and MySQL are required on the server side, but not on the agent side)
1、Install MySQL
If MySQL is needed, there is no need to install it. MySQL does not necessarily need to be installed on the same host as the server, it can be installed on other hosts as long as the server host can access MySQL
WGCLOUD also supports MariaDB, PostgreSQL, SQLServer, and Oracle as data sources. Here, I will take MySQL as an example to illustrate
The server side needs to connect to the database, while the agent does not need to connect to the database. The database can be installed on the same host as the server
If you have already installed it, please continue reading below
JDK11 is also available, and higher JDK versions are also possible. The server side requires JDK, while the agent side does not require JDK or other dependent components. If you have already installed it, please continue reading below
MySQL installation can simply default to the next step. There is also a lot of information available online, so the specific installation steps will not be described here
6、Extract installation package
7、Modify the MySQL database connection information, server/config/application.yml
Change the information in the red box in the following image to your own actual MySQL information
8、Start the server
Attention: Linux checks whether the files in the red box below have executable permissions. If not, assign executable permissions
./start.sh Start the program, ./stop.sh Stop the program
After startup, be careful not to close the daemon process, wgcloud-daemon-release
9、Start the agent
Attention: Linux checks whether the files in the red box below have executable permissions. If not, assign executable permissions
./start.sh Start the program, ./stop.sh Stop the program
Please note that the server URL for agent/config/application.properties needs to be changed to the IP and port of the server host