CenOS下搭建LAMP建站環境

安裝CentOS虛擬機 安裝Apache 1、輸入yum-y install httpd安裝(使用root權限) 2、開啓apache服務(執行systemctl start httpd.service命令) 3、設置開機啓動(執行 systemctl enable httpd.service命令) 4、在本機瀏覽器輸入虛擬機ip地址(輸入ip addr 查看),訪問不成功開啓防火牆 firewa
相關文章
相關標籤/搜索