Make sure that you have fulfilled the Prerequisites and Setup requirements.
The high level steps for creating an image are:
imagetool
command to create the image.Download these Java and WebLogic installers from the Oracle Software Delivery Cloud
and save them in a directory of your choice, for example, /home/acmeuser/wls-installers
:
fmw_12.2.1.3.0_wls_Disk1_1of1.zip
jdk-8u202-linux-x64.tar.gz
Use the Cache Tool to add the installers:
$ imagetool cache addInstaller --type jdk --version 8u202 --path /home/acmeuser/wls-installers/jdk-8u202-linux-x64.tar.gz
$ imagetool cache addInstaller --type wls --version 12.2.1.3.0 --path /home/acmeuser/wls-installers/fmw_12.2.1.3.0_wls_Disk1_1of1.zip
You can verify the cache entries by:
$ imagetool cache listItems
Cache contents
jdk_8u202=/home/acmeuser/wls-installers/jdk-8u202-linux-x64.tar.gz
wls_12.2.1.3.0=/home/acmeuser/wls-installers/fmw_12.2.1.3.0_wls_Disk1_1of1.zip
Run the imagetool create
command:
$ imagetool create --tag wls:12.2.1.3.0
The final image will have the following structure:
[oracle@c3fe8ee0167d oracle]$ ls -arlt /u01/
total 20
drwxr-xr-x 7 oracle oracle 4096 May 28 23:40 jdk
drwxr-xr-x 11 oracle oracle 4096 May 28 23:40 oracle
drwxr-xr-x 5 oracle oracle 4096 May 28 23:40 .
drwxr-xr-x 18 root root 4096 May 29 01:31 ..