Zend Server Installation Guide > RPM (SLES and OpenSUSE) Installation and Upgrade > Uninstalling Zend Server

Uninstalling Zend Server on RPM (SLES and OpenSUSE)

The following procedures describes how to uninstall Zend Server on an RPM (SLES and OpenSUSE) operating system.

Uninstalling and deleting  Zend Server can be performed by using the following programs:

Important!

The following resources are not removed during the uninstallation procedures describes below:
1. Files under Zend Directory (/usr/local/zend): DB files (located at var/db) and Log files (located at var/logs).
2. User 'zend' (not a regular user, login disabled).
3. Web server (Apache).

Note:

To perform this action you must have root privileges.

Manually Uninstalling Zend Server

The following procedure describes how to uninstall Zend Server using 'zypper'.

Run the commands in the shell as root or using sudo.

 

 

Instructions on how to complete a procedure

To uninstall Zend Server on SLES 11 and OpenSUSE run:

zypper remove *zend*

To uninstall Zend Server on SLES 10 run:

 rpm -qa --qf "%{name}\n" | grep zend | xargs zypper remove

When uninstalling, configuration files are not removed. They remain in the same location and are renamed with an additional suffix (.rpmsave) so that they can be reused in a newer installation.

For example: a file called example.ini is renamed to example.ini.rpmsave after running the un-install.

Automatically Uninstalling Zend Server

The following instructions describe how to delete or uninstall Zend Server using an automated script that includes all remove commands.

 

 

Instructions on how to complete a procedure

To automatically uninstall Zend Server run:

/usr/local/zend/bin/uninstall.sh

Tip:

Add --automatic to this command to run the script uninterrupted and without prompting verification messages.

 

 

Related Links

Related Links:

Upgrading Zend Server

Additional Packages

 

 

 

Read Also

  Installing Zend Server    
  Upgrading Zend Server