Weglogic 923 Install On OEL5 x86_64
首页 → 数据库技术
背景:
阅读新闻
Weglogic 923 Install On OEL5 x86_64
[日期:2011-11-14] 来源:Linux社区 作者:scs2043 [字体:]
1.创建用户及组
groupadd -g 700 bea
useradd -u 700 -g bea -G dba weblogic -d /home/weblogic
passwd weblogic
2.创建安装目录
mkdir -p /Oracle/product/9.2.0/bea/
chown -R weblogic:bea /oracle/product/9.2.0
3.配置环境变更
su - weblogic
vi ~/.profile
export WL_HOME=/oracle/product/9.2.0/bea/weblogic92
export JAVA_HOME=/usr/java/jdk1.5.0_15
export CLASSPATH=$JAVA_HOME/lib/tools.jar:$WL_HOME/server/lib/weblogic.jar
export PATH=$JAVA_HOME/bin:$PATH:$WL_HOME/common/bin
注:weblogic92系列版本,使用JDK5,,不可使用高版本
4.安装实施
export LANG=en_US
export DISPLAY=192.168.56.1:0.0
java -jar server923_generic.jar
5.创建domain
config.sh
------------------------------------
AdminServer 192.168.56.101:7001
mserver1 192.168.56.101:8001
mserver2 192.168.56.102:8002
proxy 192.168.56.102:9001
------------------------------------
6.配置boot.properties文件
su - weblogic
cd /oracle/product/9.2.0/bea/user_projects/domains/base_domain
mkdir printlog
vi boot.properties
username=weblogic
password=weblogic
注:亦可将密码文件放置如下位置
/oracle/product/9.2.0/bea/user_projects/domains/base_domain/servers/proxy/security/boot.properties
7.编写启动脚本
1)节点一:
vi ~/startAdmin.sh
cd /oracle/product/9.2.0/bea/user_projects/domains/base_domain
./startWebLogic.sh >./printlog/admin_out.log &
vi ~/startMS1.sh
cd /oracle/product/9.2.0/bea/user_projects/domains/base_domain/bin
./startManagedWebLogic.sh mserver1 :7001 >.././printlog/mserver1_out.log &
chmod 755 ~/*.sh
2)节点二:
vi ~/startMS2.sh
cd /oracle/product/9.2.0/bea/user_projects/domains/base_domain/bin
./startManagedWebLogic.sh mserver2 :7001 >.././printlog/mserver2_out.log &
vi ~/startProsy.sh
cd /oracle/product/9.2.0/bea/user_projects/domains/base_domain/bin
./startManagedWebLogic.sh proxy :7001 >.././printlog/proxy_out.log &
chmod 755 ~/*.sh
3)在各节点启动服务
su - weblogic
./startAdmin.sh &
./startMS1.sh &
./startMS2.sh &
./startProsy.sh &
4).登入控制台
:7001/console
5)在各节点停止服务
ps -ef|grep java
kill -9 进程号
Oracle入门教程:在线调整REDO日志大小
RedHat 5.6下安装Oracle出现一些问题
相关资讯 Weglogic
图片资讯
本文评论 查看全部评论 (0)
评论声明
最新资讯
本周热门
Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。
Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号

Mastering the method of adding MySQL users is crucial for database administrators and developers because it ensures the security and access control of the database. 1) Create a new user using the CREATEUSER command, 2) Assign permissions through the GRANT command, 3) Use FLUSHPRIVILEGES to ensure permissions take effect, 4) Regularly audit and clean user accounts to maintain performance and security.

ChooseCHARforfixed-lengthdata,VARCHARforvariable-lengthdata,andTEXTforlargetextfields.1)CHARisefficientforconsistent-lengthdatalikecodes.2)VARCHARsuitsvariable-lengthdatalikenames,balancingflexibilityandperformance.3)TEXTisidealforlargetextslikeartic

Best practices for handling string data types and indexes in MySQL include: 1) Selecting the appropriate string type, such as CHAR for fixed length, VARCHAR for variable length, and TEXT for large text; 2) Be cautious in indexing, avoid over-indexing, and create indexes for common queries; 3) Use prefix indexes and full-text indexes to optimize long string searches; 4) Regularly monitor and optimize indexes to keep indexes small and efficient. Through these methods, we can balance read and write performance and improve database efficiency.

ToaddauserremotelytoMySQL,followthesesteps:1)ConnecttoMySQLasroot,2)Createanewuserwithremoteaccess,3)Grantnecessaryprivileges,and4)Flushprivileges.BecautiousofsecurityrisksbylimitingprivilegesandaccesstospecificIPs,ensuringstrongpasswords,andmonitori

TostorestringsefficientlyinMySQL,choosetherightdatatypebasedonyourneeds:1)UseCHARforfixed-lengthstringslikecountrycodes.2)UseVARCHARforvariable-lengthstringslikenames.3)UseTEXTforlong-formtextcontent.4)UseBLOBforbinarydatalikeimages.Considerstorageov

When selecting MySQL's BLOB and TEXT data types, BLOB is suitable for storing binary data, and TEXT is suitable for storing text data. 1) BLOB is suitable for binary data such as pictures and audio, 2) TEXT is suitable for text data such as articles and comments. When choosing, data properties and performance optimization must be considered.

No,youshouldnotusetherootuserinMySQLforyourproduct.Instead,createspecificuserswithlimitedprivilegestoenhancesecurityandperformance:1)Createanewuserwithastrongpassword,2)Grantonlynecessarypermissionstothisuser,3)Regularlyreviewandupdateuserpermissions

MySQLstringdatatypesshouldbechosenbasedondatacharacteristicsandusecases:1)UseCHARforfixed-lengthstringslikecountrycodes.2)UseVARCHARforvariable-lengthstringslikenames.3)UseBINARYorVARBINARYforbinarydatalikecryptographickeys.4)UseBLOBorTEXTforlargeuns


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

SublimeText3 Linux new version
SublimeText3 Linux latest version

WebStorm Mac version
Useful JavaScript development tools
