Chapter 6. Advanced Setup and Configuration
80
6.4.2. Uninstalling Directory Server
6.4.2.1. Linux
To uninstall Red Hat Directory Server entirely, do the following:
1. Remove all of the Directory Server instances. Each Directory Server instance service must be
running for the remove script to access it.
/usr/sbin/ds_removal -s example1 -w itsasecret
/usr/sbin/ds_removal -s example2 -w itsasecret
/usr/sbin/ds_removal -s example3 -w itsasecret
2. Stop the Administration Server.
service dirsrv-admin stop
3. Then use the system tools to remove the packages. For example, on Red Hat Enterprise Linux 4,
do the following:
rpm -ev dirsec-nss dirsec-nspr dirsec-nss-tools --nodeps
rpm -ev svrcore mozldap6 mozldap6-tools perl-Mozilla-LDAP --nodeps
rpm -ev redhat-ds-base --nodeps
rpm -ev redhat-ds-admin redhat-ds-console redhat-admin-console --nodeps
rpm -ev idm-console-framework redhat-idm-console --nodeps
On Red Hat Enterprise Linux 5 (32-bit), the packages to remove are as follows:
rpm -ev svrcore mozldap mozldap-tools perl-Mozilla-LDAP --nodeps
rpm -ev redhat-ds-base --nodeps
rpm -ev redhat-ds-admin redhat-ds-console redhat-admin-console --nodeps
rpm -ev idm-console-framework redhat-idm-console --nodeps
6.4.2.2. HP-UX
To uninstall Red Hat Directory Server entirely, do the following:
1. Remove all of the Directory Server instances.
/opt/dirsrv/sbin/ds_removal -s example1 -w itsasecret
/opt/dirsrv/sbin/ds_removal -s example2 -w itsasecret
/opt/dirsrv/sbin/ds_removal -s example3 -w itsasecret
2. Stop the Administration Server.
/opt/dirsrv/sbin/stop-ds-admin
3. Remove the directory where the Directory Server is installed. For example:
rm -Rf /export/ds80
Содержание DIRECTORY SERVER 8.0
Страница 32: ...24 ...
Страница 46: ...38 ...
Страница 90: ...82 ...
Страница 98: ...90 ...
Страница 128: ...120 ...