To set up the patch bundle on the repository server, do the following:
Oracle Public Cloud Machine.16.3.1 to 17.1.2, select Oracle Public Cloud Machine 17.1.2.0.0.Patchset For Oracle-Compute Instance OS Release - X.Y.Z, where X.Y.Z denotes the version number.root user.patchrepo directory in the DocumentRoot directory of the server. By default, the DocumentRoot is /var/www/html:
mkdir /var/www/html/patchrepo
patchrepo directory
cd /var/www/html/patchrepo
scp Address_Of_Machine:Full_Path_to_Bundle /var/www/html/patchrepo
unzip FileNameofBundle
Example:
unzip p25468544_1712_Linux-x86-64.zip
The .tgzpatch bundle and the readme file are extracted.
.tgz bundle:
tar --no-same-owner -xvf FileNameofTgzBundle
Example:
tar --no-same-owner -xvf p25468544_1712-64-Linux-x64.tgz
additional_packages (17.1.2 bundle only)
scripts (17.1.2 bundle only)
template
updates
template/exalogic.repo
vi template/exalogic.repo
[exalogic] name = exalogic baseurl = http://<http-server>:<port><DocumentRoot/SubDirectory>/base/active/$releasever/$basearch gpgcheck = 0 enabled = 1
[exalogic-updates], replace the following:
Replace <http-server> with the address of the server.
Replace <port> to 80 if you are using the default port.
Replace <DocumentRoot/SubDirectory> with /patchrepo
[exalogic-updates] name = exalogic-updates baseurl = http://myhost.mydomain:80/patchrepo/updates/active/$releasever/$basearch gpgcheck = 0 enabled = 1 [root@http-server template]#
httpd server:
service httpd start
httpd server is running by accessing the patchrepo location in a browser.