1分钟
搭建web服务器
一、搭建web服务器:
Web1 Server:
echo welcome to magedu.com websrv1 > /var/www/html/index.html
systemctl start httpd
Web2 Server:
echo welcome to magedu.com websrv1 > /var/www/html/index.html
service httpd start
切换至Client确认web1,web2能够正常访问
Curl 192.168.30.10
Curl 192.168.30.11
学员评价