DevTech101

DevTech101

solaris11

Protecting Files From Getting Overwritten Mistakenly

Protecting Files From Overwriting Mistakenly To set protection on, run the below. set -o noclobber To make it permanent just add to your .bashrc echo ‘set -o noclobber’ >> ~/.bashrc An example how things will work after noclobber is set. $ echo test > testfile1 bash: testfile1: cannot overwrite existing file To forcibly overwrite the …

Protecting Files From Getting Overwritten Mistakenly Read More »

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 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 pkgrepo refresh -s /var/mnt/virtlibs/1362593673064/1495c928-9096-4e11-9958-25856df9b57f/data …

How to add a p5p pkg to a Solaris 11 repo Read More »

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 pkg list -g file:////var/tmp/idr793.1.p5p NAME (PUBLISHER)                                  VERSION                    IFO idr793                                            1                          — Then install the patch / package pkg install -g file:////var/tmp/idr793.1.p5p idr793 If the above steps is not working, then …

How To Install an IDR Pkg Using a p5p in Solaris 11 Read More »

Solaris IPFilter optimization

The default settings are quite conservative, and should be increased. user@opensolaris:~# ipfstat | grep lost fragment state(in): kept 0 lost 0 not fragmented 0 fragment state(out): kept 0 lost 0 not fragmented 0 packet state(in): kept 798 lost 100 packet state(out): kept 612 lost 234 The default settings are quite conservative. user@opensolaris:~# ipf -T list …

Solaris IPFilter optimization Read More »