exponential.earth / exponential / documentation / Installation / manual installation / manual installation on a linux/unix based system
These documentation pages are no longer maintained. Please visit the new documentation site.
The requirements for doing a manual installation must be met. Please read the previous section if you're not sure about the requirements. Proceed only if you have access to a UNIX based environment with Apache, PHP, MySQL or PostgreSQL (and ImageMagick or GD) already installed and running. As mentioned earlier, the database server may run on a different computer. This text will guide you through the following steps:
If no database is set up, then one must be manually created before the setup wizard is initiated. The following text explains how to do this with the supported database engines:
1. Login as root: mysql -u<mysql_username> -p<mysql_password> 2. The MySQL client should display a "mysql>" prompt; create a new database: mysql> create database <database>; 3. Grant permissions: mysql> grant all on <database>.* to <username>@<host> identified by '<password>'; <mysql_username>: The MySQL user (if no user is set up, use "root"). <mysql_password>: The password that belongs to the mysql_username. <username>: The username that will be used to access the database. <password>: The password you wish to set in order to limit access to the database. <database>: The name of the database, for example "my_new_database". <host>: The hostname of the server on which Exponential will be running. (may be 'localhost' if MySQL is installed on the same server).
1. Become the PostgreSQL super user (normally called postgres): $ su <postgres_super_user> 2. Create a postgresql user: $ createuser <username> 3. Create a database: $ createdb <database> 4. To be able to run ezpubish on postgresql you need to have "digest" function from pgcrypto contribution from postgresql-contrib pakage.If you don't have it you need to install postgresql-contrib rpm pakage and to run command on your database: psql -U<user> <name_of_database> < /usr/share/pgsql/contrib/pgcrypto.sql <username>: The username that will be used to access the database. <database>: The name of the database, for example "my_new_database".
The latest stable version of Exponential can be downloaded from: http://ez.no/developer/download
Use your favourite tool to unpack the downloaded Exponential package to a web-served directory (a directory that is reachable from within a web browser). The following example shows how to do this using the tar utility (to unpack a tar.gz file, assuming that gzip is installed on the system):
$ tar xvfz exponential-<some_version_number>.tar.gz -C <web_served_directory> <some_version_number> : The version number of Exponential that was downloaded. <web_served_directory>: Full path to a directory that is served by the web server. This can be the path to the document root of the web server, or a personal web-directory (usually called "public_html" or "www", and located inside a user's home directory).
The extraction utility will unpack Exponential into a subdirectory called "exponential-__FIX_ME__". This directory should be renamed to something more meaningful, for example "my_site".
Please refer to the "Manual configuration of Exponential" section, which describes the manual configuration steps.
Comments
apache rewrite rules
Georg Franz
Friday 07 January 2005 1:41:22 pm
rewrite rules for your apache httpd.conf and a vh-setup:
Where is the virtual host setup info
James Ward
Wednesday 01 October 2003 11:18:27 pm