新聞中心
這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
centos7下安裝apache
1、安裝apache
#yum -y install httpd
創(chuàng)新互聯(lián)公司從2013年創(chuàng)立,是專業(yè)互聯(lián)網(wǎng)技術(shù)服務(wù)公司,擁有項目成都網(wǎng)站制作、網(wǎng)站設(shè)計網(wǎng)站策劃,項目實施與項目整合能力。我們以讓每一個夢想脫穎而出為使命,1280元常熟做網(wǎng)站,已為上家服務(wù),為常熟各地企業(yè)和個人服務(wù),聯(lián)系電話:18982081108
2、啟動apache
#systemctl start httpd
(附停止apache命令:systemctl stop httpd
systemctl:系統(tǒng)控制)
3、設(shè)置開機自動啟動apache
#systemctl enable httpd
4、防火墻開啟http端口,用于外部訪問:
#firewall-cmd --add-service=http
5、驗證
打開瀏覽器,在地址欄輸入:http://服務(wù)器的ip地址
網(wǎng)站名稱:centos7下安裝apache
網(wǎng)站鏈接:http://www.dlmjj.cn/article/pgpdjo.html