您可以通过用户界面 (UI) 卸载或静默卸载。 GeoScene Portal 或进行。 执行以下部分中的步骤以进行卸载。
注:
在 GeoScene Portal 卸载后,不会移除门户数据和内容。
卸载 GeoScene Portal 之前
如果已将 GeoScene Portal 配置为与操作系统一起启动,则执行以下步骤来移除后台程序:
- 切换为Root用户。
- 通过执行适用于操作系统的命令移除后台程序:
- 如果您的操作系统支持 systemd,则运行以下命令以移除 /etc/systemd/system/multi-user.target.wants 中的链接:
systemctl disable geosceneportal.service rm -f /etc/systemd/system/geosceneportal.service
- 如果 GeoScene Portal 安装在支持 SysV 的 Red Hat Linux 计算机上,则运行以下命令:
$ chkconfig --del geosceneportal $ rm -f /etc/rc.d/init.d/geosceneportal
- 如果 GeoScene Portal 安装在支持 SysV 的 SUSE Linux 计算机上,则运行以下命令:
$ insserv -r geosceneportal $ rm -f /etc/init.d/geosceneportal
- 如果您的操作系统支持 systemd,则运行以下命令以移除 /etc/systemd/system/multi-user.target.wants 中的链接:
- 结束Root用户会话。
使用 UI 卸载
- 通过安装 GeoScene Portal 所使用的帐户登录。
- 浏览到 GeoScene Portal 安装目录的根目录,然后启动 uninstall_GeoScenePortal 脚本。
- 在卸载程序中,单击卸载以继续卸载 GeoScene Portal。
- 卸载完成后,单击完成退出。
静默卸载
通过命令行运行以下命令:
<GeoScene Portal installation directory>./uninstall_GeoScenePortal