need
nginx visual management, such as
- Configuration management
- performance monitoring
- log monitoring
- Other configuration
plan
At present, the first two have been implemented: configuration management, and performance monitoring, log analysis and monitoring, and other solutions need to be found!
The current solution directly applies the nginx-gui github address developed by the github god: github.com/onlyGuo/ngi…
This thing really wants to blow a wave, it's so easy to use and the source code is open, it solves a big problem for a Linux rookie born in Java like me!
Screenshot of the interface:
illustrate
Let me explain first, I just learned it now, just write down the tossing process and the detailed usage of the problems encountered. It is recommended to visit the author's github and the author's blog to view the author's github: github.com/onlyGuo/ngi… Author blog:
bl.321aiyi.com/2019/03/18/…
Toss a download and configuration first go to the author's github description page, download the installation package corresponding to the system version, it should be noted that the linux version has a description that cannot be ignored
The configuration steps are as follows:
1 Download and unzip
Nginx-GUI-For-Linux-1.0.zip
2 Modify the location of the configuration file: conf/conf.properties
nginx installation path
nginx.path = /usr/local/Cellar/nginx/1.15.12
nginx configuration file full path
nginx.config = /Users/gsk/dev/apps/nginx-1.15.12/conf/nginx.conf
account.admin = admin 3 Rename (this step is only required for linux version) According to the original author's description, for linux 64-bit version, you need to rename the java_vms file under lib/bin/ to java_vms_nginx_gui
2. After the previous steps are completed on the server, package and publish directly to the server
empowerment
sudo chmod -R 777 nginx-gui/
start in the background
nohup bash
/root/web/nginx-gui/startup.sh > logs/nginx-gui.out & access default port 8889 The default account password is admin
Remaining problem
Currently implemented are
- performance monitoring
- Visual configuration
What has not been achieved is
- log analysis
- statistics
The current plan is to wait for plenty of time in the future, and then study the source code of the github god, and then see if you can implement the remaining functions yourself.