While trying to access a website hosted on the server, the systems administrator receives the following error message: The administrator then performs some diagnostics: Which of the following commands should the administrator use to fix the issue?

QuestionsCategory: XK0-004While trying to access a website hosted on the server, the systems administrator receives the following error message: The administrator then performs some diagnostics: Which of the following commands should the administrator use to fix the issue?
Admin Staff asked 6 months ago
While trying to access a website hosted on the server, the systems administrator receives the following error message:
 Image
The administrator then performs some diagnostics:
 Image
Which of the following commands should the administrator use to fix the issue?

A. chown -R www:www /var/www/website

B. chcon -t httpd_sys_content_t /etc/httpd

C. chmod -R 777 /var/www/website

D. restorecon /var/www/html/website/index.html








 

Suggested Answer: A

Community Answer: D



This question is in XK0-004 CompTIA Linux+ Exam
For getting CompTIA Linux+ Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by CompTIA. 
Trademarks, certification & product names are used for reference only and belong to CompTIA.
The website does not contain actual questions and answers from CompTIA's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.