Posts

Showing posts from April, 2007

Linux - Network Config Files

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=linux
GATEWAY=192.168.1.1

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:50:FS:41:03:12
ONBOOT=yes
TYPE=Ethernet
BROADCAST=192.168.4.255
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
GATEWAY=192.168.1.1

# cat /etc/modules.conf
(optional) Driver Info

# cat /etc/resolv.conf
nameserver 203.168.223.201
nameserver 61.10.1.130

# cat /etc/hosts
127.0.0.1 linux localhost.localdomain localhost
192.168.1.1 Router

006 - Packages and Patches (2.8)

Exam Objective 2.8: Perform Solaris 10 OS package administration using command-line interface commands and manage software patches for the Solaris OS, including preparing for patch administration and installing and removing patches using the patchadd and patchrm commands.

Performing Package Administration
The application software for Solaris OS is delivered in units called packages. A package is a set of files and directories in a defined format.

Commands for package management
pkgask : Used to save the responses
pkgadd : Adds (installs) a software package.
pkgchk : Checks a package installation.
pkginfo : Lists the package information.
pkgparam : Displays the parameter values for a software package.
pkgrm : Removes a software package.
pkgtrans : Translates a package from one format to another
Installing a Package
the pkgadd command interprets the control files of the software package and then uncompresses them and installs the product files onto the system's local disk.
pkgadd [-n] [-a ] […