Installation on UNIX-like systems
- Apache 1.3.12 or up
- PHP4, not running in safe mode
- MySQL or PostgreSQL
Note: If you are using Apache 2, make sure you set the
'AcceptPathInfo on' in the
Apache configuration (httpd.conf).
- untar the Ariadne distribution. (since you're reading this, I guess that's already taken care off...)
- move the www, lib and files directories to their
proper place. Preferably you don't want the lib and files directories under
the document root. e.g.:
cd /opt/ tar xvzf ~/ariadne.2.4.tgz cd /var/www ln -s /opt/ariadne.2.4/www/ ariadne
- Make sure the
files directory directory is writable by the webserver user. Ariadne needs to write cache
images and templates and other files to disk. So check to see which user your
webserver is running as (look in httpd.conf) and (as root) do something like:
cd /usr/local/lib/ariadne.2.4/files/ chown -R www-data:www-data *
- Create a database for Ariadne to use.
With MySQL do something like:
mysqladmin create ariadneWith PostgreSQL do something like:
psql template1 template1=# CREATE DATABASE ariadne;Make sure you also create a user account for Ariadne to use and give it sufficient access to the database you just created.
- Copy the file ariadne.phtml-unix in lib/configs to ariadne.phtml. Edit this file and fill in your system-specific details. You need to at least enter your host name, database name and account, and check all paths.
- Copy the file www/ariadne.inc-unix to www/ariadne.inc and edit it to reflect the includepath to the Ariadne lib directory.
- Run the file www/install/install.php.
You can do this from the browser or, if you have the cgi version of php installed, from the command line.
- Point your webbrowser to your installed Ariadne url.
You'll be asked for a username and password. Use username 'admin' and password 'muze'.
If everything is installed properly you should now see an explorer like interface with 'Administrator' in the top left corner.
If you have trouble logging in, try running the ariadne/install/setadmin.php script from a webbrowser. It allows you to set your admin password. Remove the .htaccess file in the ariadne/www/install/ directory first though.
- If everything works ok click on 'Administrator', then on 'edit' in the newly appeared tabdisplay on the right. Now change the administrator password.
- Important: Move the directory www/install and all it's contents somewhere safe, meaning _not_ in your webserver's documentroot, or make sure there's a .htaccess or something similar to prevent access to these scripts.
- Schedule the cleanup script (bin/cleanup) to run daily. It removes expired session data.
- To make full use of image manipulation you need to have ImageMagick installed. Make sure the path to ImageMagick is correctly set in the Ariadne config. ImageMagick can be obtained from http://www.imagemagick.org/www/download.html