Zend Server Installation Guide > RPM (RHEL, CentOS and OEL) Installation and Upgrade > Uninstalling Zend Server

Uninstalling Zend Server on RPM (RHEL, CentOS and OEL)

The following procedures describes how to uninstall Zend Server on an RPM (RHEL, CentOS and OEL) 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, nginx).

Note:

To perform this action you must have root privileges.

Manually Uninstalling Zend Server

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

 

 

Instructions on how to complete a procedure

To uninstall Zend Server, run:

zendctl.sh stop

yum remove -y 'deployment-daemon-zend-server' && yum remove -y '*zend*'

This will stop the Zend Server daemons and remove the program, including any additional packages that were installed.

When uninstalling, the configuration files are not removed. They remain in the same location 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 you run the uninstall.

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.

 

Read Also

  Installing Zend Server    
  Upgrading Zend Server