Documentos de Académico
Documentos de Profesional
Documentos de Cultura
uname -r swlist -l bundle | grep ' OS' swlist -l bundle | grep ' Operating Environment' swlist -a state -a patch_state PH*
Note. B.11.11 = 11i Note. B.11.23 = 11i v2 Note. B.11.31 = 11i v3 Check for CPUs,
ioscan -fnkC processor top
Note. if you also want to resize /stand, you may try with "-C y" and "lvlnboot -r" thereafter. Package management View some product content,
swlist -l product | grep -i cde swlist -l fileset CDE swlist -l file CDE.CDE-MIN
Install products,
gunzip mutt-1.5.20-ia64-11.23.depot.gz unset DISPLAY swlist -s /root/mutt-1.5.20-ia64-11.23.depot swinstall -s /root/mutt-1.5.20-ia64-11.23.depot mutt
more logfile
Note. "-funC" for "usable" disks Note. "insf" or "insf -e -C disk" to force device creation Note. "-k" as user Display Fiber Channel adapters,
ioscan -fnC fc
For HP/UX 11.23 Configure PVLink (11.23 - Path failover through LVM). Once your VG is working on one path (PV needs to be created on one of the paths first, see the "LVM configuration" paragraph), add the alternate paths to it,
vgextend vg01 /dev/dsk/c2t0d1 /dev/dsk/c6t0d1 /dev/dsk/c8t0d1
Note. otherwise purchase and use SecurePath For HP/UX 11.31 SAN Multipath option comes with OS. The new storage stack includes dynamic multipath balancing. Backup/restore To recover files to original location,
frecover -f /dev/rmt/0m -xov -i /source_directory
Refs. forums11.itrc.hp.com/service/forums/questionanswer.do? threadId=2801&admit=109447626+1253637912723+28353475 docs.hp.com/en/B2355-90672/ch09s08.html docs.hp.com/en/B2355-90950/ch06s04.html Single user mode Interrupt the bootloader timeout and boot single user,
boot -is vmunix
Misc Get a decent environment with the default shell and vars,
stty erase ^? export TERM=xterm
Shutdown,
cd / shutdown -h -y now
reboot,
cd / shutdown -r -y now #reboot
add,
if [ $LOGNAME != root \ -a $LOGNAME != daemon \ -a $LOGNAME != bin \ -a $LOGNAME != sys \ ... ]; then command fi
like e.g.,
#!/bin/ksh PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$HOME/bin\ :/usr/local/apache2/bin:/usr/local/mysql/bin export PATH print "starting mysqld" mysqld_safe --user=mysql & print "starting apache2" apachectl start
fix perms,
chmod 755 rc.local
Note. this only works directory per directory. Check if only space & tabs:
od -c file
changer,
[Service] AutoStart=1 Fresh Install=0 [Web] Port=8081
apply,
cd /sbin/rc3.d ./DevMan stop ./DevMan start
Note. lvcreate -L in MB Note. dd against the raw device (rcdx) To mount an ISO (w/ or w/o rockridge) on older HP/UX releases,
/usr/sbin/pfs_mountd & /usr/sbin/pfsd &
with the following contents: /dev/dsk/c0t4d0 /ISO_CDROM pfs-iso9660 xlat=unix 0 0 /dev/dsk/c0t4d0 /ISO_RR_CDROM pfs-rrip xlat=unix 0 0 note. create the dirs,
mkdir /ISO_CDROM mkdir /ISO_RR_CDROM
Refs. sysunconfig.net/unixtips/hp_cdrom.txt forums11.itrc.hp.com/service/forums/questionanswer.do? admit=109447626+1221656305536+28353475&threadId=1060487 forums12.itrc.hp.com/service/forums/questionanswer.do? admit=109447627+1221655722783+28353475&threadId=1153978 Software references Software Depot home : software.hp.com/ IT Resource Center : itrc.hp.com/
Porting And Archive Centre : hpux.connect.org.uk/ Index of /gcc : hpacxx.external.hp.com/gcc/ References HP documentation portal : docs.hp.com/ HP IT ressources : www.itrc.hp.com/ HP support : support.hp.com/ www.docs.hp.com/en/B2355-90950/ch05s01.html www.unixhub.com/docs/hpux/hpux_boot.html HP/UX 11i v2 documentation : docs.hp.com/fr/hpux11iv2.html Manual pages : docs.hp.com/en/hpuxman_pages.html Versus Solaris : www.loudermilk.org/software/solaris-hpux.html#goodstuff Security : www.blacksheepnetworks.com/security/resources/sec_HPUX2.html vPar : christianbilien.wordpress.com/2007/03/25/vpar-memory-granule-size-matters/ HP-UX: Disk and Filesystem tasks : www.unixguide.net/hp/hplvmtasks.shtml Security references Great guide : www.darklab.net/resources/hp-ux11.html Quick view : dataprotected.files.wordpress.com/2008/05/hp-ux-security-check.pdf Ncops : mayoxide.com/ncops/