Skip to main content

卸载 ArcGIS Data Store

可因以下任意原因卸载 ArcGIS Data Store:

  • 已将数据存储移动到另一台计算机上,不再需要在旧计算机上安装 ArcGIS Data Store。

  • 您确定在关系存储中不需要备用计算机,或者希望从时空大数据存储中移除其中一台计算机,因此您将移除数据存储计算机并卸载 ArcGIS Data Store。

  • 您不想再使用 ArcGIS Data Store。

卸载 ArcGIS Data Store 还会从 GIS Server 站点取消注册数据存储。 卸载该软件后,使用数据存储中的数据的托管要素图层以及已发布到门户的任何场景图层使用的缓存将无法正常运行。 但是该数据会仍然存在,因为卸载 ArcGIS Data Store 后,数据存储目录仍会保留在服务器上。 如果您在稍后决定需要该要素图层,则您可以重新安装 ArcGIS Data Store 并将该数据存储注册到同一 GIS Server 站点上。

首先,移除后台程序。 然后,使用以下卸载方法之一从计算机中卸载 ArcGIS Data Store:

卸载 ArcGIS Data Store 之前移除后台程序

如果您已将 ArcGIS Data Store 配置为与操作系统一同启动,则必须在卸载前移除后台程序。

  1. 以根用户身份连接到 ArcGIS Data Store 计算机。

  2. 通过运行适用于操作系统的命令移除后台程序。

    • 如果操作系统支持 systemd,则运行以下命令以移除 /etc/systemd/system/multi-user.target.wants 中的链接
    systemctl disable arcgisdatastore.service
    rm -f /etc/systemd/system/arcgisdatastore.service
    
    • 如果 ArcGIS Data Store 安装在支持 SysV 的 Red Hat Enterprise Linux Server 上,则运行以下命令:
    chkconfig --del arcgisdatastore
    rm -f /etc/rc.d/init.d/arcgisdatastore
    
    • 如果 ArcGIS Data Store 安装在支持 SysV 的 SUSE Linux Enterprise Server 上,则运行以下命令:
    insserv -r arcgisdatastore
    rm -f /etc/init.d/arcgisdatastore
    

现在,您可继续从计算机卸载 ArcGIS Data Store。

使用脚本卸载

要使用脚本卸载 ArcGIS Data Store,请运行 uninstall_ArcGISDataStore 脚本,如下所述:

  1. 使用已安装 ArcGIS Data Store 的账户登录到数据存储服务器。

  2. 打开 shell 命令并启动 uninstall_ArcGISDataStore 脚本。

    该脚本位于 ArcGIS Data Store 安装目录的根目录中。

    随即打开卸载界面。

  3. 单击卸载继续。

  4. 卸载过程完成后,请单击完成退出。

静默卸载

要以不接收提示(静默)的方式卸载 ArcGIS Data Store,可使用以下命令行语法:

<ArcGIS Data Store installation directory>/uninstall_ArcGISDataStore -s

可因以下任意原因卸载 ArcGIS Data Store:

  • 已将数据存储移动到另一台计算机上,不再需要在旧计算机上安装 ArcGIS Data Store。

  • 您确定在关系存储中不需要备用计算机,或者希望从时空大数据存储中移除其中一台计算机,因此您将移除数据存储计算机并卸载 ArcGIS Data Store。

  • 您不想再使用 ArcGIS Data Store。

  • 您已升级 ArcGIS Data Store,并且想要移除从未在特定计算机上配置过的特定数据存储类型的文件。 您可以会在组织内的安全性实践需要移除某些文件时执行此操作。

卸载 ArcGIS Data Store 还会从 GIS Server 站点取消注册数据存储。 卸载该软件后,使用数据存储中的数据的托管要素图层以及已发布到门户的任何场景图层使用的缓存将无法正常运行。 但是该数据会仍然存在,因为卸载 ArcGIS Data Store 后,数据存储目录仍会保留在服务器上。 如果您在稍后决定需要该要素图层,则您可以重新安装 ArcGIS Data Store 并将该数据存储注册到同一 GIS Server 站点上。

注意:

卸载 ArcGIS Data Store 之前,请关闭所有不必要的应用程序。

使用以下方法之一从计算机中卸载 ArcGIS Data Store:

使用用户界面卸载

