FastDFS & Nginx Integration: The tracker is combined with Nginx for load balancing and high availability. Only one Track can be configured without Nginx. Install FastDFS-Nginx-Module on the server: Enter the directory and enter the SRC directory of the directory: Modify the config file and replace all /usr/local with /usr/ It is recommended to add fdfs to indicate that this is fastdfs Copy the configuration file to the previous directory Edit the configuration file again: Change to the directory where you originally unpacked the archive and enter the conf directory: Copy the protocol configuration and file type configuration to the /etc/fdfs directory Install Nginx: Unzip the Nginx Tar package Enter the directory: Run the configure script with the load parameters: Compile and install:
Error occurred: /usr/include/fastdfs/fdfs_define.h:15:27: fatal error: common_define.h: No such file or directory #include "common_define.h" ^ compilation terminated. make[1]: *** [objs/addon/src/ngx_http_fastdfs_module.o] Error 1 make[1]: Leaving directory `/root/FASTFDS/nginx-1.15.2' make: *** [build] Error 2 The previous configuration file was not configured properly, so we need to reconfigure it here: The same path in both places, change it to this: But note that Nginx has failed to compile, delete and reconfigure the installation and compilation Change to the Nginx configuration directory: Modify Nginx configuration: The following physical address locations are changed:
Remove the previous comment Switch to this directory and execute Nginx
Although the configured domain name seems useless, IP address access is indeed effective: The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: A brief analysis of MySQL backup and recovery
>>: How to find and delete duplicate records in MySQL
When using MySQL 5.7, you will find that garbled ...
HTML is made up of tags and attributes, which are...
A few days ago, a colleague received a points mal...
Readonly and Disabled both prevent users from cha...
When learning kubernetes, we need to practice in ...
When I was working on a project recently, I found...
In actual use, it is often necessary to share the...
Generally speaking, it is unlikely that you will ...
This article shares the specific code of Vue usin...
This article shares the specific code of using ca...
This article shares the specific code of JavaScri...
Table of contents 1. Static implementation method...
Arial Arial is a sans-serif TrueType font distribu...
Recently, I solved the problem of Docker and the ...
Table of contents Preface Understanding a stack a...