Content Platform Engine(或
Content Engine)软件通常由最初安装该软件的用户进行升级。如果由于某种原因而不能使用此帐户,请指定一个新帐户并对其分配某些目录许可权。
过程
如果您安装
Content Platform Engine(或
Content Engine)时所使用的旧 cpe_install_user
帐户不可用,请使用以下过程将必要的目录许可权分配给另一个新
cpe_install_user 用户帐户,您将使用该用户帐户来升级
Content Platform Engine:
- 确保您知道旧 cpe_install_user 帐户。 如果不知道,请以任何用户身份登录到应用程序服务器并从
shell 提示符运行 ls -l 命令,以确定 Content Platform Engine(或
Content Engine)安装目录及其所包含文件的所有权。缺省安装目录是下列其中一个位置:
- V4.5 上的缺省路径:/opt/FileNet/ContentEngine
- V5 上的缺省路径:/opt/IBM/FileNet/ContentEngine
要点: 如果旧 cpe_install_user 不再存在,请与 IBM® 软件支持机构联系以获取帮助。
- 指定一个将成为新 cpe_install_user 的操作系统帐户。
- 以旧 cpe_install_user 身份登录到应用程序服务器,浏览到
ContentEngine 目录,然后以递归方式将此目录及其所有文件和子目录的所有权授予新
cpe_install_user 帐户。 例如,如果 Content Platform Engine(或
Content Engine)安装在 /opt/FileNet/ContentEngine
中,请运行以下命令以将所有权授予新 cpe_install_user:
chown -R cpe_install_user /opt/FileNet/ContentEngine
- 以最初安装了应用程序服务器并创建了应用程序服务器实例的
appserver_admin 用户身份登录到应用程序服务器。
- 浏览到应用程序服务器实例目录,并将组权限授予 cpe_appserver_install_group(其成员是 cpe_install_user 和 cpe_appserver_install_user)。例如:
chgrp -R cpe_appserver_install_group /opt/IBM/Websphere/Appserver
/profiles/Appsvr01
- 为 cpe_appserver_install_group 授予读/写许可权。例如:
chmod -R 775 /opt/IBM/Websphere/Appserver/profiles/Appsvr01
- 从应用程序服务器注销,然后以新的 cpe_install_user 身份重新登录。
- 将对 Content Platform Engine 目录的读、写和执行许可权授予新
cpe_install_user,如下所示:
chmod -R +rwx /opt/FileNet/ContentEngine
- 将 Install Shield 目录从旧 cpe_install_user
的 $HOME 目录复制到新 cpe_install_user
的 $HOME 目录,并将读、写和执行许可权授予新 cpe_install_user。
请在定制的安装和升级工作表中记录新
cpe_install_user 的值。要查找此属性,请搜索工作表以获取 cpe_install_user 的实例。