安装LAMP

安装Apaceh 1.安装(在线):yum install httpd -y 配置:Apache的配置文件的默认路径 为:/etc/httpd/conf/httpd.conf,通过vi编辑器打开httpd.conf查找到ServerName所在行,去掉#标识,将www.example.com修改为localhost,保存修改并退出却可。 输入systemctl start httpd启动apach
相关文章
相关标签/搜索