You can uninstall Portal for ArcGIS either with a user interface (UI) or silently. Follow the steps in the sections below to uninstall.
注:
Your portal's data and content are not removed when Portal for ArcGIS is uninstalled.
Before uninstalling Portal for ArcGIS
If Portal for ArcGIS is configured to be started with the operating system, follow the steps below to remove the daemon:
- Switch to root user.
- Remove the daemons by executing the commands appropriate for your operating system:
- If your operating system supports systemd, run these commands to remove links in /etc/systemd/system/multi-user.target.wants:
systemctl disable arcgisportal.service rm -f /etc/systemd/system/arcgisportal.service
- If Portal for ArcGIS is installed on a Red Hat Linux machine that supports SysV, run these commands:
$ chkconfig --del arcgisportal $ rm -f /etc/rc.d/init.d/arcgisportal
- If Portal for ArcGIS is installed on a SUSE Linux machine that supports SysV, run these commands:
$ insserv -r arcgisportal $ rm -f /etc/init.d/arcgisportal
- If your operating system supports systemd, run these commands to remove links in /etc/systemd/system/multi-user.target.wants:
- End the root user session.
Uninstalling using the UI
- Log in as account that was used to install Portal for ArcGIS.
- Browse to the root of the Portal for ArcGIS installation directory and launch the uninstall_ArcGISPortal script.
- In the uninstaller, click Uninstall to proceed with the uninstallation of Portal for ArcGIS.
- When the uninstallation is completed, click Done to exit.
Silently uninstalling
Run to the following command from the command line:
<Portal for ArcGIS installation directory>./uninstall_ArcGISPortal -s