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

How to install the lnmp environment for deepin

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly explains "deepin how to install lnmp environment", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "deepin how to install lnmp environment" bar!

This article assumes that the deepin system has been installed

Install nginx

Install gcc gathers + dependent libraries:

Sudo apt-get install build-essential & & sudo apt-get install libtool

Install the pcre dependent libraries:

Sudo apt-get install libpcre3 libpcre3-dev

Install the zlib dependent libraries:

Sudo apt-get install zlib1g-dev

Install the ssl dependent libraries:

Sudo apt-get install openssl

Download the nginx source package:

Wget http://nginx.org/download/nginx-1.15.0.tar.gztar-zxvf nginx-1.15.0.tar.gzcd nginx-1.15.0

. / configure sets the installation path, compiles and installs:

. / configure-- with-cc-opt= "- Wno-error"-- prefix=/usr/local/nginxmake & & make install

When performing this step, be sure to run configure in the original unzipped package, otherwise there will be an error that cannot be found by. / configure

Restart the nginx service and set it to boot:

Install php:

Sudo apt-get install php7.3

Thank you for reading, the above is the content of "deepin how to install lnmp environment". After the study of this article, I believe you have a deeper understanding of how deepin installs the lnmp environment, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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

Internet Technology

Wechat

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

12
Report