Advertisements

Tag Archives: ln

Installing lsof on Solaris 11 from OpenCSW

I’m doing an offline install of CSWlsof for Solaris 11

You need 3 packages, the package itself and the dependencies
lsof
common
isaexec

Download from one of the mirrors
https://reflector.westga.edu/repos/OpenCSW/stable/sparc/5.11/

Install the packages

common

root@solaris:/tmp/lsof_solaris # pkgadd -d common-1.5\,REV\=2010.12.11-SunOS5.8-sparc-CSW.pkg

The following packages are available:
1 CSWcommon common – common files and dirs for CSW packages
(sparc) 1.5,REV=2010.12.11

Select package(s) you wish to process (or ‘all’ to process
all packages). (default: all) [?,??,q]: 1

Processing package instance from </tmp/lsof_solaris/common-1.5,REV=2010.12.11-SunOS5.8-sparc-CSW.pkg>

common – common files and dirs for CSW packages(sparc) 1.5,REV=2010.12.11
http://www.opencsw.org/ packaged for CSW by Philip Brown
## Executing checkinstall script.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing common – common files and dirs for CSW packages as

## Installing part 1 of 1.
/opt/csw/bin/sparc
/opt/csw/doc
/opt/csw/info
/opt/csw/lib/32
/opt/csw/lib/64
/opt/csw/lib/locale
/opt/csw/lib/sparc
/opt/csw/lib/sparcv8
/opt/csw/man
/opt/csw/share/locale/locale.alias
[ verifying class ]

Installation of was successful.

isaexec

root@solaris:/tmp/lsof_solaris # pkgadd -d isaexec-0.2\,REV\=2009.03.26-SunOS5.8-all-CSW.pkg

The following packages are available:
1 CSWisaexec isaexec – sneaky wrapper around Sun isaexec
(all) 0.2,REV=2009.03.26

Select package(s) you wish to process (or ‘all’ to process
all packages). (default: all) [?,??,q]: 1

Processing package instance from </tmp/lsof_solaris/isaexec-0.2,REV=2009.03.26-SunOS5.8-all-CSW.pkg>

isaexec – sneaky wrapper around Sun isaexec(all) 0.2,REV=2009.03.26
This interesting packaging hack is copyrighted by Philip Brown,
phil@bolthole.com
You may copy, install, and otherwise redistribute this package as you like,
without having to pay any fee, so long as it remain unchanged, and this notice
remain intact as the copyright notice.
## Processing package information.
## Processing system information.
2 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of [y,n,?] y

Installing isaexec – sneaky wrapper around Sun isaexec as

## Installing part 1 of 1.
[ verifying class ]
## Executing postinstall script.
Copying /usr/lib/isaexec to /opt/csw/bin/isaexec

Installation of was successful.

lsof

root@solaris:/tmp/lsof_solaris # pkgadd -d lsof-4.87\,REV\=2013.03.28-SunOS5.11-sparc-CSW.pkg

The following packages are available:
1 CSWlsof lsof – List open files
(sparc) 4.87,REV=2013.03.28

Select package(s) you wish to process (or ‘all’ to process
all packages). (default: all) [?,??,q]: 1

Processing package instance from </tmp/lsof_solaris/lsof-4.87,REV=2013.03.28-SunOS5.11-sparc-CSW.pkg>

lsof – List open files(sparc) 4.87,REV=2013.03.28
Please see /opt/csw/share/doc/lsof/license for license information.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

The following files are being installed with setuid and/or setgid
permissions:
/opt/csw/bin/sparcv8plus/lsof
/opt/csw/bin/sparcv9/lsof

Do you want to install these as setuid/setgid files [y,n,?,q] y

Installing lsof – List open files as

## Installing part 1 of 1.
/opt/csw/bin/sparcv8plus/lsof
/opt/csw/bin/sparcv9/lsof
/opt/csw/share/doc/lsof/license
/opt/csw/share/man/man8/lsof.8
[ verifying class ]
/opt/csw/bin/lsof

Installation of was successful.

Creating a link on /usr/sbin to the binary that was installed under /opt/csw

root@solaris:/usr/sbin # ln -s /opt/csw/bin/lsof lsof

Advertisements

Installing Oracle Java 8 Update 31 plugin in Firefox – Linux

I have a Red Hat Enterprise Linux 5 and I want to install Java 8 with the browser plugin.

root@linux:~ # cat /etc/*release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)

In order to do that, go to http://www.java.com/en/download/manual.jsp and download the corresponding version according to your machine. I choose Linux x64 RPM

root@linux:/tmp # rpm -ivh jre-8u31-linux-x64.rpm
Preparing… ########################################### [100%]
1:jre1.8.0_31 ########################################### [100%]
Unpacking JAR files…
rt.jar…
jsse.jar…
charsets.jar…
localedata.jar…
jfxrt.jar…

Go to /usr/lib64/mozilla/plugins and create a link

root@linux:/usr/lib64/mozilla/plugins # ln -s /usr/java/jre1.8.0_31/lib/amd64/libnpjp2.so libnpjp2.so
root@linux:/usr/lib64/mozilla/plugins # ls -l
total 0
lrwxrwxrwx 1 root root 41 Jun 9 2014 libflashplayer.so -> /usr/lib64/flash-plugin/libflashplayer.so
lrwxrwxrwx 1 root root 41 Jul 7 2014 libjavaplugin.so -> /etc/alternatives/libjavaplugin.so.x86_64
lrwxrwxrwx 1 root root 43 Jan 28 15:18 libnpjp2.so -> /usr/java/jre1.8.0_31/lib/amd64/libnpjp2.so

Verify if the plugin is being loaded typing about:plugins in the address bar

%d bloggers like this: