␡
- "Do I Know This Already?" Quiz
- "Do I Know This Already?" Quiz
- Using Modules to Manipulate Files
- Using Modules to Manipulate Files
- Managing SELinux Properties
- Managing SELinux Properties
- Using Jinja2 Templates
- Using Jinja2 Templates
- Summary
- Summary
- Exam Preparation Tasks
- Exam Preparation Tasks
- Review All Key Topics
- Review All Key Topics
- Memory Tables
- Memory Tables
- Define Key Terms
- Define Key Terms
- Review Questions
- Review Questions
- Exercise Answers
- Exercise Answers
- Lab 8-1: Generate an /etc/hosts File
- Lab 8-1: Generate an /etc/hosts File
- Lab 8-2: Manage a vsftpd Service
- Lab 8-2: Manage a vsftpd Service
This chapter is from the book
Exercise Answers
After you perform all the steps in Exercise 8-2, the web server still doesn’t work. Further analysis shows that the changes in httpd.conf have been made successfully and also that the SELinux context is set correctly. However, after you apply the changes with lineinfile, the web server needs to be started. You can do this either by using a handler or by moving the service task to be performed after the lineinfile task.
