课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Configure basic virtual host - Red Hat Enterprise Linux教程
课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
Configure basic virtual host
- [Instructor] For this exercise, you'll want to be logged into rhhost1 and have a terminal open. Virtual hosts let us have more than one website per server. We can have different logs, site name, and access control for a virtual host as well. Let's create a basic virtual host now. I've created a virtual host file for you and included it in the exercise files for chapter six. To use the exercise files archive, start by downloading it for this course, extract it into user one's home directory. This should give you a folder in /home/user1/exercisefiles. As soon as that's done, be sure you are in user one's home directory. To copy the file, go to your home directory where you extracted the exercise files ZIP archive in chapter three of this course. And then type in sudo space cp space ExerciseFiles/Ch06 for chapter six /etc/httpt/conf.d/vhost1.conf space /etc/httpd/conf.d and hit enter. Now let's take a look at this file so we understand it. Type in less space…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。