Category: selinux

RHCSA exam taking techniques to assist in validation & debugging

If possible go graphical. This makes opening multiple terminal windows easier. But there are more than one interface available in non-graphical mode. ctrl-alt-1-9 or function keys will give you as many debugging interfaces as you need. What do you enter in your debugging interface/session? There are other logs that might be helpful but these did […]

Read More →

Improve your infrastructure server collect updates

We need to create an exercise that involves installing a kernel update. Therefore we cannot live with a big repository called repo. We need to add one selinux compatible called updates. In our quirky Macbook based environment we will have to reboot our infrastructure server so it has Internet exposure. Your mileage may vary. In […]

Read More →

RHCSA SELINUX allow a apache subdirectory to be serviced

RHCSA studying. classroom.example.com 10.0.2.10 has a web server and /var/www/html/repo is where we want the yum repository to be. A little selinux problem with that in enforcing mode. yum -y install nmap  ##our test dummy. The answer: chcon -R -t httpd_sys_content_t “/var/www/html/repo/” restorecon -R /var/www/html/repo Like magic yum then works.

Read More →