以管理员或非管理员的身份进行安装
您可以使用 IBM Installation Manager 以管理员或非管理员的身份安装软件。
共享同一 Installation Manager 实例时保存凭证
在管理员方式下,多个用户可以使用同一 Installation Manager 实例。某些存储库可能需要凭证。在使用“保存密码”选项而不指定只有您可以访问的密钥环的情况下,其他用户可以使用您的凭证访问存储库。
如果不保存凭证,那么每次访问存储库时都会提示您输入凭证。
有关对 Installation Manager 使用凭证的更多信息,请参阅 Installation Manager 信息中心
在 Windows 平台上进行安装的说明
-accessRights 参数可用于指定是在管理员模式还是非管理员模式下安装软件:
- 要以管理员的身份来安装软件,请使用 -accessRights admin 参数和选项
- 要以非管理员的身份来安装软件,请使用 -accessRights nonAdmin 参数和选项。
- install.exe
- installc.exe
- uninstall.exe
- uninstallc.exe
install.exe 和 userinst.exe 命令用于将 Installation Manager 安装到不同的目录。对以管理员方式进行的 Installation Manager 安装所做的更改不影响以非管理员方式进行的 Installation Manager 安装。 而对以非管理员方式进行的 Installation Manager 安装所做的更改也不影响以管理员方式进行的 Installation Manager 安装。每个 Installation Manager 实例都必须具有自己的安装目录和代理数据位置。
在 Linux 和 UNIX 平台上进行安装的说明
您必须对 Istallation Manager 目录、软件包目录和父目录具有执行许可权。如果没有执行许可权,那么无法访问子目录或文件。如果没有该许可权,使用 Installation Manager 时可能会出现异常行为或失败。
Installation Manager 缺省设置和目录位置
设置 | 管理员 | 非管理员 |
---|---|---|
Windows: 在 Windows 菜单和“添加或删除程序”中显示 Installation Manager。 | Installation Manager | Installation Manager |
Windows:Microsoft 注册表键 | HKEY_LOCAL_MACHINE\Software\IBM\Installation Manager | HKEY_CURRENT_USER\Software\IBM\Installation Manager |
缺省安装目录 | Windows:C:\Program
Files\IBM\Installation Manager Linux 和UNIX:/opt/IBM/InstallationManager IBM i:/QIBM/ProdData/InstallationManager z/OS®:/InstallationManager/bin |
Windows 2012、Windows 2008、Windows 8 和 Windows 7:C:\Users\users\IBM\Installation Manager Linux 和 UNIX:/user_home_directory/IBM/InstallationManager z/OS:/user_home_directory/InstallationManager/bin |
eclipse\tools 目录是安装目录的子目录。 | Windows:installation_directory\eclipse\tools Linux、UNIX 和 z/OS:installation_directory/eclipse/tools |
|
缺省注册表文件位置 | Linux 和 UNIX:/etc/.ibm/registry/InstallationManger.dat z/OS:/etc/.ibm/registry/InstallationManger.dat |
Linux 和 UNIX:/user_home_directory/etc/.ibm/registry/InstallationManger.dat z/OS:/user_home_directory/etc/.ibm/registry/InstallationManger.dat |
缺省代理数据位置 要了解有关代理数据位置的更多信息,请参阅代理数据位置。 要点: 请勿更改代理数据位置目录或子目录中的内容、文件或目录。
更改这些内容将使 Installation Manager 无法工作。
|
Windows 2012、Windows 2008、Windows 8 和 Windows 7:C:\ProgramData\IBM\Installation Manager Linux 和 UNIX:/var/ibm/InstallationManager z/OS:/InstallationManager/appdata |
Windows 2012、Windows 2008、Windows 8 和 Windows 7:C:\Users\user\AppData\Roaming\IBM\Installation Manager Linux(tm) 和 UNIX(tm):/user_home_directory/var/ibm/InstallationManager z/OS:/user_home_directory/InstallationManager/appdata |
Eclipse 日志位于代理数据目录的子目录中。 | Windows:agent_data_directory\pluginState\.metadata\.log Linux、UNIX 和 z/OS:/agent_data_directory/pluginState/.metadata/.log |
|
uninstall 目录是代理数据目录的子目录。 | Windows:agent_data_directory\uninstall Linux、UNIX 和 z/OS:/agent_data_directory/uninstall |
Install 命令
只能安装一个 Installation Manager 管理员实例。 对于非管理员,只能为每个用户安装一个 Installation Manager 实例。
Installation Manager 安装目标 | Windows 命令 | Linux 和 UNIX 命令 |
---|---|---|
管理员为所有用户安装 Installation Manager。 | install.exe 或 installc.exe 可用于静默安装 |
#install 或 #installc 可用于静默安装 |
非管理员为所有用户安装 Installation Manager。 | Windows 2012、Windows 2008、Windows 8 和 Windows 7: install.exe或 installc.exe 可用于静默安装注: 系统会提示您输入管理员用户标识和密码。
|
$sudo install 或 $sudo installc 可用于静默安装 |
管理员仅为当前用户安装 Installation Manager。 | userinst.exe 或 userinstc.exe 可用于静默安装 |
#userinst 或 #userinstc 可用于静默安装 |
非管理员仅为当前用户安装 Installation Manager。 | userinst.exe 或 userinstc.exe 可用于静默安装 |
$userinst 或 #userinstc 可用于静默安装 |
卸载命令
Installation Manager 卸载目标 | Windows 命令 | Linux 和 UNIX 命令 |
---|---|---|
管理员为所有用户卸载 Installation Manager。 | uninstall.exe 或 uninstallc.exe 可用于静默卸载 |
#uninstall 或 #uninstallc 可用于静默卸载 |
非管理员为所有用户卸载 Installation Manager。 | Windows 2012、Windows 2008 和 Windows 7: uninstall.exe或 uninstallc.exe 可用于静默卸载注: 系统会提示您输入管理员用户标识和密码。
|
$sudo uninstall 或 $sudo uninstallc 可用于静默卸载 |
管理员仅为当前用户卸载 Installation Manager。 | userinst.exe 或 userinstc.exe 可用于静默卸载 |
#uninstall 或 #uninstallc 可用于静默卸载 |
非管理员仅为当前用户卸载 Installation Manager。 | userinst.exe 或 userinstc.exe 可用于静默卸载 |
$uninstall 或 #uninstallc 可用于静默卸载 |
要了解有关静默安装命令参数的信息,请参阅 Installation Manager 命令行参数。