Mouse Tracker - HP-UX SysAdmin >
Although every care has been taken to provide accurate information, I do not warrant the accuracy or completeness of the information included in this website. Any use, or reliance on, such information is entirely at user's own risk.

HP-UX HP-UX SysAdmin

Powered by Hewlett Packard HP-UX Operating System Why Another UNIX Tutorial?

I'm developing this website for three reasons...

  • I wanted a place to store and organize notes and information.
  • I want to master HP-UX and I've noticed that I learn more if I research a topic and write down what I have learned.
  • I can use it as a reference in case I need to remember how I configured something or solved a problem previously.
...but, I'm posting it publicly in case others find it useful.

Because UNIX (and more recently Linux) was developed by programmers for programmers, it is "expert friendly" instead of "user friendly". I will provide step-by-step ("cookbook") instructions on how to accomplish common tasks ("recipies"). Although I'll assume a basic understanding of UNIX, I'll attempt to provide enough explanation so that UNIX newbies also find it useful.

All/Most of these recipies will pertain to an HP 9000 C240 workstation that I'm configuring to serve as my webserver. I have decided to install HP-UX 11i as the OS version, and the rest of the applications/tools/etc will be open-source (These will include: Apache, PHP, MySQL, GNU gcc compiler, and others).

When I am done, the c240 workstation will be the production server while the e55 server I will use for testing. It might seem odd that I plan on using a server as a test/sandbox system and a workstation as a production server, but the c240 is faster than the e55.

Why UNIX?
Because unlike "MicroCrap Windoze", I've never had it crash because it was lonely and wanted someone to pay attention to it. I have to almost daily fight with the Windows NT 4.0/2000 servers at work. It has been an impossible dream to get them to the stage where everything just works consistently. In contrast, HP-UX is rock solid. It might take considerable effort to get the server just the way you want it, but once you do, it'll keep running until it melts!

Why HP-UX?
Simply because that is the flavor of UNIX that I have most experience with... the company I work for uses it for their mission critical systems.

Although the recipies and scripts on this website were tested on 11.x versions of HP-UX, they may work with earlier versions.
Version Released
11.00 11/97
11i 06/00

My Recipies

HP-UX Install Cold Installing HP-UX 11i
Updated: Nov. 4th, 2001 Report Errors
Installing OS from CD-ROM onto a HP 9000 C240 workstation.

HP-UX Environment Setting Up the User Environment
Updated: Nov. 27th, 2001 Report Errors
Customizing the user environment to my taste.

HP-UX Disk Space Recovery HP-UX 11.x Disk Space Recovery
Updated: Nov. 25th, 2001 Report Errors
Over time, you lose disk space to temporary files, core dumps, and log files... recovery it.

Scripts

HP-UX Scripts Useful Scripts
Updated: Nov. 11th, 2001 Report Errors
Collection of useful scripts I have compiled over the years.

HP-UX Related WebSites

IT Resource Center (ITRC) - http://itrc.hp.com/
Added: Sep. 15, 2001 Report Broken Link
Official HP support website.

Hewlett-Packard Technical Documentation - http://docs.hp.com/
Added: Sep. 15, 2001 Report Broken Link
HP documentation library.

comp.sys.hp.hpux FAQ - http://faqs.org/faqs/hp/hpux-faq/
Added: Nov. 11, 2001 Report Broken Link
FAQ for the HP-UX operating system, version 10.0 and later.

HP-UX Discussion Forums / Newsgroups / Mailing Lists

IT Resouce Center - HP-UX Forum - http://forums.itrc.hp.com/
Added: Sep. 15, 2001 Report Broken Link
Bulletin board system maintained by HP and used by end-users for peer-to-peer support. I've reached the "Graduate" level... View my profile.

Usenet Newsgroup comp.sys.hp.hpux - news:comp.sys.hp.hpux
Added: Nov. 11, 2001 Report Broken Link
The best HP-UX focused Usenet newsgroup. Even though there are others like comp.sys.hp.apps, comp.sys.hp.hardware, and comp.sys.hp.misc, I don't recommend them because of the low percentage of HP-UX specific posts.

HP-UX Software

The HP-UX Porting and Archive Center - http://hpux.cs.utah.edu/
Added: Nov. 11, 2001 Report Broken Link
Download pre-compiled (binaries) software from the Software Porting and Archive Center for HP-UX.

HP Software Depot Home - http://software.hp.com/
Added: Nov. 11, 2001 Report Broken Link
Buy, try, demo, and download software online direct form HP. Many free packages available including latest special compiled versions of Apache, Bind, Sendmail, etc.

HP Developer's Resource - http://devresource.hp.com/OpenSource/
Added: Nov. 11, 2001 Report Broken Link
OpenSource software (geared towards programmers/developers) that has been compiled for HP-UX. This is non-HP supported software but they are nice enough to provide it.

The Written Word - http://thewrittenword.com/packages/
Added: Nov. 11, 2001 Report Broken Link
I'll let them summarize, "The Written Word provides pre-compiled binaries of Open Source software on Solaris, HP-UX, Tru64 UNIX, and IRIX and keeps you updated with new releases as they become available through our subscription service. We have an extensive list of supported applications and are continually adding to this list. Each application is shipped in the native vendor package format, making installation and upgrades easy." They also have an ftp site where you can download some programs without having to subscribe to their service. The CDs are nice if you can afford the price... I know I can't.

HP 9000 Hardware

HP PartSurfer - http://partsurfer.hp.com/
Added: Nov. 11, 2001 Report Broken Link
Find all available parts and part-numbers for HP hardware (not just HP 9000, but all HP products). Very useful tool.

eBay - eBay.com "HP 9000" Search
Added: Nov. 12, 2001 Report Broken Link
I bought all my HP hardware (including the HP 9000 E55 server and the C240 workstation) from eBay. Great deals to be found.

HP-UX Books

HP-UX 11.x System Administration Handbook and Toolkit - Amazon.com
Added: Nov. 11, 2001 Report Broken Link

HP-UX Tuning and Performance: Concepts, Tools, and Methods - Amazon.com
Added: Nov. 11, 2001 Report Broken Link

HP-UX Organizations

Interex - http://www.interex.org/
Added: Nov. 11, 2001 Report Broken Link
International Association of Hewlett-Packard Computing Professionals is an independent, nonprofit association. There are several levels of membership, including a free membership to their publication HP World.

General UNIX Information

The Creation of the UNIX Operating System - http://www.bell-labs.com/history/unix/
Added: Sep. 15, 2001 Report Broken Link
Bell Labs (currently part of Lucent Technologies but used to be the research division of AT&T) website detailing the original development of the UNIX at AT&T.

Rosetta Stone for Unix - http://home.earthlink.net/~bhami/rosetta.html/
Added: Nov. 11, 2001 Report Broken Link
A Sysadmin's Unixersal Translator, Rosetta Stone, or "What do they call that in this world?" A handy cross-reference to finding out how to accomplish basic tasks in different flavors of UNIX.
Choose a job you love and you will never work a day in your life. - Confucius