exponential.earth / exponential / documentation / Installation / normal installation / installing exponential on a linux/unix based system
These documentation pages are no longer maintained. Please visit the new documentation site.
The requirements for doing a normal 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.
- Initiating the setup wizard.
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> <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-3.x.x". This directory should be renamed to something more meaningful, for example "my_site".
Initiating the setup wizard
The setup wizard can be started using a web browser immediately after the previous steps (described in this section) are completed. It will be automatically run the first time someone tries to access/browse the index.php file located in the Exponential directory. Let's assume that we are using a server with the hostname "www.example.com" and that after unpacking, the Exponential directory was renamed to "my_site".
Document root example
If Exponential was unpacked into a directory called "my_site" under the document root, the setup wizard can be initiated by browsing the following URL: http://www.example.com/my_site/index.php.
Home directory example
If Exponential was unpacked to a web-served directory located inside the home directory of a user with the username "peter", (usually called "public_html", "www", "http", "html" or "web"), the setup wizard can be initiated by browsing the following URL: http://www.example.com/~peter/my_site/index.php.
Please refer to "The setup wizard" section for a detailed description of the web based setup wizard.
Comments
Kernel (20)
Kathleen Mcdonough
Monday 22 May 2006 6:27:13 am
Module not found
The requested module setup could not be found.
Possible reasons for this are:
* The module name was misspelled, try changing the URL.
* The module does not exist on this site.
* This site uses siteaccess matching in the URL and you didn't supply one, try inserting a siteaccess name before the module in the URL .
Cannot install, index.php generates Fatal error!
Oskari Saloheimo
Wednesday 08 February 2006 2:01:47 pm
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16 bytes) in /usr/home/web/wse42450/nti/lib/ezutils/classes/ezdebug.php on line 133
What can I do, where is the problem?
Thank you in advance.
Oskari Saloheimo
Failed to Add Content
James Ashley
Thursday 04 August 2005 5:27:24 am
I ran into precisely the same problem. PHP 4.3.
I finally managed to get a bare-bones manual installation done (yes, it was a bugger that wound up with me digging through the database and the PHP code to figure out how to set the password by hand). Now I guess it's a matter of learning how to use it and building my site from the ground up.
Should be fun :)
Could not install addon package
Cosmin Ghiu
Wednesday 29 June 2005 9:45:50 pm
when trying to first install it wont get pass this error message when trying to setup the site. I CHMODed all dir. correctly. Why wont it get pass this step and install the site?
-----------------
The setup wizard was not able to complete the creation of your selected sites.
The following errors were detected:
EZSW-051
Could not install addon package named contact_us
EZSW-040
Failed to initialize site package plain
If you think you have fixed the errors you can try and click the "Retry" button.
Fatal error
Giorgio Rolfini
Wednesday 25 May 2005 1:28:50 pm
I have the same problem too,
On my system with FC3 Apache 1.3.33 MySQL 4.1.10 PHP 4.3.9 the error log reports to me that he can't find compat.php and return a blank page. Why?
Best regards Giorgio
Nothing displayed when running index.php
osjak osjak
Monday 31 January 2005 7:53:08 am
System:
Trustix Linux server
Apache 1.3.33
PHP 4.3.10
FATAL ERROR
Alexey Malishevsky
Sunday 21 November 2004 7:08:11 pm
Fatal error: Exponential did not finish its request
The execution of Exponential was abruptly ended, the debug output is present below.
Parametrs:
Linux Slackware 10
Apache 1.3.3
Php 4.3.7
PostgreSQL 7.4.2
Error when accessing page
Per Axbom
Tuesday 16 November 2004 10:39:02 pm
-------
Fatal error: Call to undefined function: file_get_contents() in /home/userB/b0294700/public_html/boksmedjan.se/go/lib/eztemplate/classes/eztemplatefileresource.php on line 245
Fatal error: Exponential did not finish its request
The execution of Exponential was abruptly ended, the debug output is present below.
-------
Nothing more,
Apache 2.0
Frederik Holljen
Friday 29 October 2004 4:18:02 pm
FATAL ERROR
Ricardo Frydman
Friday 29 October 2004 4:02:40 pm
Fatal error: Exponential did not finish its request
The execution of Exponential was abruptly ended, the debug output is present below.
Thatś all! I have Apache 2.0.40, mysql 3.23.58, PHP Version 4.2.2 under RedHat Linux 9.
I've tride in 3.4 and 3.5alpha versionm with the same results.
Thanks in advance
What exactly is required for installation? This .dir is 30mb!
semiotics 101
Wednesday 13 October 2004 9:06:42 pm
Your are using PHP 5
Ekkehard Dörre
Friday 24 September 2004 2:58:13 pm
Your are using PHP 5
http://www.ez.no/exponential/docum...general/does_exponential_run_on_php_5
Greetings, ekke
Fatal error: Cannot re-assign $this in ezdebug.php on line 194
Radoslav Horák
Friday 24 September 2004 12:49:05 pm
Fatal error: Cannot re-assign $this in exponential/lib/ezutils/classes/ezdebug.php on line 194
config:
Exponential 3.4
PHP Version 5.0.1
Apache Tomcat/5.0
more here: http://horacio.info/info.php
Error
Roger Andersen
Thursday 01 July 2004 8:57:45 am
Warning: main(lib/ezutils/classes/ezdebug.php): failed to open stream: No such file or directory in /home/librariu/public_html/boguiden/index.php on line 81
Warning: main(): Failed opening 'lib/ezutils/classes/ezdebug.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/librariu/public_html/boguiden/index.php on line 81
Warning: main(lib/ezutils/classes/ezini.php): failed to open stream: No such file or directory in /home/librariu/public_html/boguiden/index.php on line 82
Warning: main(): Failed opening 'lib/ezutils/classes/ezini.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/librariu/public_html/boguiden/index.php on line 82
Warning: main(lib/ezutils/classes/ezdebugsetting.php): failed to open stream: No such file or directory in /home/librariu/public_html/boguiden/index.php on line 83
Warning: main(): Failed opening 'lib/ezutils/classes/ezdebugsetting.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/librariu/public_html/boguiden/index.php on line 83
Fatal error: Undefined class name 'ezini' in /home/librariu/public_html/boguiden/index.php on line 85
Someone please help me out here!!
Re: Error on loading index.php
Balazs Halasy
Wednesday 03 March 2004 11:09:38 am
Which version of Exponential are you using? PHP version? Apache version? etc. Would be great if you posted this on the forum instead (under installation) - that way you'll reach more people = better chance of getting help.
Balazs
Error on loading index.php
Pierre Johnson
Wednesday 03 March 2004 1:14:49 am
What should I do ? :
Fatal error: Undefined class name 'ezsection' in index.php on line 354
Fatal error: Exponential did not finish it's request
The execution of Exponential was abruptly ended, the debug output is present below