Download CPUs and Generate PT-MW-DPK
Review sample commands to download all or selected CPUs and generate PT-MW-DPK.
These sample commands use standard input, with mos.txt as the input file, to supply MOS credentials.
Sample 1
- Run the script on Windows
- os_type Windows (generate output for Windows)
- Download CPUs for all components
- Build PT-MW-DPK
Command prompt
ptmwdb.bat --os_type Windows --output_dir c:\output < c:\mos.txtPowerShell
Get-Content c:\mos.txt | .\ptmwdb.bat --os_type Windows --output_dir c:\outputSample 2
- Run the script on Windows
- os_type Linux (generate output for Linux)
- Selective components —WebLogic and Oracle Database Client
- Build PT-MW-DPK
Command prompt
ptmwdb.bat --os_type Linux --output_dir c:\output --get_CPU WL,OC < c:\mos.txtPowerShell
Get-Content c:\mos.txt | .\ptmwdb.bat --os_type Linux --output_dir c:\output --get_CPU WL,OCSample 3
- Run the script on Linux
- os_type Linux (generate output for Linux)
- All components
- Build PT-MW-DPK
./ptmwdb.sh --os_type Linux --output_dir /scratch/output < /scratch/mos.txtSample 4
- Run the script on Linux
- os_type Windows (generate output for Windows)
- Selective components — WebLogic
- Build PT-MW-DPK
./ptmwdb.sh --os_type Windows --output_dir /scratch/output --get_CPU WL </scratch/mos.txt