1、修改控制参数
root账户登录
vi /etc/security/limits.conf中追加:
* soft nofile 8192 or high
weblogic soft nofile 65535
weblogic hard nofile 65536
weblogic soft nproc 16384
weblogic hard nproc 16384
2、创建安装目录
mkdir -p /ghca/weblogic
3、创建用户/组;用户名和密码:weblogic/weblogic123
groupadd weblogic
useradd -g weblogic weblogic
passwd weblogic ---设置密码 weblogic123
4、修改/u02/weblogic/所属组
chown -R weblogic:weblogic /u02/weblogic
5、修改weblogic的安装文件的所属阻
chown weblogic:weblogic weblogic103.bin
--修改weblogic的安装文件的执行权限
chmod 750 weblogic103.bin
6、安装
./weblogic103.bin -mode=console <---------------- Oracle Installer - WebLogic Platform 10.3.0.0 ----------------------> Welcome: -------- This installer will guide you through the installation of WebLogic Platform 10.3.0.0. Type "Next" or enter to proceed to the next prompt. If you want to change data entered previously, type "Previous". You may quit the installer at any time by typing "Exit". Enter [Exit][Next]> <--------- --- Oracle Installer - WebLogic Platform 10.3.0.0 ------------------------> Choose BEA Home Directory: -------------------------- "BEA Home" = [Enter new value or use default "/home/operation/bea"] Enter new BEA Home OR [Exit][Previous][Next]> /ghca/weblogic <----------------------------------------------- Oracle Installer - WebLogic Platform 10.3.0.0 -----------------------------------------------> Choose BEA Home Directory: -------------------------- "BEA Home" = [/ghca/weblogic] Use above value or select another option: 1 - Enter new BEA Home 2 - Change to default [/home/operation/bea] Enter option number to select OR [Exit][Previous][Next]> 1 <------------- Oracle Installer - WebLogic Platform 10.3.0.0 -----------------------> Choose BEA Home Directory: -------------------------- "BEA Home" = [/ghca/weblogic] Enter new BEA Home OR [Exit][Previous][Next]> <-------------- Oracle Installer - WebLogic Platform 10.3.0.0 ----------------------> Choose Install Type: -------------------- Select the type of installation you wish to perform. ->1|Complete | Install the following software products and examples: | - WebLogic Server | - Workshop 2|Custom | Choose software products and components to install and perform optional configuration. Enter index number to select OR [Exit][Previous][Next]> 2 <----------- Oracle Installer - WebLogic Platform 10.3.0.0 ------------------> Choose Products and Components: ------------------------------- Release 10.3.0.0 |_____WebLogic Server [1] x | |_____Core Application Server [1.1] x | |_____Administration Console [1.2] x | |_____Configuration Wizard and Upgrade Framework [1.3] x | |_____Web 2.0 HTTP Pub-Sub Server [1.4] x | |_____WebLogic JDBC Drivers [1.5] x | |_____Third Party JDBC Drivers [1.6] x | |_____WebLogic Server Clients [1.7] x | |_____WebLogic Web Server Plugins [1.8] x | |_____UDDI and Xquery Support [1.9] x | |_____Server Examples [1.10] x |_____Workshop [2] x |_____Workshop for WebLogic [2.1] x |_____Workshop Runtime Framework [2.2] x *Estimated size of installation: 788.3 MB Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> <----------- Oracle Installer - WebLogic Platform 10.3.0.0 -----------------------> JDK Selection (Any * indicates BEA Supplied VM): ------------------------------------------------ JDK(s) chosen for use with this product installation will be installed. Supported defaults if not deselected will be used in script string-substitution. 1|Add Local Jdk 2|/ghca/weblogic/jdk160_05[x]* 3|/ghca/weblogic/jrockit_160_05[x]* *Estimated size of installation: 1,141.1 MB Enter 1 to add or >= 2 to toggle selection OR [Exit][Previous][Next]> 2 <--------------- Oracle Installer - WebLogic Platform 10.3.0.0 -------------> JDK Selection (Any * indicates BEA Supplied VM): ------------------------------------------------ JDK(s) chosen for use with this product installation will be installed. Supported defaults if not deselected will be used in script string-substitution. 1|Add Local Jdk 2|/ghca/weblogic/jdk160_05[ ]* 3|/ghca/weblogic/jrockit_160_05[x]* *Estimated size of installation: 981.0 MB Enter 1 to add or >= 2 to toggle selection OR [Exit][Previous][Next]> <------------- Oracle Installer - WebLogic Platform 10.3.0.0 ----------------> Install Eclipse Options: ------------------------ Install Oracle installer bundled Eclipse or use the existing Eclispe. ->1|Install Eclipse | | Installer will use the Oracle installer bundled |Eclipse kit and installs it to: |"/ghca/weblogic/tools/eclipse_pkgs/2.0/eclipse_3.3.2/eclipse" 2|Use Existing Eclipse | | Do not install the installer bundled Eclipse. |I will specify Eclipse Home to use. Enter index number to select OR [Exit][Previous][Next]> <--------------- Oracle Installer - WebLogic Platform 10.3.0.0 -----------------> Choose Product Installation Directories: ---------------------------------------- BEA Home Directory: [/ghca/weblogic] Product Installation Directories: 1|WebLogic Server: [/ghca/weblogic/wlserver_10.3] 2|Workshop: [/ghca/weblogic/workshop_10.3] Enter index number to select OR [Exit][Previous][Next]> <--------------- Oracle Installer - WebLogic Platform 10.3.0.0 -------------> The following Products and JDKs will be installed: -------------------------------------------------- WebLogic Platform 10.3.0.0 |_____WebLogic Server | |_____Core Application Server | |_____Administration Console | |_____Configuration Wizard and Upgrade Framework | |_____Web 2.0 HTTP Pub-Sub Server | |_____WebLogic JDBC Drivers | |_____Third Party JDBC Drivers | |_____WebLogic Server Clients | |_____WebLogic Web Server Plugins | |_____UDDI and Xquery Support | |_____Server Examples |_____Workshop | |_____Workshop for WebLogic | |_____Workshop Runtime Framework |_____JDKs |_____BEA JRockit 1.6.0_05 SDK *Estimated size of installation: 969.8 MB Enter [Exit][Previous][Next]> 2016-11-30 10:23:22 java.util.prefs.FileSystemPreferences$2 run 信息: Created user preferences directory. <----------------------------------------------- Oracle Installer - WebLogic Platform 10.3.0.0 -----------------------------------------------> Installing files.. 0% 25% 50% 75% 100% [------------|------------|------------|------------] [***************************************************] <----------------------------------------------- Oracle Installer - WebLogic Platform 10.3.0.0 -----------------------------------------------> Installing JDK.... 0% 25% 50% 75% 100% [------------|------------|------------|------------] [***************************************************] Performing String Substitutions... Creating Domains... <----------------------------------------------- Oracle Installer - WebLogic Platform 10.3.0.0 -----------------------------------------------> Installation Complete Congratulations! Installation is complete. Press [Enter] to continue or type [Exit]> |
7、软件安装中遇到的问题整理
linux x86 安装weblogic 32bit 报错 ./weblogic103.bin: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
安装glibc-2.12-1.132.el6.i686 nss-softokn-freebl-3.14.3-9.el6.i686
<Nov 29, 2016 5:29:49 PM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 > 启动到这个位置,程序就不动了
解决方法:
在当前域里面setDomainEnv.sh文件中增加以下内容
JAVA_OPTIONS="${JAVA_OPTIONS} -Djava.security.egd=file:/dev/./urandom"
export JAVA_OPTIONS