ez.no / exponential / documentation / Installation / removing exponential / 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
Mahmoud Abu-Wardeh
Saturday 19 June 2004 12:30:26 pm
Haven't figured out how to remove my comments though ?-}
mysql command correction
Mahmoud Abu-Wardeh
Saturday 19 June 2004 12:24:58 pm
mysql> drop database <database-name>;