将非 root 用户配置迁移到 root 用户配置

如果先前在 V7.0 或更高版本 中使用了 Linux 和 UNIX 平台上的非 root 用户标识,那么您可以在 WebSphere® Application Server V9.0 中以 root 用户身份运行 Deployment Manager 或应用程序服务器。

开始之前

支持的配置 支持的配置:

本文是关于概要文件配置迁移。要将应用程序迁移到最新版本,请使用 WebSphere Application Server Migration Toolkit。有关更多信息,请参阅 WASdev 上的 Migration Toolkit

sptcfg
请参阅有关迁移、共存和互操作性的概述迁移前注意事项

过程

将概要文件或 Deployment Manager 目录的所有权设置为运行 WebSphere Application Server 的同一用户。

必须完成此操作,Deployment Manager 或应用程序服务器才能正确运行。

作为 root 用户,运行以下命令:
cd $WASROOT/profiles/  
chown -R wasadmin dmgr/  
chgrp -R wasndgrp dmgr/  
chmod -R 755 dmgr/  
... 
cd $WASROOT/profiles/dmgr/bin  
./startManager.sh
其中,概要文件名称是 dmgr,它作为 wasadmin 中主组为 wasndgrp 的用户运行。
提示: 有关帮助信息,请参阅对迁移进行故障诊断

结果

现在,您可以作为 root 用户来运行 Deployment Manager 或应用程序服务器了。

指示主题类型的图标 任务主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-dist&topic=tmig_nonroot
文件名:tmig_nonroot.html