How To install Drupal 7 on Fedora Linux

I got stuck for a few house installing Drupal 7 on my server.  I am running Fedora Core 14 with SE Linux enabled.  I usually turn off SE Linux because it is a hassle, but on this server I am leaving it on to practice keeping security tight.

During the Drupal install I kept getting write permissions errors on my settings.php file and sites/default/files directory.  I am running my Drupal in a directory out side of the default /var/www/html because I have a large partition in /home.  The steps below fixed my permission problems.  i had to log out of Fedora (using GUI) to see the SE Linux alerts.

4. Step 4: Setup Drupal

At this point you should have a DocumentRoot directory ready. In this guide we use /var/www/http. At this point we need to ensure that Drupal installation files have a correct SELinux context. If you have completed step 3 as described you are almost ready to proceed with installation. But first we need to create settings file from the default.settings.php file:

# cd /var/www/html/sites/default/

# cp -p default.settings.php settings.php

Almost there ! Drupal wants to have  /var/www/html/sites/ and /var/www/html/sites/default/settings.php writable. When dealing with SELinux we need to update context of the /var/www/html/sites/ to read and write:

# chcon -R -t httpd_sys_content_rw_t /var/www/html/sites/

If you have moved or copied Drupal installation files make sure that:

all files belong to Apache user

you set SELinux context with chcon -R -t httpd_sys_content_t /var/www/html/

you have changed SELinux context of /var/www/html/sites/ with the above command


to check a SELinux context use ls command with -Z option.


# ls -Z settings.php

-r–r–r–. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 settings.php

For files copied from ~/ you may have wrong context as:

# ls -Z default.settings.php

-rw-r–r–. 6226 6226 unconfined_u:object_r:user_home_t:s0 default.settings.php

via How To install Drupal 7 on Fedora Linux.

Why do all of the TV shows that I like get cancelled?

I think I know the answer to this question, but for the sake of this blog I will just write about it.  I mean after all this is what a blog is for, whining about stuff, right?

So here is the premise, I like a show, I start watching it, it gets cancelled.  I find a series on NetFlix, I start watching it, I find out it only has a few seasons or worse 5 or 6 episodes because it got cancelled.  I know some of the shows were cancelled because of the film writer’s strike in 2007-2008, but some shows do not get the viewer support and they die on the vine.

I know my taste are not mainstream all of the time when it comes to music and film, but it is just sad that so many good shows do not make it long term.  I am going to adopt a new mind set when it comes to cancelled TV shows.  I am going to  start reguarding cancelled TV shows as short stories.  Sometimes a TV series can last too long in my opinion and it loses the edge and the writers get bored and start repeating story lines.

Below is a short list of my favorite cancelled shows.

Two Tomcat servers running at once

I have not done this is a while.  I wanted to get Alfresco running on my home server with a preexisting standard Tomcat installed.  It works. Now I want to get Dynamic DNS working so I can start using the Alfresco portal for storing my stuff.

I got the Dynamic DNS to work.  Right now I am using because it is easy to configure with my router firewall.  I am using a NetGear FVS318 as my firewall router and it communicates the changes in my IP address to Currently my home server is connected to CI4 and Jenney.  These are the free URLs that I have configured for now.  After we move into the new house I may decide to pay to have my URLs linked to my local server.  If I do this then I will be free of the limited storage for image files that is imposed by my hosting provider, Site Ground.

I am using Jenny for my Alfresco site and CI4 as a development site to explore web technologies.  If you want to exlpore Alfresco and collobrate on projects let me know and I will give you access to Jenny.