- For Windows user we suggest to install via the archive.
- The latest development version can be installed only from the repository.
Installation via Archive
If you want the latest official and most stable release of OntoWiki
- Download the archive from github
- Unpack it in your web directory.
If you have no
vendor folder in your root directory you need to run make install, running it in general might be a good idea in any case
Installation via Github repository
If you are a advanced user of OntoWiki and/or need the latest (sometimes unstable) version, you can checkout our repo:
- Clone the repository into your web folder (e.g.
git clone https://github.com/AKSW/OntoWiki.git
make installto download Erfurt, RDFAuthor, Zend and more
Github installation for Windows
Compiling the source code in windows can be rather tricky. You need to fullfill the requirements below, and the commands
should be in your Path. If you can’t get
make to run (the commands are mostly not windows combatible right now anyway),
you can get by with only php and git, downloading the composer.phar manually from here.
afterwards you run
composer install and composer should install everything you need to run OntoWiki on Virtuoso/MySQL.
Installation via composer
- If you have composer installed
composer create-project aksw/ontowiki --stability dev
- If you don’t have composer installed
- Download the
composer.pharfrom [the composer website][https://getcomposer.org/download/]
php composer.phar create-project aksw/ontowiki --stability dev
- Download the
Installation via Debian package
If you use a Debian or Ubuntu Linux distribution, you can use the debian package instead of the archive.
- Install the LDStack repository by downloading and adding the ldstackrepository install Guide
- Update your package database (
sudo apt-get update)
sudo apt-get ontowiki-virtuoso virtuoso-vad-conductor)
Please note that OntoWiki works best with a recent version of Virtuoso. At the time of writing, OntoWiki requires version 6.1.4 or greater. Debian stable/squeeze comes with version 6.1.2, Debian testing/wheezy comes with 6.1.4, and Ubuntu 12.04 LTS comes with 6.1.4. Building virtuoso from source on a Debian based system, however, is quite easy. Using a custom startup script on Debian, you can even install the package for virtuoso and use your own locally compiled version.
In order to install OntoWiki you need:
- PHP 5.4 or higher (PHP 7.x isn’t completely supported at the moment)
- See this page for recommended PHP settings .
- mod_rewrite allowed in target directory (
AllowOverride FileInfo Limit Options, optional, used for nice URIs and LinkedData features)
- .htaccess allowed in target directory
- git (in case you want to install it from the repository)
- make (on Linux systems usually installed) to use the Makefile
- One of these:
- And of course the OntoWiki files.
Setup for MySQL
If you want to use OntoWiki with MySQL, here we go … we assume, you have a copy of OntoWiki at your webdirectory.
- Create a mysql user for ontowiki (e.g. called “ontowiki”)
- Create a mysql database which is writable for the ontowiki user
- Copy the config.ini-dist to config.ini and change the database config: in most cases, you have to change only these values store.zenddb.dbname, store.zenddb.username, store.zenddb.password
- Go to the ontowiki root dir, run ‘make install’ - sets up Zend etc.
- Open your OntoWiki Installation in your browser. On first run, all tables are created automatically and hopefully, you will see a starting screen containing a news area and a login window.