安裝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
相關文章
相關標籤/搜索