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
1. Which three formats? They are: gif, jpg, and pn...
Preface If CSS is the basic skill of front-end de...
The code looks like this: // Line style of the pa...
When I created a Docker container today, I accide...
Give time time and let the past go. In the previo...
When uploading on some websites, after clicking t...
This article shares the second article of using j...
Disadvantages of Tables 1. Table takes up more byt...
To achieve the association of the frame window, th...
1. Always use :key in v-for Using the key attribu...
Download the Java Development Kit jdk The downloa...
1. CSS Navigation Bar (1) Function of the navigat...
This article introduces 5 ways to solve the 1px b...
What is Fuser Command? The fuser command is a ver...
If every company wants to increase its user base,...