Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter Objectives
Explore hardware and software requirements for application installation. Explore types of software installations. Explore software installation and maintenance tools. Explore disk layout, and pros/cons of partitioning. Explore steps required before an installation is attempted.
+dditionally, many of these tools include additional graphical interfaces making them easier to learn and use. 6ndi#idual package management tools are not hard to learn, it is the #ariety of differing feature sets and tools across operating systems that makes this task tougher then it ought to be.
Simple +rchi#ers
,he simplest of the software package management tools are the simple archi#ers such as tar, 5ip and cpio.
* ,hese common archi#ing tools are found on both !&67 and 8indows and are used to create and install files from their corresponding archi#e formats. * Macintosh users will be familiar with Stuff)6t tool for archi#ing files on that platform. * 8hile tar, 5ip, cpio and other archi#e tools ha#e the ad#antages of being cross platform, commonly used and readily a#ailable, they lack a number of features commonly found in tools specifically designed for software package management.
Simple +rchi#ers
.rawbacks of simple archi#al tools
* ,racking installed software is left up to the administrator. * Simple archi#ers make no installation records. * ,he system administrator must use some external means to record what has been installed #ia these tools. * +ny additional work required such as modifying configuration files or additional set up steps must be performed by hand. * ,hese tools pro#ide no integrated way to #erify the authorship of the archi#e. * + simple archi#e does not contain the information needed to check for any dependencies the package may require. * &one of these tools pro#ide a direct method for obtaining the archi#es o#er the 6nternet.
0inally, the features pro#ided by these tools #ary from tool to tool often lea#ing the system administrator to pick up the slack when a needed feature is missing.
,he easiest 3missing4 feature to compensate for is 6nternet access. Most #endors pro#ide access to software packages and patches #ia ftp, the web or both. 6nternet a#ailable packages and patches are often further packaged into one of the se#eral common formats for download and will need to be unpacked from their distribution packaging before they can be installed.
0inishing ,ouches
6nstalling a package is often times not the end of the -ob for the system administrator. + wide #ariety of software packages require some degree of local customi5ation, configuration, licensing or user le#el setup to complete the installation process and present the user with the fully functioning tool they expect. Since e#ery package will ha#e its own customi5ation and configuration needs, the system administrator will need to read up on the specifics of the packages in use at his site.
0inishing ,ouches
(onfigure once, and distribute the configuration.
* E#en packages that are installed by a package installation tool often ha#e configuration files that will need to be modified. ,hese files can modified to suit local conditions and then distributed using a tool such as rdist.
0inishing ,ouches
0or packages that contain se#eral tools, all of which require special en#ironmental #ariables or modifications to the user"s execution path consider adding the needed setup information to the skeleton files used to create the user"s accounts. Employ a speciali5ed user en#ironment configuration tool such as modules. * ,he modules tool pro#ides the means for the system administrator to package up the en#ironment #ariables, /+,2 and other user en#ironment changes into modulefiles that can be easily loaded by a user to configure their en#ironment to suit a specific package. * ,he modules tool performs complex tasks such as remo#ing and reordering elements of the user"s execution /+,2 to allow e#en differing #ersions of the same package to be configured correctly.
Make an emergency boot disk. ,he procedure for this #aries, but many operating systems allow you to make a floppy disk that the system can be booted from. 9ocate a bootable (. for the system being updated. Many operating systems allow you to boot from the installation (. and correct problems caused by updates.
Summary
Maintaining the software on a system in#ol#es the periodic installation of software packages and patches. 8hile a straight)forward task in concept, the pitfalls are many. ,he wide #ariety of package formats, management tools and missing features in specific tool sets make the process of managing packages and patches more challenging than it ought to be. %efore attempting a software installation, the administrator should: * Explore hardware and software requirements for the application. * !nderstand the types of software installations. * !nderstand the software installation and maintenance tools. * !nderstand the disk layout, and pros/cons of partitioning. * !nderstand the steps required before the installation is attempted.