Path

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


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)

How to fix this error? v3.8

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!

Please help. I receive the following error message upon trying to access index.php for installation:

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

Cosmin Ghiu:

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

Hello,

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

Hi,
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

When running index.php for the first time, nothing is displayed. No errors, no background, nothing at all. I have no clue where to look for a problem. Did anybody have this? Thank you.

System:
Trustix Linux server
Apache 1.3.33
PHP 4.3.10

FATAL ERROR

I have follow problems at the last step installation:
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

Just tried installing and get the following error message when accessing index.php:

-------

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

Is not supported (due to problems with PHP and apache 2)

FATAL ERROR

Hi! I made all the installation and when I pont my browser to index.php i get this message:
Fatal error: Exponential did not finish its request

The execution of Exponential was abruptly ended, the debug output is present below.

That&#347; 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!

Hi, I just finished uploading the cms to my webserver, but it's 30mb! I have 100mb for my webserver and now I only have 5% left of web space after adding these files. How much space is required for installation, and which files/directories are ONLY required for installation? Please advise, because I don't think I'll use this great CMS if it takes up 30mb of disk space. Thanks! E-mail: semiotics101@hotmail.com

Your are using PHP 5

@Radoslav Horák:
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

when trying to initiate the setup wizard, I get this error

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

I have uploaded all the files via ftp to my server and when I run the www.myside.com/index.php I get this error:

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

Hi,

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

I get the following error when I load the index.php file in my web browser as described. I have FTP'd the extracted files to my web server.

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

Contents

Installation

Normal installation
    Requirements for doing a normal insta...
    Installing Exponential on a Linux/UNIX...
    Installing Exponential on a Windows ba...
Bundled installation
Manual installation
The setup wizard
The cronjob script
Virtual Host setup
Upgrading
Adding extensions
Removing Exponential


Created

17/09/2003
10:37:15 am
by Balazs Halasy

Last updated

19/06/2004
12:37:16 pm
by Mahmoud Abu-Wardeh

Authors

Balazs Halasy
Ole Morten Halvorsen
Guttorm Flatabø
Mahmoud Abu-Wardeh



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.