Bash is the shell or command language interpreter, that will appear in the GNU operating system
1. Download bash depot package based on HP-UX version and check for dependencies:
http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=bash
2. Install the depot package, and follow the GUI steps, for example:
swinstall -s /tmp/termcap-1.3.1-ia64-11.31.depot
swinstall -s /tmp/gettext-0.17-ia64-11.31.depot
swinstall -s /tmp/libiconv-1.12-ia64-11.31.depot
swinstall -s /tmp/bash-4.0-ia64-11.31.depot
3. Run BASH software: /usr/local/bin/bash
4. To make it accessible, add path /usr/local/bin to /etc/PATH
bash-4.0# vi /etc/PATH --> added /usr/local/bin
bash-4.0# export PATH=$(cat /etc/PATH)
There are 2 ways to mount iso file in hp-ux 1) using LVM method (to copy ISO into a logical volume) is the same as for older HP-UX releases: 1. Find out the size of the ISO image: # du -k /data/myImage.iso NOTE: The size will be in Kb. 2. Create a logical volume for the ISO image: # lvcreate -L -n iso /dev/vg00 NOTE: The name of the logical volume will be /dev/vg00/iso 3. Copy the ISO file to the raw logical volume: # dd if=/data/myImage.iso of=/dev/vg00/riso bs=64k 4. Create a temporary directory and mount the /dev/vg00/iso volume # mkdir /iso_image # mount /dev/vg00/iso /iso_image NOTE: For HP-UX 11.11 you must install the latest CDFS patches: PHCO_25841 Add Rock Ridge extension to mount_cdfs(1M) PHKL_26269 Rock Ridge extension for ISO-9660 PHKL_34153 CDFS cumulative patch 2) Available in HP-UX 11.31 0909: ISOIMAGE-ENH. Provides a new DLKM module fspd. Required to mount, read and umount the ISO image file. The comm...
Comments