Instructions on how to deploy and install wgcloud on Windows
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 (The server side requires JDK and MySQL, but the agent does not require these two items)
JDK 11 or higher versions of JDK are also acceptable, and the agent side does not require JDK or other dependent components
WGCLOUD also supports MariaDB, PostgreSQL, SQLServer, and Oracle as data sources. Here, I will take MySQL as an example to illustrate
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
The server side needs to connect to the database, while the agent does not need to connect to the database
Create a new database wgcloud, and then import the SQL/wgcloud MySQL. SQL file from the installation package. It is recommended to use a client-side tool for easy import, such as Navicat Premium
6、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
7、Start the server
Double click start.bat to start it
After startup, be careful not to close the daemon process, wgcloud-daemon-release.exe
8、Start the agent
Right click to start and run as administrator, wgcloud-agent-release.exe
If the agent and server are started and run directly on the same host, remember to modify the agent/config/application.properties if they are not on the same host, as shown in the red highlighted information in the following figure
Other hosts need to be monitored. Copy the agent to the target monitoring host and start it. Remember to change the bindIP