Install Nginx server and add SSL module

First of all, introduce the unfamiliar words Nginx and SSL.
Nginx (engine x) is a high-performance HTTP and reverse proxy web server, and also provides IMAP/POP3/SMTP services. Nginx was developed by Igor Sesoyev for the second most visited site in Russia, Rambler.ru (Russian: Рамблер). The first public version 0.1.0 was released on October 4, 2004.
It releases the source code in the form of a BSD-like license, and is known for its stability, rich feature set, sample configuration files and low system resource consumption. On June 1, 2011, nginx 1.0.4 was released.
Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, released under the BSD-like protocol. Its characteristics are that it occupies less memory and has strong concurrency. In fact, the concurrency of nginx does perform better in the same type of web server. Mainland Chinese users of nginx websites include: Baidu, JD, Sina, NetEase, Tencent, Taobao, etc.
SSL (Secure Sockets Layer), and its successor Transport Layer Security (Transport Layer Security, TLS) is a security protocol that provides security and data integrity for network communications. TLS and SSL encrypt network connections at the transport layer.

In the first step, I downloaded the Nginx installation package from the Internet, and then entered the virtual machine command interface. For the steps, refer to https://blog.csdn.net/wickywonka/article/details/98958683
Although it is a ready-made command, it is in the configuration process There are still problems, and it cannot be executed successfully. The reason lies in some details, such as missing a space or typing a letter incorrectly, causing problems.
Some steps are even more difficult to start, such as when you need to save a command. I learned a trick from my classmates (first press Esc, then press Shift to add a semicolon, then press WQ, and finally press Enter)

Not long after I came into contact with the virtual machine, it felt like I had entered a new and confused world, and I have not been able to figure out the way until now. But I believe that with the following persistent exploration, this bone will definitely be gnawed!

Guess you like

Origin blog.csdn.net/qq_44685392/article/details/99068623