Document directory
I. WebLogic creates a domain
Under the domain directory/servers/adminserver path
Log on with a WebLogic account (corresponding to the account used to create the domain directory)
CD/home/WebLogic/BEA/weblogic92/common/bin
Run./config. Sh to enter the configuration page. The configuration steps are as follows:
1. Choose between creating and extending a domain, select create a new WebLogic domain
2. Select domain source and select choose Weblogic Platform Components
3. Enter the location of the domain template, _____ workshop for Weblogic Platform [2] x press ENTER
4. Configure administrator username and password: Change the user name and password of the Administrator.
5. Domain mode configuration, select development mode
6. Java SDK Selection: select the default Sun SDK 1.5.0 _ 12 @/usr/Java/jdk1.5.0 _ 12
7. Choose configuration option, select Yes
8. Configure the Administration Server. The default listen port is 7001 and must be changed to 80.
9. Configure managed servers
10. Configure Clusters
11. Configure machines
12. Configure Unix machines
13. Select the target domain directory for this domain
14. Edit domain information. Change the domain name to "life ".
15. The created life domain is located in the/home/WebLogic/BEA/user_projects/domains directory.
Ii. Start In weblogic10 production mode without entering the user name and password
Under the domain directory/servers/adminserver path
New/security/boot. properties boot. Properties
Edit content:
Username = weblogic
Password = 88888888
Start./startweblogic. Sh-dweblogic. system. storebootidentity = true
You only need to perform this operation for the first time, and then directly start with./startweblogic. Sh & normally.
3. Disable Weblogic in Linux to run startweblogic. Sh in the background.
First, this method is most commonly used:
Type nohup./startweblogic. Sh & (& to enable the Service to start in the background)
Or nohup./startweblogic. Sh> out. log 2> & 1 &
You can use the command tail-F text file name to monitor remote file changes. For example, to monitor log output in a WebLogic domain, you only need to enter the command tail-F nohup. Out.
Second, when the above sh needs to interact with the user (for example, you need to enter the user name and password), you can do this:
Type./startweblogic. Sh
# Interactive operations...
Press "Ctrl + z"
Enter the "BG" program to run in the background
Stop background weblocgic
#./Stopweblogic
In general, it is difficult to close it. You need to kill the background process (this is often the case)
View background Java Processes
# Ps-Ef | grep Java example:
Root 123456 2346546
Root 1346464 64646464 Java /.......
Kill background processes: # Kill-9 1346464
Reprint please indicate the source http://blog.csdn.net/shimiso
Technical Exchange Group: 173711587