阿里云ECS搭建LNMP环境-Linux

链接工具

    Xshell  https://xshell.en.softonic.com

   ECS IP地址 : 例如 34.23.423.12 在控制台有两个IP佣外网的就是


    nginx

    apt install nginx -y


    mysql 

    apt install mysql-server -y


    php-fpm

    apt install php-fpm -y


    安装多个PHP版本

    sudo apt-get install software-properties-common python-software-properties


    sudo add-apt-repository ppa:ondrej/php


   sudo apt-get update -y


   sudo apt install php7.2 -y

喜欢就点个赞吧

发表评论

需要先登录,才能发表评论哦! 登录

网友评论
暂无评论
在线客服