The latest WebLogic 12c, in the Linux environment, CONFIG.SH is no longer available, to use the Wlst script to create domain, the process is as follows:
The following commands are executed by the WebLogic user
[Weblogic@vmserver weblogic]$ cd/opt/middleware/weblogic [Weblogic@vmserver weblogic]$ mkdir-p user_projects/domains/base_domain [Weblogic@vmserver weblogic]$ CD User_projects/domains/base_domain [Weblogic@vmserver base_domain]$ CP /opt/middleware/weblogic/wlserver/common/templates/scripts/wlst/basicwlsdomain.py. |
Modify the/opt/middleware/user_projects/domains/base_domain/basicwlsdomain.py file (italic bold content is what you want to add)
# Please set password here before the using this script, e.g. Cmo.setpassword (' value ') Cmo.setpassword (' welcome1 ') |
Remove from # Create a JMS Server. To # Write the domain and close the domain template. All the content between |
Execute with WebLogic user
[Weblogic@vmserver base_domain]$ /opt/middleware/weblogic/oracle_common/common/bin/wlst.sh basicwlsdomain.py. |
Execute the startweblogic.sh command to start the console and use the browser to access Http://serverip:7001/console
Console user name WebLogic, password welcome1.
Welcome attention to my public: Scholar Lao Xu