Nginx installation error solution

Nginx installation error solution

1. Unzip nginx-1.8.1.tar.gz

2. Unzip fastdfs-nginx-module-master.zip

3. Enter the nginx-1.8.1 directory

4. Execution

Then something went wrong.

Solution:

1.sudo apt-get update

2.sudo apt-get install libpcre3 libpcre3-dev

3.sudo apt-get install openssl libssl-dev

Install again:

success:

But then executing sudo make install again went wrong:

Solution:

turn up

CFLAGS = -pipe -O -W -Wall -Wpopinter-arith Wno-unused-parameter -Werror -g

Then remove -Werror

sudo make install again to complete the installation

Startup Success

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:
  • Install and configure IIS + MySQL + nginx + php7.1.7 under Win10
  • How to install nginx on win10
  • How to install Nginx in Docker
  • How to install Nginx in a specified location in Centos system
  • How to install php7 + nginx environment under centos6.6
  • Nginx installation detailed tutorial
  • How to install PHP7.4 and Nginx on Centos
  • Detailed tutorial for installing nginx on centos8 (picture and text)
  • Detailed explanation of nginx installation, deployment and usage on Linux
  • Correct steps to install Nginx in Linux
  • The process of installing and configuring nginx in win10

<<:  Solution to ONLY_FULL_GROUP_BY error in Mysql5.7 and above

>>:  Use Element+vue to implement start and end time limits

Recommend

Detailed process of installing Jenkins-2.249.3-1.1 with Docker

Table of contents 1. Install Docker 2. Pull the J...

Detailed graphic explanation of MySql5.7.18 character set configuration

Background: A long time ago (2017.6.5, the articl...

CSS -webkit-box-orient: vertical property lost after compilation

1. Cause The requirement is to display two lines,...

Why is it not recommended to use index as key in react?

1. Compare the old virtual DOM with the new virtu...

Various ways to achieve the hollowing effect of CSS3 mask layer

This article introduces 4 methods to achieve mask...

Linux nohup to run programs in the background and view them (nohup and &)

1. Background execution Generally, programs on Li...

Example code for implementing a QR code scanning box with CSS

We usually have a scanning box when we open the c...

Two ways to connect WeChat mini program to Tencent Maps

I've been writing a WeChat applet recently an...

How to backup and restore the mysql database if it is too large

Command: mysqlhotcopy This command will lock the ...

Summary of methods to prevent users from submitting forms repeatedly

Duplicate form submission is the most common and ...