Package Administration 3/14/20161. Software package administration adds software to systems and removes software from systems Sun and its third-party.

Slides:



Advertisements
Similar presentations
Va-scanCopyright 2002, Marchany Unit 8 – Solaris File Systems Randy Marchany VA Tech Computing Center.
Advertisements

2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
Getting Started: Ansoft HFSS 8.0
LinuxChix Africa UNIX BASICS. To r00t or not to r00t ● Unix security is (in most cases) binary. Either you are root or you are not. – Effects on permissions.
Module 1: Installing Windows XP Professional
STScI Tiger Upgrade CPT Project Manager: Jim Grice Technical Manager: Mark Calvin.
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
MIS 431 Chapter 71 Ch. 7: Advanced File Management System MIS 431 Created Spring 2006.
Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
Overview Basic functions Features Installation: Windows host and Linux host.
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Guide to Linux Installation and Administration, 2e1 Chapter 13 Backing Up System Data.
Guide to MCSE , Enhanced 1 Activity 9-1: Creating a Group Policy Object Using the MMC Objective: To create a GPO using the Group Policy Object Editor.
1 Chapter Overview Creating User and Computer Objects Maintaining User Accounts Creating User Profiles.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Solaris Software Packaging and Installation Paul Foster 14/11/2000.
Linux Operations and Administration
Guide to MCSE , Enhanced 1 Activity 4-1: Creating and Adding Members to Global Groups Objective: Use Active Directory Users and Computers to create.
Chapter 11 Compression, System Backup, and Software Installation.
Managing Software using RPM. ♦ Overview In Linux, Red Hat Package Manager referred as RPM is a tool used for managing software packages and its main function.
Linux Operations and Administration
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Linux+ Guide to Linux Certification
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
Chapter Three Designing The File System. Chapter Objectives Describe the components of the NetWare file system Describe the purpose of each NetWare-created.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory Chapter 12: Deploying and Managing Software with Group Policy.
Tutorial 11 Installing, Updating, and Configuring Software
IT:Network:Applications.  Installation by CD/DVD? ◦ OK for 1 or 2 machines, not 100’s ◦ Consistency  Share distribution point and let user install it.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
– Introduction to the Shell 10/1/2015 Introduction to the Shell – Session Introduction to the Shell – Session 2 · Permissions · Users.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Linux Operations and Administration
Section 1: Introducing Group Policy What Is Group Policy? Group Policy Scenarios New Group Policy Features Introduced with Windows Server 2008 and Windows.
IOS110 Introduction to Operating Systems using Windows Session 8 1.
11 MANAGING AND DISTRIBUTING SOFTWARE BY USING GROUP POLICY Chapter 5.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Managing Groups, Folders, Files and Security Local Domain local Global Universal Objects Folders Permissions Inheritance Access Control List NTFS Permissions.
Managing Software Patches 10/15/ Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.
Installation and Upgrade Campus-Booster ID : **XXXXX Copyright © SUPINFO. All rights reserved Solaris 10 installation.
1 Objectives Manage and install new file systems.
11 SUPPORTING APPLICATIONS IN WINDOWS XP PROFESSIONAL Chapter 9.
Lesson 9-Setting and Using Permissions. Overview Describing file permissions. Using execute permissions with a file. Changing file permissions using mnemonics.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
Module 1: Installing Microsoft Windows XP Professional.
Week #3 Objectives Partition Disks in Windows® 7 Manage Disk Volumes Maintain Disks in Windows 7 Install and Configure Device Drivers.
There are three types of users in linux  System users: ?  Super user: ?  Normal users: ?
Martin Sjölin LISA NT 1999, 1 State Driven Software Installation for Windows NT Martin Sjölin, WDR
Creating and Managing File Systems. Module 5 – Creating and Managing File Systems ♦ Overview This module deals with the structure of the file system,
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
Page 1 NTFS and Share Permissions Lecture 6 Hassan Shuja 10/26/2004.
© 2006 ITT Educational Services Inc. Linux Operating System :: Unit 3 :: Slide 1 Downloading and Installing Software yum pirut Bit Torrent rmp.
Software in the Data Protector Architecture
CSC414 “Introduction to UNIX/ Linux” Lecture 6. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
How to Deploy Office XP and Windows XP With One Desktop Touch Liz Levitt Desktop Solution Specialist Microsoft Corporation.
Microsoft ® Official Course Module 6 Managing Software Distribution and Deployment by Using Packages and Programs.
1 Introduction to Shared Folders Shared folders provide network users access to files. Users connect to the shared folder over the network. Users must.
Installing VERITAS Cluster Server. Topic 1: Using the VERITAS Product Installer After completing this topic, you will be able to install VCS using the.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Operating Environment. Installation and Upgrade Options Solaris suninstall program Solaris Web Start Installation Custom Jumpstart procedure Standard.
C Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Additional Installation Topics.
Guide to Linux Installation and Administration, 2e
Ubuntu Working in Terminal
SUSE Linux Enterprise Desktop Administration
Periodic Processes Chapter 9.
Presentation transcript:

