Linux installation WebLogic Service
First, the Environment preparation:
Linux System
jdk-7u75-linux-x64.tar.gz ( http://pan.baidu.com/s/1kTh5Vx1 )
Wls1212_dev.zip ( http://pan.baidu.com/s/1nttDkq1 )
Second, installation steps:
1. First create WebLogic user, user group, and set home directory
[email protected] ~]# useradd-d /weblogic weblogic
[email protected] ~]# passwd WebLogic
change User WebLogic 's password.
New Password:
Invalid password: It is based on a dictionary word
Re-enter the new password:
passwd : All the authentication tokens have been successfully updated.
[email protected] ~]# LL/
drwx------4 weblogic weblogic 4096 4 Month 13:50weblogic
Set Directory /weblogic the owner is WebLogic User
[email protected] ~]# chown weblogic.weblogic/weblogic/
Switch to WebLogic user-created directory /weblogic/weblogic
[Email protected] ~]# su-weblogic
[Email protected] ~]$ pwd
/weblogic
[email protected] ~]$ mkdir WebLogic
[[email protected] ~]$ ls
Weblogic
2. Unzip Wls1212_dev.zip to the /weblogic/weblogic/
[[email protected] WebLogic] $unzip wls1212_dev.zip
[email protected] weblogic]$ LL
drwxr-xr-x 5 weblogicweblogic 4096 6 Month 72013 wls12120
3. installation JDK Setting Environment Variables
[[email protected] ~]$ ls
jdk-7u75-linux-x64.tar.gz WebLogic
[Email protected] ~]$ tar zxvfjdk-7u75-linux-x64.tar.gz
[[Email protected] ~]$ exit
Logout
[Email protected] weblogic]# Vim/etc/profile
exportjava_home=/weblogic/jdk1.7.0_75/
exportmw_home=/weblogic/weblogic/wls12120
Exportpath= $JAVA _home/bin/: $PATH
Exportwls_home=/weblogic/weblogic/wls12120/wlserver
[Email protected] weblogic]# Source/etc/profile
4. Start Installation WebLogic , run the installation configuration script directly
[Email protected] weblogic]# su-weblogic
[Weblo[email protected] ~]$ cd/weblogic/weblogic/wls12120
[Email protected] wls12120]$./configure.sh
Start the installation (time is a bit long)
650) this.width=650; "title=" 1.png "src=" https://s2.51cto.com/wyfs02/M00/00/B4/wKiom1mcAM7QLiAVAAGQgma1zeY727.png "alt=" Wkiom1mcam7qliavaagqgma1zey727.png "/>
The execution is done
650) this.width=650; "title=" 2.png "src=" https://s4.51cto.com/wyfs02/M00/9F/64/wKioL1mcAOuyN4yPAAVMrw9YCMU306.png "alt=" Wkiol1mcaouyn4ypaavmrw9ycmu306.png "/>
What you're saying here is that you want to configure a domain (this does not create the input N )
5. Configuration WebLogic the environmental parameters
[[email protected] wls12120] $pwd
/weblogic/weblogic/wls12120
[[Email protected] wls12120]$ CD wlserver/server/bin/
[email protected] bin]$ ./setwlsenv.sh
650) this.width=650; "title=" 3.png "src=" https://s4.51cto.com/wyfs02/M01/9F/64/wKioL1mcARDwh8VZAAPyUVUBG9k164.png "alt=" Wkiol1mcardwh8vzaapyuvubg9k164.png "/>
this WebLogic the basic environment of the configuration is complete.
6. now start creating the domain, first create a domain folder
[[Email protected] bin]$ CD /weblogic/weblogic/
[[email protected] WebLogic] $mkdir Jlbddomain
[[Email protected] weblogic]$ CD jlbddomain/
Go to the Create Domain folder and execute the following command to start creating the domain
[Email protected] Jlbddomain]$/weblogic/jdk1.7.0_75/bin/java $JAVA _options-xmx1024m-xx:maxpermsize=256m-jar/ Weblogic/weblogic/wls12120/wlserver/server/lib/weblogic.jarweblogic.server
will prompt for missing config . configuration file:
650) this.width=650; "title=" 4.png "src=" https://s1.51cto.com/wyfs02/M02/9F/64/wKioL1mcASvizR_OAAN2ogYLPRw488.png "alt=" Wkiol1mcasvizr_oaan2ogylprw488.png "/>
input Y generate a default configuration and restart
650) this.width=650; "title=" 5.png "src=" https://s1.51cto.com/wyfs02/M01/00/B4/wKiom1mcAVPixLIyAAibT-6jXe4804.png "alt=" Wkiom1mcavpixliyaaibt-6jxe4804.png "/>
Let's set the user name password, password to set the complex point ... ..
note: when he restarts, he starts again. However, this time you can already access weblogic So it's not a way. so I started with another way nohup/weblogic/jdk1.7.0_75/bin/java$java_options-xmx1024m-xx : Maxpermsize=256m-jar/weblogic/weblogic/wls12120/wlserver/server/lib/weblogic.jar weblogic.server &
7. Open Browser Input http://xxxxx:7001/console/
650) this.width=650; "title=" 2017-08-22_180055.png "src=" https://s4.51cto.com/wyfs02/m00/00/b4/wkiom1mcawobx_- Maaf7tmsa2jo758.png "alt=" Wkiom1mcawobx_-maaf7tmsa2jo758.png "/>
This article from "Li Shilong" blog, declined reprint!
Linux Installation WebLogic Service