1.修改/etc/sysconfig/networ文件
# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=yourname (在这修改hostname,把yourname换成你想用的名字)
2.修改/etc/hosts里面的名字
# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost (在这修改hostname,把末尾的localhost换成你想用的名字)
3.最后在终端下执行:
#hostname ***** (*****为修改后的hostname,即你想用的名字)
特别提示:三处修改的名字要保持一致,否则会出现问题。切记。
4.启动
cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
[root@xiongwei2 bin]# ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 3508
5.如果要卸载
[root@xiongwei2 uninstall]# pwd
/opt/IBM/WebSphere/AppServer/uninstall 在这目录下命令卸载即可
切不可通过系统工具卸载和删文件方式
6.访问控制台
https://192.168.0.189:9043/ibm/console/logon.jsp