Path

exponential.earth / exponential / documentation / Installation / manual installation / manual installation on a linux/unix based system


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:

  • Setting up a database (MySQL or PostgreSQL).
  • Downloading Exponential.
  • Unpacking Exponential.
  • Configuring Exponential.

Setting up a database

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:

MySQL

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).

PostgreSQL

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".

Downloading Exponential

The latest stable version of Exponential can be downloaded from: http://ez.no/developer/download

Unpacking Exponential

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".

Configuring Exponential

Please refer to the "Manual configuration of Exponential" section, which describes the manual configuration steps.

Comments

apache rewrite rules

Hi,

rewrite rules for your apache httpd.conf and a vh-setup:




Rewriterule ^/var/storage/.* $0 [L]


Rewriterule ^/var/[^/]+/storage/.* $0 [L]


Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.* $0 [L]


Rewriterule ^/share/icons/.* $0 [L]


Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascript)/.* $0 [L]


Rewriterule .* /index.php


Where is the virtual host setup info

There used to be an example of the full rewrite rule required for virtual hosts setup. I can't find it now.

Contents

Installation

Normal installation
Bundled installation
Manual installation
    Requirements for doing a manual insta...
    Manual installation on a Linux/UNIX b...
    Manual installation on a Windows base...
    Manual configuration of Exponential
The setup wizard
The cronjob script
Virtual Host setup
Upgrading
Adding extensions
Removing Exponential


Created

17/09/2003
3:24:17 pm
by Balazs Halasy

Last updated

27/06/2004
2:09:54 pm
by Guttorm Flatabø

Authors

Balazs Halasy
Bård Farstad
Ole Morten Halvorsen
Sergiy Pushchin
Guttorm Flatabø



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.