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

Introduction to MySQL role functions

Table of contents Preface: 1. Introduction to rol...

Implementation of MySQL5.7 mysqldump backup and recovery

MySQL backup Cold backup:停止服務進行備份,即停止數據庫的寫入Hot ba...

VUE+Canvas implements the game of God of Wealth receiving ingots

Welcome to the previous canvas game series: 《VUE ...

MySQL5.7 master-slave configuration example analysis

MySQL5.7 master-slave configuration implementatio...

How to optimize a website to increase access speed update

Recently, the company has begun to evaluate all s...

Solution to the problem of slow docker pull image speed

Currently, Docker has an official mirror for Chin...

CSS realizes process navigation effect (three methods)

CSS realizes the process navigation effect. The s...

Detailed usage of Linux text search command find

The find command is mainly used to find directori...

The difference between Div and table in HTML (discussed in detail in all aspects)

1: Differences in speed and loading methods The di...

How to build Apr module for tomcat performance optimization

Preface Tomcat is a widely used Java web containe...

How to use Greek letters in HTML pages

Greek letters are a very commonly used series of ...

80 lines of code to write a Webpack plugin and publish it to npm

1. Introduction I have been studying the principl...