Ubuntu18.04 搭建 LNMP 环境


1.Ubuntu18.04 搭建 LNMP 环境

https://jingyan.baidu.com/article/acf728fd65a6a3f8e510a30a.html

https://www.jianshu.com/p/7e7860e4e58c

http://www.mamicode.com/info-detail-2327939.html

https://blog.csdn.net/u010953609/article/details/88085218

https://www.jianshu.com/p/37cacd559bc7

https://blog.csdn.net/qq_36038987/article/details/80773655

echo“deb http://nginx.org/packages/ubuntu`lsb_release-cs`nginx”\ | sudo tee /etc/apt/sources.list.d/nginx.list

2. 安装方式(总结)

sudo apt-get update

gcc

sudo apt-get install gcc

安装gcc g++的依赖库

sudo apt-get install build-essential

sudo apt-get install libtool

zlib

sudo apt-get install zlib1g-dev

pcre

sudo apt-get install libpcre3 libpcre3-dev 

openssl

sudo apt-get install openssl libssl-dev 

···························································

sudo service php7.2-fpm start

sudo service php7.2-fpm restart

sudo service php7.2-fpm status

你可能感兴趣的:(Ubuntu18.04 搭建 LNMP 环境)