<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-16688733</id><updated>2012-01-03T04:46:27.989-08:00</updated><title type='text'>Sun Microsystems - Solaris Support website.</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-16688733.post-113461430156354360</id><published>2005-12-14T18:37:00.000-08:00</published><updated>2005-12-14T18:38:22.090-08:00</updated><title type='text'></title><content type='html'>&lt;h3&gt;Backup, Restore, and Disaster Recovery on a System With Zones Installed&lt;/h3&gt;   &lt;p&gt; &lt;i class="small"&gt;Penny Cotten, November 2005&lt;/i&gt; &lt;/p&gt;   &lt;p&gt; Backup, restore, and disaster recovery are critical elements of data management. When you use zones, the requirements of your organization will dictate the solution you choose to back up your system running the Solaris Operating System (OS). &lt;/p&gt;  &lt;p&gt; Backing up file systems means copying file systems to removable media, such as tape, to safeguard against loss, damage, or corruption. Restoring file systems means copying current backup files from removable media to a working directory. &lt;/p&gt;  &lt;p&gt;This document discusses various methods for backing up zone configurations and data on your system, and provides recommendations on the different methodologies that can be used. &lt;/p&gt; &lt;br /&gt; &lt;h5&gt;Determining Where to Perform the Backup&lt;/h5&gt;  &lt;p&gt; You can perform backups in individual non-global zones, or you can back up non-global zones from the global zone. &lt;/p&gt;   &lt;p&gt;&lt;b&gt;Backing Up LOFS Directories&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Because many non-global zones share files with the global zone through the use of loopback file system read-only mounts (usually &lt;code class="small"&gt;/usr&lt;/code&gt;, &lt;code class="small"&gt;/lib&lt;/code&gt;, &lt;code class="small"&gt;/sbin&lt;/code&gt;, and &lt;code class="small"&gt;/platform&lt;/code&gt;), it is important to use a global zone backup strategy to back up LOFS directories. Backing up the LOFS file systems in non-global zones is not advisable. Restoring in this situation will be impossible, and any attempt by the non-global administrator to do so could cause a serious problem. &lt;/p&gt;   &lt;p&gt;&lt;b&gt;Backing Up Your System From the Global Zone&lt;/b&gt;&lt;/p&gt;  &lt;p&gt; You might choose to perform your backups from the global zone if: &lt;/p&gt;  &lt;ul&gt; &lt;li&gt;&lt;p&gt;You have network backup software such as Symantec/VERITAS NetBackup.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;You want to back up the configurations of your non-global zones as well as your application data.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Your primary concern is disaster recovery. If you need to restore everything or almost everything on your system, including the root file systems of your zones and their configuration data as well as the data in your global zone, it is best to use the global zone as the point where the backup takes place.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;You want to use &lt;code class="small"&gt;ufsdump&lt;/code&gt; to perform a data backup. Because importing a physical disk device into a non-global zone would change the security profile of the zone, &lt;code class="small"&gt;ufsdump&lt;/code&gt; should only be used from the global zone.&lt;/p&gt;&lt;/li&gt; &lt;/ul&gt;   &lt;p&gt; &lt;b&gt;Backing Up Individual Non-Global Zones on Your System&lt;/b&gt; &lt;/p&gt;  &lt;p&gt; You might decide to perform your backups within the non-global zones if: &lt;/p&gt;  &lt;ul&gt; &lt;li&gt;&lt;p&gt;Non-global zone administrators want to back up the data in the zones they administer so that they can recover from less serious failures or restore application or user data specific to a zone.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;You want to use programs that back up on a file-by-file basis, such as &lt;code class="small"&gt;tar(1)&lt;/code&gt; or &lt;code class="small"&gt;cpio(1)&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;You use the backup software of a particular application or service running in a zone. It might be difficult to execute the backup software from the global zone because application environments, such as directory path and installed software, would be different between the global zone and the non-global zone.&lt;/p&gt; &lt;p&gt;If the application can perform a snapshot on its own backup schedule in each non-global zone and store those backups in a writable directory exported from the global zone, the global zone administrator can pick up those individual backups as part of the backup strategy from the global zone.&lt;/p&gt;&lt;/li&gt; &lt;/ul&gt; &lt;br /&gt; &lt;h5&gt;Summary of Zone Backup Methods&lt;/h5&gt;   &lt;p&gt; The following sections summarize methods that can be used to back up files in zones.&lt;/p&gt;  &lt;p&gt; &lt;b&gt;Using &lt;code class="small"&gt;ufsdump&lt;/code&gt; to Perform Backups&lt;/b&gt; &lt;/p&gt;  &lt;p&gt; You can perform full or incremental backups using the &lt;code class="small"&gt;ufsdump&lt;/code&gt; command. This procedure backs up the zone &lt;code class="small"&gt;/export/zone1&lt;/code&gt; to &lt;code class="small"&gt;/backup/zone1.ufsdump&lt;/code&gt;, where "&lt;code class="small"&gt;zone1&lt;/code&gt;" is replaced with the name of a zone on your system. &lt;/p&gt;   &lt;p&gt;1. (Optional) You can shut down the zone before using the &lt;code class="small"&gt;ufsdump&lt;/code&gt; command, to put the zone in a quiescent state and avoid backing up shared file systems. &lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;zlogin -S zone1 init 0&lt;/b&gt; &lt;/pre&gt;   &lt;p&gt;2. (Optional) Check the zone's status. &lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;zoneadm list -cv&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ID NAME     STATUS       PATH&lt;br /&gt;0 global    running      /&lt;br /&gt;- zone1     installed    /export/zone1&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;3. Perform the backup. &lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;ufsdump 0f /backup/zone1.ufsdump /export/zone1&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;DUMP: Date of this level 0 dump: Wed Aug 10 16:13:52 2005&lt;br /&gt;DUMP: Date of last level 0 dump: the epoch&lt;br /&gt;DUMP: Dumping /dev/rdsk/c0t0d0s0 (bird:/) to /backup/zone1.ufsdump.&lt;br /&gt;DUMP: Mapping (Pass I) [regular files]&lt;br /&gt;DUMP: Mapping (Pass II) [directories]&lt;br /&gt;DUMP: Writing 63 Kilobyte records&lt;br /&gt;DUMP: Estimated 363468 blocks (174.47MB).&lt;br /&gt;DUMP: Dumping (Pass III) [directories]&lt;br /&gt;DUMP: Dumping (Pass IV) [regular files]&lt;br /&gt;DUMP: 369934 blocks (180.63MB) on 1 volume at 432 KB/sec&lt;br /&gt;DUMP: DUMP IS DONE&lt;br /&gt;&lt;/pre&gt;   &lt;p&gt;4. Boot the zone. &lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;zoneadm -z zone1 boot&lt;/b&gt; &lt;/pre&gt;   &lt;p&gt;&lt;b&gt;Creating a UFS Snapshot Using &lt;code class="small"&gt;fssnap&lt;/code&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt; This approach uses the &lt;code class="small"&gt;fssnap&lt;/code&gt; command, which creates a temporary image of a file system intended for backup operations. &lt;/p&gt;  &lt;p&gt; This method can be used to provide a clean, consistent backup of the zone files only, and it can be executed while zones are running. However, it is a good idea to suspend or checkpoint active applications that are updating files when the snapshot is created. An application updating files when the snapshot is created might leave these files in an internally inconsistent, truncated, or otherwise unusable state. &lt;/p&gt;  &lt;p&gt; In the example procedure below: &lt;/p&gt;  &lt;ul&gt; &lt;li&gt;There is a zone named &lt;code class="small"&gt;zone1&lt;/code&gt; under &lt;code class="small"&gt;/export/home&lt;/code&gt;.&lt;/li&gt;&lt;li&gt;&lt;code class="small"&gt;/export/home&lt;/code&gt; is a separate file system.&lt;/li&gt;&lt;li&gt;The destination backup is &lt;code class="small"&gt;/backup/zone1.ufsdump&lt;/code&gt;. You must create &lt;code class="small"&gt;/backup&lt;/code&gt; before you begin.&lt;/li&gt; &lt;/ul&gt;   &lt;p&gt;1. Create the snapshot:&lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;fssnap -o bs=/export /export/home&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;/dev/fssnap/0&lt;br /&gt;&lt;/pre&gt;   &lt;p&gt;2. Mount the snapshot.&lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;mount -o ro /dev/fssnap/0 /mnt&lt;/b&gt; &lt;/pre&gt;   &lt;p&gt;3. Back up &lt;code class="small"&gt;zone1&lt;/code&gt; from the snapshot.&lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;ufsdump 0f /backup/zone1.ufsdump /mnt/zone1&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;DUMP: Date of this level 0 dump: Thu Oct 06 15:13:07 2005&lt;br /&gt;DUMP: Date of last level 0 dump: the epoch&lt;br /&gt;DUMP: Dumping /dev/rfssnap/0 (bird:/mnt) to /backup/zone1.ufsdump.&lt;br /&gt;DUMP: Mapping (Pass I) [regular files]&lt;br /&gt;DUMP: Mapping (Pass II) [directories]&lt;br /&gt;DUMP: Writing 32 Kilobyte records&lt;br /&gt;DUMP: Estimated 176028 blocks (85.95MB).&lt;br /&gt;DUMP: Dumping (Pass III) [directories]&lt;br /&gt;DUMP: Dumping (Pass IV) [regular files]&lt;br /&gt;DUMP: 175614 blocks (85.75MB) on 1 volume at 2731 KB/sec&lt;br /&gt;DUMP: DUMP IS DONE&lt;br /&gt;&lt;/pre&gt;   &lt;p&gt;4. Unmount the snapshot.&lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;umount /mnt&lt;/b&gt; &lt;/pre&gt;   &lt;p&gt;5. Delete the snapshot.&lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;fssnap -d /dev/fssnap/0&lt;/b&gt; &lt;/pre&gt;  &lt;p&gt; Note that the snapshot is also removed when the system is rebooted. &lt;/p&gt;   &lt;p&gt;&lt;b&gt;Using &lt;code class="small"&gt;find&lt;/code&gt; and &lt;code class="small"&gt;cpio&lt;/code&gt; to Perform Backups&lt;/b&gt;&lt;/p&gt;   &lt;p&gt; The following method uses &lt;code class="small"&gt;find&lt;/code&gt; and &lt;code class="small"&gt;cpio&lt;/code&gt; on a running zone. &lt;/p&gt;  &lt;p&gt;1. Change directories to the &lt;code class="small"&gt;/&lt;/code&gt; directory: &lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;cd /&lt;/b&gt; &lt;/pre&gt;   &lt;p&gt;2. Back up &lt;code class="small"&gt;zone1&lt;/code&gt; files that are not loopback mounted to &lt;code class="small"&gt;/backup/zone1.cpio&lt;/code&gt;.&lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;find export/zone1 -fstype lofs -prune -o -local |&lt;br /&gt; cpio -oc -O /backup/zone1.cpio&lt;/b&gt; &lt;/pre&gt;   &lt;p&gt;3. Verify the results. &lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;ls -l backup/zone1.cpio&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;-rwxr-xr-x 1 root root 99680256 Aug 10 16:13 backup/zone1.cpio&lt;br /&gt;&lt;/pre&gt;   &lt;p&gt; &lt;b&gt;Using Network Backup Software to Back Up and Restore Your System&lt;/b&gt; &lt;/p&gt;  &lt;p&gt;You can use a product such as Symantec/VERITAS NetBackup to back up or restore your Solaris system. Symantec/VERITAS NetBackup enables enterprise-wide coordination of backups, archives, and restores. A description of NetBackup support for Solaris 10 systems with installed zones is available at &lt;a href="http://seer.support.veritas.com/docs/275107.htm"&gt;http://seer.support.veritas.com/docs/275107.htm&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;The NetBackup client software is supported in a non-global zone. The NetBackup master server and media server are supported in the global zone. The NetBackup master server manages backups, archives, and restores. Media servers provide additional storage by allowing NetBackup to use the storage devices that they control, such as 4-mm tape drives. &lt;/p&gt;  &lt;p&gt;You can restore entire systems or specific files and directories. NetBackup locates the selected files and directories and restores them to the disk on the client. &lt;/p&gt;  &lt;p&gt;You do not have to change standard NetBackup architecture to apply it to a system with zones installed. You can treat each non-global zone as though it is a standalone server running the NetBackup client software. &lt;/p&gt;  &lt;p&gt; The backup should be performed when the zone and its applications have quiesced the data to be backed up. &lt;/p&gt;   &lt;p&gt; &lt;b&gt;Note:&lt;/b&gt; Your network backup software should be configured to skip all inherited LOFS file systems if possible. &lt;/p&gt;  &lt;p&gt; &lt;b&gt;Tip:&lt;/b&gt; If you would like to consolidate servers or take advantage of the higher-network bandwidth between non-global zones on the same system as compared to wired networks, you can also co-locate the media server on the same system. The connection between the server and the storage device must have sufficient bandwidth for all backup streams. &lt;/p&gt;  &lt;p&gt; Complete documentation for Symantec/VERITAS NetBackup products is available at:&lt;br /&gt;&lt;a href="http://www.sun.com/products-n-solutions/hardware/docs/Software/Storage_Software/VERITAS_NetBackup/index.html"&gt;http://www.sun.com/products-n-solutions/hardware/docs/Software/Storage_Software/VERITAS_NetBackup/index.html&lt;/a&gt; &lt;/p&gt; &lt;br /&gt; &lt;h5&gt;Determining What to Back Up&lt;/h5&gt;  &lt;p&gt;You can back up everything in the non-global zone, or, because a zone's configuration changes less frequently, you can perform backups of the application data only. &lt;/p&gt;   &lt;p&gt; &lt;b&gt;Backing Up Application Data Only&lt;/b&gt; &lt;/p&gt;  &lt;p&gt;If application data is kept in a particular part of the file system, you might want to perform regular backups of this data only. The zone's root file system might not have to be backed up as often because it changes less frequently. &lt;/p&gt;  &lt;p&gt;Determining where an application places its files might prove more difficult than it would appear. Some files are stored in each user's home directory, some files are stored under &lt;code class="small"&gt;/etc&lt;/code&gt; (mostly configuration data), and other files are kept under &lt;code class="small"&gt;/var&lt;/code&gt;. &lt;/p&gt;  &lt;p&gt; Assuming the application administrator knows where the data is stored, it might be possible to create a system in which a per-zone writable directory is made available to each zone. Each zone can then store its own backups, and this location can be used by the global administrator as one of the places on the system to back up. &lt;/p&gt;   &lt;p&gt;&lt;b&gt;General Database Backup Operations&lt;/b&gt; &lt;/p&gt;  &lt;p&gt; If the database application data is not under its own directory, the following rules apply. &lt;/p&gt;   &lt;ul&gt; &lt;li&gt;Ensure that the databases are in a consistent state first. Databases must be quiesced because they have internal buffers to flush to disk. Make sure the databases in non-global zones have come down before starting the backup from the global zone.&lt;/li&gt;&lt;li&gt;Within each zone, use file system features to make a snapshot of the data. Back up the snapshots directly from the global zone. This will minimize elapsed time for the backup window and remove the need for backup clients/modules in all of the zones.&lt;/li&gt; &lt;/ul&gt;   &lt;p&gt;&lt;b&gt;Tape Backups&lt;/b&gt; &lt;/p&gt;  &lt;p&gt; Each non-global zone can snapshot its private file systems when it is convenient for that zone, when the application has been briefly quiesced. Later, the global zone can back up each of the snapshots and put them on tape after the application is back in service. &lt;/p&gt;  &lt;p&gt; This method has the following advantages: &lt;/p&gt;   &lt;ul&gt; &lt;li&gt;It minimizes the number of tape devices needed.&lt;/li&gt;&lt;li&gt;There is no need for coordination between the non-global zones.&lt;/li&gt;&lt;li&gt;It doesn't require assigning devices directly to zones, which improves security.&lt;/li&gt;&lt;li&gt;Generally, it leaves system management in the global zone, which is preferred.&lt;/li&gt; &lt;/ul&gt; &lt;br /&gt; &lt;h5&gt;About Restoring Non-Global Zones&lt;/h5&gt;   &lt;p&gt;In the case of a restore where the backups were done from the global zone, the global administrator can reinstall the affected zones and then restore that zone's files. Note that this assumes: &lt;/p&gt;   &lt;ul&gt; &lt;li&gt;The zone being restored has the same configuration as it did when the backup was done.&lt;/li&gt;&lt;li&gt;The global zone has not been upgraded or patched between the time when the backup was done and the time when the zone is restored.&lt;/li&gt; &lt;/ul&gt;   &lt;p&gt; Otherwise, the restore could overwrite some files that should be merged by hand. &lt;/p&gt;  &lt;p&gt; For example, there could be a need to merge files by hand in the case of a global zone that has been subsequently patched after the backup, but prior to the restore of the non-global zone. In this case, you would have to be careful when restoring a zone's files that were backed up since a backed up file might not be compatible with the newly installed zone that was built after the patches were applied to the global zone. In this case, you would have to examine the files individually and compare them to the copies in the newly installed zone. In most cases, you will find that the file can be copied directly in, but in some cases, you must merge the changes originally made to the file into the newly installed or patched copy in the zone. &lt;/p&gt;  &lt;p&gt; &lt;b&gt;Note:&lt;/b&gt; In the case of a catastrophic loss of all file systems in the global zone, restoring everything in the global zone restores the non-global zones as well, as long as the respective root file systems of the non-global zones were included in the backup. &lt;/p&gt;   &lt;p&gt; &lt;b&gt;Backing Up Individual Zone Configurations for Future Use&lt;/b&gt; &lt;/p&gt;  &lt;p&gt;You should make copies of your non-global zones' configurations in case you have to recreate the zones at some point in the future. You should create the copy of the zone's configuration after you have logged into the zone for the first time and responded to the &lt;code class="small"&gt;sysidtool&lt;/code&gt; questions. &lt;/p&gt;  &lt;p&gt; You can print the configuration of each zone to a file as shown below. &lt;/p&gt;   &lt;p&gt;1. Become superuser, or assume the Primary Administrator role.&lt;/p&gt;  &lt;p&gt;2. Print the zone configuration for a zone named &lt;code class="small"&gt;zone1&lt;/code&gt; to a file named &lt;code class="small"&gt;zone1.config&lt;/code&gt;.&lt;/p&gt;   &lt;pre class="small"&gt;global# &lt;b class="small"&gt;zonecfg -z zone1 export &gt; zone1.config&lt;/b&gt; &lt;/pre&gt;  &lt;br /&gt; &lt;h5&gt;How to Restore Individual Non-Global Zones&lt;/h5&gt;   &lt;p&gt; To restore a non-global zone from a file created with the &lt;code class="small"&gt;zonecfg export&lt;/code&gt; command, use the following procedure. &lt;/p&gt;   &lt;p&gt;1. Become superuser, or assume the Primary Administrator role.&lt;/p&gt;   &lt;p&gt;2. Specify that &lt;code class="small"&gt;zone1.config&lt;/code&gt; be used as the &lt;code class="small"&gt;zonecfg&lt;/code&gt; command file when recreating the zone: &lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;zonecfg -z zone1 -f zone1.config&lt;/b&gt; &lt;/pre&gt;   &lt;p&gt;3. Install the zone: &lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;zoneadm -z zone1 install&lt;/b&gt; &lt;/pre&gt;   &lt;p&gt;4. To prevent the system from displaying the &lt;code class="small"&gt;sysidtool&lt;/code&gt; questions asked upon initial zone log in, delete the file &lt;code class="small"&gt;zonepath/root/etc/.UNCONFIGURED&lt;/code&gt;. For example: &lt;/p&gt;  &lt;pre class="small"&gt;global# &lt;b class="small"&gt;rm /export/home/zone1/root/etc/.UNCONFIGURED&lt;/b&gt; &lt;/pre&gt;  &lt;p&gt; For more information about the &lt;code class="small"&gt;sysidconfig(1M)&lt;/code&gt; questions asked the first time you log in to a non-global zone, see "Performing the Initial Internal Zone Configuration" in &lt;i&gt;System Administration Guide: Solaris Containers-Resource Management and Solaris Zones&lt;/i&gt;.   &lt;/p&gt; &lt;p&gt;5. (Optional) Manually restore (and possibly hand-merge) files such as application data backups into the newly created zone's file system.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113461430156354360?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113461430156354360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113461430156354360' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113461430156354360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113461430156354360'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/backup-restore-and-disaster-recovery.html' title=''/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113350404165435207</id><published>2005-12-01T22:14:00.000-08:00</published><updated>2005-12-01T22:15:22.080-08:00</updated><title type='text'>Duplex Printing in Solaris 10</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;Duplex Printing in Solaris 10&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Introduction&lt;br /&gt;&lt;br /&gt;I recently upgraded my system to the Solaris 10 OS and was faced with trying to get my printer configured so that I could print two-sided output to it.&lt;br /&gt;&lt;br /&gt;The printer I'm using is a Brother HL-5170DN, and it works &lt;strong&gt;great &lt;/strong&gt;with the Solaris OS, as it supports PostScript emulation natively, is networked, and even has support for two-sided output. All these features are provided at a price point that makes the device competitive with other personal laser printers.&lt;br /&gt;&lt;br /&gt;The Solaris 10 OS has nice support for setting this up, but it is, unfortunately, not documented anywhere that I could find. (Fortunately for me, the filters involved were all in readable shell script form, so I could figure this out and pass it on to you.)&lt;br /&gt;&lt;br /&gt;Initial Setup&lt;br /&gt;First, you have to configure the print queue to use a PostScript Printer Description (PPD), by means of the Solaris OS lpadmin command. The Solaris 10 OS ships with PPDs for a bunch of printers, which are located in subdirectories organized as /usr/lib/lp/model/ppd. However, your printer, like mine, may not be listed. Generally you can get PPDs for the printer from the manufacturer.&lt;br /&gt;&lt;br /&gt;If the printer does not support PostScript, it will probably not have a PPD from the manufacturer. Then the problem becomes a bit harder, particularly if a PPD for the printer, or a model very close to your printer, is not available. For the moment I'll assume that you have a PPD that works with your printer, either from the Solaris OS installation or from the printer manufacturer.&lt;br /&gt;&lt;br /&gt;You will use the lpadmin utility to set up the print queue. Here is an example for my printer, which is on the network as the host name laser:&lt;br /&gt;&lt;br /&gt;# lpadmin -p myprinter  -v /dev/null -m netstandard_foomatic  -o protocol=bsd,dest=laser  -T PS -I postscript  -n /usr/local/ppds/br_5170_2.ppd&lt;br /&gt;&lt;br /&gt;In the above, -T PS and -I postscript indicate that this is a PostScript-capable printer; you need this to prevent the printing subsystem from trying to send ASCII banner pages to it.&lt;br /&gt;The -n option indicates the location of my PPD file. Obviously, you will use the real location of your file, which might be a file in /usr/lib/lp/model/ppd, or it may be somewhere else on the system.&lt;br /&gt;&lt;br /&gt;The -m, -v, and -o options basically configure access to the printer itself. If your printer is locally attached you might have something like this instead:&lt;br /&gt;&lt;br /&gt;# lpadmin -p myprinter    -T PS -I postcript    -v /dev/ecpp0 -m standard_foomatic    -n /usr/local/ppds/br_5170_2.ppd&lt;br /&gt;&lt;br /&gt;You also need to configure lpsched, to enable the queue and printer, with these commands:&lt;br /&gt;&lt;br /&gt;# accept myprinter&lt;br /&gt;# enable myprinter&lt;br /&gt;&lt;br /&gt;Testing&lt;br /&gt;Having done this, you have a printer that is using the PPD, and you can now print duplex pages using the following command syntax:&lt;br /&gt;&lt;br /&gt;% lp -d myprinter -o sides=two-sided-long-edge somefile.ps&lt;br /&gt;You can use short-edge binding as well:&lt;br /&gt;% lp -d myprinter -o sides=two-sided-short-edge somefile.ps&lt;br /&gt;Finally, you can force single-sided printing:&lt;br /&gt;% lp -d myprinter -o sides=one-sided somefile.ps&lt;br /&gt;&lt;br /&gt;Setting Default Queue Options&lt;br /&gt;OK, all that is nice, but having to specify those options is pretty annoying if you do this very often. A much simpler solution is to set the default for this queue, using the lpadmin command:&lt;br /&gt;&lt;br /&gt;% lp -p myprinter -o sides=two-sided-long-edge&lt;br /&gt;Voila! Now you can print just using normal lp commands and it will default to two-sided printing.&lt;br /&gt;&lt;br /&gt;If your printer is networked, you can use this technique to set up different queues with different default options, which I find quite useful:&lt;br /&gt;&lt;br /&gt;# lpadmin -p laser  -v /dev/null -m netstandard_foomatic  -o protocol=bsd,dest=laser  -T PS -I postscript  -n /usr/local/ppds/br_5170_2.ppd&lt;br /&gt;&lt;br /&gt;# lpadmin -p lduplex  -v /dev/null -m netstandard_foomatic  -o protocol=bsd,dest=laser  -T PS -I postscript  -n /usr/local/ppds/br_5170_2.ppd  -o sides=two-sided-long-edge&lt;br /&gt;&lt;br /&gt;# lpadmin -p sduplex  -v /dev/null -m netstandard_foomatic  -o protocol=bsd,dest=laser  -T PS -I postscript  -n /usr/local/ppds/br_5170_2.ppd  -o sides=two-sided-short-edge&lt;br /&gt;&lt;br /&gt;All of the other ordinary printer administration commands work with these queues, too. For example, I have disabled banner pages with this command:&lt;br /&gt;&lt;br /&gt;# lpadmin -p myprinter -o banner=never&lt;br /&gt;&lt;br /&gt;Other Options&lt;br /&gt;The foomatic filters also have support for other options, which I have not fully explored yet. For example, this foomatic-rip option can select the type, size, and location of print media:&lt;br /&gt;&lt;br /&gt;   -o media=x,y,z&lt;br /&gt;&lt;br /&gt;This option can specify the paper size, tray, and type of paper.&lt;br /&gt;&lt;br /&gt;   -o media=Letter&lt;br /&gt;   -o media=Letter,MultiPurpose&lt;br /&gt;   -o media=Letter,Transparency&lt;br /&gt;   -o media=Letter,MultiPurpose,Transparency&lt;br /&gt;&lt;br /&gt;Paper sizes can be one of the following:&lt;br /&gt;&lt;br /&gt;   Letter, Legal, A4, COM10, DL&lt;br /&gt;   Trays are defined by the PPD, but examples might be:&lt;br /&gt;   Upper, Lower, MultiPurpose, LargeCapacity&lt;br /&gt;&lt;br /&gt;I want to thank &lt;em&gt;Garrett D'Amore, &lt;/em&gt;and the contribution of the opensolaris community of IRC. They have help me all the way in my learning path of the Solaris 10 OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113350404165435207?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113350404165435207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113350404165435207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350404165435207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350404165435207'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/duplex-printing-in-solaris-10.html' title='Duplex Printing in Solaris 10'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113350381090255747</id><published>2005-12-01T22:10:00.000-08:00</published><updated>2005-12-01T22:10:39.923-08:00</updated><title type='text'>Sendmail Configuration for Solaris 10</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;Sendmail Configuration for Solaris 10&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This document is a quick reference for those who already know about sendmail. Before you configure sendmail, you must configure the DNS server.&lt;br /&gt;&lt;br /&gt;Step 1. Check that the necessary packages are installed to configure the mail server.&lt;br /&gt;&lt;br /&gt;Step 2. Install the SFWimap package:&lt;br /&gt;pkgadd -d SFWimap&lt;br /&gt;&lt;br /&gt;Step 3. To edit the /etc/mail/sendmail.cf file, open it with vi editor.&lt;br /&gt;Find the word CW and then replace it with CWexample.com.&lt;br /&gt;&lt;br /&gt;Step 4. Add the following three lines in the /etc/inetd.conf file:&lt;br /&gt;map     stream  tcp     nowait  root    /opt/sfw/sbin/imapd       imapd&lt;br /&gt;pop2    stream  tcp     nowait  root    /opt/sfw/sbin/ipop2d     ipop2d&lt;br /&gt;pop3    stream  tcp     nowait  root    /opt/sfw/sbin/ipop3d     ipop3d&lt;br /&gt;&lt;br /&gt;Step 5. Add this line in the DNS forward zone file:&lt;br /&gt;mail            IN      A      192.168.1.1&lt;br /&gt;&lt;br /&gt;Step 6. Reboot the machine.&lt;br /&gt;&lt;br /&gt;Step 7. Now test the mail.&lt;br /&gt;&lt;br /&gt;I want to thank &lt;em&gt;Mohammad Shafiuddin Sharif, &lt;/em&gt;and the contribution of the opensolaris community of IRC. They have help me all the way in my learning path of the Solaris 10 OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113350381090255747?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113350381090255747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113350381090255747' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350381090255747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350381090255747'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/sendmail-configuration-for-solaris-10.html' title='Sendmail Configuration for Solaris 10'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113350355317886417</id><published>2005-12-01T22:05:00.000-08:00</published><updated>2005-12-01T22:06:43.216-08:00</updated><title type='text'>FTP Server Configuration</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;FTP Server Configuration&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This tech tip can help users access a server from a remote location, and they can upload and download files from this server using FTP.&lt;br /&gt;&lt;br /&gt;This document is a quick reference for those who already know about using FTP.&lt;br /&gt;&lt;br /&gt;Step 1. Check that the daemon is located in /usr/sbin/in.ftpd.&lt;br /&gt;&lt;br /&gt;Step 2. Edit the /etc/inetd.conf file:&lt;br /&gt;ftp     stream  tcp6    nowait  root    /usr/sbin/in.ftpd       in.ftpd&lt;br /&gt;&lt;br /&gt;Make sure you perform inetconv after all so SMF get the conversion.&lt;br /&gt;&lt;br /&gt;Step 3. If you put the # sign before the line of code in Step 2, and reboot the machine, the ftp daemon will not work.&lt;br /&gt;&lt;br /&gt;Step 4. Restrict the user from the /etc/ftpusers file, as per your requirements.&lt;br /&gt;&lt;br /&gt;I want to thank &lt;em&gt;Mohammad Shafiuddin Sharif, &lt;/em&gt;and the contribution of the opensolaris community of IRC. They have help me all the way in my learning path of the Solaris 10 OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113350355317886417?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113350355317886417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113350355317886417' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350355317886417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350355317886417'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/ftp-server-configuration.html' title='FTP Server Configuration'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113350311561620744</id><published>2005-12-01T21:58:00.000-08:00</published><updated>2005-12-01T22:00:31.966-08:00</updated><title type='text'>DNS CONFIGURATION IN SOLARIS 10</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;DNS CONFIGURATION IN SOLARIS 10&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This community-submitted tech tip can serve as a quick reference for configuring DNS servers in a Solaris environment. The document is for readers who already know about DNS servers and how they work, and it may be useful for those who want to configure their ISPs (Internet service providers).&lt;br /&gt;&lt;br /&gt;Step 1. First check that the necessary packages are installed to configure DNS.&lt;br /&gt;&lt;br /&gt;Step 2. Configure the IP address and check IP with the ifconfig -a command.&lt;br /&gt;&lt;br /&gt;Step 3. Enter host name and IP address in the /etc/hosts file.&lt;br /&gt;&lt;br /&gt;127.0.0.0            localhost&lt;br /&gt;192.168.1.1      sun.example.com      loghost&lt;br /&gt;&lt;br /&gt;Step 4. Enter nameserver IP address and domain name in the /etc/resolv.conf file. If the file is not present, then create it.&lt;br /&gt;&lt;br /&gt;domain &lt;em&gt;example&lt;/em&gt;.com&lt;br /&gt;search &lt;em&gt;example&lt;/em&gt;.com&lt;br /&gt;nameserver 192.168.1.1&lt;br /&gt;&lt;br /&gt;Step 5. Configure the /etc/named.conf file for the forward and reverse zone files. If this file does not exist, then create it.&lt;br /&gt;&lt;br /&gt;options {&lt;br /&gt;               DIRECTORY "/var/named";&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;zone    " &lt;em&gt;example&lt;/em&gt;.com" in {&lt;br /&gt;               type master;&lt;br /&gt;               file " &lt;em&gt;example&lt;/em&gt;.com.zone";&lt;br /&gt;};&lt;br /&gt;zone "1.168.192.in-addr.arpa" in {&lt;br /&gt;               type master;&lt;br /&gt;               file " &lt;em&gt;example&lt;/em&gt;.com.rev";&lt;br /&gt;};&lt;br /&gt;zone "0.0.127.in-addr.arpa" in {&lt;br /&gt;               type master;&lt;br /&gt;               file "loopback";&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;Step 6. Configure the forward zone and reverse zone files in the /var/named directory. If named directory is not there, create it.&lt;br /&gt;&lt;br /&gt;Step 6a. Create a file example.com.zone under the /var/named directory.&lt;br /&gt;&lt;strong&gt;// example.com.zone (forward zone file)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;@ IN SOA      &lt;em&gt;sun.example&lt;/em&gt;.com.      root.&lt;em&gt;sun.example&lt;/em&gt;.com. (&lt;br /&gt;                               2; Serial number&lt;br /&gt;                               5; Refresh timer&lt;br /&gt;                               3600; Retry timer- 1h&lt;br /&gt;                               604800; Expire timer-1w&lt;br /&gt;                               86400; Minimum timer -1d&lt;br /&gt;                               )&lt;br /&gt;&lt;br /&gt;                    IN      NS           &lt;em&gt;sun.example&lt;/em&gt;.com.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sun                  IN      A              192.168.1.1&lt;br /&gt;&lt;br /&gt;example.com.          IN     A          192.168.1.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;localhost            IN      A           127.0.0.1&lt;br /&gt;&lt;br /&gt;Step 6b. Create a file example.com.rev under /var/named directory.&lt;br /&gt;&lt;strong&gt;// example.com.rev (reverse zone file)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;@ IN SOA      &lt;em&gt;sun.example&lt;/em&gt;.com.     root.&lt;em&gt;sun.example&lt;/em&gt;.com. (&lt;br /&gt;                       1; Serial no:&lt;br /&gt;                       5; Refresh timer 12 hrs&lt;br /&gt;                       3600; retry timer 1-hrs&lt;br /&gt;                       604800; Expire timer -1 week&lt;br /&gt;                       86400; Minimum timer - 1day&lt;br /&gt;                       )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                   IN      NS           &lt;em&gt;sun.example&lt;/em&gt;.com. ; Primary&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1                   IN      PTR           &lt;em&gt;sun.example&lt;/em&gt;.com.&lt;br /&gt;&lt;br /&gt;Step 6c. Create a file loopback under the /var/named directory.&lt;br /&gt;&lt;strong&gt;loopback&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;@ IN SOA      &lt;em&gt;sun.example&lt;/em&gt;.com.       root.&lt;em&gt;sun.example&lt;/em&gt;.com. (&lt;br /&gt;&lt;br /&gt;                               1; serial no&lt;br /&gt;                              5; Refresh timer -12 hours&lt;br /&gt;                          3600; retry timer  -1 hrs&lt;br /&gt;                          604800; Expire timer - 1 week&lt;br /&gt;                          86400; Minimum timer - 1 day&lt;br /&gt;                         )&lt;br /&gt;&lt;br /&gt;                    IN      NS      &lt;em&gt;sun.example&lt;/em&gt;.com.&lt;br /&gt;             &lt;br /&gt;1.0.0             IN      PTR      localhost.&lt;em&gt;example&lt;/em&gt;.com.&lt;br /&gt;&lt;br /&gt;Step 7. Copy /etc/nsswitch.dns to /etc/nsswitch.conf.&lt;br /&gt;&lt;br /&gt;Step 8. Now reboot the machine or use this:&lt;br /&gt;/etc/init.d/inetinit restart&lt;br /&gt;&lt;br /&gt;Step 9. Check the configuration with this command:&lt;br /&gt;nslookup &amp;lt;domainname&amp;gt;&lt;br /&gt;&lt;br /&gt;I want to thank &lt;em&gt;Mohammad Shafiuddin Sharif, &lt;/em&gt;and the contribution of the opensolaris community of IRC. They have help me all the way in my learning path of the Solaris 10 OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113350311561620744?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113350311561620744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113350311561620744' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350311561620744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350311561620744'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/dns-configuration-in-solaris-10.html' title='DNS CONFIGURATION IN SOLARIS 10'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113350268360804868</id><published>2005-12-01T21:51:00.000-08:00</published><updated>2005-12-01T21:55:06.896-08:00</updated><title type='text'>Configuring a VIA Rhine-Based NIC</title><content type='html'>&lt;strong&gt;Configuring a VIA Rhine-Based NIC&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;This Tech Tip shows how to configure a VIA Rhine chipset-based network interface card, using the Solaris 10 OS for x86 platforms.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Download and Unpack the Driver&lt;/strong&gt;&lt;br /&gt;The first task in this how-to is to download the driver for the VIA Rhine chipset. It can be downloaded from the &lt;a href="http://homepage2.nifty.com/mrym3/taiyodo/eng/"&gt;Free NIC drivers for Solaris&lt;/a&gt; site:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://homepage2.nifty.com/mrym3/taiyodo/rh-1.0.17.tar.gz"&gt;http://homepage2.nifty.com/mrym3/taiyodo/rh-1.0.17.tar.gz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This package provides the source code to build the driver. It was tested on the following operating systems:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Solaris 10 12/04 x86 with AMD64 architecture &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Solaris 9 SPARC&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Solaris 9 12/02 x86&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Solaris 8 SPARC&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Solaris 8 10/00 x86&lt;/li&gt;&lt;/ol&gt;Download the package and save it (for example, on a floppy disk) and then copy it to your box running the Solaris 10 OS.&lt;br /&gt;&lt;br /&gt;The next step is to unpack the package. The friendly bunzip2 command will do it for us.&lt;br /&gt;bash-3.00$ cd /export/home/flazcano/&lt;br /&gt;bash-3.00$ ls -la rh*&lt;br /&gt;-rw-r--r--   1 flazcano other     144815 abr 13 10:08 rh-1.0.17.tar.gzbash-3.00$&lt;br /&gt;bash-3.00$ gunzip rh-1.0.17.tar.gz&lt;br /&gt;bash-3.00$ ls -l *.tar&lt;br /&gt;-rw-r--r--   1 flazcano other     461312 abr 13 10:08 rh-1.0.17.tar&lt;br /&gt;bash-3.00$ tar xf rh-1.0.17.tar&lt;br /&gt;bash-3.00$ cd rh-1.0.17&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Build and Install&lt;/strong&gt;&lt;br /&gt;The default choice is to compile the driver for the Solaris OS, 32 bits on x86 architecture, using the GNU C Compiler (gcc). If you need to change any of these parameters, simply remove the symbolic link and create a new one named Makefile pointing to your architecture/compiler. We used the driver with the default settings, Solaris 10 for x86 with gcc.&lt;br /&gt;&lt;br /&gt;bash-3.00$ pwd&lt;br /&gt;/export/home/flazcano/rh-1.0.17&lt;br /&gt;bash-3.00$ ls -la Makefile&lt;br /&gt;lrwxrwxrwx   1 flazcano other         17 abr 13 10:11 Makefile -&amp;gt; Makefile.i386_gcc&lt;br /&gt;For our architecture, the driver is already compiled; we just need to install it in the kernel directory. We need administrative privileges to do it.&lt;br /&gt;bash-3.00$ su&lt;br /&gt;Password:&lt;br /&gt;# /usr/ccs/bin/make install&lt;br /&gt;# ./adddrv.sh&lt;br /&gt;# devfsadm -i rh&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. Configure (1)&lt;/strong&gt;&lt;br /&gt;The next step is to create and edit configuration files. First, we need to create a /etc/hostname.interface file, and add the IP address of the interface.&lt;br /&gt;&lt;br /&gt;# touch /etc/hostname.rh0&lt;br /&gt;# echo  192.168.1.54  &amp;gt; /etc/hostname.rh0&lt;br /&gt;Then we need to edit the following files:&lt;br /&gt;# echo "192.168.1.52    set             set.kit.com.ar" &amp;gt;&amp;gt; /etc/inet/hosts&lt;br /&gt;&lt;br /&gt;# echo  192.168.1.0 255.255.255.0  &amp;gt;&amp;gt; /etc/netmasks&lt;br /&gt;and plumb the interface:&lt;br /&gt;# ifconfig rh0 plumb up&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4. Reboot and Verify&lt;/strong&gt;&lt;br /&gt;To apply changes we need to reboot our operating system.&lt;br /&gt;# shutdown -y -i6 -g0&lt;br /&gt;&lt;br /&gt;When the system comes up, we test the interface with ifconfig:&lt;br /&gt;# ifconfig -a&lt;br /&gt;lo0: flags=2001000849&amp;lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&amp;gt; mtu 8232 index 1&lt;br /&gt;        inet 127.0.0.1 netmask ff000000&lt;br /&gt;rh0: flags=1000843&amp;lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&amp;gt; mtu 1500 index 2&lt;br /&gt;        inet 192.168.1.54 netmask ffffff00 broadcast 192.168.1.255&lt;br /&gt;        ether 0:c:76:96:d2:93&lt;br /&gt;And we execute a ping to our default gateway.&lt;br /&gt;# ping 192.168.1.1&lt;br /&gt;192.168.1.1 is alive&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5. Configure (2)&lt;/strong&gt;&lt;br /&gt;To obtain a fully functional system we have to configure the files that manage the network behavior. Edit /etc/resolv.conf to add your name server and network search.&lt;br /&gt;# cat resolv.conf&lt;br /&gt;domain kit.com.ar&lt;br /&gt;nameserver 192.168.1.1&lt;br /&gt;search kit.com.ar&lt;br /&gt;Search in /etc/nsswitch.conf for the parameters' hosts and ipnodes, and edit to add DNS servers to resolve the external hosts.&lt;br /&gt;hosts:      files dns&lt;br /&gt;ipnodes:    files dns&lt;br /&gt;&lt;br /&gt;Then we need to configure the default gateway for our network:&lt;br /&gt;# echo "192.168.1.1" &amp;gt; /etc/defaultrouter&lt;br /&gt;# route add default 192.168.1.1&lt;br /&gt;Now we can use our VIA Rhine-based NIC on the Solaris 10 OS for x86 platforms.&lt;br /&gt;&lt;br /&gt;I want to thank &lt;em&gt;Federico Lazcano &lt;/em&gt;and the contribution of the opensolaris community of IRC. They have help me all the way in my learning path of the Solaris 10 OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113350268360804868?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113350268360804868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113350268360804868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350268360804868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350268360804868'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/configuring-via-rhine-based-nic.html' title='Configuring a VIA Rhine-Based NIC'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113350225891925618</id><published>2005-12-01T21:44:00.000-08:00</published><updated>2005-12-01T21:46:10.830-08:00</updated><title type='text'>CONFIGURING JBOSS WITH SMF</title><content type='html'>&lt;strong&gt;CONFIGURING JBOSS WITH SMF&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The Solaris 10 OS uses the Service Management Facility (SMF) to handle services.&lt;br /&gt;&lt;br /&gt;Traditional means like /etc/rc?.d scripts still work, but as a legacy means. (For more information on SMF, see the References section.)&lt;br /&gt;&lt;br /&gt;To take advantage of the SMF in the Solaris 10 OS using JBoss, do the following.&lt;br /&gt;&lt;em&gt;Note: &lt;/em&gt;Read the scripts and "change" the paths of jboss and your version of jboss accordingly! This does work for JBoss 3.x.x branches too!&lt;br /&gt;&lt;br /&gt;Create a service manifest file:&lt;br /&gt;/var/svc/manifest/network/jboss4.xml&lt;br /&gt;&lt;br /&gt;This contains the following:&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version='1.0'?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE service_bundle SYSTEM&lt;br /&gt;'/usr/share/lib/xml/dtd/service_bundle.dtd.1'&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;        William Pool (Puddle) 01/05&lt;br /&gt;        Service manifest for JBoss&lt;br /&gt;        E-mail: puddle@flipmotion.com&lt;br /&gt;--&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;service_bundle type='manifest' name='JBoss4:jboss'&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;service&lt;br /&gt;        name='network/jboss'&lt;br /&gt;        type='service'&lt;br /&gt;        version='1'&amp;gt;&lt;br /&gt;        &amp;lt;create_default_instance enabled='false' /&amp;gt;&lt;br /&gt;        &amp;lt;single_instance /&amp;gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;dependency name='fs'&lt;br /&gt;                grouping='require_all'&lt;br /&gt;                restart_on='none'&lt;br /&gt;                type='service'&amp;gt;&lt;br /&gt;                &amp;lt;service_fmri&lt;br /&gt;                        value='svc:/system/filesystem/local' /&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!-- DATABASE NOTES&lt;br /&gt;&lt;br /&gt;UnComment this block if you use MySQL/PostgreSQL.  This will make sure&lt;br /&gt;that MySQL/PostgreSQL is started before you start JBoss.  This is an&lt;br /&gt;example for MySQL. &lt;br /&gt;&lt;br /&gt;Please create an SMF service for MySQL / PostgreSQL.&lt;br /&gt;&lt;br /&gt;       &amp;lt;dependency name='mysql'&lt;br /&gt;                grouping='require_all'&lt;br /&gt;                restart_on='none'&lt;br /&gt;                type='service'&amp;gt;&lt;br /&gt;                &amp;lt;service_fmri&lt;br /&gt;                        value='svc:/network/mysql' /&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;&lt;br /&gt;--&amp;gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;dependency name='net'&lt;br /&gt;                grouping='require_all'&lt;br /&gt;                restart_on='none'&lt;br /&gt;                type='service'&amp;gt;&lt;br /&gt;                &amp;lt;service_fmri value='svc:/network/loopback' /&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;dependent&lt;br /&gt;                name='ssh_multi-user-server'&lt;br /&gt;                grouping='optional_all'&lt;br /&gt;                restart_on='none'&amp;gt;&lt;br /&gt;                        &amp;lt;service_fmri&lt;br /&gt;                            value='svc:/milestone/multi-user-server' /&amp;gt;&lt;br /&gt;        &amp;lt;/dependent&amp;gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;exec_method&lt;br /&gt;                type='method'&lt;br /&gt;                name='start'&lt;br /&gt;                exec='/lib/svc/method/svc-jboss4 start'&lt;br /&gt;                timeout_seconds='-1'&amp;gt;&lt;br /&gt;                &amp;lt;method_context&amp;gt;&lt;br /&gt;                        &amp;lt;method_credential user='jboss' group='jboss' /&amp;gt;&lt;br /&gt;                &amp;lt;/method_context&amp;gt;&lt;br /&gt;        &amp;lt;/exec_method&amp;gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;exec_method&lt;br /&gt;                type='method'&lt;br /&gt;                name='stop'&lt;br /&gt;                exec=':kill'&lt;br /&gt;                timeout_seconds='-1'&amp;gt;&lt;br /&gt;        &amp;lt;/exec_method&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;exec_method&lt;br /&gt;                type='method'&lt;br /&gt;                name='restart'&lt;br /&gt;                exec='/lib/svc/method/svc-jboss4 restart'&lt;br /&gt;                timeout_seconds='-1'&amp;gt;&lt;br /&gt;        &amp;lt;/exec_method&amp;gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;stability value='Unstable' /&amp;gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;template&amp;gt;&lt;br /&gt;                &amp;lt;common_name&amp;gt;&lt;br /&gt;                        &amp;lt;loctext xml:lang='C'&amp;gt;&lt;br /&gt;                                JBoss&lt;br /&gt;                        &amp;lt;/loctext&amp;gt;&lt;br /&gt;                &amp;lt;/common_name&amp;gt;&lt;br /&gt;                &amp;lt;documentation&amp;gt;&lt;br /&gt;                        &amp;lt;manpage title='jboss' section='1M'&lt;br /&gt;                            manpath='/usr/share/man' /&amp;gt;&lt;br /&gt;                &amp;lt;/documentation&amp;gt;&lt;br /&gt;        &amp;lt;/template&amp;gt;&lt;br /&gt;&amp;lt;/service&amp;gt;&lt;br /&gt;&amp;lt;/service_bundle&amp;gt;&lt;br /&gt;&lt;br /&gt;Now create your "Service Method File" in /lib/svc/method called svc-jboss4:&lt;br /&gt;&lt;br /&gt;#!/usr/bin/sh&lt;br /&gt;#        William Pool (Puddle) 01/05&lt;br /&gt;#        SMF Method file for JBoss&lt;br /&gt;#        E-mail: puddle@flipmotion.com&lt;br /&gt;#&lt;br /&gt;# NOTE: If you start JBoss with su -c 'cmds' instead&lt;br /&gt;# You "will" be able to start and stop it via root using the method file&lt;br /&gt;# itself.  However, it "does" confuse SMF.  It's best to have the straight&lt;br /&gt;# commands and let the actual SMF service do the user rights and permissions&lt;br /&gt;# of execution.  You've been WARNED! Use su -c 'cmds' at your own risk!&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;. /lib/svc/share/smf_include.sh&lt;br /&gt;&lt;br /&gt;case $1 in&lt;br /&gt;'start')&lt;br /&gt;        echo "starting jboss.."&lt;br /&gt;        /opt/software/jboss-4.0.1/bin/run.sh &amp; &amp;gt;/dev/null 2&amp;gt; /dev/null&lt;br /&gt;        ;;&lt;br /&gt;&lt;br /&gt;'stop')&lt;br /&gt;        echo "stopping jboss.."&lt;br /&gt;        /opt/software/jboss-4.0.1/bin/shutdown.sh -S &amp;&lt;br /&gt;        pkill java&lt;br /&gt;;;&lt;br /&gt;&lt;br /&gt;'restart')&lt;br /&gt;        stop&lt;br /&gt;# give stuff some time to stop before we restart&lt;br /&gt;        sleep 35&lt;br /&gt;# protect against any services that can't stop before we restart (warning&lt;br /&gt;this kills all Java instances running as 'jboss' user)&lt;br /&gt;        pkill java&lt;br /&gt;        start&lt;br /&gt;        ;;&lt;br /&gt;*)&lt;br /&gt;        echo "Usage: $0 { start | stop | restart }"&lt;br /&gt;        exit 1&lt;br /&gt;        ;;&lt;br /&gt;esac&lt;br /&gt;&lt;br /&gt;#---EOF&lt;br /&gt;&lt;br /&gt;Now fix the permissions for the two files created:&lt;br /&gt;chown root:bin /lib/svc/method/svc-jboss4&lt;br /&gt;chmod 555 /lib/svc/method/svc-jboss4&lt;br /&gt;chown root:sys /var/svc/manifest/network/jboss4.xml&lt;br /&gt;chmod 444 /var/svc/manifest/network/jboss4.xml&lt;br /&gt;&lt;br /&gt;Import the service into the service repository:&lt;br /&gt;&lt;br /&gt;# svccfg import /var/svc/manifest/network/jboss4.xml&lt;br /&gt;&lt;br /&gt;Enable the service:&lt;br /&gt;# svcadm -v enable jboss&lt;br /&gt;&lt;br /&gt;I want to thank &lt;em&gt;William Pool &lt;/em&gt;and the contribution of the opensolaris community of IRC. They have help me all the way in my learning path of the Solaris 10 OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113350225891925618?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113350225891925618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113350225891925618' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350225891925618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350225891925618'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/configuring-jboss-with-smf.html' title='CONFIGURING JBOSS WITH SMF'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113350182072117470</id><published>2005-12-01T21:37:00.000-08:00</published><updated>2005-12-01T21:37:55.236-08:00</updated><title type='text'>CONFIGURING MYSQL AND SMF</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;CONFIGURING MYSQL AND SMF&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The Solaris 10 OS uses the Service Management Facility (SMF) to handle services. Traditional means like /etc/rc?.d scripts still work, but as a legacy means. (For more information on SMF, see the References section.)&lt;br /&gt;&lt;br /&gt;To take advantage of the SMF in the Solaris 10 OS using MySQL, follow these steps.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note: &lt;/strong&gt;Read the scripts and "change" the path of MySQL or MySQL's data-directory accordingly!&lt;br /&gt;&lt;br /&gt;If you haven't initialized the MySQL database, do that first:&lt;br /&gt;/opt/sfw/bin/mysql_install_db&lt;br /&gt;&lt;br /&gt;This will install the database into /var/mysql to override that use:&lt;br /&gt;/opt/sfw/bin/mysql_install_db -ldata=/opt/sfw/var/mysql&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note: &lt;/strong&gt;If you change the location, change the information below!&lt;br /&gt;&lt;br /&gt;First create a mysql group:&lt;br /&gt;/usr/sbin/groupadd mysql&lt;br /&gt;&lt;br /&gt;Then create the mysql user:&lt;br /&gt;/usr/sbin/useradd -s /bin/false -g mysql -d /var/mysql -c "MySQL User" mysql&lt;br /&gt;&lt;br /&gt;Create a service manifest file:&lt;br /&gt;/var/svc/manifest/network/mysql.xml&lt;br /&gt;&lt;br /&gt;This contains the following:&lt;br /&gt;&amp;lt;?xml version='1.0'?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&lt;br /&gt;        William Pool (Puddle) 02/05&lt;br /&gt;        Service manifest for MySQL&lt;br /&gt;        E-mail: puddle@flipmotion.com&lt;br /&gt;--&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;service_bundle type='manifest' name='mysql:mysql'&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;service&lt;br /&gt;         name='network/mysql'&lt;br /&gt;         type='service'&lt;br /&gt;         version='1'&amp;gt;&lt;br /&gt;         &amp;lt;create_default_instance enabled='false' /&amp;gt;&lt;br /&gt;         &amp;lt;single_instance /&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;         &amp;lt;dependency name='fs'&lt;br /&gt;                 grouping='require_all'&lt;br /&gt;                 restart_on='none'&lt;br /&gt;                 type='service'&amp;gt;&lt;br /&gt;                 &amp;lt;service_fmri value='svc:/system/filesystem/local' /&amp;gt;&lt;br /&gt;         &amp;lt;/dependency&amp;gt;&lt;br /&gt;&lt;br /&gt;         &amp;lt;dependency name='net'&lt;br /&gt;                 grouping='require_all'&lt;br /&gt;                 restart_on='none'&lt;br /&gt;                 type='service'&amp;gt;&lt;br /&gt;                 &amp;lt;service_fmri value='svc:/network/loopback' /&amp;gt;&lt;br /&gt;         &amp;lt;/dependency&amp;gt;&lt;br /&gt;&lt;br /&gt;         &amp;lt;exec_method&lt;br /&gt;                 type='method'&lt;br /&gt;                 name='start'&lt;br /&gt;                 exec='/lib/svc/method/svc-mysql start'&lt;br /&gt;                 timeout_seconds='-1'&amp;gt;&lt;br /&gt;                &amp;lt;method_context&amp;gt;&lt;br /&gt;                         &amp;lt;method_credential user='mysql' group='mysql' /&amp;gt;&lt;br /&gt;                 &amp;lt;/method_context&amp;gt;&lt;br /&gt;         &amp;lt;/exec_method&amp;gt;&lt;br /&gt;&lt;br /&gt;         &amp;lt;exec_method&lt;br /&gt;                 type='method'&lt;br /&gt;                 name='stop'&lt;br /&gt;                 exec=':kill'&lt;br /&gt;                 timeout_seconds='-1'&amp;gt;&lt;br /&gt;         &amp;lt;/exec_method&amp;gt;&lt;br /&gt;&lt;br /&gt;  &amp;lt;exec_method&lt;br /&gt;                 type='method'&lt;br /&gt;                 name='restart'&lt;br /&gt;                 exec='/lib/svc/method/svc-mysql restart'&lt;br /&gt;                 timeout_seconds='-1'&amp;gt;&lt;br /&gt;         &amp;lt;/exec_method&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/service&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/service_bundle&amp;gt;&lt;br /&gt;&lt;br /&gt;Now create your "Service Method File" in /lib/svc/method called svc-mysql:&lt;br /&gt;#!/usr/bin/sh&lt;br /&gt;#&lt;br /&gt;#        William Pool (Puddle) 01/05&lt;br /&gt;#        SMF Method file for MySQL&lt;br /&gt;#        E-mail: puddle@flipmotion.com&lt;br /&gt;#&lt;br /&gt;# This uses Sun's default MySQL packages&lt;br /&gt;# SUNWmysqlu SUNWmysqlr&lt;br /&gt;#&lt;br /&gt;# Modify accordingly!&lt;br /&gt;#&lt;br /&gt;# NOTE: Make sure DB_DIR is owned BY the mysql user and group and chmod&lt;br /&gt;# 700.&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;.. /lib/svc/share/smf_include.sh&lt;br /&gt;&lt;br /&gt;DB_DIR=/var/mysql&lt;br /&gt;PIDFILE=${DB_DIR}/`/usr/bin/uname -n`.pid&lt;br /&gt;&lt;br /&gt;case "$1" in&lt;br /&gt;        start)&lt;br /&gt;        /usr/sfw/sbin/mysqld_safe --user=mysql --datadir=${DB_DIR} --pid-file=${PIDFILE} &amp;gt; /dev/null &amp;&lt;br /&gt;                ;;&lt;br /&gt;        stop)&lt;br /&gt;                if [ -f ${PIDFILE} ]; then&lt;br /&gt;                /usr/bin/pkill mysqld_safe &amp;gt;/dev/null 2&amp;gt;&amp;1&lt;br /&gt;                /usr/bin/kill `cat ${PIDFILE}` &amp;gt; /dev/null 2&amp;gt;&amp;1 &amp;amp;&amp; echo -n ' mysqld'&lt;br /&gt;                fi&lt;br /&gt;                ;;&lt;br /&gt;'restart')&lt;br /&gt;        stop&lt;br /&gt;    while pgrep mysqld &amp;gt; /dev/null&lt;br /&gt;      do&lt;br /&gt;      sleep 1&lt;br /&gt;    done&lt;br /&gt;        start&lt;br /&gt;        ;;&lt;br /&gt;        *)&lt;br /&gt;                echo ""&lt;br /&gt;                echo "Usage: `basename $0` { start | stop | restart }"&lt;br /&gt;                echo ""&lt;br /&gt;                exit 64&lt;br /&gt;                ;;&lt;br /&gt;esac&lt;br /&gt;&lt;br /&gt;#---EOF&lt;br /&gt;Now fix the permissions for the two files created:&lt;br /&gt;chown root:bin /lib/svc/method/svc-mysql&lt;br /&gt;chmod 555 /lib/svc/method/svc-mysql&lt;br /&gt;chown root:sys /var/svc/manifest/network/mysql.xml&lt;br /&gt;chmod 444 /var/svc/manifest/network/mysql.xml&lt;br /&gt;&lt;br /&gt;Fix permissions on the MySQL data directory:&lt;br /&gt;chown -R mysql:mysql /var/mysql&lt;br /&gt;chmod -R 700 /var/mysql&lt;br /&gt;&lt;br /&gt;Import the service into the service repository:&lt;br /&gt;# svccfg import /var/svc/manifest/network/mysql.xml&lt;br /&gt;&lt;br /&gt;Enable the service:&lt;br /&gt;# svcadm -v enable mysql&lt;br /&gt;&lt;br /&gt;I want to thank &lt;em&gt;William Pool &lt;/em&gt;and the contribution of the opensolaris community of IRC. They have help me all the way in my learning path of the Solaris 10 OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113350182072117470?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113350182072117470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113350182072117470' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350182072117470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113350182072117470'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/configuring-mysql-and-smf.html' title='CONFIGURING MYSQL AND SMF'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113347012941445447</id><published>2005-12-01T12:48:00.000-08:00</published><updated>2005-12-01T12:50:29.236-08:00</updated><title type='text'>CONFIGURING YOUR NIC IN SOALRIS 10</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;CONFIGURING YOUR NIC IN SOLARIS 10&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Many times configuring our Ethernet or NIC has become a pain a remember when I started learning the road of Solaris 10, fortunately hopefully this little HOW-TO will showed you how to assign an IP to your Network Adaptec.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:180%;"&gt;Configuring for IPv4 with Fixed Address&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;To configure for a fixed IPv4 address, you must place the IP address of your network in &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/hostname. &lt;/span&gt;&lt;em&gt;&lt;span style="font-family:Times;"&gt;interface&lt;/span&gt;&lt;/em&gt;, where &lt;em&gt;&lt;span style="font-family:Times;"&gt;interface &lt;/span&gt;&lt;/em&gt;is the name of the interface to use, such as &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;afe0&lt;/span&gt;. The following example shows this, for a system that wishes to use the IP address 192.168.128.101. (Replace with your real IP address.)&lt;br /&gt;&lt;br /&gt;# &lt;strong&gt;&lt;span style="font-family:Courier;"&gt;echo 192.168.128.101 &amp;gt; /etc/hostname.afe0&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;The interface will now automatically be configured the next time the system boots. To configure the interface for immediate use, without rebooting, the the &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;ifconfig&lt;/span&gt;(1M) command can be used. Note that you must first "plumb" the interface using a command of the following form:&lt;br /&gt;&lt;br /&gt;# &lt;strong&gt;&lt;span style="font-family:Courier;"&gt;ifconfig &lt;/span&gt;&lt;/strong&gt;&lt;em&gt;&lt;span style="font-family:Times;"&gt;interface &lt;/span&gt;&lt;/em&gt;&lt;strong&gt;&lt;span style="font-family:Courier;"&gt;plumb&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Until the interface is plumbed in this fashion, it will not display in the list of available interfaces (with the &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;ifconfig -a &lt;/span&gt;command.)&lt;br /&gt;&lt;br /&gt;Note that this is only the first part of network configuration. You may have to edit several other files, such as &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/hosts&lt;/span&gt;, &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/resolv.conf&lt;/span&gt;, &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/netmasks&lt;/span&gt;, and &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/defaultrouter &lt;/span&gt;to properly configure your network.&lt;br /&gt;&lt;br /&gt;The generalities of network configuration on Solaris are well documented in the &lt;em&gt;Solaris 8 System Administration Guide, Volume 3 &lt;/em&gt;, which can be accessed on-line at &lt;a href="http://docs.sun.com/"&gt;http://docs.sun.com/&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:180%;"&gt;Configuring for IPv4 with DHCP&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;To set up your ethernet device to act as a client for DHCP (Dynamic Host Configuration Protocol) you must create a file &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/dhcp. &lt;/span&gt;&lt;em&gt;&lt;span style="font-family:Times;"&gt;interface&lt;/span&gt;&lt;/em&gt;. This file should contain the word &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;primary &lt;/span&gt;if the interface is your primary (or only) network interface. This will cause DHCP to be used to set the hostname, default route, and other global parameters for the system, in addition to the interface-specific configuration.&lt;br /&gt;&lt;br /&gt;If the file is empty, then DHCP is only used to configure the interface and global parameters such as the hostname will not be adjusted.&lt;br /&gt;&lt;br /&gt;The following example shows how to enable the interface &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;mxfe0 &lt;/span&gt;as the primary (and only) interface, using DHCP.&lt;br /&gt;&lt;br /&gt;# &lt;strong&gt;&lt;span style="font-family:Courier;"&gt;echo primary &amp;gt; /etc/dhcp.mxfe0&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Note that the configuration does not take effect until the next time the system is rebooted. The &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;auto-dhcp &lt;/span&gt;sub-command of &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;ifconfig &lt;/span&gt;can be used to configure the interface from DHCP without rebooting. (The interface must first be "plumbed" though.) The following example demonstrates use of &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;ifconfig &lt;/span&gt;to configure &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;afe1 &lt;/span&gt;via DHCP for temporary use without rebooting.&lt;br /&gt;&lt;br /&gt;# &lt;strong&gt;&lt;span style="font-family:Courier;"&gt;ifconfig afe1 plumb auto-dhcp&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;See the &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;ifconfig&lt;/span&gt;(1M) manual page for more information.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:180%;"&gt;Configuring for IPv6 with Autoconfiguration&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;In IPv6, address autoconfiguration is commonly used to configure the address(es) that are used on a network interface. In most cases, static addresses will not be used with IPv6. To configure the device to use address autoconfiguration (for example, via the neighbor discovery protocol), all one needs to do is create an empty &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/hostname6. &lt;/span&gt;&lt;em&gt;&lt;span style="font-family:Times;"&gt;interface &lt;/span&gt;&lt;/em&gt;file. For example, the following command enables IPv6 to be used with address autoconfiguration on the &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;mxfe0 &lt;/span&gt;interface.&lt;br /&gt;&lt;br /&gt;# &lt;strong&gt;&lt;span style="font-family:Courier;"&gt;touch /etc/hostname6.mxfe0&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Similar to the IPv4 case, this does not take effect until the machine is rebooted. To configure an interface for IPv6 autoconfiguration temporarily, without rebooting, use a command similar to the following:&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:180%;"&gt;Configuring for IPv6 with Static Addressing&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Static addressing is much less likely to be used with IPv6, but it can still be done. With static IP addressing, one just needs to put the hostname or IPv6 address in the &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/hostname6. &lt;/span&gt;&lt;em&gt;&lt;span style="font-family:Times;"&gt;interface &lt;/span&gt;&lt;/em&gt;file.&lt;br /&gt;&lt;br /&gt;Again, a reboot is required for this to take effect. There is also an &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;ifconfig &lt;/span&gt;command that can be used for this as well. It typically takes the form:&lt;br /&gt;&lt;br /&gt;# &lt;strong&gt;&lt;span style="font-family:Courier;"&gt;ifconfig afe0 inet6 plumb addif 1234::5678/64 up&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;In the above address the address 1234::5678/64 was added to the &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;afe0 &lt;/span&gt;interface. Please refer to the &lt;em&gt;Solaris 8 System Administration Guide, Volume 3 &lt;/em&gt;for more information about IPv6 addressing.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:180%;"&gt;Configuring for Use with Other Protocols&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;There are protocols besides IPv4 and IPv6 that can be used with ethernet. Some examples of these are Apple's AppleTalk and Novell's IPX/SPX protocols. These protocols should work fine with your new ethernet device. The details of configuring such protocols to use the ethernet device should be documented in your network protocol software documentation. You should be able to just replace the name of your interface (for example &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;afe0&lt;/span&gt;) for the name of any other "standard" interface (for example &lt;span style=";font-family:Courier New;font-size:85%;"  &gt;hme0&lt;/span&gt;) to which the documentation might refer.&lt;br /&gt;&lt;br /&gt;Note however while all this &lt;em&gt;should &lt;/em&gt;work, it has not be tested for use with these drivers, so your results may vary. But it is hoped and believed that these drivers will function properly with any other Solaris networking software. I would like to give special thanks to Jamesd and the many other member of the opensolaris channel at IRC who encourage new member to keep on. Thank you Guys.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113347012941445447?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113347012941445447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113347012941445447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113347012941445447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113347012941445447'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/configuring-your-nic-in-soalris-10.html' title='CONFIGURING YOUR NIC IN SOALRIS 10'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113346934277853766</id><published>2005-12-01T12:35:00.000-08:00</published><updated>2005-12-01T12:37:03.816-08:00</updated><title type='text'>INSTALLING SOLARIS 10 INSIDE VMware 5.5</title><content type='html'>&lt;strong&gt;INSTALLING SOLARIS10 INSIDE VMWARE 5.5&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In the community there are a few fanatics for VMware and its usage in Solaris 10, so I put together this HOW-TO to show how to accomplish this task. IN this particular case we will be using VMware 5.5 RTM (build 18463) and Sun Solaris 10 Release 03/05 x86/x64 DVD ISO Image, if you are planning to use the Sparc version don’t even try it I am almost certain it won’t work.&lt;br /&gt;&lt;br /&gt;The result of the HOW-TO is so you are able to run Sun Solaris 10 virtual machine also inside VMware Player 1.0 and use it without any licensing cost. The following 3 steps need to be cover.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style=";font-family:TTE1847E78t00;font-size:85%;"  &gt;Part 1 - Preparing your virtual machine hardware&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style=";font-family:TTE1847E78t00;font-size:85%;"  &gt;Part 2 – Installing the Sun Solaris 10 operating system&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style=";font-family:TTE1847E78t00;font-size:85%;"  &gt;Part 3 (optional) – Running virtual machine inside VMware Player&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:TTE1FD6240t00;"&gt;Part 1 - Preparing your virtual machine hardware&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:TTE1FD6240t00;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;First of all grab your evaluation copy of VMware Workstation 5.5 and your copy of Sun Solaris&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;10 DVD image:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1847E78t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1847E78t00;font-size:85%;"  &gt;VMware Workstation 5.5 &lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;-  &lt;a href="http://www.vmware.com/download/ws/eval.html"&gt;http://www.vmware.com/download/ws/eval.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1847E78t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1847E78t00;font-size:85%;"  &gt;Sun Solaris 10 &lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;- &lt;a href="http://www.sun.com/software/solaris/get.jsp"&gt;http://www.sun.com/software/solaris/get.jsp&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Be sure to check the Solaris DVD image CRC before starting because the image parts can be&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;downloaded corrupted. You don't need to burn the DVD image since we'll map it directly inside our virtual machine.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Create a new virtual machine with &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Typical &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;configuration.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Then be sure to choose &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Solaris 10 (experimental) &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Guest operating system.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Name the virtual machine as you like and choose your preferred locations for files.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;I usually put virtual machines in a &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;VMs &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;directory excluded from antivirus real-time check.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Configure your network connection &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;with &lt;/span&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Use bridged networking &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;only if there sure there is&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;no way to arrive on the virtual machine from Internet: immediately after the initial installation&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;any guest OS could be feasible of attacks since unpatched. Patch it, eventually configure a&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;firewall and then permit it to connect to Internet.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Configure your disk capacity &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;to &lt;/span&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;4 GB Disk Size &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;(you can check the &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Allocate all disk space&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;now &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;box if you have enough space, a fully defragmented hard disk and want to have better&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;performances for guest OS).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Now you should have finished and a virtual machine summary will appear.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;You can change some settings seconding your needs simply clicking on &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Edit virtual machine&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;settings&lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Two virtual components are very important: RAM and Processors.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;If you have at least 768MB physical RAM increase your virtual machine memory from 256 MB&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;to 512MB (this will greatly speed up the installation process).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;If you have an Intel CPU with HyperThreading enabled or an AMD64 Dual Core CPU you could&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;choose to assign two virtual processors to this virtual machine.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Be sure to choose the correct number of virtual processors before starting the Solaris&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Installation. Passing from one virtual processor to two virtual processors (or vice versa) will&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;require reinstalling the whole operating system.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;You can also choose to delete the virtual sound card (&lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Audio &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;device) if you don't plan to use&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Solaris 10 as a desktop operating system.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Now change the virtual device CD-ROM Connection from &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Use physical drive &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;to &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Use ISO&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;image &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;and browse for your Sun Solaris 10 DVD ISO image previously downloaded. We are finally ready now.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:TTE1FD6240t00;"&gt;Part 2 – Installing the Sun Solaris 10 operating system&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:TTE1FD6240t00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Launch the just prepared virtual machine and let the DVD ISO image boot.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;When required press &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;1 &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;for &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Solaris Interactive&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Choose your preferred language.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Now choose &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Networked Connectivity&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;. &lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Then specify if your virtual network interface card&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;(recognized as &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;pcn0&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;) will grab an IP address by DHCP or not.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;If you chosen not detail your virtual machine &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;hostname&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;, &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;IP address&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;, &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;subnet mask&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;, &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;IPv6&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;support &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;and &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;default route&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Enable or not &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Kerberos&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;, detail your eventual &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;name service system&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;If you chosen DNS as name service system detail your domain name and at least one &lt;/span&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;DNS&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;server IP address&lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Choose your &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Time Zone &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;and &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Date &amp;amp; Time&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Choose your Root &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;password&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Finally accept your summary settings page.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Say yes to both &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Reboot automatically after software installation &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;and &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Eject &lt;/span&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;additional&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;CDs/DVDs automatically after software installation&lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Before saying &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;OK &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;on the final Notice window be sure to modify your VMware virtual CD-ROM&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;device to have checked &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Connected &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;and unchecked &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Connect at power on &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;checkboxes.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Now let’s start the software packages installation.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Let unmodified to &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;CD/DVD &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;as &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Media&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Accept &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;the License Agreement and choose &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Custom Install&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Select your &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Software Localizations &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;region only if you want Solaris 10 in your national&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;language. &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;English &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;will be installed by default.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Select &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Products &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;to install as you need. Remember we set up a small 4GB virtual disk so you&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;couldn’t be able to install everything now.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Select &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;None &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;as &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Additional Product &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;to install.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Now you need to select how many Solaris software packages install. I personally suggest&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;choosing &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;End User Group &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;(2141.4 GB occupied).&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;On &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Disk Selection &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;just hit &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Next &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;since our virtual disk (recognized as &lt;/span&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;c0d0 (bootdisk)&lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;) is&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;already selected.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;On &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;fdisk Partition Customization &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;hit &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Next &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;as well.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;On &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Customize fdisk Partitions &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;you’ll see a single Solaris partition of 4095 MB size. If you are&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;unsure on how to partition your virtual hard disk just hit &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;If you hit Next on the previous screen a default &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;File System Lay Out &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;will appear. Just hit&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Next&lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Now the packages installation starts. It will take some time.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;At the end Solaris Installer will inform you the system is configured to run NFS v4 asking if you&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;need to &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;override default settings&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;. Say &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;No &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;and let the OS restart.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;After reboot Sun Solaris 10 will arrive at console login asking for name login and password.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;After logging in launch &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;kdmconfig &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;from the shell.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;At the X Server Selection be sure to choose &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Xsun server&lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;On the next screen the system will have already recognized your VMware virtual video card&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;with a default resolution of 1024x768 and 256 colors @ 70 Hz.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;If you want different settings move on &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Change Video Device/Monitor &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;and press &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Space&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Then hit &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;F2 &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;and arrive at the &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Video Device Selection&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;: be sure to untouch &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;XF86-VMware&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;VMware Inc vmware0405&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;. Press &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;F2 &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;again.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;On &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Monitor Type Selection &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;be sure to choose a &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Multifrequency Monitory &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;with no more&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;resolution of your physical monitor.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;On the &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Screen Size Selection &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;choose &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;17-inch&lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;On the &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Resolution/Colors Selection &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;I suggest you to choose a resolution a bit smaller than&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;your physical maximum (I personally run every VM on 1024x768 with a physical resolution of&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;1400x1050) and your preferred amount of colors.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Now you’re back to &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;kdmconfig &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;system configuration summary.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Hit &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;F2 &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;to test the configuration, save and exit to the console (if something goes wrong simply&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;relaunch kdmconfig and start over).&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Now write &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Exit &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;on the console and, if you did a correct configuration, the system will&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;automatically launch the graphical login screen (it could take some seconds).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Now, from the &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Options &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;menu, you can choose if run a &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Common Desktop Environment&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;(CDE) or &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Java Desktop System &lt;/span&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;3 &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;graphical session (I strongly recommend the last one).&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Login and enjoy your Sun Solaris 10 virtual machine.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:TTE1FD6240t00;"&gt;Part 3 (optional) – Running virtual machine inside VMware Player&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:TTE1FD6240t00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;As you probably know Sun Solaris 10 is free to use even for commercial environments.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;So you could want to have a virtual machine of it for any case.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Since some times VMware offers everybody the possibility to use its virtualization technology&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;for free anywhere with the new VMware Player.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;So you could want to have a Solaris 10 virtual machine with a copy of VMware Player for any&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;case.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;First of all download VMware Player here:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.vmware.com/download/player/"&gt;http://www.vmware.com/download/player/&lt;/a&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Now burn it with your whole Sun Solaris 10 virtual machine directory in a DVD.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Copy Sun Solaris 10 virtual machine directory on the new hard disk of a different computer&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;and install VMware Player: VMware Player cannot be installed on the same machine where is&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;VMware Workstation.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Start your VMware Player and point to the directory where you copied your Sun Solaris 10&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;virtual machine.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;At the warning about creating a new &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;UUID &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;answer &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:TTE1FD6240t00;font-size:85%;"  &gt;Create&lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;Done! You have a free fully working virtual machine with a free fully working enterprise&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:TTE1FD6008t00;font-size:85%;"  &gt;operating system inside.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I hope this HOW-TO allows you to install the OS using VMware. If you have any comments or encounter any issues following it, don’t hesitate to join the opensolaris channel at IRC. Thanks to Jamesd and the many other members of the channel who have encourage me to keep learning the OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113346934277853766?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113346934277853766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113346934277853766' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113346934277853766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113346934277853766'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/installing-solaris-10-inside-vmware-55.html' title='INSTALLING SOLARIS 10 INSIDE VMware 5.5'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113346689615207357</id><published>2005-12-01T11:54:00.000-08:00</published><updated>2005-12-01T11:55:50.676-08:00</updated><title type='text'>Firefox 15 Ready for Solaris</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;Firefox 1.5 Ready for Solaris&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I just wanted to inform everyone that the new release of Firebox 1.5 has been release for the Solaris 10 platform and it is available at your disposal at&lt;br /&gt;&lt;br /&gt;&lt;a href="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.5/contrib/"&gt;ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.5/contrib/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am encouraging everyone that will try it out to read the read me file before using it. Bellow I layout some of the improve features of this new version.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;A Better Web Experience&lt;/strong&gt;&lt;br /&gt;Firefox 1.5 has an intuitive interface and blocks viruses, spyware, and popup ads. It delivers web pages faster than ever. And it’s easy to install and import your favorites. Packed with useful features like tabbed browsing, Live Bookmarks, and an integrated Search bar, Firefox will change the way you experience the Web, for the better.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Faster Browsing&lt;/strong&gt;&lt;br /&gt;Enjoy quick page loading as you navigate back and forward in a browsing session. Improvements to the engine that powers Firefox deliver more accurate display of complex web sites, support for new Web standards, and better overall performance.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Automatic Updates&lt;/strong&gt;&lt;br /&gt;The new Software Update feature makes it easy to get the latest security and feature updates to Firefox. Firefox automatically downloads these small updates in the background and prompts you when they are ready to be installed.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Tabbed Browsing&lt;/strong&gt;&lt;br /&gt;Use &lt;a href="http://www.mozilla.com/firefox/tabs.html"&gt;tabbed browsing&lt;/a&gt; to open multiple web pages in a single browser window, and quickly flip back and forth. Drag and drop open tabs to keep related pages together.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Improved Pop-up Blocking&lt;/strong&gt;&lt;br /&gt;Firefox’s built-in pop-up blocker has been enhanced to block more unwanted pop-up and pop-under ads.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Integrated Search&lt;/strong&gt;&lt;br /&gt;Tap into the power of the Web’s most popular search engines with the &lt;a href="http://www.mozilla.com/firefox/search.html"&gt;built-in Search bar&lt;/a&gt;, and easily add new engines.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Stronger Security&lt;/strong&gt;&lt;br /&gt;Firefox keeps you secure when you’re browsing the Web, closing the door on spyware, worms, and viruses. The Firefox community of developers and security experts works around the clock to monitor security issues and release updates to better protect you.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Clear Private Data&lt;/strong&gt;&lt;br /&gt;Protect your privacy with the new Clear Private Data tool. With a single click, you can delete all personal data, including browsing history, cookies, web form entries and passwords.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Live Bookmarks&lt;/strong&gt;&lt;br /&gt;Stay up to date with your favorite Web sites and blogs. Use &lt;a href="http://www.mozilla.com/firefox/livebookmarks.html"&gt;Live Bookmarks&lt;/a&gt; that update themselves automatically with the latest content from the Web.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Accessibility&lt;/strong&gt;&lt;br /&gt;Firefox 1.5 delivers easier navigation for everyone, including those who are visually or motor-impaired. Firefox is the first browser to support DHTML accessibility, which, when enabled by Web authors, allows rich Web applications to be read aloud. Users may navigate with keystrokes rather than mouse clicks, reducing the tabbing required to navigate documents such as spreadsheets. Firefox 1.5 (Windows version) is also the first browser to meet &lt;a href="http://www.mozilla.com/firefox/vpat.html"&gt;US federal government requirements&lt;/a&gt; that software be easily accessible to users with physical impairments.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Customize Firefox&lt;/strong&gt;&lt;br /&gt;Select new button controls for your toolbars, install extensions to add new features, or change the look of your browser with themes - the way Firefox looks and works is under your control.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Next Generation Web Support&lt;/strong&gt;&lt;br /&gt;Innovative new Web applications and services deliver a richer Web experience. Support for open Web standards in Firefox ensures you can get the most out of this emerging class of Web-based tools.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113346689615207357?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113346689615207357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113346689615207357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113346689615207357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113346689615207357'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/firefox-15-ready-for-solaris.html' title='Firefox 15 Ready for Solaris'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113345440144667609</id><published>2005-12-01T08:26:00.000-08:00</published><updated>2005-12-01T08:27:18.510-08:00</updated><title type='text'>Managing Solaris Packages</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;MANAGING SOLARIS PACKAGES.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I have been asked several times “how do I find out which packages are installed in my box” well, the answer is using the &lt;strong&gt;pkginfo &lt;/strong&gt;command.&lt;br /&gt;&lt;br /&gt;# &lt;strong&gt;pkginfo | more&lt;/strong&gt;&lt;br /&gt;system      CADP160                          Adaptec Ultra160 SCSI Host Adapter Driver&lt;br /&gt;system      HPFC                             Agilent Fibre Channel HBA Driver&lt;br /&gt;system      NCRos86r                         NCR Platform Support, OS Functionality (Root)&lt;br /&gt;system      SK98sol                          SysKonnect SK-NET Gigabit Ethernet Adapter SK-98xx&lt;br /&gt;system      SKfp                             SysKonnect PCI-FDDI Host Adapter&lt;br /&gt;application SMCbind                          bind&lt;br /&gt;application SMCgcc                           gcc&lt;br /&gt;application SMCiconv                         libiconv&lt;br /&gt;application SMCncurs                         ncurses&lt;br /&gt;application SMCosslg                         openssl&lt;br /&gt;application SMCpopt                          popt&lt;br /&gt;application SMCreadl                         readline&lt;br /&gt;application SMCsamba                         samba&lt;br /&gt;…&lt;br /&gt;&lt;br /&gt;As you can see the more option give you a list of everything that is install in a screen by screen basic. If you type the &lt;strong&gt;pkginfo &lt;/strong&gt;command by itself, you probably won’t b able to see each one of the package that is install as the list runs by so fast. Now let’s said we want to find out information about a specific package that is already install in our system as an example I will pick &lt;strong&gt;SMCsamba&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;# &lt;strong&gt;pkginfo -l  SMCsamba&lt;/strong&gt;&lt;br /&gt;   PKGINST:  SMCsamba&lt;br /&gt;    NAME:  samba&lt;br /&gt;    CATEGORY:  application&lt;br /&gt;    ARCH:  intel&lt;br /&gt;    VERSION:  3.0.10&lt;br /&gt;    BASEDIR:  /usr/local/samba&lt;br /&gt;    VENDOR:  The Samba Group&lt;br /&gt;    PSTAMP:  Steve Christensen&lt;br /&gt;    INSTDATE:  Nov 30 2005 22:29&lt;br /&gt;    EMAIL:  steve@smc.vnet.net&lt;br /&gt;    STATUS:  completely installed&lt;br /&gt;    FILES:     1171 installed pathnames&lt;br /&gt;                  79 directories&lt;br /&gt;                  41 executables&lt;br /&gt;              104086 blocks used (approx)&lt;br /&gt;&lt;br /&gt;You can also determine how many packages are install in your system by issuing the following command:&lt;br /&gt;&lt;br /&gt;# &lt;strong&gt;pkginfo | wc -l&lt;/strong&gt;&lt;br /&gt;     925&lt;br /&gt;&lt;br /&gt;In my case it showing that I have 925 ( a lot). In your case might be more or less depending in what you have installed/removed after OS installation. If we were to add new packages to the things will be a little different, we will use the following to accomplish such:&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgadd -d &amp;lt;pkgname&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;The above step is performed to install a package that has been downloaded locally. If you want to install a package from a remote location you would use something very similar to this:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgadd -d http://URL/packages/SUNWrsc.pkg all&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Similarly to pkgadd to add new packages there is another utility to check the integrity or components of a package, the utility is call &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgchk &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;and it is use in the following format.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgchk –v SUNWladm&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;The –v option allows you to see the files that are contained within the software.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Another of the command use is the &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgrm &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;command and this one is use to remove package that has been install in the system. In this particular instance I have to emphasize to be very cautious of the dependency warnings you will received when removing a package. The system will allow you to remove the package though the package may be required by another package. &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgrm SUNWapchr&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;The following package is currently installed:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;   SUNWapchr       Apache Web Server (root)&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;                   (sparc) 11.10.0,REV=2004.08.20.02.37&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Do you want to remove this package? [y,n,?,q] &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;y&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;## Removing installed package instance &amp;lt;SUNWapchr&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;## Verifying package dependencies.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;WARNING:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;    The &amp;lt;SUNWapchu&amp;gt; package depends on the package&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;    currently being removed.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;WARNING:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;    The &amp;lt;SUNWapchd&amp;gt; package depends on the package&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;    currently being removed.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;WARNING:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;    The &amp;lt;SUNWipplr&amp;gt; package depends on the package&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;    currently being removed.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;WARNING:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;    The &amp;lt;SUNWserweb&amp;gt; package depends on the package&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;    currently being removed.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Dependency checking failed.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Do you want to continue with the removal of this package [y,n,?,q] &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;y&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;## Processing package information.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;## Removing pathnames in class &amp;lt;initd&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/rcS.d/K16apache&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/rc3.d/S50apache&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/rc2.d/K16apache&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;(output ommited for brevity)&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/apache/httpd.conf-example&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/apache/README.Solaris&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc/apache &amp;lt;shared pathname not removed&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;/etc &amp;lt;shared pathname not removed&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;## Updating system information.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Removal of &amp;lt;SUNWapchr&amp;gt; was successful.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Sometimes I think is very convenient to copy package from the Solaris 10 CDROM into what is call the spool directory (/var/spool/pkg), this method allows you to install the packages you use more frequently in a easier way. To copy packages from the solaris 10 CDROM into the spool directory we do the following:&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgadd -d /cdrom/cdrom0/s0/Solaris_10/Product -s spool SUNWauda&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Transferring &amp;lt;SUNWauda&amp;gt; package instance&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;In the above scenario I am coping the SUNWauda package into the spool, you can do the same for all the packages you most frequently use. Now let’s check that the package was transfer to the spool using the &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;ls –al &lt;/span&gt;&lt;/strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;command into that directory as follow:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;ls -al /var/spool/pkg&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;total 6&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;drwxrwxrwt   3 root     bin          512 Oct  1 14:26 .&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;drwxr-xr-x  12 root     bin          512 Sep 30 20:03 ..&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;drwxrwxr-x   5 root     root         512 Oct  1 14:26 SUNWauda&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;After adding all the packages you want, installing them becomes easier, in this particular example I will install the package I just transfer to the spool which is SUNWauda doing the following:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgadd SUNWauda&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;You can always remove software package from the spool that you will not longer use using:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgrm -s spool SUNWauda&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;The following package is currently spooled:&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;   SUNWauda        Audio Applications&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;                   (sparc) 11.10.0,REV=2004.09.03.08.15&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Do you want to remove this package? [y,n,?,q] y&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Removing spooled package instance &amp;lt;SUNWauda&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;We are not force to use the spool (/var/spool/pkg); however, Solaris 10 uses that one as the default directory for spooling. If you want to define your own spooling directory you can do so doing the following.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgadd -d /cdrom/cdrom0/s0/Solaris_10/Product -s /export/pkg SUNWauda&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;pkgrm -s /export/pkg SUNWauda&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;As you can see I have define my spooling directory as /export/pkg rather than the default one.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;Hopefully this gives you a brief idea about package management. As you practice the various commands you will become more familiar with installation and deletion of your packages. I want to thanks the opensolaris community at IRC who has help me in so many ways to continue learning the OS. &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:85%;"  &gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113345440144667609?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113345440144667609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113345440144667609' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113345440144667609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113345440144667609'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/managing-solaris-packages_113345440144667609.html' title='Managing Solaris Packages'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113344834221511650</id><published>2005-12-01T06:45:00.000-08:00</published><updated>2005-12-01T06:46:24.106-08:00</updated><title type='text'>TASTING ZONES IN SOLARIS 10</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;TASTING ZONES IN SOLARIS 10&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Many of us have heard about zones, a zone is/are a piece of software that is bundle with Solaris 10 that allows the root user of the global zone to have the capacity to dedicate system resources to individual zones. You might be asking “what are you talking about?”, well simple. Each zone maintains its own root password and user information, separate from other zones and the global system. Each zone exists as a separate Solaris environment with separate processes in file system space and can only monitor and interact with its local processes. Enough terminology, think of zones as using separate machines in the same box, the concept is very similar to that one.&lt;br/&gt;&lt;br/&gt;To my understanding Zones go through a 5 step process: Undefined, configured, installed, running, and ready. I will explain this in more detail as I go down the road further.&lt;br/&gt;&lt;br/&gt;Let’s get our hand dirty and create a basic zone:&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;zoneadm list –cv&lt;/strong&gt;&lt;br/&gt;ID NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PATH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;&amp;nbsp;&amp;nbsp; 0 global&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; running&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;The first command is giving you a picture of your global zone which is the only zone that should be in your system using the default install. For the sake of this example we will called our basic zone testzone (off course, in your end you can call it whatever you want).&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;zonecfg –z testzone&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;testzone: No such zone configured&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Use 'create' to begin configuring a new zone.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;create&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set zonepath=/export/home/testzone&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Save your settings by issues the commit command as follow:&lt;br/&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;commit&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;The next step will allow us to verify our settings:&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;export&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;create -b&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set zonepath=/export/home/testzone&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set autoboot=false&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;add inherit-pkg-dir&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set dir=/lib&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;end&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;add inherit-pkg-dir&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set dir=/platform&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;end&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;add inherit-pkg-dir&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set dir=/sbin&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;end&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;add inherit-pkg-dir&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set dir=/usr&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;end&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Great, the above is showing us that the zone is ready to be used. Just type &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;exit &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;to exit the zone using the following command:&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;exit&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Now that we have our zone ready, somehow we need to assign system resource and provision the zone and we will do that by performing the following steps:&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zoneadm -z testzone install &lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Preparing to install zone &amp;lt;testzone&amp;gt;.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Creating list of files to copy from the global zone.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Copying &amp;lt;2369&amp;gt; files to the zone.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Initializing zone product registry.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Determining zone package initialization order.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Preparing to initialize &amp;lt;782&amp;gt; packages on the zone.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Initializing package &amp;lt;98&amp;gt; of &amp;lt;782&amp;gt;: percent complete: 43%&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Initialized &amp;lt;782&amp;gt; packages on zone.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Successfully initialized zone &amp;lt;testzone&amp;gt;.&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;When the zone finish installing the structure of itself you can check if the zone has been installed by issuing the following command.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# zoneadm list -cv &lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;D&amp;nbsp;&amp;nbsp; NAME&amp;nbsp;&amp;nbsp; STATUS&amp;nbsp;&amp;nbsp; PATH&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;0&amp;nbsp;&amp;nbsp; global&amp;nbsp;&amp;nbsp;running&amp;nbsp;&amp;nbsp; /&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;- testzone installed /export/home/testzone&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Now that the zone is installed as we can see in the output above we need to get it ready and boot to it and we do those steps with the following commands:&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zoneadm -z testzone ready&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zoneadm list -cv&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zoneadm -z testzone boot&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;To check that everything is ready issue again &lt;strong&gt;zoneadm list –cv &lt;/strong&gt;which will become your best friend in regards to zones to check their status.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# zoneadm list -cv &lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;ID&amp;nbsp;&amp;nbsp; NAME&amp;nbsp;&amp;nbsp; STATUS&amp;nbsp;&amp;nbsp; PATH&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;0&amp;nbsp;&amp;nbsp; global&amp;nbsp;&amp;nbsp;running&amp;nbsp;&amp;nbsp; /&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;1 testzone ready /export/home/testzone&lt;/span&gt;&lt;br/&gt;Be aware that you are playing with a new zone and this one will need to contain a new hostname. You may want to see what is your current hostname in your global zone by issuing the &lt;strong&gt;hostname &lt;/strong&gt;command in your shell, now we are ready to deploy the zone and we do this by using the &lt;strong&gt;zlogin &lt;/strong&gt;command.&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zlogin -C testzone&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Try pressing the return key again to display a terminal selection if you are logging into the zone for the first time. When you login into the zone make sure you read the 3 screen carefully as they will define the initial parameters for your zone.&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;After all the above is done, you can always add resources to make the zone more accessible. Like in the bellow example I’ll add an IP to the network interface card, the resource is not yet configurable by the zone root user, although some network configuration privileges can be handed down. Setting resource you can only set the interface and IP address; other parameters are pick up from the initial configuration of the zone.&lt;br/&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg -z testzone&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;add net&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone:net&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set address=192.168.30.62&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone:net&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set physical=hme0&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone:net&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;end&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;export&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;create -b&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set zonepath=/export/home/testzone&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set autoboot=false&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;add inherit-pkg-dir&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set dir=/lib&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;end&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;add inherit-pkg-dir&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set dir=/platform&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;end&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;add inherit-pkg-dir&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set dir=/sbin&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;end&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;add inherit-pkg-dir&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set dir=/usr&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;end&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;add net&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set address=192.168.30.62&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;set physical=hme0&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;end&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;exit&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;#&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Keep in mind that when you exit the &lt;strong&gt;zonecfg &lt;/strong&gt;command, you will still unable to plumb or configure the network card. Rebooting the zone as root, configure the resource.&lt;br/&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# reboot&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Jun 22 22:25:28 twilight reboot: rebooted by root&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Jun 22 22:25:28 twilight syslogd: going down on signal 15&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;[NOTICE: Zone rebooting]&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;SunOS Release 5.10 Version s10_61 64-bit&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Copyright 1983-2004 Sun Microsystems, Inc.&amp;nbsp;&amp;nbsp;All rights reserved.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Use is subject to license terms.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Hostname: Zonebox2&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;The system is coming up.&amp;nbsp;&amp;nbsp;Please wait.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;starting rpc services: rpcbind done.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;syslog service starting.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;The system is ready.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Zonebox2 console login: root&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Password:&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Aug 18 15:37:38 Zonebox2 login: ROOT LOGIN /dev/console&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Last login: Wed Aug 18 15:31:09 on console&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;#&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;ifconfig -a&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;lo0:1: flags=1000849 mtu 8232 index 1&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inet 127.0.0.1 netmask ff000000&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;hme0:1: flags=1000863 mtu 1500 index 2&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inet 192.168.30.62 netmask ffffff00 broadcast 192.168.30.255&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;#&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;hostname&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Zonebox2&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;exit&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Zonebox2 console login: ~.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;[Connection to zone 'testzone' console closed]&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;#&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;Enter zonecfg for the zone testzone when configuring or unconfiguring resources for the zone. Inthis case you will be unconfiguring the testzone network resources before deleting the zone.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg -z testzone&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;remove net physical=hme0&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;commit&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zonecfg:testzone&amp;gt; &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;exit&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Great!, now that we have our zone configure and we have learn the in’s and out of the topic I want to show you how to delete them from your box. Is a very simple process and I will show you using the following:&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;zoneadm –z testzone halt&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;The above command will halt Solaris 10 and free up system resources.&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;zoneadm –z testzone uninstall&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;The second step is Uninstalling the zone to remove the zone file usage. IN this particular step you will be ask if you are sure you want to uninstall the zone, to which off course you will type &lt;strong&gt;Y&lt;/strong&gt;. Be aware that the default answer will be &lt;strong&gt;N&lt;/strong&gt;.&lt;br/&gt;&lt;br/&gt;&lt;span style="font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;zonecfg -z testzone delete&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;The above command will take charge of deleting the configuration of the zone from the global system and we can see that by issuing &lt;strong&gt;zoneadm list –cv&lt;/strong&gt;. Again that command will ask you if you are sure you want to get rid of the testzone to which you will answer &lt;strong&gt;Y&lt;/strong&gt;. Lastly we want to verify that the zone was delete and we will use the following to double check:&lt;br/&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;zoneadm list –cp&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;I hope that this small HOW-TO gives you an idea about zones using Solaris 10. It is a broad topic and if you really want to get your hand dirty using it I encourage you to read the docs.sun.com, at least this will give you an idea of what the world of zones is all about. I want to thank the people from opensolaris at IRC especially Jamesd, Boyd, Tsoome and the many others that have encourage me continue learning. If it wasn’t for them this little HOW-TO would have never made it online.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113344834221511650?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113344834221511650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113344834221511650' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113344834221511650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113344834221511650'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/tasting-zones-in-solaris-10.html' title='TASTING ZONES IN SOLARIS 10'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16688733.post-113344409778836321</id><published>2005-12-01T05:34:00.000-08:00</published><updated>2005-12-01T05:38:32.586-08:00</updated><title type='text'>CONFIGURING BIND 9.31</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;CONFIGURING BIND 9.3.1 in Solaris 10 AMD64/x86&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Configuring BIND 9.x is a bit of a problem for many of us; therefore, I decided to create this &lt;em&gt;HOW-TO &lt;/em&gt;ease our pain through this rough path. By default Solaris 10 AMD64/X86 ships with BIND 9.2.4, I always like to stay with the most recent/stable version so I upgrade mine to BIND 9.3.1 which is the most current stable at the time of this writing from sunfreeware.com. So let’s get started.&lt;br/&gt;&lt;br/&gt;The first thing I do is check my version of BIND by simple typing the following command:&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;named –v&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;The command will output the current version that is installed on the system, in my case was BIND 9.2.4 as I mentioned before. Again to upgrade to the latest version point your browser to sunfreeware.com, go to the x86/Solaris 10 section in the right menu of your screen and download the most current version of BIND from the list. By default all the software that is downloadable in sunfreeware.com is ready for you in the form of a package, in the case of BIND the version I downloaded was call “&lt;a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/bind-9.3.1-sol10-intel-local.gz"&gt;bind-9.3.1-sol10-intel-local.gz&lt;/a&gt;”. To decompress the package and install it we precede to the do the following:&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;gunzip &lt;/strong&gt;&lt;a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/bind-9.3.1-sol10-intel-local.gz"&gt;bind-9.3.1-sol10-intel-local.gz&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;# pkgadd –d &lt;/strong&gt;&lt;a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/bind-9.3.1-sol10-intel-local.gz"&gt;bind-9.3.1-sol10-intel-local.gz&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;The above two command will take care of the unzip and install of the package. By default the package will be installed under /usr/local. As a prerequisite before you even install the latest version of BIND from sunfreeware.com you should install &lt;strong&gt;openssl &lt;/strong&gt;because BIND might need the /usr/local/lib/libcrypt.so.0.9.7 also you want to have as a pre-requisite either &lt;strong&gt;gcc-3.3.2 &lt;/strong&gt;or &lt;strong&gt;libgcc-3.3 &lt;/strong&gt;which again both can be downloaded from sunfreeware.com free of charge in package form. Haven’t all the above installed let’s proceed to configure BIND 9.3.1. Our binary/daemon was installed in &lt;em&gt;/usr/local/sbin/named&lt;/em&gt;. Let’s configure the service now by looking at SMF, default service management for solaris.&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;svcs –l dns/server&lt;/strong&gt;&lt;br/&gt;fmri&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; svc:/network/dns/server:default&lt;br/&gt;enabled&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;true&lt;br/&gt;state&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;online&lt;br/&gt;next_state&amp;nbsp;&amp;nbsp; none&lt;br/&gt;state_time&amp;nbsp;&amp;nbsp; Wed Nov 30 22:02:43 2005&lt;br/&gt;logfile&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/var/svc/log/network-dns-server:default.log&lt;br/&gt;restarter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;svc:/system/svc/restarter:default&lt;br/&gt;contract_id&amp;nbsp;&amp;nbsp;85 &lt;br/&gt;dependency&amp;nbsp;&amp;nbsp; require_all/none file://localhost/etc/named.conf (online)&lt;br/&gt;dependency&amp;nbsp;&amp;nbsp; require_all/none svc:/system/filesystem/minimal (online)&lt;br/&gt;dependency&amp;nbsp;&amp;nbsp; require_any/error svc:/network/loopback (online)&lt;br/&gt;dependency&amp;nbsp;&amp;nbsp; optional_all/error svc:/milestone/network (online)&lt;br/&gt;&lt;br/&gt;The above is showing my service up and running already in the final stage, your output might be different; whatever the case may be we want BIND to point to our new binary/daemon and we do this step using the following procedure:&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;svcprop dn/server&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;We use this command to view the properties of a service, in our particular case what we are most interested in knowing is what binary/daemon is been execute when we start or stop our DNS server. We are only interested in the property called “&lt;strong&gt;start/exe astring /usr/sbin/named&lt;/strong&gt;” . Now we are getting somewhere, take a look at the property of the service by default it will point the service to &lt;strong&gt;/usr/sbin/named&lt;/strong&gt;, if you remember I told you that installing a new version such as BIND 9.3.1 will install your service under &lt;strong&gt;/usr/local &lt;/strong&gt;, the new binary/daemon path after installed becomes &lt;strong&gt;/usr/local/sbin/named &lt;/strong&gt;. Now you may be asking yourself, “how in earth do I tell the instance of DNS of SMF to recognize the new path”. Simple! Well, first we want to get into the configuration of the service by typing the following commands:&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;svccfg&lt;/strong&gt;&lt;br/&gt;svc:&amp;gt;&lt;strong&gt;select dns/server:default&lt;/strong&gt;svc:/network/dns/server:default&amp;gt; &lt;strong&gt;listprop start/exec&lt;/strong&gt;start/exec astring /usr/sbin/namedsvc:/network/dns/server:default&amp;gt; &lt;strong&gt;setprop start/exec = /usr/local/sbin/named&lt;/strong&gt;svc:/network/dns/server:default&amp;gt; &lt;strong&gt;listprop start/exec&lt;/strong&gt;start/exec astring /usr/local/sbin/namedsvc:/network/dns/server:default&amp;gt; &lt;strong&gt;quit&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Let me walk you through to what’s happening. Out first command is getting into the configuration, the second command showed that we are selecting the DNS server service, the third command is listing what path is the service executing by default, the fourth command is changing the pointing path to our new path of execution, our fifth command is showing the changes we have made to the execution path and the last command will kick you of svccfg and save the changes you just performed. The last step we will perform is to refresh the service using the following command.&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;svcadm refresh dns/server&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;and lastly but now least, we want to start our service using the following.&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;svcadm start dns/server&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;We can always check what is the status of the service by issuing the following command:&lt;br/&gt;&lt;br/&gt;# &lt;strong&gt;svcs –l dns/server&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;Up to this point the service should be running if it is not running still you can also try starting the service manully by typing &lt;strong&gt;/usr/local/sbin/named &lt;/strong&gt;and checking with &lt;strong&gt;ps –ef | grep named &lt;/strong&gt;. As Jamesd recommends from the opensolaris crew in IRC is better to use the default BIND version that comes with the OS because is more stable overall; however, many of us like to have the latest version to try out the new features, I hope this little HOW-TO give you an idea of the things that are needed in order to perform an upgrade of the DNS service. I want to thanks all my people from the opensolaris channel in IRC, especially Boyd and Tsoome who were so patient with my installation. &lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16688733-113344409778836321?l=sunadmin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sunadmin.blogspot.com/feeds/113344409778836321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16688733&amp;postID=113344409778836321' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113344409778836321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16688733/posts/default/113344409778836321'/><link rel='alternate' type='text/html' href='http://sunadmin.blogspot.com/2005/12/configuring-bind-931.html' title='CONFIGURING BIND 9.31'/><author><name>Solaris10</name><uri>http://www.blogger.com/profile/14476270301180084776</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
