1.1 部署前准备
把WebLogic的bin包放在/home目录上.
1、创建weblogic用户组。
groupadd weblogic
useradd -g weblogic weblogic
passwd weblogic(修改weblogic密码)
2、创建/var/web/jsp/bea目录,修改目录所有者权限
mkdir /var/web/jsp/bea
chown –Rf weblogic:weblogic /var/web/jsp/bea
3、用weblogic用户登陆系统,修改配置文件。
vi ~/.bash_profile
增加export LANG=en_US.iso885915
1.2 安装WebLogic 8.1
赋予.bin可执行权限:chmod a+x platform814_linux32.bin
执行./platform814_linux32.bin -mode=console
进入控制台安装的欢迎界面,键入[Next]继续
此时出现授权许可协议,读完后键入[Yes]继续
提示选择一个BEA主目录:
输入:/var/web/jsp/bea
确认BEA主目录,键入[1]继续
选择安装类型, 键入[1]继续
选择安装路径,默认,输入[next]继续。
确认安装路径。键入[1]继续
安装完毕。
1.3 创建服务
使用WebLogic用户登录系统:
[weblogic@jcms bin]$ cd /var/web/jsp/bea/weblogic81/common/bin
[weblogic@jcms bin]$ ./config.sh
Unable to instantiate GUI, defaulting to console mode.
进入设置:
<-------- BEA WebLogic Configuration Wizard -------------->
Create or Extend a Configuration:
---------------------------------
Choose between creating and extending a configuration. Based on your selection, the Configuration Wizard guides you through the steps to
generate a new or extend an existing configuration.
->1|Create a new WebLogic configuration
| Start here to create a WebLogic configuration in your projects directory.
2|Extend an existing WebLogic configuration
| Start here to extend an existing WebLogic configuration. Use this option to add applications and services, including Database
| access (JDBC) and Messaging (JMS). This option also enables you to extend functionality by enabling WebLogic Workshop.
Enter index number to select OR [Exit][Next]> 1
<-------------------------------- BEA WebLogic Configuration Wizard ----------------------->
Select a Domain Template:
-------------------------
Please select a template from the list or select another directory of templates.
*[/home/weblogic/bea/weblogic81/common/templates/domains]
1|Basic WebLogic Platform Domain 8.1.3.0
| BEA Systems, Inc.
| Create a basic WebLogic Platform domain, without installing sample applications. Domains created from this template will support the
|WebLogic Server, WebLogic Workshop, WebLogic Integration and WebLogic Portal runtime functionality, including support for J2EE
|applications, Web applications, Web Services, custom controls, business processes and portals. Use domains created from this template
|for development of WebLogic Platform applications.
2|Basic WebLogic Portal Domain 8.1.3.0
| BEA Systems, Inc.
| Create a basic WebLogic Portal domain, without installing sample applications. Domains crea