HP−UX Installation UNIX Installation Procedures
Chapter 26: UNIX Installation
26.1 Introductory Notes
The first step in dealing with an UNIX system is to install the operating system itself. On a UNIX platform, delivered systems with the OS preinstalled is more an exception than the rule. In any case, among the administrative duties are the UNIX installation when we say UNIX installation we are thinking UNIX OS installation and the initial configuration of the installed UNIX system that will allow access for further upgrades. UNIX installation per se should not be a problem. There are two main reasons why: The installation procedure is usually well documented; the provided documentation usually covers all possible installation scenarios, as well as potential troubleshooting. 1. The system is not in an operational stage, and we are relaxed during the installation. It is easy to repeat an installation procedure if something is going wrong, we have started everything from scratch, so we can do the same again. 2. Nevertheless, any real installation example is always welcome and helpful. Different installation scenarios and options, and a general installation approach in the provided documentation can sometimes be confusing. Existing dilemmas can be quickly resolved if we have an appropriate installation case in front of us. This is the purpose of this chapter. A few installation examples for the currently most common UNIX flavors — Solaris, HP−UX, and Linux — could be very helpful in a number of real installation cases, and also very educational for the readers. OS installation is the first step in making a UNIX system workable. However, this is not the only step in accomplishing this task, as well as keeping a UNIX system compliant with unavoidable upgrades, updates, and patches. The second part of this chapter addresses these issues. For both parts it is assumed that we have workable hardware in front of us, that we have access to the system console, and that the CD drive is available.26.2 UNIX Installation Procedures
In this part, the installation procedure examples for a few common UNIX flavors are documented. Despite the fact that they are sufficiently general and applicable for listed UNIX flavors, they are also site−specific. Please keep in mind that some differences in the installation procedures caused by different system hardware configurations andor operating system versions and releases are always possible. This is the reason why, in each of the examples that follow, the relevant initial information is always provided.26.2.1 HP−UX Installation
The following text describes in detail steps performed in installing HP−UX 10.20 operating system on the Series 800 HP system — model E35; the host is named blue in this example. The described installation procedure also includes a mirroring of the root filesystem, which is realized as a single filesystem that also includes usr and var. Power−on the system. 1. Insert the HP−UX 10.20 Install and Core OS CD into the CD drive. 2. Follow messages on the console. Pay attention to the message: 3. 657 and hit any key. Respond to questions: Boot from primary boot path Y or N? n ♦ Boot from alternate boot path Y or N? n ♦ Enter boot path, command, or ? boot 5652.2 or corresponding CD hardware path ♦ Since the CD was selected hardware path 5652.2, respond to the question: Interact with IPL Y or N? n ♦ 4. The Install Program on the CD is started, and the Welcome Screen appears. Select Install HP−UX and continue dialogue. Would you like to enable networking now? y ♦ 5. The screen: HP−UX Install Utility — Network Configuration hostname blue ip address: XX.XX.XX.XX enter corresponding IP address router: XX.XX.XX.XX enter corresponding IP address netmask 255.255.255.0 or another netmask Select OK. 6. The screen: HP−UX Install Utility — Select System Root disk Select 5652.6.0 for the primary boot disk or corresponding disk hardware path. 7. The screen: HP−UX Install Utility — Select Whole System Configuration Select LVM Configuration with VxFS Journaled file system. Select OK. 8. The screen: HP−UX Install Utility — ViewModify Basic Configuration Primary swap size for example 1200, or accept offered value Secondary swap size none Software selection CDE Runtime Environment Software language English Locale setting default FS file name length Long home Configuration none How many disks in root group one Make volatile dirs separate true Create export volume false Select OK. 9. The screen: HP−UX Install Utility — Configure File System mount size volume disk directory MB usage group 1420 VxFS vg00 stand 48 HFS vg00 swap 560 swap vg00 Select OK. 10. 658 The screen: HP−UX Install Utility — Enter SD−UX swinstall information Do you want to interact with SD−UX swinstall? No ♦ Select OK. The swinstall procedure continues; it takes almost one hour. Once it is completed, log in to the system as root and set the password. 12. Once the HP−UX OS is installed, the system itself should be appropriately configured for its mission. The following text describes the most common needed administrative steps to customize the installed system. Of course, the described steps are not mandatory — they are very much site−dependent; please read them as appropriate. Also, HP−UX provides a menu−based tool, system administration manager SAM, to help in the system administration — it is available upon OS installation. In some of the following steps, SAM is used to accomplish specific tasks. Log in as root. 13. Using vi modify the file etcissue to reflect the hosts name blue. blue [HP Release B.10.20] 14. Createprepare configuration files for Automounter if needed. This step is site−specific and probably could be skipped in most installations. In this example Automounter is used to mount home and share filesystems exported by the NFS server; and NIS maps specify the configuration data. etcauto_direct: +auto_direct etcauto_master: − auto_direct −ro net −hosts −rw home auto_home −rw share auto_share −rw etcauto_home: +auto_home etcauto_share: +auto_share 15. Modifyprepare the following files for NIS: etcpasswd etcgroup Add NIS marker + as the last line in the file; it will be in effect until the etcnsswitch.conf file is created. Again this step probably could be skipped; in this example NIS is implemented. 16. For most of the network−related services that follow, it is easier to use the SAM tool than to modify configuration files from the command line. However, such an approach is also acceptable. Enter sam to start SAMfrom the command line. 17. Select Networking and Communications. Select Name Service Switch. For each displayed entry, select ActionConfigure Name Service Switch and provide the necessary data. 18. 659 Select ActionSet Domain Name and set to domain−name enter the name for your NIS domain if applicable at all. Select Networked File System. Select Mounted Remote File Systems. Select ActionEnable Automounter. Note If there are problems, please check the rc configuration file etcrc.config.dnamesvrs it includes configuration data for NIS and etcrc.config.dnfsconf for NFS client and Automounter. Return to the SAM Main Menu and select Time. Select NTP Network Time Resources. Select ActionAdd Remote Server or Peer… Enter Host Name: ntphostor the name of the time server. Select ActionStart NTP. 19. Return to the SAM Main Menu and select Printer and Plotters. Select LP Spooler. Select Printer and Plotters. Select ActionAdd Remote PrinterPlotter. Printer name: printer−name Remote system: system−name Remote printer name: remote−name for network printer LF1 Make the printer default one; select ActionSet as Default Destination. Return to the SAM Main Menu and exit. 20. Createprepare the file etcshells to include all shells that FTP users could use. Otherwise, the FTP access to the system would be restricted. 21. Modify the system−wide file etcprofile to reflect your login needs. 22. Build the whatis database. Execute catman −w— it takes a while. 23. At this point the basic system configuration is set and the system is ready for use.26.2.2 Solaris Installation
Parts
» Unix Administration. 7485KB Mar 29 2010 05:04:17 AM
» UNIX Operating System UNIX — Introductory Notes
» Berkeley Standard Distribution — BSD UNIX System V or ATT UNIX
» System Administrators Job UNIX System and Network Administration
» Computing Policies UNIX System and Network Administration
» Legal Acts Administration Guidelines
» Code of Ethics Administration Guidelines
» USENIX System Administrators Guild — SAGE
» In This Book UNIX System and Network Administration
» Introduction The Unix Model — Selected Topics
» Access Classes File ProtectionFile Access
» Default File Mode File ProtectionFile Access
» Plain Regular File Socket Named Pipe
» Special File Names Special File Creation
» Process Types Process Attributes
» Process Life Cycles Processes
» System V ATT Flavored ps Command
» Destroying Processes The UNIX kill command will eliminate a process entirely:
» Becoming a Superuser Communicating with Other Users
» The man Command UNIX Online Documentation
» The uptime Command The uptime command displays:
» Personal Documentation UNIX Administration Starters
» Shell Script Execution UNIX Shell Scripts
» Shell Variables UNIX Shell Scripts
» Double Command−Line Scanning
» Introductory Notes System Startup and Shutdown
» The Bootstrap Program System Startup
» The Kernel Execution System Startup
» System States System Startup
» The Outlook of a Startup Procedure
» Initialization Scripts System Startup
» The BSD rc Scripts BSD Initialization Sequence
» BSD−Like Initialization System V Initialization
» An Example Shutdown Procedures
» Introduction to the UNIX Filesystem
» System V Filesystem Directory Organization
» Mounting a Filesystem home, users
» Dismounting a Filesystem home, users
» Automatic Filesystem Mounting Removable Media Management
» BSD Filesystem Configuration File
» Filesystem Types A Few Other Filesystem Issues
» Swap Space — Paging and Swapping
» Loopback Virtual Filesystem A Few Other Filesystem Issues
» Display Filesystem Statistics: The df Command
» Checking Filesystems: The fsck Command
» Introduction UNIX Filesystem Layout
» Disk Partitions Physical Filesystem Layout
» Filesystem Structures Physical Filesystem Layout
» The mkfs Command Filesystem Creation
» File Identification and Allocation
» File Storage vs. File Transfer
» Reserved Free Space Filesystem Performance Issues
» Logical Volume Manager — AIX Flavor
» Logical Volume Manager — Solaris Flavor
» Redundant Array of Inexpensive Disks RAID
» The Volume Snapshot Snapshot
» The Filesystem Snapshot Snapshot
» Virtual UNIX Filesystem Logical Filesystem Layout
» Disk Space Upgrade UNIX Filesystem Layout
» User Database — File etcpasswd
» Initialization Template Files UNIX Login Initialization
» User Login Initialization Files
» Systemwide Login Initialization Files
» Restricted User Accounts Users and Secondary Groups
» Assigning User Passwords Standard UNIX Users and Groups
» Managing Disk Usage by Users
» System V Accounting Accounting
» AIX−Flavored Accounting Accounting
» Physical Security Passwords UNIX Lines of Defense
» File Permissions UNIX Lines of Defense
» Backups Password Encryption UNIX Lines of Defense
» Setting Password Restrictions UNIX Lines of Defense
» The Wheel Group Secure Terminals — Other Approaches
» History of the Root Account Tracking User Activities
» The syslogd Daemon The Concept of System Logging
» The Configuration File etcsyslog.conf
» Linux Logging Enhancements The logger Command
» Testing System Logging System Logging Configuration
» The last Command Limiting the Growth of Log Files
» BSD Printing Subsystem UNIX Printing Subsystem
» The lp, lpstat, and cancel Commands
» The etcprintcap File BSD Printer Configuration and the Printer Capability Database
» Filters BSD Printer Configuration and the Printer Capability Database
» The Printer Database Directory Hierarchy on System V
» Setting a Remote Printer on HP−UX
» BSD and AIX Cross−Printing Solaris and BSD Cross−Printing
» Third−Party Printer Spooling Systems
» The tput Command The tset, tput, and stty Commands
» The stty Command The tset, tput, and stty Commands
» The tar Command Tape−Related Commands
» The cpio Command Tape−Related Commands
» The dd Command Tape−Related Commands
» The mt Command Magnetic Tape Devices and Special Device Files
» The SVR3 and SVR4 backup Commands
» The fbackup Command Backup and Dump Commands
» The dumpufsdump Command Backup and Dump Commands
» Interactive Restore The restore Commands
» The frecover Command Restoring Files from a Backup
» Tape Control UNIX Backup and Restore
» The NTP Daemon Network Time Distribution
» The crontab Files Network Time Distribution
» The crontab Command Network Time Distribution
» Linux Approach Network Time Distribution
» Programs Scheduled for a Specific Time
» UNIX and Networking Network Fundamentals
» TCPIP and the Internet ISO OSI Reference Model
» TCPIP Protocol Architecture Computer Networks
» Internet Protocol IP Internet Layer and IP Protocol
» Network Access Layer Transport Layer and TCP and UDP Protocols
» Application Layer TCPIP Layers and Protocols
» IP Address Classes Data Delivery
» Dynamic Routing Internet Routing
» Protocols, Ports, and Sockets
» UNIX Database Files Multiplexing
» The arp Command Address Resolution ARP
» The portmapper Daemon The etcrpc File
» The ifconfig Command Configuring the Network Interface
» The netstat Command Configuring the Network Interface
» The inetd Daemon Super Internet Server
» Further Improvements and Development
» Host Names and Addresses Domain Name Service DNS
» The Local Host Table — etchosts
» Handling the NIC Host Table — A Journey into the Past
» Other Resolver Parameters BIND Configuration
» Name Servers UNIX Name Service — BIND
» The Configuration File etcnamed.boot
» The named.local File The named.cache file
» Subdomains and Parenting BIND Version 8.X.X
» The nslookup Interactive Mode
» A Few Examples of nslookup Usage
» Purpose and Concepts Network Information Service NIS
» To Create an NIS Client NIS Domain Name
» The etcnetgroup File DatabasesNIS Maps
» Security Issues NIS Management
» The showmount Command Mounting Remote Filesystems
» An Example The Automount Maps
» The rlogin Command The rcp Command
» The HOME.rhosts File Using UNIX r−Commands — An Example
» SSH Configuration Secure Shell SSH
» Root Access SSH Installation and User Access Setup
» SSH — Version 2 Secure Shell SSH
» Simple Mail Transport Protocol SMTP
» Rewriting an E−mail Address Pattern Matching
» Address Transformation The Parsing of E−mail Addresses
» Testing Rewrite Rules The sendmail −bt Command
» The Debugging Level Checking the Mail Queue
» Mail Subcommands The Mail Program and .mailrc File
» POP Transactions Post Office Protocol POP
» Internet Message Access Protocol IMAP
» Finger Common UNIX Network Applications
» The ping Command Host Connectivity
» The traceroute Command Host Connectivity
» The X Administration Philosophy
» Window Managers An Introduction to the X Window System
» xdm Configuration Files The X Display Managers
» Vendor−Specific X Flavors — a Configuration Example
» XDMCP Queries The Xaccess File
» Other Access Control Mechanisms
» Components of the xdm−Based User X Environment
» Other Startup Methods The User X Environment
» A Permanent X11 Installation
» Introduction to Kernel Reconfiguration
» Kernel Configuration Database Kernel Reconfiguration
» The config Command BSD−Like Kernel Configuration Approach
» HP−UX 10.x Kernel Configuration
» UNIX and Modems Introduction to Modems
» Terminal Lines and Modem Control
» C−Kermit Third−Party Communication Software
» UUCP Versions UUCP Chat−Transfer Session
» The UUCP Daemons UUCP Commands, Daemons, and Related Issues
» The UUCP Spool Directories and Files
» Additional Security in BNU UUCP
» Additional Security in Version 2 UUCP
» Intranet vs. Internet Introduction to Intranet
» Intranet Design Approach Introduction to Intranet
» Life Cycle of a Virus Virus Types
» The Viruswall Implementation Viruswalls
» Application Proxies SOCKS Proxies
» Web Services Intranet Front−End Services
» Other External Services Intranet Front−End Services
» Network Infrastructure and Desktops
» Dynamic Host Configuration Protocol DHCP
» UNIX and Not−UNIX Platform Integration
» HP−UX Installation UNIX Installation Procedures
» Linux Installation UNIX Installation Procedures
» Solaris Patch Installation HP−UX Patch Installation
» Solaris and Lost Root Password HP−UX and Lost Root Password
» Solaris Procedure to Create an Alternate Boot Partition
» Solaris Recovery of the Failed Mirrored Boot Disk
Show more