Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if there is an error in the installation of Nginx?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly shows you what to do when there is an error in Nginx installation, the content is easy to understand, I hope you can learn, after learning, there will be a harvest, the following let the editor to take a look at it.

1. Decompress nginx-1.8.1.tar.gz

two。 Decompress fastdfs-nginx-module-master.zip

3. Enter the nginx-1.8.1 directory

4. Execution

And then there was a mistake.

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 there was a mistake in executing sudo make install:

Solution:

find

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

Then delete-Werror

Once again, sudo make install installation is complete

Started successfully

The above is about what to do if there is an error in Nginx installation. If you have learned knowledge or skills, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report