surroundings
java
Centos7
Oracle WebLogic Server10.3.1
Set up
1.java environment
2. Install weblogic
Download the installation package, give permission
Download Link:
https://pan.baidu.com/s/1H0jWYqvzVLq06BsL92CeYg
Extraction code: m22n
Run the installation ./wls1031_linux32.bin
Choose Middleware Home Directory, select the middleware installation directory, enter 2 here, choose the default installation directory weblogic
Register for Security Updates, do not register, enter next
Enter the next
Choose Product Installation Directories, input 1, a typical installation
Enter the next
The installation is complete
2. Configure weblogic
Create domain domain, enter the directory config.sh, execution
Enter Input 1
-> 1 to create a new domain weblogic
2 extend existing weblogic domain
Select Domain Source, just press Enter
Enter directly
Enter the next
Enter the next
Because I had installed before configuring the weblogic, once again will be prompted to configure already exists, we need to rename this domain or replace the path
Cried Haw
Input / home / weblogic / user_projects / domains1
In fact, before weblogic should be cleared again to do this experiment, ah ah ah ah
Next, configure the account password
Configure Administrator User Name and Password, input 2, a password is provided
Set a password for weblogic111, when the input is not displayed, and select Confirm Password 3
Just press Enter to save the settings
Domain Mode Configuration, input 2
-> 1Development Mode development model of flexible, but regularly updated
2Production Mode product model, which is the default mode, do not understand this election
Java SDK Selection,输入2,选择JDK环境,这里1和2都可以,选择3要输入你的JDK路径
-------------------------------------------------------
1|Sun SDK 1.6.0_11 @ /home/weblogic/jdk160_11
->2|Jrockit SDK 1.6.0_05 @ /home/weblogic/jrockit_160_05_R27.6.2-20
3|Other Java SDK
Select Optional Configuration选择可选配置,输入1
输入next
继续next,创建完成
3.启动weblogic
进入domain目录,记得我刚才新建的domains1哦
cd /home/weblogic/user_projects/domains1/base_domain
运行 ./startWeblogic.sh
查看Weblogic启动情况输入命令:tail -f nohup.out
4.访问localhost:7001/console
5.其他操作
查看Weblogic后台进程ps -ef|grep weblogic
终止进程 kill -9 进程号