893人加入学习
(2人评价)
Linux网络操作系统常见服务的安装与配置

基于VMWARE15和红帽7Linux(RHEL7)

价格 免费

1.设置服务开机启动

systemctl enable httpd.service

 

2.端口配置

①UltraEdit定位到/etc/httpd/conf/httpd.conf

②修改“Listen 80”为“Listen 8080”

③重启服务:systemctl restart httpd

④浏览器测试连接:http://192.168.31.120:8080/

 

3.添加网页

①xftp定位到/var/www/html文件夹

②将test1.html拖到里面

③浏览器测试连接:http://192.168.31.120:8080/test1.html

 

4.主页配置

①UltraEdit定位到/etc/httpd/conf/httpd.conf

②DirectoryIndex index.html 修改为DirectoryIndex test1.html index.html

③重启服务:systemctl restart httpd

④测试浏览器连接:http://192.168.31.120:8080/ 即可访问到test1.html

 

 

 

[展开全文]

授课教师

专注Unity的VR开发

课程特色

下载资料(1)
视频(26)

学员动态