要使用用户界面卸载所有数据存储类型,请完成以下步骤:

  1. 在 Microsoft Windows 桌面上,单击开始 > 控制面板(如有必要,切换至“经典视图”),然后选择程序和功能。

  2. 从程序列表中选择 ArcGIS Data Store。

  3. 选择移除,以从计算机中移除 ArcGIS Data Store。

静默卸载 ArcGIS Data Store

要在不接收任何输入提示(静默)的情况下从计算机中完全卸载 ArcGIS Data Store,使用 /qb 选项运行 msiexec 命令,并使用 /x 指定适用于您要卸载的软件版本的软件代码。

要静默卸载 ArcGIS Data Store 12.1,请从命令行运行以下命令:

msiexec /x {0D10FFF3-8380-4E15-952E-DC031EB3940D} /qb

要静默卸载 ArcGIS Data Store 12.0,请从命令行运行以下命令:

msiexec /x {E62C9D19-53FE-45C2-B9C5-C86C7C703B8F} /qb

要静默卸载 ArcGIS Data Store 11.5,请从命令行运行以下命令:

msiexec /x {622B3833-6239-4857-96D5-4294D1E85F94} /qb

要静默卸载 ArcGIS Data Store 11.4,请从命令行运行以下命令:

msiexec /x {4AC2C588-DFDC-449E-8DFF-3701C3C3824A} /qb

要静默卸载 ArcGIS Data Store 11.3,请从命令行运行以下命令:

msiexec /x {E4FC0BED-0F94-49D4-9AF5-BBA64AED3787} /qb

要静默卸载 ArcGIS Data Store 11.2,请从命令行运行以下命令:

msiexec /x {A02634B0-03FD-4DF3-A5C6-BACBE5DF3979} /qb

要静默卸载 ArcGIS Data Store 11.1,请从命令行运行以下命令:

msiexec /x {391B3A39-0951-43E3-991D-82C82CA6E4A4} /qb

要静默卸载 ArcGIS Data Store 11.0,请在命令行中运行以下命令:

msiexec /x {ABCEFF81-861D-482A-A20E-8542814C03BD} /qb

卸载特定数据存储类型

您可以移除任何未配置且不需要的数据存储类型。 例如,如果您在计算机上安装了所有数据存储类型,但仅在该计算机上配置了关系存储,则可以卸载所有其他类型。

要卸载不使用的数据存储类型,可以使用向导修改 ArcGIS Data Store 安装,或从 Windows 命令提示符运行 ArcGIS Data Store 安装文件。

不要卸载使用托管服务器配置数据存储类型。

使用向导修改 ArcGIS Data Store 安装

要使用 ArcGIS Data Store 安装向导从 ArcGIS Data Store 安装中卸载数据存储类型,可以使用 Windows 选项来修改软件安装(应用程序和功能或程序和功能)来修改 ArcGIS Data Store 安装。

  1. 在 ArcGIS Data Store 安装向导中,在程序维护对话框中选择修改,然后单击下一步。

  2. 在选择功能对话框中,单击要卸载的数据存储类型旁边的下拉菜单,然后单击移除按钮。

    您可以一次卸载多种类型,但不要卸载使用托管服务器配置的数据存储类型。

  3. 单击下一步。

  4. 单击准备修改程序对话框上的安装以卸载您选择的要从安装中移除的一个或多个数据存储。

如果 ArcGIS Data Store 安装在多台计算机上,请在另一台或多台 ArcGIS Data Store 计算机上重复这些步骤以移除相同的数据存储类型。

从命令提示符运行安装文件

可以从 Windows 命令提示符运行安装文件来卸载未配置的任何数据存储类型。

以管理员身份运行命令提示符,切换到计算机上 ArcGIS Data Store 安装文件所在的目录,并使用 REMOVE 选项运行 Setup.exe 文件。 语法如下:

Setup.exe /qb ACCEPTEULA=YES USER_NAME=<ArcGIS Data Store account username> PASSWORD=<ArcGIS Data Store account password> REMOVE={Relational | Spatiotemporal | TileCache | Object | Graph}

例如,键入以下内容以移除 ArcGIS Data Store 账户用户名和密码分别为 mydomain/myaccount 和 Mypassw0rd 的 ArcGIS Data Store 安装的对象和图存储:

Setup.exe /qb ACCEPTEULA=YES USER_NAME=mydomain/myaccount PASSWORD=Mypassw0rd REMOVE=Object,Graph

如果 ArcGIS Data Store 安装在多台计算机上,请在另一台或多台 ArcGIS Data Store 计算机上运行相同命令以移除相同的数据存储类型。