How to create An Oracle Solaris 11 IPS/PKG Nagios Plugins Package The example below creates a Solaris Nagios Plugins package, I then show you how to publishes the Nagios pkg to your repository. Download required software First, download the latest NRPE and Nagios-plugins, you can download the Nagios plugins from here and the latest NRPE […]
Tag: IPS
How to Create a Custom Solaris Live CD + latest SRU
Creating a custom Solaris Live CD Tip: You will need the full Solaris repository for this process to work (4 ISO from Oracle’s web site 4+Gb). Create the local repo directory.
1 |
mkdir /export/support-repo/ &&b cd /export/support-repo/ |
1 |
./install-repo.ksh -d /export/support-repo/ |
Create cd, usb, rep, etc
1 |
cd /tmp |
1 |
cp /usr/share/distro_const/dc_livecd.xml dc_livecd.xml |
vi dc_livecd.xml and change the repo to http://, or file:// Also Modify the entire line […]
How to add a p5p pkg to a Solaris 11 repo
First you add the IDR/p5p file to the repo Note: To see how-to create a Solaris pkg click here
1 2 3 4 5 |
pkgrecv -d /var/mnt/virtlibs/1362593673064/1495c928-9096-4e11-9958-25856df9b57f/data -s /tmp/idr793.1.p5p "*" Processing packages for publisher solaris ... Retrieving and evaluating 2 package(s)... PROCESS ITEMS GET (MB) SEND (MB) Completed 2/2 48.1/48.1 103.9/103.9 |
Then you refresh the repo
1 2 |
pkgrepo refresh -s /var/mnt/virtlibs/1362593673064/1495c928-9096-4e11-9958-25856df9b57f/data Initiating repository refresh. |
How To Install an IDR Pkg Using a p5p in Solaris 11
Installing / applying an IDR Pkg(patch) Using a .p5p in Solaris 11.x First we need to get the list of packages included in the p5p
1 2 3 |
pkg list -g file:////var/tmp/idr793.1.p5p NAME (PUBLISHER) VERSION IFO idr793 1 --- |
Then install the patch / package
1 |
pkg install -g file:////var/tmp/idr793.1.p5p idr793 |
If the above steps is not working, then you might need to unset the soalris publisher and set the p5p s as […]
How to setup a Soalris 11 Package Repository
Contents 1 How to create a local soalris 11 express Package Repository 1.1 Create a new ZFS file system within a pool 1.1.1 Zfs Pool 1.1.2 ZFS filesystem 1.2 Prepare CD images from Oracle 1.3 Mount the repo CD image 1.4 Copy the data to the repo location 1.5 Set new repository settings 1.6 Enable […]