Category: RHCSA exam prep

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 →