exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 92 discussion

Actual exam question from RedHat's EX200
Question #: 92
Topic #: 1
[All EX200 Questions]

SIMULATION -
Configure your web services, download from http://instructor.example.com/pub/serverX.html And the services must be still running after system rebooting.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
cd /var/www/html
wget http://instructor.example.com/pub/serverX.html mv serverX.html index.html /etc/init.d/httpd restart chkconfig httpd on

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
STFN2019
3 years, 2 months ago
# systemctl status httpd (check if apache is running) # systemctl start httpd (if not started already) # systemctl enable httpd (enable upon boot) # wget http://instructor.example.com/pub/serverX.html
upvoted 3 times
wizojlo
9 months, 3 weeks ago
The file should be downloaded to /var/www/html, so before doing wget, change directory. #cd /var/www/html
upvoted 2 times
...
...
adolfoale
3 years, 10 months ago
In RHEL8: # systemctl enable --now httpd.services
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...