1、安装前准备 html
1.解决linux中文乱码问题 linux
修改/etc/sysconfig/i18n文件 web
#LANG="en_US.UTF-8"
#SUPPORTED="en_US.UTF-8:en_US:en"
#SYSFONT="latarcyrheb-sun16" 安全
改成 bash
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.GB18030:zh_CN:zh"
SYSFONT="lat0-sun16"
SYSFONTACM="8859-15" 服务器
2.建立weblogic用户和安装目录,修改目录权限 oracle
(1)建立weblogic用户 dom
[root@lwdb software-install]# groupadd weblogic ide
[root@lwdb software-install]# useradd -g weblogic weblogic this
[root@lwdb software-install]# passwd weblogic
(2)建立weblogic安装目录,修改目录全部者权限
注:/weblogic10.3为安装目录
[root@lwdb software-install]# mkdir /weblogic10.3
[root@lwdb software-install]# chown -Rf weblogic:weblogic /weblogic10.3
2、安装weblogic10.3.3
1.上传weblogic安装文件到服务器
本次安装文件存放目录为/ software-install
2.赋予安装文件可执行权限
[root@lwdb software-install]# chmod a+x /software-install/wls1033_linux32.bin
3.执行安装
[root@lwdb software-install]# ./wls1033_linux32.bin
(1)安装程序自动开始解压缩
(2)输入next
(3)输入weblogic的安装目录
Enter new Middleware Home OR [Exit][Previous][Next]> /weblogic10.311
以后回车
(4)选择是否接收安全更新,这里选择3,进入后输入no,而后肯定yes
Register for Security Updates:
------------------------------
Provide your email address to be informed of security issues, install the product, and initiate configuration manager. http://www.oracle.com/support/policies.html
1|Email:[]
2|My Oracle Support Password:[]
3|Receive Security Update:[Yes]
Provide your email address to be informed of security issues, install the product, and initiate configuration manager. http://www.oracle.com/support/policies.html
1|Email:[]
2|My Oracle Support Password:[]
3|Receive Security Update:[No]
Enter index number to select OR [Exit][Previous][Next]>
(5)选择典型安装,输入“1”
Select the type of installation you wish to perform.
->1|Typical
| Install the following product(s) and component(s):
| - WebLogic Server
| - Oracle Coherence
2|Custom
| Choose software products and components to install and perform optional
|configuration.
(6)选择安装weblogic server
Choose Product Installation Directories:
----------------------------------------
Middleware Home Directory: [/weblogic10.3]
Product Installation Directories:
1|WebLogic Server: [/weblogic10.3/wlserver_10.3]
2|Oracle Coherence: [/weblogic10.3/coherence_3.5]
(7)一路回车
(8)完成安装,输入exit
3、新建domain
其实一路回车便可!
1.切换到weblogic用户
[root@lwdb /]# su - weblogic
注:本次出现如下错误:
[root@lwdb weblogic10.3]# su - weblogic
su: /bin/bash: Permission denied
可采起
[root@lwdb bin]# chmod 755 /bin
进行修正
2.执行配置
(1)进入如下目录
[weblogic@lwdb weblogic10.3]$ cd /weblogic10.3/wlserver_10.3/common/bin
(2)执行如下命令,开始正式配置。
[weblogic@lwdb bin]$ ./config.sh
(3)如下界面均回车
a.
b.
c.
(4)配置weblogic控制台的密码
(5)选择domain的模式为产品模式
Enable Development or Production Mode for this domain.
->1|Development Mode
2|Production Mode
Enter index number to select OR [Exit][Previous][Next]> 2
(6)选择JavaSDK为JRockit
Java SDK Selection:
-------------------
->1|JRockit SDK 1.6.0_17 @ /weblogic10.3/jrockit_160_17_R28.0.0-679
2|Sun SDK 1.6.0_18 @ /weblogic10.3/jdk160_18
3|Other Java SDK
Enter index number to select OR [Exit][Previous][Next]> 1
(7)选择管理服务器仍是节点
(8)安装结束
安装结束若想启动domian,须要增长密码文件才行,不然会挂起!
4、新增该domain的密码配置文件boot.properties
[weblogic@lwdb lwdb_domain]$ vi boot.properties
username=weblogic
password=weblogic,24107.
保存
5、之后台方式启动domain
1.进入安装好的domain目录
/weblogic10.3/user_projects/domains/lwdb_domain
2. [weblogic@lwdb lwdb_domain]$ nohup ./startWebLogic.sh &
6、删除domain
直接进入domain的上次目录,执行删除命令便可,以下:
[weblogic@lwdb domains]$ cd /weblogic10.3/user_projects/domains
[weblogic@lwdb domains]$ rm -rf lwdb