Notes From Rebuild to Fedora Core 5

I recently rebuilt my linux server using the latest release of Fedora Core (5). There were a number of things that I noted that I wanted to make sure I remember for next time… and maybe they can help you out too.
Fedora Core 5

Apache 2

If you change your DocumentRoot you have to make sure that you give permission to apache to access that new directory. I know it seems obvious but this is 10 minutes I don’t want to waste again.

I left apache’s user/group as apache/apache.
I created a user named wxyz with a group wxyz.
I added the user apache to the wxyz group.
I wanted the web root to be /home/wxyz/web but since the directory /home/wxyz did not have group execute permissions (rwx------) apache was throwing 403’s (Permission Denied).
CHMODing the directory /home/wxyz to rwx--x--- allowed apache to read the directory structure below and bingo.

phpMyAdmin

I had to install the mbstring package in order for phpMyAdmin/MySQL to support utf8 (multibyte strings) character set formats. There was a warning message that was shown in phpMyAdmin.

# yum install php-mbstring

The newest version aparently had some newer dependencies, so php-pdo, php-ldap, php-mysql, php-odbc, php-pdsql, php-mbstring and php were all updated to 5.1.4-1.

Note: yum makes things so simple!

PHP4

Uh Oh, some of my Gallery installs aren’t working with PHP5!
I almost went ahead and downgraded to php4 using this page as reference: http://www.mjmwired.net/resources/mjm-fedora-php4.html
BUT, the newer Gallery versions support php5… so that’s easy! I just upgraded the Gallery version where applicable.

RPM files

Just for reference, to find what files an rpm installed and where try the following:
rpm -qa --filesbypkg | grep PaCkAgEnAmE

NetPBM

NetPBM (yum install netpbm) isn’t installing the binaries I want, like pnmtojpeg etc. Not sure why, so I manually downloaded and placed them in /usr/bin/netpbm (for Gallery1).

RSS feed | Trackback URI

1 Comment »

collapse rooster Said,

April 10th, 2008 @ 11:02 pm

I have been visiting sources like that lately. That’s the most important point of everything. That’s why I can professionally say that this information is objective and sounds true to me

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> in your comment.