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
Problem description: Recently, there is a demand ...
Usage: date [options]... [+format] or: date [-u|-...
Table of contents 1. Install the proxy module 2. ...
Several Differences Between MySQL 5.x and MySQL 8...
This article shares the specific code of Vue to i...
Rendering Commonly used styles in Blog Garden /*T...
Today, let's talk about a situation that is o...
After the user logs out, if the back button on the...
Problem 1: Baidu Map uses tiled images (the map i...
Table of contents introduce start Install ① Direc...
introduce If you are using an OSS storage service...
First of all, for security reasons, JavaScript ca...
Following the previous article 202 Free High-Qual...
Table of contents 1. Introduction to platform bus...
Enter net start mysql in cmd and the prompt is: T...