租赁阿里云服务器 阿里云官网 操作步骤百度一下 配置基础环境 sed -ri '/^SELINUX=/cSELINUX=disabled' /etc/selinux/config setenforce 0 systemctl stop firewalld.service systemctl disable firewalld.service 安装LAMP及其相关工具 yum -y install unzip httpd mariadb-server mariadb php php-mysql gd php-gd systemctl start httpd mariadb //启动 s