Installing Fez on Ubuntu 8.10

This is a record of my attempt to install Fez: on Ubuntu 8.10:

Fez has couple of dependencies and requirements:

  • Apache, MySQL and PHP. (I’m using LAMP for this)
  • Fedora repository 2:
  • Java:
  • Couple of extensions: Tidy, LDAP, GD, MySQL, CURL, ImageMagick, Graphviz and JHOVE.

Installing various Extensions:

apt-get install sun-java6-jdk
apt-get install php5-tidy
apt-get install php5-ldap
apt-get install php5-gd
apt-get install php5-curl
apt-get install php5-imagick
apt-get install graphviz
apt-get install jhove

A few tweaks to PHP ini:

1. Edit /etc/php/apache/php.ini

allow_call_time_pass_reference = On
date.timezone = Australia/Perth
post_max_size = 10MB
upload_max_filesize = 10M
memory_limit = 50M

Installing Fedora:

1. Download Fedora 2 from the above website.

2. Go to fedora directory and run: java -jar fedora-jar-file.jar

3. This is a basic value that I used:

  • Type: Custom
  • Authentication for API-A: False
  • SSL: False
  • Servlet Engine: Included
  • Fedora Home: Fedora directory
  • Tomcat Home: Default
  • Tomcat HTTP Port: 8080
  • Tomcat Shutdown Port: 8005
  • Database Included
  • Policy Enforcement enabled: False
  • Resource Index: True
  • REST-API: False
  • Enable Messaging: False
  • Deploy local services/demo: True

4. After that I set couple of enviroment variables: FEDORA_HOME, JAVA_HOME, CATALINA_HOME

5. Then to go to CATALINA_HOME/bin and run: ./ to start Fedora.

Installing Fez:

1. Download Fez code from the above link.

2. Untared it and copied files across to webroot, say /var/www/fez/

3. Change the owner to www-data (for apache)

4. Go to http://myhostname/fez/ and followed the installtion process.