1. 程式人生 > >離線安裝HDP

離線安裝HDP

sudo sys bsp div fire 服務器 安裝 firewall oca

安裝離線源服務器

安裝一個http服務器

# yum install httpd

編輯httpd.conf文件,搜索"#ServerName",添加ServerName localhost:80

vi /etc/httpd/conf/httpd.conf

啟動 # httpd 停止 # httpd -k stop 設置開機自動啟動: chkconfig httpd on Apache默認將網站的根目錄指向/var/www/html 目錄 配置存儲在的/etc/httpd/conf.d/目錄 關閉防火墻 sudo systemctl stop firewalld.service 關閉防火墻開機啟動 sudo
systemctl disable firewalld.service

離線安裝HDP