Fez Fedora
From Jon's Wiki
Get the Sun Java 6 JDK:
sudo apt-get install sun-java6-jdk sun-java6-fonts
Create a PostgreSQL user and database first:
createuser -SDRP fezdev createdb -E UTF8 -O fezdev fedora_fez
Download Fedora installs from www.fedora-commons.org and run the installer, using above database, and the provided Tomcat server:
java -jar fedora-2.2.1-installer.jar
Create an init script for starting and stopping the Fedora service:
#!/bin/bash -e # # fedora This init.d script is used to start fedora. ENV="env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin" . /lib/lsb/init-functions export JAVA_HOME=/usr/lib/jvm/java-6-sun export JVM_HOME=/usr/lib/jvm/java-6-sun export FEDORA_HOME=/var/lib/fedora/fedora_fez FEDORASTART=$FEDORA_HOME/tomcat/bin/startup.sh FEDORASTOP=$FEDORA_HOME/tomcat/bin/shutdown.sh case $1 in start) log_begin_msg "Starting fedora repository..." if $FEDORASTART; then log_end_msg 0 else log_end_msg 1 fi ;; stop) log_begin_msg "Stopping fedora repository..." if $FEDORASTOP; then log_end_msg 0 else log_end_msg 1 fi ;; restart | force-reload | reload) log_begin_msg "Restarting fedora repository..." if ! $FEDORASTOP; then log_end_msg 1 fi if $FEDORASTART; then log_end_msg 0 else log_end_msg 1 fi ;; status) exit 4 ;; *) echo "Usage: /etc/init.d/fedora start|stop|restart|reload|force-reload" >&2 exit 2 ;; esac
Get Fez, install, use above Fedora instance.