My favorites | Sign in
Logo
                
Search
for
Updated Oct 22, 2009 by sebastian.dietzold
Labels: Phase-Deploy, Featured
InstallFromMercurial  
This wiki page documents the installation from the google code mercurial repository on a ubuntu linux box. You have to adapt it for other distributions or operating systems.

Requirements

In order to install OntoWiki from the tip you need:

Download

First go to your webdirectory: cd /var/www

Then clone our default repository: hg clone https://ontowiki.googlecode.com/hg/ owrep

go to the ontowiki source dir and link erfurt and rdfauthor to the libraries folder

cd owrep/ontowiki/src/libraries
ln -s ../../../erfurt/src/Erfurt .
ln -s ../../../RDFauthor .

finally download Zend an link it to the libraries folder too:

wget http://framework.zend.com/releases/ZendFramework-1.9.4/ZendFramework-1.9.4-minimal.tar.gz
tar xvzf ZendFramework-1.9.4-minimal.tar.gz
ln -s ZendFramework-1.9.4-minimal/library/Zend .
rm ZendFramework-1.9.4-minimal.tar.gz

Your OntoWiki installation is now available under: http://localhost/owrep/ontowiki/src/. If you dont like such long uri, you can link the src directory to a shorter path.

Configuration

The most important configuration step is the database configuration. First you have to copy these files:

cd /path/to/ontowiki-src
cp htaccess-dist .htaccess
cp config.ini-dist config.ini

Then you need to change the database configuration in your config.ini: %% store.zenddb.dbname = ontowiki ; your configured DB name store.zenddb.username = ow ; the username to your database server store.zenddb.password = ow ; the pass for this user store.zenddb.dbtype = mysql ; at the moment only mysql tested ;store.zenddb.host = localhost ; default is localhost %%

After that, go to your OntoWiki URL in your browser (e.g. 'http://localhost/ontowiki/'), and voila - there is you OntoWiki :-) If you are new to OntoWiki you can read the First Steps Documentation now.

Troubleshooting

Please make sure that Apache reads the .htaccess file. (see http://httpd.apache.org/docs/2.2/howto/htaccess.html#troubleshoot) and the rewrite engine (module rewrite load) is enabled. Otherwise, URI rewrites will not work.


Sign in to add a comment
Hosted by Google Code