Huawei cloud Kunpeng cloud server installation nginx

Time:2021-6-1

▣ address of blogger:The sound of smile 【www.cztcms.cn】

▣ other platforms of bloggers:CSDN Brief book Open source China Do you think about it Huawei cloud blog


Huawei cloud Kunpeng cloud server is equipped with Huawei Kunpeng processor (916 / 920). Huawei Kunpeng processor is based on ARM architecture, which is different from the traditional x86 architecture processor. However, nginx can be installed directly with the yum command.

Huawei cloud Kunpeng cloud server installation nginx

1. Direct useyumCommand to install.

yum install nginx -y

Huawei cloud Kunpeng cloud server installation nginx

2. Start nginx and check the running status.

systemctl start nginx
systemctl status nginx

Huawei cloud Kunpeng cloud server installation nginx

3. Access in browserPublic IP, this page appears to prove that nginx is installed successfully.

Huawei cloud Kunpeng cloud server installation nginx

4. Enter the configuration file directory of nginx.

cd /etc/nginx

Huawei cloud Kunpeng cloud server installation nginx

5. Viewnginx.confDocuments.

vim nginx.conf

Huawei cloud Kunpeng cloud server installation nginx

Recommended Today

Programming Xiaobai must understand the network principle

How is the network composed? Why can we easily surf the Internet now?Whether you are a computer major or not, you may always have such questions in your heart!And today we will solve this matter and tell you the real answer! Basic composition of network First, let’s look at this sentence Connect all computers together […]