首页 > TAG信息列表 > openlab

nfs+http综合练习

题目要求: 配置nfs服务器和web服务器 1.配置nfs服务器,要求将两个网站的资源文件通过nfs服务器共享给web服务器。通过两个共享目录分别共享网页文件例如:/openlab/index.html /xianoupeng/index.html (网页文件内容自定义)。 2.通过nfs共享网页文件,配置web服务实现www.openlab.com

2021-07-12NFS

配置nfs服务器和web服务器 1.配置nfs服务器,要求将两个网站的资源文件通过nfs服务器共享给web服务器。 通过两个共享目录分别网页文件例如:/openlab/index.html /xianoupeng/index.html (网页文件内容自定义)。 2.通过nfs共享网页文件,配置web服务实现www.openlab.com以及www.xian

实验 :ftp

安装vsftpd dnf install vsftpd -y 启动服务 systemctl restart vsftbd 启动ftp服务 关闭防火墙,Linux systemctl stop firewalld 关闭防火墙 setenforce 0 配置vsftpd useradd -s /sbin/nologin teacher vim /etc/ysftpd/vfile lucy openlab lack openlab davi

给openlab搭建网站

1.基于域名www.openlab.com可以访问网站内容为 welcome to openlab 创建openlab目录 并定义网站内容 mkdir /openlab echo welcome to openlab > /openlab/index.html 编辑openlab网站配置文件 vim /etc/httpd/conf.d/host.conf <Directory /openlab> AllowOverride n

第一次作业

[root@localhost ~]#vim /etc/httpd/conf.d/host.conf <VirtualHost 192.168.117.129:80> ServerName www.openlab.com DocumentRoot /openlab </VirtualHost> <VirtualHost 192.168.117.129:443> ServerName www.openlab.com DocumentRoot