All steps assume that Java is already installed. The first step is of course to download WebLogic from OTN.
This will result in a zip file in the Downloads directory, fmw_12.2.1.3.0_wls_quick_Disk1_1of1.zip, this needs to be unzipped. Then it's time to open the Terminal.
I like to keep my development tools in the /Applications/devtools directory so I have a directory for WebLogic in this location too e.g. /Applications/devtools/wls_12.2.1.3. After extracting the installer we can change to its directory. Here are the commands for these steps...
When I first used the quick installer I made the mistake of running it by double-clicking the jar file. This unfortunately assumes that the directory where the installer was extracted is the new ORACLE_HOME, which is not desirable, hence I switched to installing WebLogic using this slightly longer method.
Since I wanted ORACLE_HOME to be in /Applications/devtools/wls_12.2.1.3, the installer was ran like this...
The installer took around 6 minutes to complete.
After the installer does its task it can be deleted and then it's time to create a domain. I find the best way of doing this is using the configuration wizard. First we need to change to the WebLogic ORACLE_HOME and then run the config script, which launches the wizard...
The steps are more or less self explanatory and most default options are the most commonly used ones anyway. Clicking Next on each screen moves the wizard forward. We're creating a new domain...
The domain is created from templates. Which ones are chosen depends on your requirements, I like to have all web service and Coherence support but not JMS extensions.
Enter the username and password to use for the admin account next.
Domain mode should be development to avoid having to enter a password every time WebLogic is being started.
I skip advanced configuration and just go with a simple AdminServer, no managed servers and all other default configuration options. For development purposes a managed server is not really required.
The next lot of screens are the summary, progress and final confirmation.
At this point WebLogic is installed and ready to be started. This is done from the Terminal again...
After the server is in the RUNNING state, the Console can be accessed from http://localhost:7001/console.
-i