《《aix系统应用基础》04softwareinstall.ppt》由会员分享,可在线阅读,更多相关《《aix系统应用基础》04softwareinstall.ppt(24页珍藏版)》请在三一办公上搜索。
1、 Copyright IBM Corporation 2008,Unit 4AIX software installation and maintenance,Copyright IBM Corporation 2008,Unit objectives,After completing this unit,you should be able to:Define the package definitions and naming conventions Identify how software products and updates are installed and managed o
2、n the system,Copyright IBM Corporation 2008,AIX product offerings,AIX,Expansion Pack,AIX documentation,LPPs,AIX Toolbox for Linux(included in AIX 6.1 Expansion pack),Bonus Pack Web(not available in AIX 6.1),Copyright IBM Corporation 2008,Packaging definitions,Collection of packagesComplete product,C
3、ollection of filesets,Smallest unitSpecific function,Copyright IBM Corporation 2008,Bundles,A bundle is a collection of packages and filesets suited for a particular environmentPredefined system bundles in AIX include:AllDevicesKernelsAlt_Disk_InstallApp-DevCC_Eval.GraphicsCDEGNOMEGraphicsKDEKerbero
4、s_5Media-DefinedMozillaPerfToolsServercas_client and cas_server DevicesInfocenteropenssh_client and openssh_serverwsm_remote,Copyright IBM Corporation 2008,Fileset naming,Message convention:,LPP.msg.lang.package.fileset,LPP,Package,Fileset,Suffix,Copyright IBM Corporation 2008,Software updates,#osle
5、vel,6.1.0.0,Version,Release,Modification,Fix,MIGRATION,smit update_all,Copyright IBM Corporation 2008,Software states,Applied:,Committed:,Committed,Install,FILESET 6.1.0.2(New Version),FILESET 6.1.0.1(Old Version),Applied,Commit,or,Reject,FILESET 6.1.0.1(Old Version),Install,Copyright IBM Corporatio
6、n 2008,Software Installation and Maintenance,Software Installation and MaintenanceMove cursor to desired item and press Enter.Install and Update Software List Software and Related Information Software Maintenance and Utilities Software Service Management Relocatable Software Installation and Mainten
7、ance Network Installation Management EZ NIM(Easy NIM Tool)System Workload Partition Software Maintenance System Backup Manager Alternate Disk Installation EFIX Management Thin Server Maintenance F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do,Copyright IBM Corporation 2008,Install a
8、nd Update Software,Install and Update SoftwareMove cursor to desired item and press Enter.Install Software Update Installed Software to Latest Level(Update All)Install Software Bundle Update Software by Fix(APAR)Install and Update from ALL Available Software F1=Help F2=Refresh F3=Cancel F8=Image F9=
9、Shell F10=Exit Enter=Do,Copyright IBM Corporation 2008,Install Software,Install SoftwareType or select values in entry fields.Press Enter AFTER making all desired changes.Entry Fields*INPUT device/directory for software/dev/cd0*SOFTWARE to install _all_latest+PREVIEW only?(install operation will NOT
10、 occur)no+COMMIT software updates?yes+SAVE replaced files?no+AUTOMATICALLY install requisite software?yes+EXTEND file systems if space needed?yes+OVERWRITE same or newer versions?no+VERIFY install and check file sizes?no+Include corresponding LANGUAGE filesets?yes+DETAILED output?no+Process multiple
11、 volumes?yes+ACCEPT new license agreements?no+PREVIEW new LICENSE agreements?no+F1=Help F2=Refresh F3=Cancel F4=List F5=Reset F6=Command F7=Edit F8=Image F9=Shell F10=Exit Enter=Do,Copyright IBM Corporation 2008,Software inventory,List Installed Software and Related InformationMove cursor to desired
12、 item and press Enter.List Installed Software List Installed Software by Bundle List Applied but Not Committed Software Updates Show Software Installation History Show Fix(APAR)Installation Status List Fileset Requisites List Fileset Dependents List Files Included in a Fileset List Fileset Containin
13、g File Show Installed License Agreements F1=Help F2=Refresh F3=Cancel F4=List F5=Reset F6=Command F7=Edit F8=Image F9=Shell F10=Exit Enter=Do,#smit list_installed,lslpp command:-L Lists the installed software-h Shows the history of a software product,Copyright IBM Corporation 2008,List installed sof
14、tware,#lslpp-l bos.*Fileset Level State Description-Path:/usr/lib/objrepos bos.64bit 6.1.0.10 COMMITTED Base Operating System 64 bit Runtime bos.acct 6.1.0.10 COMMITTED Accounting Services bos.adt.base 6.1.0.10 COMMITTED Base Application Development Toolkit bos.adt.include 6.1.0.11 COMMITTED Base Ap
15、plication Development Include Files bos.adt.lib 6.1.0.10 COMMITTED Base Application Development Libraries 6.1.0.10 COMMITTED Alternate Disk Installation Disk Boot Images bos.alt_disk_install.rte 6.1.0.10 COMMITTED Alternate Disk Installation Runtime bos.cdmount 6.1.0.0 COMMITTED CD/DVD Automount Fac
16、ility bos.content_list 6.1.0.0 COMMITTED AIX Release Content List 6.1.0.10 COMMITTED Common Hardware Diagnostics bos.diag.rte 6.1.0.10 COMMITTED Hardware Diagnostics bos.diag.util 6.1.0.10 COMMITTED Hardware Diagnostics Utilities.(rest of output omitted).,Copyright IBM Corporation 2008,Fix repositor
17、y,Available updates(from IBM Web site),Fix repository(locally storedfilesets),Installed fixes,Copyright IBM Corporation 2008,Fix Central Web site,Copyright IBM Corporation 2008,More fix services screen(from Fix Central),Copyright IBM Corporation 2008,Software Service ManagementMove cursor to desired
18、 item and press Enter.Service Update Management Assistant(SUMA)Comparison Reports Rename Software Images in Repository Clean Up Software Images in RepositoryF1=Help F2=Refresh F3=Cancel F8=ImageF9=Shell F10=Exit Enter=Do,#smit service_software,Software Service Management,Copyright IBM Corporation 20
19、08,Comparison ReportsMove cursor to desired item and press Enter.Compare Installed Software to Fix Repository Compare Installed Software to List of Available Updates Compare Fix Repository to List of Available UpdatesF1=Help F2=Refresh F3=Cancel F8=ImageF9=Shell F10=Exit Enter=Do,#smit compare_repor
20、t,Comparison Reports,Copyright IBM Corporation 2008,Software Maintenance and Utilities,Software Maintenance and UtilitiesMove cursor to desired item and press Enter.Commit Applied Software Updates(Remove Saved Files)Reject Applied Software Updates(Use Previous Version)Remove Installed Software Renam
21、e Software Images in Repository Clean Up Software Images in Repository Copy Software to Hard Disk for Future Installation Copy Software Bundle to Hard Disk for Future Installation Check Software File Sizes After Installation Verify Software Installation and Requisites Clean Up After Failed or Interr
22、upted Installation Service Update Management Assistant(SUMA)F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do,#smit maintain_software,Copyright IBM Corporation 2008,instfix command,Installs a fix:#instfix-k IY58143-d/dev/cd0Searches for a fix:#instfix-ik IY58143 All filesets for IY581
23、43 were found.Searches for a fix by keyword:#instfix-s SCSI-d/dev/cd0Lists which AIX BOS maintenance levels are partly or fullyinstalled:#instfix-i|grep ML All filesets for 6.1.0.0_AIX_ML were found.All filesets for 6100-01_AIX_ML were found.Lists which filesets are missing in a partly installed AIX
24、 BOSmaintenance level:#instfix-ciqk 6100-01_AIX_ML|grep:-:,Copyright IBM Corporation 2008,Checkpoint,Which of the following states can your software be in,in order for you to be able to use it?(Select all that apply)Applied stateRemoved stateInstall stateCommit stateWhat command is used to list all
25、installed software on your system?_Which of the following can you install as an entity?(Select all that apply)FilesetLPPPackageBundleWhat is the difference between the SMIT menus:Install Software and Update Installed Software to Latest Level(Update All)?_,Copyright IBM Corporation 2008,Checkpoint so
26、lutions,Which of the following states can your software be in,in order for you to be able to use it?(Select all that apply)Applied stateRemoved stateInstall stateCommit stateWhat command is used to list all installed software on your system?lslpp-lWhich of the following can you install as an entity?
27、(Select all that apply)FilesetLPPPackageBundleWhat is the difference between the SMIT menus:Install Software and Update Installed Software to Latest Level(Update All)?Install Software by default installs everything from the installation media(except printer and devices)onto the system.Update Install
28、ed Software to Latest Level(Update All)installs only updates to filesets already installed on your system.,Copyright IBM Corporation 2008,Exercise 4:AIX software installation,List and install AIX softwareWorking with AIX fixes(optional),Copyright IBM Corporation 2008,Unit summary,AIX package naming conventions include the following terms:LPPPackageFilesetSuffixThe easiest way to install software is to use SMIT.The geninstall and installp commands are also available.Use the lslpp command,SMIT or the Web-based System Manager to list all software products installed on the system.,