一、修改控制參數java
root帳戶登陸linux
vi /etc/security/limits.conf中追加:web
* soft nofile 8192 or highapp
weblogic soft nofile 65535dom
weblogic hard nofile 65536eclipse
weblogic soft nproc 16384ide
weblogic hard nproc 16384ui
二、建立安裝目錄this
mkdir -p /ghca/weblogicspa
三、建立用戶/組;用戶名和密碼:weblogic/weblogic123
groupadd weblogic
useradd -g weblogic weblogic
passwd weblogic ---設置密碼 weblogic123
四、修改/u02/weblogic/所屬組
chown -R weblogic:weblogic /u02/weblogic
五、修改weblogic的安裝文件的所屬阻
chown weblogic:weblogic weblogic103.bin
--修改weblogic的安裝文件的執行權限
chmod 750 weblogic103.bin
六、安裝
./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]> |
七、軟件安裝中遇到的問題整理
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