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

LNMP environment building

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

One: installation and operation control

1. Local installation configuration yum source

two。 Compile and install Nginx

Operation Control of 3.Nginx

4. Client authentication

2: access status statistics of Nginx

1. Adjust the profile / usr/local/nginx/conf/nginx.conf

two。 Client authentication

Third, build a LNMP website platform

1. Configure the named domain name resolution service

two。 Prepare website directory and test files

3. Adjust the Nginx profile

4. Client test

5. Install the Mysql database

6. Install the php parsing environment

7. Enable the php-fpm process

The changes to the php-fpm.conf configuration file are

Pid = run/php-fpm.pid

User = php

Group = php

Pm.start_servers = 20

Pm.min_spare_servers = 5

Pm.max_spare_servers = 35

Pm.max_children = 50

8. Configure Nginx to support PHP parsing

9. Edit the test page

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