Package Administration 3/14/20161

Software package administration adds software to systems and removes software from systems Sun and its third-party vendors delivers software products to users in software packages 3/14/20162

Software packages contain: Files that describe the package and the amount of disk space required for installation Compressed software files to be installed on the system Optional scripts that run when the package is added or removed 3/14/20163

The “/var/sadm/install/contents” file Is a complete record of all the software packages installed on the local system disk It references ever file and directory belonging to every software package and shows the configuration of each product installed “# more /var/sadm/install/contents” 3/14/20164

The pkgadd command updates the file each time new packages are installed The pkginfo command uses the file to determine where the required files are located on the system To determine if a particular file was installed on the system disk and to find the directory in which it is located “#grep showrev /var/sadm/install/contents” 3/14/20165

Administering Packages from the Command line pkgadd - installs software packages to the system pkgrm - removes a package from the system pkginfo - displays software package information pkgchk - checks package installation state 3/14/20166

Displaying information about installed Software Packages The “pkginfo” command is used to display information about the software packages installed on the local system The “/var/sadm/pkg” directory maintains a record of all installed packages 3/14/20167

To display information about the software packages installed on a local system “# pkginfo | more” To view additional information “# pkginfo -l | more” To display information for a specific package “# pkginfo -l SUNWman” To determine how many packages are installed on disk “# pkginfo | wc -l” 3/14/20168

To view information about packages that are located on Solaris 9 Software 1 of 2 CD-ROM “# pkginfo -d /cdrom/cdrom0/s0/Solaris_9/Product | more” To view information about packages that are located on Solaris 9 Software 2 of 2 CD-ROM “# pkginfo -d /cdrom/cdrom0/Solaris_9/Product | more” 3/14/20169

Adding a Software Package To install “SUNWns6m” package from a CD-ROM “# cd /cdrom/cdrom0/Solaris_9/ExtraValue/EarlyAccess/Netsca pe_6/Packages” “# pkgadd -d. SUNWns6m” 3/14/201610

Checking a Package Installation To check the contents and attributes of a package “# pkgchk SUNWcarx” To list the files contained in a package “# pkgchk -v SUNWcarx” 3/14/201611

To determine if the contents and attributes of a file have changed since it was installed “# pkgchk -p /etc/shadow” To list information about a selected file “# pkgchk -l -p /usr/bin/showrev” (full path should be typed) 3/14/201612

Removing a Software Package To remove a software package from the system “#pkgrm SUNWapchr” 3/14/201613

Adding Packages by using a Spool Directory For convenience, copy frequently installed software packages from the CD to a spool directory on the system Default spool directory is “/var/spool/pkg” 3/14/201614

To copy a package into the /var/spool/pkg directory “# pkgadd -d /cdrom/cdrom0/s0/Solaris_9/Product -s spool SUNWensqr.u To copy a package to the “/export/pkg” directory “# pkgadd -d /cdrom/cdrom0/s0/Solaris_9/Product -s /export/pkg SUNWensqr.u 3/14/201615

To remove a package from default spool directory “# pkgrm -s spool SUNWensqr.u” To remove a package from /export/pkg directory “# pkgrm -s /export/pkg SUNWensqr.u” 3/14/201616

Package Administration Files and Directories /var/sadm/install/contents - A Software Package map of the entire system /opt/pkgname - The preferred location for the installation of unbundled packages 3/14/201617

/opt/pkgname/bin or /opt/bin - The preferred location for the executable files of unbundled packages /var/opt/pkgname or /etc/opt/pkgname - The preferred location for log files of unbundled packages 3/14/201618

Package Administration Commands pkginfo - Lists packages installed on the system or available on distribution media pkgadd - Installs packages pkgrm - Removes packages pkgchk - Verifies the attributes of the path names that belong to packages 3/14/201619