I recently needed access to an older version Fedora and discovered that neither updates or the core packages would download and install using YUM.
To fix this (based on Fedora Core 5) I made the following modifications to these files:
File: /etc/yum.repos.d/fedora-core.repo
[core]
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/5/i386/os/
File: /etc/yum.repos.d/fedora-extras.repo
[extras]
enabled=0
File: /etc/yum.repos.d/fedora-updates.repo
[updates]
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/5/i386/
Now when I execute “yum update” I get the last set of updates to be released for that particular version of Fedora and likewise I can use yum to also install new software packages.
phil Linux
Having recently convinced my wife that she needed to make the switch to Mac OS X I was horrified to find that the Mac would not open WMF files. Over the years I have accumulated a large collection of clip art files in the WMF (Windows Metafile) file format and didn’t really want to start again.
I found the quickest way to resolve this was to convert all of my existing WMF file into the PICT file format. Using one of my Linux servers I ran the following shell command against my picture library:
find /home/user/clipart/ *.WMF -print0 | while IFS= read -rd $'\0' f;
do echo "[$f]";
convert "$f" "$f.pict";
rm -f "$f";
done
This creates a list of files who’s file-name ends with WMF. We then loop through each of these file-names converting each and saving it with a .pict file extension. The IFS= read -rd parameters are absolutely necessary should your WMF files contain spaces.
phil Linux, Mac, Microsoft PICT, WMF
First make sure Ruby is installed first.
# yum install ruby ruby-rdoc ruby-irb rubygems
Next, update the GEM repository by running
# gem update
Followed by…
# gem install -y rails --include-dependencies
yum install mod_fcgid
Add the following virtual host config to your apache config file /etc/httpd/httpd.conf
SetEnv RAILS_ENV development
ServerName rails
DocumentRoot /path/application/public/
ErrorLog /path/application/log/apache.log
<Directory /path/application/public/>
Options ExecCGI FollowSymLinks
AddHandler cgi-script .cgi
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
phil Linux