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
I have read an article written by the Yahoo team ...
This article introduces the content related to gi...
Copy code The code is as follows: jQuery.cookie =...
Table of contents 1. First, configure the main.js...
We are not discussing PHP, JSP or .NET environmen...
Preface This tutorial installs the latest version...
1. Download cuda10.1: NVIDIA official website lin...
I received a task from the company today, and the...
Table of contents Project Directory Dockerfile Fi...
1. Implement a simple triangle Using the border i...
Preface I believe that the syntax of MySQL is not...
Now most projects have begun to be deployed on Do...
Download foreign images using Alibaba Cloud Image...
Connections can be used to query, update, and est...
An n-digit verification code consisting of number...