Operating System - HP-UX
1837111 Members
2161 Online
110112 Solutions
New Discussion

How to install directly on HP box

 
sam kim_1
Frequent Advisor

How to install directly on HP box

good morning friends!!

1) i am trying to install cd on hpux box.

2) what i did was:
# cd /cdrom/HPUX/SSH2/USA
# ls
[result: SSH2132.ZIP;1]

3) are there any ways that i can install this SSH2132.ZIP;1 using any command(s) ??

4) as far as i know, it is impossible since
this file is ZIP file (not .tar file)

5) therefore, i can do only ftp from nt box to hp box.

are there any ways that i can install this SSH2132.ZIP;1 using any command(s) ??

11 REPLIES 11
Stefan Farrelly
Honored Contributor

Re: How to install directly on HP box


try mounting it with the -o cdcase option
Im from Palmerston North, New Zealand, but somehow ended up in London...
John Palmer
Honored Contributor

Re: How to install directly on HP box

Sam,

Have you received any instructions with the CD?

First I would unmount the CD and remount it with the cdcase option:-

mount /dev/dsk/c???? -o cdcase /cdrom

You should then see a directory hierarchy of /cdrom/hpux/ssh2/usa

and a file called ssh2132.zip

You should be able to unzip this. First try
'gzcat /cdrom/hpux/sshh2/usa/ssh2132.zip | tar tvf -'

If this produces a list of files then cd to the directory where you want to extract the files and repeat the command but with 'tar xvf -'

Regards,
John
Rick Garland
Honored Contributor

Re: How to install directly on HP box

Also try the pfs_mount options.

The '*;1' filename format is typically of Oracle cdroms. Using the pfs_mount in a rockridge format will take care of it.

To do pfs_mount:

Find the name of the cdrom device (ioscan -fnCdisk)

Check the /etc/pfs_fstab file for RockRidge format - /dev/dsk/cXtXdX /cdrom pfs-rrip xlat=unix 0

Start the pfs processes:
nohup pfs_mountd &
nohup pfsd &

Verify - ps -ef | grep pfs

Mount it - pfs_mount /dev/dsk/cXtXdX /cdrom
Stefan Schulz
Honored Contributor

Re: How to install directly on HP box

Sam,

use the mount option -o cdcase as described. If then the gunzip | tar construct doesen't give you a result this is probably a PKZIP compatible file.

Either you copy this file to a PC and user e.g. Winzip to extract it. Or you can try to install unzip from the Software Porting Center (for example http://hpux.asknet.de/). Search for unzip. This is a small tool which is able to unzip these ZIP archives.

Hope this helps.
No Mouse found. System halted. Press Mousebutton to continue.
Shannon Petry
Honored Contributor

Re: How to install directly on HP box

Sam,

The probem is only partially fixed by re-mounting the cdrom with the -cdcase option. This does handle version numbers created in HS format. (The ;# is NOT an oracle problem, but with CD Creators Not using Rock Ridge format!)

Next you need to handle the file.zip. You can download from pkware the UNIX version of PKZIP 2.5.1 for free (shareware), then license later. go to "http://www.pkware.com" and find the UNIX download area. Read and install as per PKWares instructions. You should be able to read and unzip even Pkzip for Windblows files made recently, as the GUI has changed, but the engine for compression and archive has not.

If you can not find pkzip for HP-UX, let me know, at "shannon.petry@invenioeng.com" and I can e-mail you a copy. Just please register it if you plan on using it! It is not too much $$.

Best regards,
Shannon
Microsoft. When do you want a virus today?
sam kim_1
Frequent Advisor

Re: How to install directly on HP box

i am sorry, i just came back from lunch (buffet)

1) what i tried is:

# umount /cdrom
# mount
[double-checked cdrom is unmounted]
# ioscan -funC disk
[checked cdrom driver's name and location]
# mount /dev/dsk/c3t2d0 -o cdcase /cdrom
[result is:
usage: mount [-1][-v][-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options] {special | directory}
mount [-F FStype][-eQrV][-o specific_options] special directory

2) what should i type??


P V Patel
Advisor

Re: How to install directly on HP box

Hi,

unmount the /cdrom and mount it again with pfs_mount:

umount /cdrom
use a system editor to add the following line to the /etc/pfs_fstab file

example
/dev/dsk/c3t2d0 /cdrom pfs-rrip xlat=unix 0 0
Then run the following commands:

nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
/usr/sbin/pfs_mount /cdrom

Punjabhai
sam kim_1
Frequent Advisor

Re: How to install directly on HP box

1) i am reinstalling server (test server) now!!
2) something problem is there (screen does not show up anything after i input #startx, which is totally black screen - even if i moved mouse or hit keybrd...) ; i think something network configuration was wrong!!
3) i can try to continue 'mount cdrom' after i reinstalled it!!
John Palmer
Honored Contributor

Re: How to install directly on HP box

Sam,

I'm sorry but I misled you with my earlier post. The format for mount is :-

mount -o cdcase /dev/dsk/c3t2d0 /cdrom

Give that a whirl!

Regards,
John
sam kim_1
Frequent Advisor

Re: How to install directly on HP box

i am sorry,
i went to NE yesterday for the LAN testing and i just came back.

1) i just did:
# mount -o cdcase /dev/dsk/c3t2d0 /cdrom
# cd /cdrom/hpux/ssh2/usa
# ls
ssh2132.zip
# gzcat /cdrom/hpux/ssh2/usa/ssh2132.zip | tar tvf -
[result is:
gzcat: /cdrom/hpux/ssh2/usa/ssh2132.zip: encrypted file -- use unzip Tar: blocksize = 0; broken pipe?]

2) i dont exactly know what that means and what to input commands for the next???
John Palmer
Honored Contributor

Re: How to install directly on HP box

Sam,

gzcat is complaining about the file format and is suggesting that you use 'unzip'.

Can you load this CD on a PC and try winzip on the file?

Hopefully, you will then find some instructions for installing the software.