weblogic 部署

环境:
Host: 192.168.0.11 admin server
                   MS1
Client: 192.168.0.9
                    MS2
Client: 192.168.0.10
                    MS3
                    PS
 
 
 
 
 
 
groupadd  bea
useradd -g bea weblogic
#jdk dir:  /usr/local/jdk1.5.16
su - weblogic
vim .bashrc
export JAVA_HOME=/usr/local/jdk1.5.16
export PATH=/usr/local/jdk1.5.16/bin:$PATH
exit
su - weblogic
echo $JAVA_HOME
java -version  看版本是否是1.5的 如果是1.4,说明PATH变量定义有问题
(root 身份做exit ; xhost +
chmod -R 1777 /tmp  此目录权限应该正确!)
 
java -jar  /usr/local/weblogic/server100_generic.jar
 
/home/weblogic/bea/wlserver_10.0/common/bin/config.sh
configure adminstration server
adminserver  192.168.0.11  7001
 
configure managed server
ms1 192.168.0.11 7002
ms2 192.168.0.9 7002
ms3 192.168.0.10 7002
ps  192.168.0.10 8000
configure clusters
mycluster   239.192.0.0   7001
 
assign servers to clusters
ms1 ms2 ms3 ---- into  mycluster
 
create HTTP proxy applications
  添加 ps 主机
 
configure machines
用于远程的开启和关闭被管server(可选)
 
create weblogic domain
domain name: mydomain
domain location: /home/weblogic/bea/user_projects/domains
启动admin server
/home/weblogic/bea/user_projects/domains/mydomain/bin/startWeblogic.sh
看到状态切换为RUNNING
netstat -tnlp | grep 7001
http://192.168.0.11:7001/console

你可能感兴趣的:(weblogic,部署,职场,休闲)