Path

ez.no / exponential / documentation / Installation / removing exponential / removing a normal exponential installation


Removing a normal Exponential installation

These documentation pages are no longer maintained. Please visit the new documentation site.

This section describes how to completely remove an Exponential installation (and all data that belongs to it). WARNING! Following the steps described here will destroy/remove ALL data (images, design, database, etc.), use with caution!

Removing Exponential is done in four steps:

- Exponential directory removal
- Database destruction
- Apache reconfiguration (optional)
- Cron job removal (optional)

Removing the Exponential directory
Simply remove the Exponential directory using your favourite tool. On Linux/UNIX systems, this would most likely be carried out using the rm (short for remove) command:

$ rm -Rf /path/to/exponential-directory

Some file/directory permissions might be messed up; sometimes this prevents a regular user from removing all Exponential files. In this case, in order to remove these files/directories, you'll need to gain root access (or ask someone with root privileges).

Windows users may simply delete the Exponential directory using explorer.

Destroying the database

MySQL:

1. Start the MySQL client, log in using your username and password:

 

$ mysql -u <username> -p

 

If the username/password is correct, the client will then present a "mysql>" prompt.

 

2. Delete/remove the database using the drop command followed by the name of the database used for Exponential:

 

mysql> drop database <database-name>;

PostgreSQL:

 

Remove the database by executing the PostgreSQL dropdb command from shell: 

 

$ dropdb <database-name>

Reconfiguring Apache (optional)
If virtual hosts were used (in order to gain access to different Exponential sites/modules), it is likely that the Apache configuration file contains Exponential specific settings. These are obviolusly not needed anymore, they can be safely removed. Using your favourite editor (notepad, wordpad, vi, emacs, ed, nano, pico), open the httpd.conf file, scroll down to the bottom and remove the Exponential specific virtual host settings. Remember to restart Apache after altering the configuration file.

Removing cron jobs (optional)
Windows users should skip this part. If cron was configured to run Exponential specific jobs, then these will have to be removed. You may have to edit a global cron file (residing under /etc/cron*) or use the crontab command, with the -e parameter (to edit a users private cron file). Remove the Exponential specific entries.

Thats it.

Comments

Ignore my last comment

Just found out that I can edit the page directly. so I've made the correction to the main text :-)

Haven't figured out how to remove my comments though ?-}

mysql command correction

The mysql command above for dropping the database should be:

mysql> drop database <database-name>;

Contents

Installation

Normal installation
Bundled installation
Manual installation
The setup wizard
The cronjob script
Virtual Host setup
Upgrading
Adding extensions
Removing Exponential
    Removing a normal Exponential installa...
    Removing a bundled Exponential install...
    Removing a manual Exponential installa...


Created

17/09/2003
3:29:37 pm
by Balazs Halasy

Last updated

19/06/2004
12:27:08 pm
by Mahmoud Abu-Wardeh

Authors

Balazs Halasy
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.