Advertisement

安装LAMP平台到red hat Linux系统

阅读量:

Linux操作系统、Apache服务器、Mysql数据库以及PHP编程语言

安装配置前确保已有开发环境软件包

复制代码
    [root@localhost ~]# yum -y install pcre-devel zlib-devel links
    
    
    AI写代码powershell

关闭selinux 和 iptables

复制代码
    [root@localhost ~]# vi /etc/selinux/config  # 修改配置文件,关闭selinux功能
    SELINUX=disabled    # 设定为disabled
    #SELINUXTYPE=targeted  # 注释该项,行首添加#
    [root@localhost ~]# systemctl stop firewalld  #暂时关闭防火墙
    [root@localhost ~]# systemctl disable firewalld  #永久关闭防火墙
    [root@localhost html]# cd /var/www/html/  #网页存放处
    
    
    AI写代码powershell

首先安装Apache,和相关依赖包ape-*

复制代码
    [root@local

全部评论 (0)

还没有任何评论哟~