Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are other packages that we will now install. We choose to install these package manually rather than during the initial server setup step. We do this to remove unnecessary dependencies (extra packages being installed) and also because the interface during that step is really really slow.(It appears that the Reduced Networking Core System Support doesn't list SSH)

Mount your cdrom drive to /mnt/cdrom

Manually install packages as follows and in the outlined order. If you do not want to use the order provided, make sure to check package dependencies with the command, pkginfo. Package list details can be found at, http://docs.sun.com/app/docs/doc/817-0545/sparcpackagelist-tbl-1?a=view

 

Panel

Convenience Package

I still have to make this. With Solaris10.ConveniencePackage.BonsaiFramework.zip using pkgadd -s /var/spool/pkg -d . [package name] which would contain all the packages you would need to install. This saves time of putting in CDs and then installing packages one at a time.

Mound your CD and then use the following command to install packages,

Code Block
languagebash
cd /mnt/cdrom/Solaris_10/Product
pkgadd -d . [package name] # command to install packages

Initial Base Packages

Core of what you need minimally,

Disc1

  1. SUNWlibC (libc is required for a variety of other packages)
  2. SUNWmdu (volume manager disk mirroring)
  3. SUNWtnetc (Telnet client)

Disc 2

  1. SUNWbash (bash command shell) depends on SUNWlibC
  2. SUNWdoc (man page utilities)
  3. SUNWntpr SUNWntpu (Network Time Protocol)

Proven to be useful and required for day to day maintenance

  1. SUNWgzip (gzip utility)
  2. SUNWzip (zip utility)
  3. SUNWsshr SUNWsshu (ssh client) Already8 installed if you choose packages during initially install as instructed.

Disc 5

  1. SUNWtcpd (tcp_wrappers for network services)
  2. SUNWman (man pages)

Zone Packages

This has been production proven but I've only stayed with sparse zones (there are also full-root zones). Below is a quick excerpt,

The default zone filesystem model is called sparse-root. This model emphasizes efficiency at the cost of some configuration flexibility. Sparse-root zones optimize physical memory and disk space usage by sharing some directories, like /usr and /lib. Any updates and programs installed in the global zone (where all the other zones site) for the most part affect the sparse-root zones. Further, sparse-root zones have their own private file areas for directories like /etc and /var (this is where your service software like Apache Web Server go).

Whole-root zones increase configuration flexibility but increase resource usage. They do not use shared filesystems for /usr, /lib, and a few others. http://opensolaris.org/os/community/zones/faq/#basic_zonetypes. We do not use Whole-root zones as it increaes maintenance (more systems to update).

This lists the required packages to allow use of Zones. The initial list is from Tony. I spent some time slimming things down. I believe this list may be even further stripped down and will try given time.

Disc 2

  1. SUNWadmfr SUNWadmfw (Tin: I do not think these packages are needed.)
  2. SUNWlucfg SUNWlur SUNWluu SUNWluzone (installed due to SUNWzoner and SUNWzoneu)
  3. SUNWxwplr (already installed if you added X-Windows support)

Disc 1

  1. SUNWctpls SUNWdtcor (already installed if you added X-Windows support) SUNWmfrun (required for SUNWj5rt)
  2. SUNWj5rt (Note: you can safely ignore the X windows prerequisites if you want only support for zones and not X-Windows. This is fixed in Open Solaris as of Feb 1, 2008 but not in Sun Solaris 10. This looks to be fixed in Solaris 11.)
  3. SUNWpoolr SUNWpool
  4. SUNWzoner SUNWzoneu (requires SUNWluu, SUNWluzone on Disc 2 so install them first)

Why can we ignore the X-Windows dependencies? Turns out this is a known issue and a bug (as of Tin looking Feb 1, 2008). The kernel developer Gary Pennington explains why here. Basically SUNWzoneu depends on SUNWpool which depends on Java which asks for X stuff. In the fix, they took the parts of SUNWpool that depend on Java and split it into its own package called SUNWpoold.

SUNWxcu4 (XCU4 Utilities) (look like we do not need this)
(Required for native Java runtime and GID)

Make the base zone directory,

Code Block
languagebash
su - root
cd /var
mkdir zones