Tuesday, November 9, 2010

Cloning

Today, I started cloning the Fedora 14 system onto the hard drives of the other computers that will be part of the school computer lab. I spent part of the time setting up Apache2 to read user directories so that each workstation can host its own student-maintained website.

The configuration is in the /etc/httpd/conf/httpd.conf file:

I commented out UserDir disabled, and uncommented UserDir public_html.

Then I ran into the trouble of SELinux disallowing Apache2 from accessing user directories. This was remedied by setting SELinux to permissive mode in the file /etc/selinux/config:

SELINUX=permissive

Finally, there was a permissions issue even after I changed the permissions on the public_html directory to 711, giving the directory the executable bit for both group members and others. The problem was the absence of the executable bit on the user's home directory. As superuser, changed added the executable bit:

su -c 'chmod go+x student'

No comments:

Post a Comment