Câu 3: EX300: Red Hat Certified Engineer (RHCE)
Configure the Virtual Host -Expand your web server on the system1, create a virtual host for site http://www.domain11.example.comThen Executes the following steps:1. Setting the DocumentRoot to /var/www/virtual2. From http://rhgls.domain11.example.com/materials/www.html3. Download a file, rename as index.html, dont mo…
Nội dung câu hỏi
Configure the Virtual Host -Expand your web server on the system1, create a virtual host for site http://www.domain11.example.comThen Executes the following steps:1. Setting the DocumentRoot to /var/www/virtual2. From http://rhgls.domain11.example.com/materials/www.html3. Download a file, rename as index.html, dont modify file index.html content4. Put the file index.html under the directory DocumentRoot of Virtual Host5. Ensure that user andy can create files under directory /var/www/virtualNote: original site http://systeml.domian11.example.com/ must still be able to be accessed,Name server domain11.example.com provide the domain name resolution for host name
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. mkdir p /var/www/ virtualcd /var/www/ virtuawget O index.htmlhttp://rhgls.domain11.example.com/materials/www.htmlvim /etc/httpd/conf/httpd.conf documentroot /var/www/virtualwww.domain11.example.comservername setfacl -m u:andy:rwx /var/www/virtualsu andytouch /var/www/virtual/11.html — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.