CentOS7安裝Apache服務器

1.首先查看系統是否已經安裝了Apache,敲rpm -qa -httpd。 2.敲yum search httpd,搜索Apache。 3.敲yum install httpd -y,安裝成功如下顯示: 4.幾條基本命令,rpm -qa httpd. 5.查看軟件安裝位置,rpm -ql httpd. 6.啓動Apache,首先查看80端口是否被佔用。netstat -pltn. 7.把80端口
相關文章
相關標籤/搜索