<?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/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0' gd:etag='W/&quot;C0cGSHY-cCp7ImA9WhVSF04.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880</id><updated>2012-03-14T06:17:09.858-07:00</updated><category term='apache'/><category term='Solaris OS'/><category term='other'/><category term='Solaris Zones'/><category term='DNS'/><category term='ZFS'/><title>Solaris OS</title><subtitle type='html'>“There is no knowledge that is not power”</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;D08GR30-eSp7ImA9WhRaF0o.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-9116750854080862207</id><published>2012-02-20T11:25:00.001-08:00</published><updated>2012-02-20T14:10:26.351-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-20T14:10:26.351-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='other'/><title>Getting Started by creating Virtual Lab ( Part 2)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
In this tutorial you will learn how to install Solaris 10 and Solaris 11.&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;span style="color: #a5a5a5;"&gt;Note :-&amp;nbsp; This tutorial is part of a 3-part tutorial series&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2012/02/getting-started-by-creating-virtual-lab.html" target="_blank"&gt;Getting Started by creating Virtual Lab ( Part 1)&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2012/02/getting-started-by-creating-virtual-lab_20.html" target="_blank"&gt;Getting Started by creating Virtual Lab ( Part 2)&lt;/a&gt;&lt;br /&gt;
Getting Started by creating Virtual Lab ( Part 3)&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: #222222;"&gt;In the previous tutorial we started creating virtual machine, in this tutorial we are going to complete what we started.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
- after you selected where to store VDI ( Virtual Disk Image)&amp;nbsp; you will see the icon of “Solaris Virtual Machine” on the main “Virtual Box “ interface as the following image&lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-0RJ3NQNWMUo/T0Kce_MfMwI/AAAAAAAAAHg/33r8fCGq09Q/s1600-h/1-1%25255B5%25255D.gif"&gt;&lt;img alt="1-1" border="0" height="273" src="http://lh5.ggpht.com/-bPsK4QwIWSo/T0Kcf4g3M5I/AAAAAAAAAHo/mM2fQ3RgVDw/1-1_thumb%25255B3%25255D.gif?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="1-1" width="454" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div align="justify"&gt;
Click on “Settings” &lt;/div&gt;
&lt;div align="justify"&gt;
- Select System&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div align="justify"&gt;
&lt;a href="http://lh4.ggpht.com/-JqnqF7-zv5c/T0KciqH77xI/AAAAAAAAAHw/zfJOo9gYN5E/s1600-h/1-3%25255B4%25255D.gif"&gt;&lt;img alt="1-3" border="0" height="244" src="http://lh5.ggpht.com/-_JhAROBBfys/T0KclFRmJ9I/AAAAAAAAAH4/Z3SBM45rmSM/1-3_thumb%25255B2%25255D.gif?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="1-3" width="463" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align="justify"&gt;
- select Hard and change the boot sequence .&lt;/div&gt;
&lt;div align="justify"&gt;
&lt;a href="http://lh4.ggpht.com/-ilemvJYIuN8/T0Kcm17GvkI/AAAAAAAAAIA/1SCL5cvPd4I/s1600-h/1-4%25255B4%25255D.gif"&gt;&lt;img alt="1-4" border="0" height="236" src="http://lh3.ggpht.com/-N0bVvCeDLJU/T0KcoS9bf-I/AAAAAAAAAII/6KJB7SePHOA/1-4_thumb%25255B2%25255D.gif?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="1-4" width="475" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align="justify"&gt;
- Click “OK”,&amp;nbsp; on the main “Virtual Box “ interface as the following image,Select Solaris and click START &lt;/div&gt;
&lt;a href="http://lh5.ggpht.com/-ER5-FB5IRgc/T0Kcp6sz5DI/AAAAAAAAAIQ/p-l_63B7QqE/s1600-h/95.gif"&gt;&lt;img alt="9" border="0" height="240" src="http://lh3.ggpht.com/-pNFoWX5pVZI/T0KcrMZkoXI/AAAAAAAAAIY/Xt-SwlrvkLA/9_thumb3%25255B1%25255D.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="9" width="474" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div align="justify"&gt;
- Click select, the software will ask you about the Solaris OS .iso file which you already downloaded it from Oracle website, select the solaris .iso file and click next, then click start. &lt;/div&gt;
&lt;div align="justify"&gt;
&lt;a href="http://lh3.ggpht.com/-U2cCu_4AbHI/T0KcsI24eiI/AAAAAAAAAIg/95RMxPAK2Ig/s1600-h/105.gif"&gt;&lt;img alt="10" border="0" height="240" src="http://lh3.ggpht.com/-Z5ZYi2im16Q/T0KctrQGP8I/AAAAAAAAAIo/V1gbPSn_eXQ/10_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="10" width="476" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="color: black;"&gt;- Now the Virtual OS will restart and boot from Solaris 10 or Solaris 11 .ISO file and you will see the boot screen, &lt;span style="color: black;"&gt;At this point you have created Virtual Machine and you are going to install Solaris OS, if you want to install Solaris 10 Scroll Down to the “How to install Solaris 10" section, else go to the “ How to Install Solaris 11” section in the next tutorial.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;strong&gt;How to Install Solaris 10 &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;1- the first screen you will see after booting from Solaris 10 .ISO file is &lt;/span&gt;&lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-bZDNfWNm4MA/T0KcuiTyVQI/AAAAAAAAAIw/Frin38jN-vU/s1600-h/16.gif"&gt;&lt;img alt="1" border="0" height="253" src="http://lh4.ggpht.com/-Tl-ckWUjyiI/T0KcwypKU9I/AAAAAAAAAI0/1ZfSCB-uRys/1_thumb4.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="1" width="490" /&gt;&lt;/a&gt;&lt;br /&gt;
Select the first option “ Solaris" and press “Enter”.&lt;br /&gt;
2- The next screen will ask you about the Installation type you want &lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-MW_8wVaSzsM/T0KcyS_coXI/AAAAAAAAAI8/JYs6HkuCdlc/s1600-h/25%25255B1%25255D.gif"&gt;&lt;img alt="2" border="0" height="233" src="http://lh4.ggpht.com/-pp632vS3UOI/T0Kczd_g0BI/AAAAAAAAAJI/L_-zxrGYcKg/2_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="2" width="472" /&gt;&lt;/a&gt;&lt;br /&gt;
Select choice number 4 “Solaris Interactive Text Console session” and press “Enter”.&lt;br /&gt;
3-&amp;nbsp; Now configure the Keyboard Layout &lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-5KGwYePzLTw/T0Kc1g5WmfI/AAAAAAAAAJQ/eGej_wNWqOs/s1600-h/35.gif"&gt;&lt;img alt="3" border="0" height="246" src="http://lh4.ggpht.com/-YAg58mkkbEg/T0Kc3WYUj2I/AAAAAAAAAJY/fDSTLVXKLRE/3_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="3" width="472" /&gt;&lt;/a&gt;&lt;br /&gt;
Select “US ENGLISH” and press “F2”&lt;br /&gt;
4- Select Language &lt;br /&gt;
&lt;a href="http://lh6.ggpht.com/-JkbPoTKEZ84/T0Kc5COTxtI/AAAAAAAAAJg/S1SkS0M5aic/s1600-h/44.gif"&gt;&lt;img alt="4" border="0" height="197" src="http://lh5.ggpht.com/-mJi666ayUxo/T0Kc60CDJSI/AAAAAAAAAJo/pqgnaQ_qj_I/4_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="4" width="464" /&gt;&lt;/a&gt;&lt;br /&gt;
Type the language Number you want and press “Enter”&lt;br /&gt;
5- the next screen tells you about how installation Program works &lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-HzDk7HtlmoQ/T0Kc8O9QkgI/AAAAAAAAAJw/HSnZGOCYnG4/s1600-h/55.gif"&gt;&lt;img alt="5" border="0" height="210" src="http://lh4.ggpht.com/-AI3XPbOyqUw/T0Kc9UJUqSI/AAAAAAAAAJ4/maVHBgmUYpA/5_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="5" width="463" /&gt;&lt;/a&gt;&lt;br /&gt;
Press “F2”.&lt;br /&gt;
6- The next screens ask you about “network information”, “Time Zone” and “Time/Date”&lt;br /&gt;
&lt;a href="http://lh6.ggpht.com/-25RtnuGx3Hw/T0Kc-Va2M7I/AAAAAAAAAKA/s_mlrDdLb2w/s1600-h/64.gif"&gt;&lt;img alt="6" border="0" height="198" src="http://lh5.ggpht.com/-vmrpy9Fl2TM/T0Kc_KYG5YI/AAAAAAAAAKI/LYQdVzTRf98/6_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="6" width="468" /&gt;&lt;/a&gt;&lt;br /&gt;
Press “F2”&lt;br /&gt;
7- Determine if the system will be Networked or not &lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-mF8HJ9lDmVg/T0KdAZR7WzI/AAAAAAAAAKQ/WvzuI0Fi1wQ/s1600-h/74.gif"&gt;&lt;img alt="7" border="0" height="204" src="http://lh4.ggpht.com/-DZojs4VNXrQ/T0KdBgh7KJI/AAAAAAAAAKY/e6VWzn5ux3w/7_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="7" width="464" /&gt;&lt;/a&gt;&lt;br /&gt;
Select “Yes” and Press “F2”.&lt;br /&gt;
8- Specify whether or not&amp;nbsp; this Network Interface should use DHCP&lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-8XPxgal6w00/T0KdC9LNLZI/AAAAAAAAAKg/5-wxsfoU-GI/s1600-h/84.gif"&gt;&lt;img alt="8" border="0" height="210" src="http://lh3.ggpht.com/-CJF7Omsx0jA/T0KdD9Xd45I/AAAAAAAAAKo/XvpqLmoDiwM/8_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="8" width="460" /&gt;&lt;/a&gt; Select “No” and Press “F2”&lt;br /&gt;
9- Enter the Host Name you want.&lt;br /&gt;
&lt;a href="http://lh6.ggpht.com/-Di69pzHbcS4/T0KdFRvinMI/AAAAAAAAAKw/GuxJQLm1pRo/s1600-h/96.gif"&gt;&lt;img alt="9" border="0" height="214" src="http://lh5.ggpht.com/-488A9EztLeQ/T0KdGe0FmyI/AAAAAAAAAK4/auiAk_vRKtk/9_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="9" width="463" /&gt;&lt;/a&gt;&lt;br /&gt;
Type the host name you want and press “F2”.&lt;br /&gt;
10-Enter the IP address, if you don’t know what is the correct IP address just type it as the one in the next screen and we will change it later.&lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-OPMytTycXaQ/T0KdHfz9TbI/AAAAAAAAALA/IL699R0qjyQ/s1600-h/107.gif"&gt;&lt;img alt="10" border="0" height="234" src="http://lh6.ggpht.com/-Em0vFrnPWXw/T0KdKBzDreI/AAAAAAAAALI/dScZZgXK_So/10_thumb4.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="10" width="455" /&gt;&lt;/a&gt;&amp;nbsp; Press “F2”&lt;br /&gt;
11- Specify if the system is part of a subnet mask &lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-zJ5IiofzxL4/T0KdLJAo1wI/AAAAAAAAALQ/GQiZZRQe604/s1600-h/114.gif"&gt;&lt;img alt="11" border="0" height="199" src="http://lh6.ggpht.com/-KpeL76qQuq4/T0KdMBi_0zI/AAAAAAAAALY/4Rty0l0YH-4/11_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="11" width="458" /&gt;&lt;/a&gt;&lt;br /&gt;
select Yes and press “F2”&lt;br /&gt;
12- Specify the subnet mask&lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-_7bugz0PBKk/T0KdNg-cbEI/AAAAAAAAALg/ozpmcmkRnvo/s1600-h/125.gif"&gt;&lt;img alt="12" border="0" height="228" src="http://lh6.ggpht.com/-ffnUr7nKpUw/T0KdOTkeifI/AAAAAAAAALo/_Qdx6ujorqw/12_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="12" width="462" /&gt;&lt;/a&gt;&lt;br /&gt;
type 255.255.255.0 and Press “F2”&lt;br /&gt;
13- Specify whether or not you want to enable IPv6&lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-7e8Z2oIBoVI/T0KdPnsUPHI/AAAAAAAAALw/10GyMY0qV6w/s1600-h/135.gif"&gt;&lt;img alt="13" border="0" height="215" src="http://lh4.ggpht.com/-WqBixuYe3bg/T0KdQwSOxVI/AAAAAAAAAL4/bSZlCmxiP8g/13_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="13" width="450" /&gt;&lt;/a&gt;&lt;br /&gt;
Select “NO” and Press “F2”.&lt;br /&gt;
14- Specify the default Route &lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-jJQkn8w0j_k/T0KdRwbxYxI/AAAAAAAAAMA/ox9osokp9A0/s1600-h/1410.gif"&gt;&lt;img alt="14" border="0" height="206" src="http://lh3.ggpht.com/-QkbqR-12qRU/T0KdS9LN-yI/AAAAAAAAAMI/ZgAQzjTAU8U/14_thumb6.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="14" width="464" /&gt;&lt;/a&gt;&lt;br /&gt;
Select "None”, we will change it later and press “F2”.&lt;br /&gt;
15- Confirm Information &lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-dSQBfnLdqOA/T0KdUIqt_tI/AAAAAAAAAMQ/jEE7oBO3wxA/s1600-h/155.gif"&gt;&lt;img alt="15" border="0" height="199" src="http://lh5.ggpht.com/-WMwg3tmSxaA/T0KdVxKbM5I/AAAAAAAAAMY/Os096w2hUBY/15_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="15" width="468" /&gt;&lt;/a&gt;&lt;br /&gt;
Press “F2”.&lt;br /&gt;
16- Configure Kerberos Security &lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-ySV0o0FOD9U/T0KdXGWKYJI/AAAAAAAAAMg/RfnTsy41ZFY/s1600-h/164.gif"&gt;&lt;img alt="16" border="0" height="222" src="http://lh5.ggpht.com/-yGqIxyc-Gzw/T0KdYLeyrKI/AAAAAAAAAMo/bmcnzXz4biA/16_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="16" width="474" /&gt;&lt;/a&gt; Select “No” and press “F2”.&lt;br /&gt;
17- Confirm Kerberos Security Information &lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-4ItTXa9zE14/T0KdY4lqmmI/AAAAAAAAAMw/e0YIUP8AJdU/s1600-h/175.gif"&gt;&lt;img alt="17" border="0" height="231" src="http://lh3.ggpht.com/-aZLMd6mOYK4/T0KdZ5KZ3GI/AAAAAAAAAM4/kyt3eZB_6Jc/17_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="17" width="478" /&gt;&lt;/a&gt;&lt;br /&gt;
Press “F2”&lt;br /&gt;
18- Provide Name service Information&lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-LMpUp8ZiH7I/T0KdapEcEOI/AAAAAAAAANA/JhCEJXI8vyo/s1600-h/184.gif"&gt;&lt;img alt="18" border="0" height="214" src="http://lh6.ggpht.com/-azd4xFH-oIs/T0KdbrXthrI/AAAAAAAAANI/f5uB5OSFuaA/18_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="18" width="472" /&gt;&lt;/a&gt;&lt;br /&gt;
Select “None” and Press “F2”.&lt;br /&gt;
19- Confirm Name service information &lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-4CDEldXSd6k/T0KdcUVbqMI/AAAAAAAAANQ/jG-iwYjII4s/s1600-h/194.gif"&gt;&lt;img alt="19" border="0" height="219" src="http://lh3.ggpht.com/-pub45yUOIRs/T0KddWY_hDI/AAAAAAAAANY/mRfanobAxTc/19_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="19" width="460" /&gt;&lt;/a&gt;&lt;br /&gt;
Press “F2”&lt;br /&gt;
20- Specify NFSv4 Domain Configuration &lt;br /&gt;
&amp;nbsp;&lt;a href="http://lh4.ggpht.com/-HaiHqgIA2fo/T0KdeZToarI/AAAAAAAAANg/FdZciqkTNLM/s1600-h/204.gif"&gt;&lt;img alt="20" border="0" height="215" src="http://lh6.ggpht.com/-auSnTe1pXc8/T0Kdfr3ZKtI/AAAAAAAAANo/t3TLJPweQok/20_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="20" width="446" /&gt;&lt;/a&gt;&lt;br /&gt;
Select “Use the NFSV4 domain derived by the system” and press “F2”.&lt;br /&gt;
21- Confirm Information for NFSV4 Domain.&lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-DGja2UnO5vc/T0KdgdUxv-I/AAAAAAAAANw/R6JeNEhsKjs/s1600-h/214.gif"&gt;&lt;img alt="21" border="0" height="234" src="http://lh3.ggpht.com/-NT09l9sprnc/T0KdhNOA-hI/AAAAAAAAAN4/VXyeItjT4TU/21_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="21" width="448" /&gt;&lt;/a&gt;&lt;br /&gt;
Press “F2”.&lt;br /&gt;
22- Specify Time Zone&lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-Uk5qxSz3mU8/T0KdiEt9MKI/AAAAAAAAAOA/R0JZxcApEik/s1600-h/225.gif"&gt;&lt;img alt="22" border="0" height="233" src="http://lh4.ggpht.com/-dsq349lik9E/T0KdjKAJpcI/AAAAAAAAAOI/7eP3CspIEWI/22_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="22" width="438" /&gt;&lt;/a&gt;&lt;br /&gt;
select your Time zone and press “F2”.&lt;br /&gt;
23- Select your country &lt;br /&gt;
&lt;a href="http://lh6.ggpht.com/-rrU2WlbN9wc/T0KdkHEPmFI/AAAAAAAAAOQ/l5TQaXwZsD0/s1600-h/234.gif"&gt;&lt;img alt="23" border="0" height="189" src="http://lh4.ggpht.com/-tNfZNClwGOU/T0KdlCzlUYI/AAAAAAAAAOY/vcAT6PkDO4g/23_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="23" width="439" /&gt;&lt;/a&gt;&lt;br /&gt;
select your country and press “F2”.&lt;br /&gt;
24- The root password for the System.&lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-jbODhluHpsM/T0KdmNSJJsI/AAAAAAAAAOg/ZRd1Hf66ntI/s1600-h/244.gif"&gt;&lt;img alt="24" border="0" height="194" src="http://lh6.ggpht.com/-juJXpRPiu6o/T0KdnTj-TdI/AAAAAAAAAOo/L21Mx7dEhmo/24_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="24" width="442" /&gt;&lt;/a&gt;&lt;br /&gt;
type the password twice and press “F2”.&lt;br /&gt;
25- Enabling Remote Services &lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-8mrNVwgXakU/T0KdoG-9RiI/AAAAAAAAAOw/NtM2PC4GQzU/s1600-h/255.gif"&gt;&lt;img alt="25" border="0" height="230" src="http://lh4.ggpht.com/-ihN14fPOG8M/T0KdpGq9LSI/AAAAAAAAAO4/tvcsA4XRXcI/25_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="25" width="448" /&gt;&lt;/a&gt;&lt;br /&gt;
Select “yes” then press “F2”.&lt;br /&gt;
26- Provide Solaris Auto Registration Info &lt;br /&gt;
&amp;nbsp;&lt;a href="http://lh5.ggpht.com/-lL8M6v-Iiyo/T0Kdp1gDEII/AAAAAAAAAPA/hDzyPn2mJvM/s1600-h/264.gif"&gt;&lt;img alt="26" border="0" height="208" src="http://lh4.ggpht.com/-Wk5A3PmPmZk/T0KdqsfbsxI/AAAAAAAAAPI/7oqguGGeyFw/26_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="26" width="428" /&gt;&lt;/a&gt;&lt;br /&gt;
Deselect “ I would like to register … etc.” then press “F2” for this and next screen.&lt;br /&gt;
27- On the following screens you will be asked for Software Installation, File system type and Disk layout.&lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-ONSwACY6grE/T0KdsNae__I/AAAAAAAAAPQ/edgPmZBf5_w/s1600-h/274.gif"&gt;&lt;img alt="27" border="0" height="219" src="http://lh3.ggpht.com/-_g7oZZClF-E/T0KduAqg2JI/AAAAAAAAAPY/zIWqOBJ89Tw/27_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="27" width="422" /&gt;&lt;/a&gt;&lt;br /&gt;
Press “F2”.&lt;br /&gt;
28- Eject CD/DVD automatically.&lt;br /&gt;
&amp;nbsp;&lt;a href="http://lh6.ggpht.com/-w_kNrtNz52I/T0Kdv_bICmI/AAAAAAAAAPg/pVOO6Wx7gbA/s1600-h/295.gif"&gt;&lt;img alt="29" border="0" height="221" src="http://lh5.ggpht.com/-HVe_kIYHy0Q/T0KdyNSO7CI/AAAAAAAAAPo/zZPAXW8YE-c/29_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="29" width="419" /&gt;&lt;/a&gt;&lt;br /&gt;
Select “Automatically eject CD/DVD” then press “F2”.&lt;br /&gt;
29- Reboot After Installation &lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-lgMU6b3rK2Y/T0KdzEJG0RI/AAAAAAAAAPw/pTixKtbki_o/s1600-h/304.gif"&gt;&lt;img alt="30" border="0" height="206" src="http://lh4.ggpht.com/-EoEty2wBZ9g/T0Kd0r_vKGI/AAAAAAAAAP4/oFkEc7_5CY8/30_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="30" width="420" /&gt;&lt;/a&gt;&lt;br /&gt;
Select “Auto Reboot” and press “F2” for this and for the next screen.&lt;br /&gt;
30- Accept License by pressing “F2”.&lt;br /&gt;
31- Select Geographic regions &lt;br /&gt;
&amp;nbsp; &lt;a href="http://lh6.ggpht.com/-HHQbSR49R2Q/T0Kd1lV9DRI/AAAAAAAAAQA/WOBXCoQh12U/s1600-h/315.gif"&gt;&lt;img alt="31" border="0" height="180" src="http://lh4.ggpht.com/-b7C7j_5NMXU/T0Kd25qqerI/AAAAAAAAAQI/bKkBSna8qm4/31_thumb3.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="31" width="427" /&gt;&lt;/a&gt;&lt;br /&gt;
Select your Geographic regions and press “F2” for this screen and the next.&lt;br /&gt;
32- Additional Products :- &lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-Z46xz5Dz70g/T0Kd4fLUoRI/AAAAAAAAAQQ/lk_KChYY8tE/s1600-h/324.gif"&gt;&lt;img alt="32" border="0" height="210" src="http://lh4.ggpht.com/-2yyZh0_S988/T0Kd5hXnUDI/AAAAAAAAAQY/Hu20Qf4BKoI/32_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="32" width="420" /&gt;&lt;/a&gt;&lt;br /&gt;
Select “None” then press “F2”.&lt;br /&gt;
33- Chose File system Type &lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-Qgq2ol8eRbs/T0Kd6Sw0qsI/AAAAAAAAAQg/-rfGHTWchO4/s1600-h/339.gif"&gt;&lt;img alt="33" border="0" height="216" src="http://lh3.ggpht.com/-PWRnSW_UJvM/T0Kd7TJPWSI/AAAAAAAAAQo/dvYDa9a-jeE/33_thumb5.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="33" width="404" /&gt;&lt;/a&gt;&lt;br /&gt;
I recommend you to select “ZFS”, then press “F2”.&lt;br /&gt;
34- Select Software &lt;br /&gt;
&lt;a href="http://lh6.ggpht.com/-IWrh1jfbqSA/T0Kd8LZDJ0I/AAAAAAAAAQw/gml08CDt0hU/s1600-h/344.gif"&gt;&lt;img alt="34" border="0" height="232" src="http://lh6.ggpht.com/-JyUYCHR3wZI/T0Kd8xzov0I/AAAAAAAAAQ4/WeEx3lGyHb0/34_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="34" width="432" /&gt;&lt;/a&gt;&lt;br /&gt;
Select “Entire Distribution” then press “F2”&lt;br /&gt;
35- Select Disks&lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-3b6pjTeBqQI/T0Kd97-yNEI/AAAAAAAAARA/fYwwXNUjqe8/s1600-h/354.gif"&gt;&lt;img alt="35" border="0" height="208" src="http://lh3.ggpht.com/-JAPA6GJr8EU/T0Kd_9TB0wI/AAAAAAAAARI/2icrxABBCfc/35_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="35" width="429" /&gt;&lt;/a&gt;&lt;br /&gt;
Press “F2”.&lt;br /&gt;
36- Configure ZFS Settings &lt;br /&gt;
&lt;a href="http://lh6.ggpht.com/-YtBPOcDKIWQ/T0KeAkM1inI/AAAAAAAAARQ/Q3W590E7yjA/s1600-h/364.gif"&gt;&lt;img alt="36" border="0" height="214" src="http://lh3.ggpht.com/-wirHoc3ZA6I/T0KeBhJeH2I/AAAAAAAAARY/4xOQr-fn8RA/36_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="36" width="439" /&gt;&lt;/a&gt;&lt;br /&gt;
Press “F2” for this and next screen.&lt;br /&gt;
37- the Solaris Initial Install Start &lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-euUaDZ0xX8c/T0KeCTvRRHI/AAAAAAAAARg/SBRgJpeGcCc/s1600-h/374.gif"&gt;&lt;img alt="37" border="0" height="190" src="http://lh5.ggpht.com/-CU_ua8pywho/T0KeFrPomPI/AAAAAAAAARo/3B2tqMaUuRM/37_thumb2.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="37" width="434" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-9116750854080862207?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/9116750854080862207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2012/02/getting-started-by-creating-virtual-lab_20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/9116750854080862207?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/9116750854080862207?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2012/02/getting-started-by-creating-virtual-lab_20.html' title='Getting Started by creating Virtual Lab ( Part 2)'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/-bPsK4QwIWSo/T0Kcf4g3M5I/AAAAAAAAAHo/mM2fQ3RgVDw/s72-c/1-1_thumb%25255B3%25255D.gif?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D0AAQ3k6eCp7ImA9WhRaF0o.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-4660601610781635888</id><published>2012-02-19T11:11:00.001-08:00</published><updated>2012-02-20T14:09:02.710-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-20T14:09:02.710-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='other'/><title>Getting Started by creating Virtual Lab</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="csharpcode-wrapper" id="codeSnippetWrapper"&gt;
&lt;div class="csharpcode" id="codeSnippet"&gt;
&lt;div class="csharpcode-wrapper" id="codeSnippetWrapper"&gt;
&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
This tutorial contains information in order to help you create a virtual Lab on your pc so you can use and practice “inside-Solaris”&amp;nbsp; tutorials.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://inside-solaris.blogspot.com/2012/02/getting-started-by-creating-virtual-lab.html" target="_blank"&gt;Getting Started by creating Virtual Lab ( Part 1)&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;a href="http://inside-solaris.blogspot.com/2012/02/getting-started-by-creating-virtual-lab_20.html" target="_blank"&gt;Getting Started by creating Virtual Lab ( Part 2)&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;Getting Started by creating Virtual Lab ( Part 3)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="csharpcode-wrapper" id="codeSnippetWrapper"&gt;
&lt;div class="csharpcode" id="codeSnippet"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="csharpcode" id="codeSnippet"&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
- Download Oracle Virtual Box software &lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;a href="https://www.virtualbox.org/wiki/Downloads" target="_blank"&gt;Download&lt;/a&gt;&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;span style="color: #a5a5a5;"&gt;“ VirtualBox is a&amp;nbsp; free virtualization product for enterprise as well as home use” &lt;/span&gt;&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
- Download Putty &lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank"&gt;Download&lt;/a&gt;&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;span style="color: #666666;"&gt;“ Putty is a free Telnet and SSH client”&lt;/span&gt;&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
- Download Solaris 10&amp;nbsp; \ Download Solaris 11 Text Install&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://www.oracle.com/technetwork/server-storage/solaris10/downloads/index.html" target="_blank"&gt;Download&lt;/a&gt;&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;a href="http://www.oracle.com/technetwork/server-storage/solaris11/downloads/index.html" target="_blank"&gt;Download&lt;/a&gt;&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;span style="color: #666666;"&gt;“ Solaris Operating System”&lt;/span&gt;&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;span style="color: #a5a5a5;"&gt;Note :- Solaris 11 Text Install doesn't have GUI desktop, use “&lt;strong&gt;pkg install slim_install&lt;/strong&gt; “ command to install GUI Desktop.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #a5a5a5;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
1- Install VirtualBox (virtualization product ) on your pc, it's easy and straight&amp;nbsp; &lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
2- from your Desktop run Oracle VM VirtualBox you will see the following screen &lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;a href="http://lh5.ggpht.com/-cx4ecRjFu1g/T0FJHeVqCNI/AAAAAAAAAFQ/G0YIyho0DUI/s1600-h/1%25255B4%25255D.gif"&gt;&lt;img alt="1" border="0" height="204" src="http://lh4.ggpht.com/-2nOcMqy_yoo/T0FJJDtWVDI/AAAAAAAAAFY/TKwQEeuh6dE/1_thumb%25255B2%25255D.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="1" width="491" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;/div&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;/div&gt;
&lt;/div&gt;
3- Click on New Button, you will see the following &lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-4FAS77CatBE/T0FJKI5RfuI/AAAAAAAAAFg/O2TBc2w1-gQ/s1600-h/2%25255B4%25255D.gif"&gt;&lt;img alt="2" border="0" height="239" src="http://lh4.ggpht.com/-JhUDpU5WSaE/T0FJMBVW0kI/AAAAAAAAAFo/XI1nuhJOHJ8/2_thumb%25255B2%25255D.gif?imgmax=800" style="background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="2" width="489" /&gt;&lt;/a&gt;&lt;br /&gt;
4- Click Next, and type the name of the Virtual machine you want , and select the operating System which is Solaris . &lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-3heF1DTqEJY/T0FJNt65hDI/AAAAAAAAAFw/Dv1r_5v1ibU/s1600-h/3%25255B5%25255D.gif"&gt;&lt;img alt="3" border="0" height="257" src="http://lh3.ggpht.com/-7djnSBEUEdM/T0FJOyv2LfI/AAAAAAAAAF4/UnbjGoEUgPw/3_thumb%25255B3%25255D.gif?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="3" width="492" /&gt;&lt;/a&gt; 5- Click Next &lt;br /&gt;
6- Select the amount of memory &lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-zcGi_-JPWk4/T0FJQjNArAI/AAAAAAAAAGA/vKxTrByh-F8/s1600-h/4%25255B5%25255D.gif"&gt;&lt;img alt="4" border="0" height="238" src="http://lh5.ggpht.com/-netpJObyh6g/T0FJRoFZi4I/AAAAAAAAAGI/HiLF4VedI4Q/4_thumb%25255B3%25255D.gif?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="4" width="500" /&gt;&lt;/a&gt;&lt;br /&gt;
7- Click Next&lt;br /&gt;
8- Select Create New hard disk as the follow picture &lt;br /&gt;
&lt;a href="http://lh6.ggpht.com/-5Ub719cm5yI/T0FJTDtkURI/AAAAAAAAAGQ/IaALmfnPZZ4/s1600-h/5%25255B4%25255D.gif"&gt;&lt;img alt="5" border="0" height="221" src="http://lh6.ggpht.com/-ic2iGMfkxcM/T0FJVCRYVaI/AAAAAAAAAGY/ajnG4Enj88U/5_thumb%25255B2%25255D.gif?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="5" width="484" /&gt;&lt;/a&gt;&lt;br /&gt;
9- Click Next, and select VDI ( Virtual Disk Image )&amp;nbsp; &lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-mEorsnqpA_g/T0FJWEW5tdI/AAAAAAAAAGg/rb0lmZ5XB00/s1600-h/6%25255B4%25255D.gif"&gt;&lt;img alt="6" border="0" height="204" src="http://lh3.ggpht.com/-pMCoRokBhM0/T0FJYV4I3mI/AAAAAAAAAGo/-kUpwbhDAgg/6_thumb%25255B2%25255D.gif?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="6" width="478" /&gt;&lt;/a&gt;&lt;br /&gt;
10- Click Next, Select Dynamically allocated&amp;nbsp; &lt;br /&gt;
&lt;a href="http://lh4.ggpht.com/-uhShhUHhsEs/T0FJZpLUiqI/AAAAAAAAAGw/EzivtQAaEpA/s1600-h/7%25255B4%25255D.gif"&gt;&lt;img alt="7" border="0" height="213" src="http://lh3.ggpht.com/-PXkYd6FOb0M/T0FJb_kaSmI/AAAAAAAAAG4/opkQkOe_coU/7_thumb%25255B2%25255D.gif?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="7" width="486" /&gt;&lt;/a&gt;&lt;br /&gt;
11- Click Next, Select the location you want to store the VDI also select the amount of disk space for new Virtual machine.&lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-hHdMyh606UU/T0FJdDEta_I/AAAAAAAAAHA/VNLTEP2rfos/s1600-h/8%25255B4%25255D.gif"&gt;&lt;img alt="8" border="0" height="209" src="http://lh3.ggpht.com/-l0M2fs0qsGM/T0FJewv6D9I/AAAAAAAAAHI/VPajczOmQ3Q/8_thumb%25255B2%25255D.gif?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin: 0px auto 4px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="8" width="482" /&gt;&lt;/a&gt;&lt;br /&gt;
12- Click Next, then Click Create.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;blockquote&gt;
Next&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://inside-solaris.blogspot.com/2012/02/getting-started-by-creating-virtual-lab_20.html" target="_blank"&gt;Getting Started by creating Virtual Lab ( Part 2)&lt;/a&gt;&lt;/blockquote&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-4660601610781635888?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/4660601610781635888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2012/02/getting-started-by-creating-virtual-lab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/4660601610781635888?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/4660601610781635888?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2012/02/getting-started-by-creating-virtual-lab.html' title='Getting Started by creating Virtual Lab'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-2nOcMqy_yoo/T0FJJDtWVDI/AAAAAAAAAFY/TKwQEeuh6dE/s72-c/1_thumb%25255B2%25255D.gif?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D0IMRnc-fyp7ImA9WhRWGUQ.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-1353834944769847721</id><published>2011-12-05T22:59:00.001-08:00</published><updated>2012-01-07T20:06:27.957-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-01-07T20:06:27.957-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Solaris OS'/><title>AutoFS theoretical concepts</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b&gt;AutoFs &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Introduction &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
The AutoFS facility provide a method to mount remote directory automatically whithout needing to use mount or umount command, when a user or application access an NFS (shared) file system, the mount is established, when the file system is no longer needed or has not been accessed for&amp;nbsp; certain time period, the file system is automatically unmounted.&lt;/div&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;Note :- This tutorial explains the theoretical concepts of some AutoFS features, if you want to skip it and go to practical tutorial go to AutoFS Practical&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
Tutorial Prerequisites&lt;/div&gt;
NFS file system&lt;br /&gt;
Lab Preparation&lt;br /&gt;
----------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
Tutorial contents &lt;/div&gt;
AutoFS theoretical concepts&lt;br /&gt;
AutoFS Practical&lt;br /&gt;
&amp;nbsp;---------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Let's assume that we have two nodes (Server1 and client1), on server1 there is a directory we want to share it (/tmp_share), and we want to access the directory from client1, in this case we have two option :- &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;u&gt;Option 1&lt;/u&gt; : use traditional NFS by sharing the directory (/tmp_share) on server1 then create mount point on client1 and use mount command.&lt;/div&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;u&gt;Option 2&lt;/u&gt; : use AutoFS by sharing the directory (/tmp_share) on server1 then configure AutoFs on client 1 to access the (/tmp_share) without using mount command.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;Advantages of AutoFS :&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
➊&amp;nbsp; Because shares are only mounted when they are accessed, system boot time is faster.&lt;br /&gt;
➋ The system doesn't have to wait for each NFS server to respond and the mount to succeed.&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
➌ it is more secure. Users on the client systems must know what directory is configured to mount the share before changing into that directory to force the mount.&lt;/div&gt;
➍ users can browse the contents of the shared directory if they have permission.&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;AutoFs features : &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
➊ AutoFs is client side service, when we want to use AtuoFs we configure some files on client side.&lt;br /&gt;
➋ AutoFs Mount and unmount file systems on demand and automatically. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;AutoFs Configuration :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
AutoFs is initialized by automount (automountd daemon) which is run at boot time. there are three configuration files for AutoFs called AutoFS maps &lt;/div&gt;
➊ Master map &lt;br /&gt;
➋ Direct Map &lt;br /&gt;
➌ Indirect Map&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
these files contain information about the local mount point and remote shared directory, Now if a request is made to access remote shared directory the system goes through the following steps :&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
➊ AutoFS intercepts the request. &lt;br /&gt;
➋ AutoFS sends a message to the automountd daemon for the requested file system to be mounted.&lt;br /&gt;
➌ automountd locates the file system information in a map and performs the mount.&lt;br /&gt;
➍ AutoFS allows the intercepted request to proceed.&lt;br /&gt;
➎ AutoFS unmounts the file system after a period of inactivity. &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;AutoFS Maps&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Master Maps&lt;/u&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
at start up the automount command reads the master map (/etc/auto_master),&amp;nbsp; this map tells about other maps and mount points.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
ِِِAt the command prompt type :- &lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# more /etc/auto_master   &lt;/code&gt;&lt;/pre&gt;
&amp;nbsp; &lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;#  
 # Copyright 2003 Sun Microsystems, Inc. All rights reserved.  
 # Use is subject to license terms.  
 #  
 # ident "@(#)auto_master    1.8   03/04/28 SMI"  
 #  
 # Master map for automounter  
 #  
 +auto_master  
 /net      -hosts     -nosuid,nobrowse  
 /home      auto_home    -nobrowse  
 /-       auto_direct   -ro  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&amp;nbsp;The /etc/master_map has the following syntax :&lt;br /&gt;
&amp;lt;mount-point&amp;gt;&amp;nbsp; &amp;lt;map-name&amp;gt; &amp;nbsp; &amp;lt;mount-options&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;lt;mount-point&amp;gt;&lt;/strong&gt; The full&amp;nbsp; pathname of a directory that is used as the mount point.&lt;br /&gt;
&lt;strong&gt;&amp;lt;map-name&amp;gt;&lt;/strong&gt; The map that&amp;nbsp;used to find directions to locations or mount information.&lt;br /&gt;
&lt;br /&gt;
The first line in /etc/master_map&amp;nbsp; :&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; +auto_master&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
this file directs the automountd daemon to look at the NIS, NIS+, or LDAP databases before it reads the rest of the map. If this line is commented out, only the local files are searched unless the /etc/nsswitch.conf file specifies that NIS, NIS+, or LDAP should be searched. &lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
The second line in /etc/master_map :&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; /net      -hosts     -nosuid,nobrowse&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
let us explain this line by example, assume you have an NFS server called server1 that has /share_directory directory shared, from you machine if you type &lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# cd /net/server1 or bash-3.00# cd /net/10.109.9.15  &lt;/code&gt;&lt;/pre&gt;
&amp;nbsp;where 10.109.9.15 is the ip address of server1.&lt;br /&gt;
&amp;nbsp;then type :&amp;nbsp; &lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# ls    &lt;/code&gt;&lt;/pre&gt;
the output will be :-&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; share_directory&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
that means you can access any shared directory in remote machine through the following command :-&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# cd /net/remote_machine_(name or IP)&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
Note :- if you want to use the remote machine name instead of IP address add the remote host name and its IP address in the /etc/hosts file.&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
When you specified /net with a hostname (server1), automountd looked at the map file—in this case, /etc/hosts—and found server1 and its IP address. It then went to server1, found the /share_directory file system, and created a local mount point for /net/server1/share_directory .&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
the third line in /etc/auto_master&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; /home      auto_home    -nobrowse&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
This map provides the mechanism to allow users to access their centrally located $HOME directories, i will explain it later in Lab Preparation .&lt;br /&gt;
&lt;br /&gt;
4th line in /etc/auto_master&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; /-       auto_direct   -ro  &lt;/code&gt;&lt;/pre&gt;
represent direct map.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Direct Map &lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Lists the mount points as absolute (Full) path names. This map explicitly indicates the mount point on the client, let us say that you have an NFS servers server1,server2,server3 and in each server there is a shared directory directory1, directory2,directory3 and we want to make these shared directories available from client1. &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
at client1 command prompt type :- &lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# vi /etc/auto_direct   &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
add the following line to the file :- &lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;/home/directory1   -ro,soft server1:/directory1  
 /home/directory2  -ro,soft server2:/directory2  
 /home/directory3  -ro,soft server3:/directory3  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
where :&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
➟&amp;nbsp; /home/dierctory1,/home/directory2,/home/directory3 are directories created on client1 to act as mount points.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
➟ -ro,soft :- ro refers to read only, soft This option returns an error if the server does not respond&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
➟ server1:/directory1,server2:/directory2,server3:/directory3 are remote hosts and remote shared directories&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
to access server1:/directory1&amp;nbsp; type cd /home/directory1&lt;br /&gt;
to access server2:/directory2&amp;nbsp; type cd /home/directory2&lt;br /&gt;
to access server3:/directory3&amp;nbsp; type cd /home/directory3&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Indirect Maps&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;Lists the mount points as relative path names. This map uses a relative path to establish the mount point on the client, Indirect map specifies the main mount point and the name of the map in /etc/auto_master, &lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Example:- create an entry in the /etc/auto_master file by adding the following line (/share&amp;nbsp;&amp;nbsp; /etc/auto_share).&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# vi /etc/auto_master&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;"/etc/auto_master" 12 lines, 268 characters   
 #  
 # Copyright 2003 Sun Microsystems, Inc. All rights reserved.  
 # Use is subject to license terms.  
 #  
 # ident "@(#)auto_master    1.8   03/04/28 SMI"  
 #  
 # Master map for automounter  
 #  
 +auto_master  
 /net      -hosts     -nosuid,nobrowse  
 /home      auto_home    -nobrowse  
 /-       auto_direct   -ro  
&lt;span style="color: red;"&gt; /share     /etc/auto_share&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
where :-&lt;br /&gt;
➟&amp;nbsp; /share is the name of the local mount point.&lt;br /&gt;
➟&amp;nbsp; /etc/auto_share is the name of the indirect map.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
create the in direct map ( /etc/auto_share ) and add&amp;nbsp;the following line&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
"directory &amp;nbsp;&amp;nbsp; server1:/share/directory"&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi /etc/auto_share&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; directory  server1:/share/directory&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&amp;nbsp;create the directory called "directory" in /share.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
to access the remote directory&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# cd /share/directory  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Note :- When making changes to the master map or creating a direct map, run the automount command to make the changes effective.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
Resources :- &lt;br /&gt;
➊ ExamPrep Solaris 10 by Bill Calkins&lt;br /&gt;
➋ Advanced System Administration for the Solaris™ 10 by SUN Microsystems&lt;br /&gt;
➌ Oracle Documentation&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-1353834944769847721?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/1353834944769847721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/12/autofs-theoretical-concepts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/1353834944769847721?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/1353834944769847721?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/12/autofs-theoretical-concepts.html' title='AutoFS theoretical concepts'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;DEEBQnY_fyp7ImA9WhRQEU0.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-4677258219174416683</id><published>2011-12-04T05:17:00.001-08:00</published><updated>2011-12-05T09:37:33.847-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-12-05T09:37:33.847-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Solaris OS'/><title>Solaris Logs (Events)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Solaris System Logs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
system logs are files contain events that are recorded by the operating system, system logs contain information about errors, warnning, device changes, events, hardware errors and more.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
solaris system logs are managed by syslog facility, at the command prompt type :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: url(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# ps -ef | grep -i syslog &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; root 527 1 0 08:47:48 ? 0:26 /usr/sbin/syslogd &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
you can notice that syslog facility is running with PID of 527.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;How syslog works ?&lt;/b&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
in solaris system a message is generated by kernal, daemon, application, user ... etc, syslog send this message to the syslogd daemon, syslogd daemon runs the m4 macro processor, the m4 macro processor reads the /etc/syslog.conf and process any m4 statments in the input, and passes the output to the syslogd daemon, the syslogd daemon uses the information output by the m4 processor to route messages (logs) to the appropriate places.&lt;/div&gt;
&lt;div&gt;
the main configuration file is /etc/syslog.conf.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Where syslog store log ?&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-size: small;"&gt;➊&lt;/span&gt; remote host&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-size: small;"&gt;➋&lt;/span&gt; local file&lt;/div&gt;
&lt;div&gt;
➌ console&lt;/div&gt;
&lt;div&gt;
➍ specific users :- display a message (Event) to the user.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Syslog configuration&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
A configuration entry in the /etc/syslog.conf file consists of two separated fields : &lt;u&gt;selector&lt;/u&gt; and &lt;u&gt;action&lt;/u&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;u&gt;selector&lt;/u&gt; field has two components : &lt;u&gt;facility&lt;/u&gt; and &lt;u&gt;level&lt;/u&gt; writen as &lt;u&gt;facility.level&lt;/u&gt;, where &lt;u&gt;facility&lt;/u&gt; represents the process that can generate the message, &lt;u&gt;level&lt;/u&gt; represents the priority and the category of the message, for example "kern.err" where kern represent the facility ant it indicates that Messages generated by the kernel, "err" represents the priority of the message.&lt;/div&gt;
&lt;div&gt;
the follwoing are facilities options in solaris :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;title&gt;&lt;/title&gt;  &lt;style type="text/css"&gt;
 &lt;!-- @page { margin: 0.79in } TD P { margin-bottom: 0in } P { margin-bottom: 0.08in } --&gt; 
&lt;/style&gt; &lt;br /&gt;
&lt;table cellpadding="4" cellspacing="0" style="width: 451px;"&gt;&lt;colgroup&gt;&lt;col width="81"&gt;&lt;/col&gt; &lt;col width="352"&gt;&lt;/col&gt; &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr valign="TOP"&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: 1px solid #000000; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0.04in;" width="81"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Field&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td style="border: 1px solid #000000; padding: 0.04in;" width="352"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr valign="TOP"&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="81"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;kern&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="352"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Messages generated by the kernel.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr valign="TOP"&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="81"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;user&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="352"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Messages generated by user processes.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr valign="TOP"&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="81"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;mail&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="352"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;The mail system&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr valign="TOP"&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="81"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;daemon&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="352"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;System daemons, such as the in.ftpd and the telnetd daemons.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr valign="TOP"&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="81"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;auth&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="352"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;The authorization system, including the login, su,and ttymon commands.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr valign="TOP"&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="81"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;syslog&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="352"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Messages generated internally by the syslogd daemon.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr valign="TOP"&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="81"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;lpr&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="352"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;The line printer spooling system&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr valign="TOP"&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="81"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;cron&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="352"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;The cron and at facilities, including crontab, at, and cron.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;tr valign="TOP"&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="81"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="352"&gt;&lt;div style="font-style: normal; font-weight: normal; orphans: 2; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;All facilities, except the mark facility.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
the follwoing are levels options in solaris :-&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
&lt;title&gt;&lt;/title&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;style type="text/css"&gt;
 &lt;!--
  @page { margin: 0.79in }
  TD P { margin-bottom: 0in }
  P { margin-bottom: 0.08in }
  A:link { so-language: zxx }
 --&gt;
 
&lt;/style&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding="4" cellspacing="0" style="width: 451px;"&gt; &lt;colgroup&gt;&lt;col width="70"&gt;&lt;/col&gt;
 &lt;col width="60"&gt;&lt;/col&gt;
 &lt;col width="295"&gt;&lt;/col&gt;
 &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr valign="TOP"&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: 1px solid #000000; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0.04in;" width="70"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Level&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: 1px solid #000000; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0.04in;" width="60"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Priority&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border: 1px solid #000000; padding: 0.04in;" width="295"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign="TOP"&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="70"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;emerg&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="60"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; padding: 0in;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="295"&gt;&lt;br /&gt;
&lt;div align="JUSTIFY" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Panic conditions that are&lt;br /&gt;
   normally broadcast to all users&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign="TOP"&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="70"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;alert&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="60"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; padding: 0in;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="295"&gt;&lt;br /&gt;
&lt;div align="JUSTIFY" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Conditions that should be&lt;br /&gt;
   corrected immediately,such as a corrupted system database&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign="TOP"&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="70"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;crit&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="60"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; padding: 0in;"&gt;
2&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="295"&gt;&lt;br /&gt;
&lt;div align="JUSTIFY" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Warnings about critical&lt;br /&gt;
   conditions, such as hard device errors&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign="TOP"&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="70"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;err&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="60"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; padding: 0in;"&gt;
3&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="295"&gt;&lt;br /&gt;
&lt;div align="JUSTIFY" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Errors other than hard&lt;br /&gt;
   device errors&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign="TOP"&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="70"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;warning&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="60"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; padding: 0in;"&gt;
4&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="295"&gt;&lt;br /&gt;
&lt;div align="JUSTIFY" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Warning messages&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign="TOP"&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="70"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;notice&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="60"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; padding: 0in;"&gt;
5&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="295"&gt;&lt;br /&gt;
&lt;div align="JUSTIFY" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Non-error conditions that&lt;br /&gt;
   might require special handling&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign="TOP"&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="70"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;info&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="60"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; padding: 0in;"&gt;
6&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="295"&gt;&lt;br /&gt;
&lt;div align="JUSTIFY" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Informational messages&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign="TOP"&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="70"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;debug&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="60"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; padding: 0in;"&gt;
7&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="295"&gt;&lt;br /&gt;
&lt;div align="JUSTIFY" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Messages that are&lt;br /&gt;
   normally used only when debugging a program&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr valign="TOP"&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="70"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;none&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0in; padding-top: 0in;" width="60"&gt;&lt;br /&gt;
&lt;div align="CENTER" style="border: none; padding: 0in;"&gt;
8&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: none; padding-bottom: 0.04in; padding-left: 0.04in; padding-right: 0.04in; padding-top: 0in;" width="295"&gt;&lt;br /&gt;
&lt;div align="JUSTIFY" style="border: none; font-style: normal; font-weight: normal; orphans: 2; padding: 0in; widows: 2;"&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: Times;"&gt;Messages are not sent&lt;br /&gt;
   from the indicated facility to the selected file&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
again, the general form for syslog confiuration is :- &amp;nbsp;selector &amp;nbsp;action &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
where selector form is :- &lt;b&gt;facility.level&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;u&gt;action&lt;/u&gt; field defiens where forward the message,this field can have one of the following fields :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
/pathname ➡&amp;nbsp; &amp;nbsp; Full path name to the targeted file.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
@host&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; ➡ &lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; The @ sign denotes that messages must be forwarded to a remote host. Messages are forwarded to the syslogd daemon on the remote host.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
user_name ➡ &amp;nbsp;&amp;nbsp; The user user_name &amp;nbsp;receives messages if they are logged in.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
* &lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; ➡ &amp;nbsp;&amp;nbsp; All logged in users receive messages.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Example :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
we want to forward all messages of daemon facility and notice level to server3 remote host.&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# vi /etc/syslog.conf  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; ident "@(#)syslog.conf    1.5   98/12/14 SMI"  /* SunOS 5.0 */  
 #  
 # Copyright (c) 1991-1998 by Sun Microsystems, Inc.  
 # All rights reserved.  
 #  
 # syslog configuration file.  
 #  
 # This file is processed by m4 so be careful to quote (`') names  
 # that match m4 reserved words. Also, within ifdef's, arguments  
 # containing commas must be quoted.  
 #  
 *.err;kern.notice;auth.notice          /dev/sysmsg  
 *.err;kern.debug;daemon.notice;mail.crit    /var/adm/messages  
 *.alert;kern.err;daemon.err           operator  
 *.alert                     root  
 *.emerg                     *  
 &lt;span style="color: red;"&gt;daemon.notice               @server3  &lt;/span&gt;
 # if a non-loghost machine chooses to have authentication messages  
 # sent to the loghost machine, un-comment out the following line:  &lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&amp;nbsp;add the line with red color.&lt;br /&gt;
↪ Add server3 ip address to the /etc/hosts file.&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# vi /etc/hosts  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;# Internet host table  
 #  
 ::1   localhost  
 127.0.0.1    localhost  
 10.109.9.251  solaris1    loghost  
&lt;span style="color: red;"&gt; 10.109.9.15 server3  &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
now any messages of daemon facility and notice level will be founded at server3 in /var/adm/messages.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-4677258219174416683?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/4677258219174416683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/12/solaris-logs-events.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/4677258219174416683?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/4677258219174416683?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/12/solaris-logs-events.html' title='Solaris Logs (Events)'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;DEEBRnw_fyp7ImA9WhRREk8.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-855355380085858187</id><published>2011-11-21T05:23:00.001-08:00</published><updated>2011-11-25T05:10:57.247-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-25T05:10:57.247-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Solaris Zones'/><title>Solaris Zone part four ( Zone Configuration )</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: red; font-size: medium;"&gt;&lt;b&gt;Solaris Zone part four ( Zone Configuration )&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
In this tutorial we will learn how to configure some Solaris zone configuration&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-1.html"&gt;Solaris Zone Part 1 ( Concepts and theory )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/part-2-solaris-zones-lab-creating.html"&gt;Solaris Zone Part 2 ( Sparse Solaris zone )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-3-whole-solaris-zone.html"&gt;Solaris Zone Part 3 ( whole Solaris zone )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-four-zone.html"&gt;Solaris Zone part 4&amp;nbsp; ( Zone Configuration )&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;➊&lt;/b&gt; change solaris zone IP address&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;↬&lt;/b&gt; From global zone at the command prompt type :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; select net address=10.109.9.211&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt; zonecfg:zone1:net&amp;gt; set address=10.109.9.212 &lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:net&amp;gt; end &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:net&amp;gt; endzonecfg:zone1&amp;gt; verify &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; commit &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; exit &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;↬&amp;nbsp;&lt;/b&gt;reboot the zone&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zoneadm -z zone1 reboot &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;↬&amp;nbsp;&lt;/b&gt;where :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
- zone1 is the name of the zone&lt;/div&gt;
&lt;div&gt;
- 10.109.9.211 is the old IP address&lt;/div&gt;
&lt;div&gt;
- 10.109.9.212 is the new IP address&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;➋&lt;/b&gt; change the Zone Host name&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;↬&amp;nbsp;&lt;/b&gt;from the zone at the command prompt type :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: url(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi /etc/hosts &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;↬&amp;nbsp;&lt;/b&gt;change the old name with new.&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi /etc/nodename &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;↬&amp;nbsp;&lt;/b&gt;change the old name with new .&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;↬&amp;nbsp;&lt;/b&gt;reboot the zone&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zoneadm -z zone1 reboot &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➌ Delete zone&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;↬&amp;nbsp;&lt;/b&gt;from global zone at the command prompt :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zoneadm -z zone1 halt &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zoneadm -z zone1 uninstall &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg -z zone1 delete &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➍ swap space in non-global zone&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;↬&amp;nbsp;&lt;/b&gt;A non-global zone inherits its swap space setting from the global zone. For example, in my global zone:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-855355380085858187?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/855355380085858187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-four-zone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/855355380085858187?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/855355380085858187?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-four-zone.html' title='Solaris Zone part four ( Zone Configuration )'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;D04EQHY-eCp7ImA9WhRREk8.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-8727372951905585932</id><published>2011-11-20T02:41:00.001-08:00</published><updated>2011-11-25T04:58:21.850-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-25T04:58:21.850-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Solaris Zones'/><title>Solaris Zone Part 3 ( whole Solaris zone )</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="color: red;"&gt;
&lt;b&gt;&amp;nbsp;Creating whole solaris zone&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
Big zone no files are shared between this type of zone and global zone, 
need more space because more files and packages will be installed.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-1.html"&gt;Solaris Zone Part 1 ( Concepts and theory )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/part-2-solaris-zones-lab-creating.html"&gt;Solaris Zone Part 2 ( Sparse Solaris zone )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-3-whole-solaris-zone.html"&gt;Solaris Zone Part 3 ( whole Solaris zone )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-four-zone.html"&gt;Solaris Zone part 4&amp;nbsp; ( Zone Configuration )&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
➊&amp;nbsp; Select the disk that will be used for Solaris zone, also select the mount point and add them to /etc/vfstab file.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# vi /etc/vfstab&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
add the following to the file&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; /dev/dsk/c1d0s0 /dev/rdsk/c1d0s0    /workzone/apache    ufs   1     yes   -&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
where the :&lt;br /&gt;
/dev/dsk/c1d0s0 is the name of the disk.&lt;br /&gt;
/workzone/apache is the mount point&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.blogger.com/blogger.g?blogID=5344889469438699880" name="more"&gt;&lt;/a&gt; &lt;br /&gt;
➋ at the command prompt type&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# zonecfg -z zone2&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: small;"&gt;↪&lt;/span&gt;&lt;/b&gt; where &lt;b&gt;zonecfg&lt;/b&gt; is the command used to set up zone configuration, zone2 is the name of the zone.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
➌ type &lt;b&gt;create&lt;/b&gt; command to create the zone&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt;create -b  &lt;/code&gt;&lt;/pre&gt;
➍ set &lt;b&gt;zonepath&lt;/b&gt; parameter&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt;set zonepath=/workzone/zone2&lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; zonepath is the Path that the zone will be installed, the directory you select must have 700 permission. type chmod 700 /yourdirectory to change directory path.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➎ set &lt;b&gt;autoboot&lt;/b&gt; parameter&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; set autoboot=true &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; to boot the zone automatically &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
➏ add network configuration &lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; add net &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; add network configuration&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➐ set the physical network card&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:net&amp;gt; set physical=e1000g1&lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;the network card name is used for the physical interface.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➑ set IP address&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:net&amp;gt; set address=10.109.9.234&lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;the ip address of zone&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:net&amp;gt; end &lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
➒ verify your configuration&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; verify &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;Determine whether the resources and properties specified are valid &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➓ save your configuration&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; commit &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;save your configuration&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; exit &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;➊&lt;/b&gt;&lt;b&gt;➊&lt;/b&gt;&lt;b&gt; &lt;/b&gt;check zone status&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 20px; white-space: pre;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 20px; white-space: pre;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zoneadm list -cv&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;ID NAME       STATUS   PATH              BRAND  IP    
   0 global      running  /               native  shared  
   - zone2     installed /workzone/zone2        native  shared &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;to see the zone status, you can see zone1 status is configured. &lt;br /&gt;
zone status can be :&lt;br /&gt;
1- Configured&lt;br /&gt;
2- Incomplete&lt;br /&gt;
3- Installed&lt;br /&gt;
4- Ready&lt;br /&gt;
5- Running&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;➊&lt;/b&gt;➋&lt;b&gt; &lt;/b&gt;to install the zone at the command prompt type&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# zoneadm -z zone2 install &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;this will take some time, now check zone status&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➊➌ check zone status&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# zoneadm list -cv &lt;/code&gt;&lt;span class="Apple-style-span" style="font-family: Times; font-size: medium; line-height: normal; white-space: normal;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; ID NAME STATUS PATH BRAND IP&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; 0 global running / native shared &lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; - zone2 installed /workzone/zone1 native shared &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;↪ &lt;/b&gt;you can see that zone status is changed from confiugrd to installed&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: medium;"&gt;➊&lt;/span&gt;➍&lt;b&gt; &lt;/b&gt;now boot solaris zone, at the command prompt type:-&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# zoneadm -z zone2 boot &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: medium;"&gt;➊&lt;/span&gt;➎&lt;b&gt; &lt;/b&gt;check your zone status :- &lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;bash-3.00# zoneadm list -cv &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; ID NAME       STATUS   PATH              BRAND  IP    
   0 global      running  /               native  shared  
   3 zone2      running  /workzone/zone1        native  shared  
&lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;it is now running. the zone status has changed form configured =&amp;gt; installd =&amp;gt; running &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;↪ &lt;/b&gt;use the command zlogin -C zone1 to complete the zone configuration:-&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;bash-3.00# zlogin -C zone1 &lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;What type of terminal are you using?&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;1) ANSI Standard CRT&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;2) DEC VT52&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;3) DEC VT100&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;4) Heathkit 19&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;5) Lear Siegler ADM31&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;6) PC Console&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;7) Sun Command Tool&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;8) Sun Workstation&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;9) Televideo 910&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;10) Televideo 925&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;11) Wyse Model 50&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;12) X Terminal Emulator (xterms)&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;13) CDE Terminal Emulator (dtterm)&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;14) Other Type the number of your choice and press Return: &lt;/code&gt;&lt;/pre&gt;
&amp;nbsp;Select 13&lt;br /&gt;
&lt;br /&gt;
1- the first screen will ask you about hostname:- type the host name. then press (esc+2)&lt;br /&gt;
2- select No for Kerberos Security then press (esc+2).&lt;br /&gt;
3- select your Name service type then press (esc+2)&lt;br /&gt;
4- select your country and password ... etc .&lt;br /&gt;
&lt;br /&gt;
the zone is rebooting now, after rebooting login to your zone normally.&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-8727372951905585932?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/8727372951905585932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-3-whole-solaris-zone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/8727372951905585932?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/8727372951905585932?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-3-whole-solaris-zone.html' title='Solaris Zone Part 3 ( whole Solaris zone )'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;DEYGSX44fCp7ImA9WhRREk8.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-5785554901430042315</id><published>2011-11-20T01:04:00.001-08:00</published><updated>2011-11-25T05:02:08.034-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-25T05:02:08.034-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Solaris Zones'/><title>Solaris Zone Part 2 ( Sparse Solaris zone )</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="color: red;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
This tutorial describe how to create sparse Solaris zone.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-1.html"&gt;Solaris Zone Part 1 ( Concepts and theory )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/part-2-solaris-zones-lab-creating.html"&gt;Solaris Zone Part 2 ( Sparse Solaris zone )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-3-whole-solaris-zone.html"&gt;Solaris Zone Part 3 ( whole Solaris zone )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-four-zone.html"&gt;Solaris Zone part 4&amp;nbsp; ( Zone Configuration )&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-3-whole-solaris-zone.html"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=5344889469438699880" name="more"&gt;&lt;/a&gt; ➊ at the command prompt type&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# zonecfg -z zone1&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;&lt;span style="font-size: small;"&gt;↪&lt;/span&gt;&lt;/b&gt; where &lt;b&gt;zonecfg&lt;/b&gt; is the command used to set up zone configuration, zone1 is the name of the zone.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
➋ type &lt;b&gt;create&lt;/b&gt; command to create the zone&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt;create &lt;/code&gt;&lt;/pre&gt;
➌ set &lt;b&gt;zonepath&lt;/b&gt; parameter&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt;set zonepath=/workzone/zone1 &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; zonepath is the Path that the zone will be installed, the directory you select must have 700 permission. type chmod 700 /yourdirectory to change directory path.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➍ set &lt;b&gt;autoboot&lt;/b&gt; parameter&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; set autoboot=true &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; to boot the zone automatically &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➎ add file system using &lt;b&gt;fs&lt;/b&gt; parameter&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; add fs &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; to determine how and where to mount file systems.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
➏ set &lt;b&gt;dir&lt;/b&gt; parameter&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:fs&amp;gt; set dir=/zone1 &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; Specifies the mount point for the file system&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➐ set block device&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:fs&amp;gt; set special=/dev/dsk/c1d1s0 &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; Specifies the block special device name or directory from the global zone to mount&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➑ set raw device&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:fs&amp;gt; set raw=/dev/rdsk/c1d1s0 &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; Specifies the raw device on which to run fsck before mounting the file system&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➒ set file system type&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:fs&amp;gt; set type=ufs &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; Specifies the file system type&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:fs&amp;gt; end &lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
➓ add network configuration &lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; add net &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪&lt;/b&gt; add network configuration&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➊➊ set the physical network card&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:net&amp;gt; set physical=e1000g1 &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;the network card name is used for the physical interface.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➊➋ set IP address&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:net&amp;gt; set address=10.109.9.233 &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;the ip address of zone&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1:net&amp;gt; end &lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
➊➌ verify your configuration&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; verify &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;Determine whether the resources and properties specified are valid &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➊➍ save your configuration&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; commit &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;save your configuration&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zonecfg:zone1&amp;gt; exit &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;➊➎ &lt;/b&gt;check zone status&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 20px; white-space: pre;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 20px; white-space: pre;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zoneadm list -cv&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;ID NAME       STATUS   PATH              BRAND  IP    
   0 global      running  /               native  shared  
   - zone1      installed /workzone/zone1        native  shared &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;to see the zone status, you can see zone1 status is configured. &lt;br /&gt;
zone status can be :&lt;br /&gt;
1- Configured&lt;br /&gt;
2- Incomplete&lt;br /&gt;
3- Installed&lt;br /&gt;
4- Ready&lt;br /&gt;
5- Running&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;➊➏ &lt;/b&gt;to install the zone at the command prompt type&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# zoneadm -z zone1 install &lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;this will take some time, now check zone status&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➊➐ check zone status&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# zoneadm list -cv &lt;/code&gt;&lt;span class="Apple-style-span" style="font-family: Times; font-size: medium; line-height: normal; white-space: normal;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; ID NAME STATUS PATH BRAND IP&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; 0 global running / native shared &lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; - zone1 installed /workzone/zone1 native shared &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;↪ &lt;/b&gt;you can see that zone status is changed from confiugrd to installed&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: medium;"&gt;➊&lt;/span&gt;&lt;b&gt;➑ &lt;/b&gt;now boot solaris zone, at the command prompt type:-&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; bash-3.00# zoneadm -z zone1 boot &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: medium;"&gt;➊&lt;/span&gt;&lt;b&gt;➒ &lt;/b&gt;check your zone status :- &lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;bash-3.00# zoneadm list -cv &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; ID NAME       STATUS   PATH              BRAND  IP    
   0 global      running  /               native  shared  
   3 zone1      running  /workzone/zone1        native  shared  
&lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;↪ &lt;/b&gt;it is now running. the zone status has changed form configured =&amp;gt; installd =&amp;gt; running &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;↪ &lt;/b&gt;use the command zlogin -C zone1 to complete the zone configuration:-&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;bash-3.00# zlogin -C zone1 &lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;What type of terminal are you using?&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;1) ANSI Standard CRT&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;2) DEC VT52&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;3) DEC VT100&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;4) Heathkit 19&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;5) Lear Siegler ADM31&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;6) PC Console&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;7) Sun Command Tool&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;8) Sun Workstation&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;9) Televideo 910&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;10) Televideo 925&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;11) Wyse Model 50&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;12) X Terminal Emulator (xterms)&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;13) CDE Terminal Emulator (dtterm)&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;14) Other Type the number of your choice and press Return: &lt;/code&gt;&lt;/pre&gt;
&amp;nbsp;Select 13&lt;br /&gt;
&lt;br /&gt;
1- the first screen will ask you about hostname:- type the host name. then press (esc+2)&lt;br /&gt;
2- select No for Kerberos Security then press (esc+2).&lt;br /&gt;
3- select your Name service type then press (esc+2)&lt;br /&gt;
4- select your country and password ... etc .&lt;br /&gt;
&lt;br /&gt;
the zone is rebooting now, after rebooting login to your zone normally.&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-5785554901430042315?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/5785554901430042315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/11/part-2-solaris-zones-lab-creating.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/5785554901430042315?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/5785554901430042315?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/11/part-2-solaris-zones-lab-creating.html' title='Solaris Zone Part 2 ( Sparse Solaris zone )'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;DEQNSHc9eyp7ImA9WhRREk8.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-6044146345700281640</id><published>2011-11-19T11:26:00.001-08:00</published><updated>2011-11-25T05:06:39.963-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-25T05:06:39.963-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Solaris Zones'/><title>Solaris Zone Part 1</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Solaris Zone ( Concepts and theory )&lt;br /&gt;
&lt;br /&gt;
In this tutorial will learn some key concepts about Solaris zones.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-1.html"&gt;Solaris Zone Part 1 ( Concepts and theory )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/part-2-solaris-zones-lab-creating.html"&gt;Solaris Zone Part 2 ( Sparse Solaris zone )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-3-whole-solaris-zone.html"&gt;Solaris Zone Part 3 ( whole Solaris zone )&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-four-zone.html"&gt;Solaris Zone part 4&amp;nbsp; ( Zone Configuration )&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;what is solaris zones :-&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
zones is a technology that enable system administrator to create multiple independent operating systems with independent process space, allocated resources, and users. that means inside one physical server you can create four zones as follow&amp;nbsp; (&amp;nbsp; zone 1 = apache,&amp;nbsp; zone 2 = dns, zone 3 = MySQL, zone 4 = whatever application ), each one of these zones has its own process, file system ... etc. Processes running within a zone, cannot affect activity in other zones. think of zones as opreating system inside Operating system.&lt;/div&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;Solaris Zones features :- &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
➊ Solaris zones can host only instance of solaris. Not other OSs.&lt;br /&gt;
➋ Program Isolation - zone1 (Apache), zone2(MySQL)&lt;br /&gt;
➌ Security : Processes running within a zone, even one with superuser credentials, cannot affect activity in other zones.&lt;br /&gt;
➍ Virtualization, Granularity, Transparency.&lt;br /&gt;
➎ each zone has its own ID. ID 0, ID1, ID2 ...etc. &lt;br /&gt;
➏ No additional hardware is required for a zone&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;Solaris Zone Types :- &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
➊ &lt;span style="color: blue;"&gt;Global zone&lt;/span&gt;&lt;br /&gt;
➋ &lt;span style="color: blue;"&gt;Non-global zone&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;Features of GLOBAL zone&lt;/span&gt;&lt;br /&gt;
➊ Every Solaris system contains a global zone.&lt;br /&gt;
➋ Solaris ALWAYS boots to the global zone&lt;br /&gt;
➌ Knows about ALL hardware devices attached to the system.&lt;br /&gt;
➍ Knows about ALL non-global zones&lt;br /&gt;
➎ The global zone is the only zone from which a non-global zone can be configured, installed, managed, or uninstalled&lt;br /&gt;
➏ Only the global zone is bootable from the system hardware.&lt;br /&gt;
➐ The global zone is always mapped to zone ID 0.&lt;br /&gt;
➑ thers is only ine global zone in the system.&lt;br /&gt;
➒ Global zone is created automatically when you install solaris OS for the first time, that means the Global zone is the current solaris OS you are working on now.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;Features of Non-GLOBAL zone&lt;/span&gt;&lt;br /&gt;
➊ The non-global zones contain an installed subset of the complete Solaris Operating System software packages.&lt;br /&gt;
➋ The non-global zone is not aware of the existence of any other zones.&lt;br /&gt;
➌ The non-global cannot install, manage, or uninstall itself or any other zones.&lt;br /&gt;
&lt;br /&gt;
whene you create a new zone ( Non-global zone), it shares some file with the global zone. &lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;zones can be installed as :- &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
➊ &lt;span style="color: blue;"&gt;Sparse Root zone &lt;/span&gt;&lt;br /&gt;
➋ &lt;span style="color: blue;"&gt;Whole Root zone &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;Sparse Root zone&lt;/span&gt; :- &lt;br /&gt;
Small zone, it consumes the least disk space, because Only a subset of the packages installed in the global zone are installed directly into the non-global zone, and it shares most of the files whith the global zone, but in this type of zones the /usr and /lib are not writable.&lt;br /&gt;
Features :- &lt;br /&gt;
&lt;br /&gt;
- smaller disk &lt;br /&gt;
- better security since /usr and /lib are not writable &lt;br /&gt;
- faster to create and patch &lt;br /&gt;
- easier to migrate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;Whole Root zone&lt;/span&gt;&lt;br /&gt;
Big zone no files are shared between this type of zone and global zone, need more space because more files and packages will be installed. &lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;steps to create zones &lt;/span&gt;&lt;br /&gt;
➊ determine zone types :- Sparse Root zone OR Whole Root zone&lt;br /&gt;
➋ determine the name of the zone&lt;br /&gt;
➌ determine the zonepath, zonepath is the Path that the zone will be installed.&lt;br /&gt;
➍ dtermine the zone file system :- dir,special,raw,type ( i will explain them later in solaris zone lab )&lt;br /&gt;
➎ determine zone network card and IP address.&lt;br /&gt;
➏ other option .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-6044146345700281640?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/6044146345700281640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/6044146345700281640?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/6044146345700281640?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/11/solaris-zone-part-1.html' title='Solaris Zone Part 1'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;DE4ER3o8eSp7ImA9WhRREk8.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-2228234954404787194</id><published>2011-10-27T02:56:00.000-07:00</published><updated>2011-11-25T05:15:06.471-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-25T05:15:06.471-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Solaris OS'/><title>Solaris Packet sniffer</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="color: red;"&gt;
Solaris Packet sniffer&lt;/div&gt;
&lt;br /&gt;
Accroding to Network Dictionary sniffing tool is a program&amp;nbsp; that monitors data traveling over a network, and it can be used both for stealing network information or for monitoring and maintenance network.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style="color: blue;"&gt;
snoop tool &lt;/div&gt;
&lt;br /&gt;
snoop is a command line packet sniffer in oracle solaris operating system. You can use the snoop utility to capture and inspect network packets to determine what kind of data is transferred between systems. &lt;br /&gt;
&lt;br /&gt;
snoop command :- &lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop   &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Result :- captures and displays all packets sent and received .&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop host_name   &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Result :- captures and display packets sent and received to/from host_name&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop -v   &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Result :- display detailed information (Ether Header, IP Header, UDP Header, SUN RPC Header, SUN NFS)&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop hostA hostB  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Result :- captures and display packets sent and recived between hostA and hostB&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop -o file_name   &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&amp;nbsp;Result :-&amp;nbsp; Redirects the snoop utility output to filename in summary mode&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop -i file_name   &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Result :- Read saved snoop output from file_name&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop -o file_name tcp port 80  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Result :-&amp;nbsp; Redirects the snoop output to file_name and listen to tcp packets on port 80&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop -o file_name host hostA hostB and tcp and port 21  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Result :- Redirects the snoop output between hostA and hostB to file_name and listen to tcp traffic on port 21 (FTP)&lt;br /&gt;
&lt;br /&gt;
Example :-&lt;br /&gt;
&lt;span class="st"&gt;&lt;span dir="ltr"&gt;Let's assume that &lt;i&gt;we have serverA and we want to know the password of FTP from hostA to that server.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="st"&gt;&lt;span dir="ltr"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
➊&lt;span class="st"&gt;&lt;span dir="ltr"&gt;&lt;i&gt; at the command prompt on serverA type :-&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop -o snoop_ftp host hostA serverA and tcp and port 21  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
➋ establish an FTP connection from hostA to serverA&lt;br /&gt;
&lt;br /&gt;
➌&lt;span class="st"&gt;&lt;span dir="ltr"&gt;&lt;i&gt; at the command prompt on serverA type&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop -V -i snoop_ftp | grep -i user&lt;/code&gt;&lt;/pre&gt;
you will see the FTP name account&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; snoop -V -i snoop_ftp | grep -i pass&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
you will see the FTP account password.&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-2228234954404787194?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/2228234954404787194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/solaris-packet-sniffer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/2228234954404787194?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/2228234954404787194?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/solaris-packet-sniffer.html' title='Solaris Packet sniffer'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;DUMNQ385fSp7ImA9WhdaE0U.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-4821477739824901368</id><published>2011-10-23T09:29:00.000-07:00</published><updated>2011-10-23T09:31:32.125-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-10-23T09:31:32.125-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='ZFS'/><title>Solaris ZFS</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="color: #5100ff;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;what is ZFS ?&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
ZFS is a UNIX file system like NTFS and FAT in windows, It's used widely in Solaris and its transactional file system which ensures that any sequence of operations is either entirely committed or entirely ignored. This mechanism ensures that the ZFS file system can never be corrupted through loss of power or a system crash.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #0008ff; font-size: medium;"&gt;&lt;b&gt;ZFS Features&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➊ &amp;nbsp;Support up to 256 quadrillion zettabytes, (zettabytes = 1024 Exabytes = 1024 petabytes = 1024 Terabyte = 1024 Gigabyte = 1024 Megabyte ), quadrillion is 10^15.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;support snapshots, snapshots is a read only copy of file system.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➌ file system grow dynamically as disk is added&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➍ File systems may span multiple physical disks&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➎ ZFS is transactionl file system&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➏ ZFS file systems are auto-mounted&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➐ ZFS file systems support quota and reservation&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➑ provides web-based managment tool.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #1900ff; font-size: medium;"&gt;&lt;b&gt;System Recommendation&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;&amp;nbsp;One GB or more of memory is recommended.&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;&amp;nbsp;Run ZFS on a system that runs a 64-bit kernel&lt;/div&gt;
&lt;div&gt;
➌&amp;nbsp;Approximately 64 KB of memory is consumed per mounted ZFS file system.&lt;/div&gt;
&lt;div&gt;
➍&amp;nbsp;Set up one &amp;nbsp;pool using whole disks per system&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #0800ff; font-size: medium;"&gt;&lt;b&gt;Tutorial Requremens&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #0800ff; font-size: medium;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;1GB RAM&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;three hard disks ( You can use Virtual Box as a free tool to follow this tutorial step by step click here to learn &lt;a href="http://inside-solaris.blogspot.com/2011/10/oracle-virtualbox.html"&gt;Virtual BOX&lt;/a&gt; )&lt;/div&gt;
&lt;div&gt;
➌&amp;nbsp;Solaris 10 operating system&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #0008ff; font-size: medium;"&gt;&lt;b&gt;&amp;nbsp;Tutorial information&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
in this tutorial we will&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;create a zpool ( assume zpool is a container or repository that will hold ZFS file systems).&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;create ZFS file system,set quota and reservation.&lt;/div&gt;
&lt;div&gt;
➌&amp;nbsp;Mirror ZFS file system ( RAID 0 , RAID 1 , RAIDZ)&lt;/div&gt;
&lt;div&gt;
➍&amp;nbsp;create snapshot of file system.&lt;/div&gt;
&lt;div&gt;
➏&amp;nbsp;create clones&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-size: large;"&gt;↬&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="color: #ff0004;"&gt;Create and configure ZFS&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Zpool Creation&lt;/b&gt;,&amp;nbsp;zpool is a container or repository that will hold ZFS file systems&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;create zpool.&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs create test_pool c0d1&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
where c0d1 is the logical device name of the second hard disk (use format command to view hard disk name ), "test_pool" is the name of the pool.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;at the command prompt show test-pool information&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zpool list &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
output :-&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;NAME SIZE ALLOC FREE CAP HEALTH ALTROOT&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; test_pool 3.97G 95.5K 3.97G 0% ONLINE - &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
Now you have a pool which will contain you zfs filesystem.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;ZFS file system creation&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;to create zfs file system at the ok prompt type&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs create test_pool/home1 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;to create a second zfs file system at the ok prompt type&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs create test_pool/home2 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➌&amp;nbsp;show zfs file system status and informatio&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs list &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
output :-&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;NAME USED AVAIL REFER MOUNTPOINT&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;test_pool 130K 3.91G 22K /test_pool&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;test_pool/home1 21K 3.91G 21K /test_pool/home1&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; test_pool/home2 21K 3.91G 21K /test_pool/home2 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
now as you can see we have one pool called test_pool and its size equal to the of the second hard disk size and we have two zfs file system home1 and home 2 which they share the test-pool size.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
if you don't want home1 file system to exceed 2GB set the quota property as following&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Quota property&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;You can use the quota property to set a limit on the amount of disk space a file system can use, to set quota to 2GB at the ok prompt type&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs set quota=2g test_pool/home1 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;show quota information&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs get -r quota test_pool/home1 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
output :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;NAME PROPERTY VALUE SOURCE test_pool/home1 quota 2G local &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➌&amp;nbsp;to clear quota property&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs set quota=none test_pool/home1 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;ٌReservation property&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;you can use the reservation property to guarantee that a specified amount of disk space is reserved to a file system, at the ok prompt type&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;zfs set reservation=3g test_pool/home2 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;to clear reservation property&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs set reservation=none test_pool/home1 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Remove ZFS file system&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;to remove ZFS file system, at the command prompt type:-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs destroy test_pool/home1 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;to remove ZFS pool, at the command prompt type:-&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zpool destroy test_pool &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;↬&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="color: #ff0004;"&gt;Mirror ZFS file system&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Extend the ZFS file system space ( RAID 0 )&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
assume you have a zfs file system and the file system is approximately fully and you want to add a disk space to.&lt;/div&gt;
&lt;div&gt;
Note:- create a pool if you have destoryed it.&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs add test_pool c1d0 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
(where c0d1 is the logical device name of the third hard disk, use format command to get your hard disk name. &lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Mirror pool ( RAID 1 )&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
A RAID 1 creates an exact copy (or mirror) of a set of data on two or more disks.&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;&lt;b&gt;case 1&lt;/b&gt; :- at the time of ZFS file system creation&lt;/div&gt;
&lt;div&gt;
Note:- Destroy all previous pool.&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zpool create test_poll mirror c0d1 c1d0 &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;( where c0d1 and c1d0 are hard disk logical device names)&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;list pool information&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zpool status  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
output:-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;pool: test_pool  
  state: ONLINE  
  scrub: none requested  
 config:  
     NAME    STATE   READ WRITE CKSUM  
     test_pool  ONLINE    0   0   0  
      mirror-0 ONLINE    0   0   0  
       c0d1  ONLINE    0   0   0  
       c1d0  ONLINE    0   0   0  
 errors: No known data errors&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➌&amp;nbsp;remove disk from mirror&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zpool detach test_pool c1d0  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;( this will remove c1d0 from pool)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Case 2&lt;/b&gt; :- if you have a pool and you want to create RAID 1 ( Mirror ) at the ok prompt type :-&lt;/div&gt;
&lt;div&gt;
Note ;- destroy &amp;nbsp;previous pool.&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;create a pool&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zpool create test_pool c0d1   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;create RAID 1 ( Mirror)&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zpool attach test_pool c0d1 c1d0  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;( where c1d0 is the new disk)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
➌&amp;nbsp;remove disk from mirror&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: url(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 1075px;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zpool detach test_pool c1d0  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;code style="color: black; word-wrap: normal;"&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;RAIDZ&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;Destroy previous pool&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: url(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(204, 204, 204); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dashed; border-top-width: 1px; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zpool destory test_pool  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;create a pool with RAIDZ&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zpool create test_pool raidz c0d1 c1d0 c2d0   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;↬&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="color: #ff0004; font-size: medium;"&gt;ZFS snapshot&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
snapshot is a read only copy of file system that is used for redundancy and backup assues.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Note :- to be not confused destroy prevous pool and create a new pool and zfs file system home1, home2, home3.&lt;/div&gt;
&lt;div&gt;
Steps to create a snapshot:-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;&amp;nbsp;list all pervious snapshot&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs list -t snapshot   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
output :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; no datasets available  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;create snapshot&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs snapshot test_pool/home3@snapshot_name  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
➌&amp;nbsp;list snapshot configuration&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs list -t snapshot  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
output:-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;NAME              USED AVAIL REFER MOUNTPOINT  
 test_pool/home3@snapshot_name   0   -  21K -  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
Steps to delete a snapshot&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs destroy test_pool/home3@snapshot_name   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
Steps to Rename a snapshot&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs rename test_pool/home3@snapshot_name test_pool/home3@new_snapshot_name  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
Restore snapshot&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
if you accidentally delete files or folders and you want to restore it from snapshot :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zfs reollback test_pool/home3@snapshot_name   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
where the "test_pool/home3@snapshot_name" is the name of the snapshot.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;↬&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #ff0004;"&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;ZFS Clones&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
ZFS clones is a writable copy of file system, ZFS clone linked to snapshot you must create a snapshot then create a clone.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
steps to create snapshot :-&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
➊&amp;nbsp;Create pool&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
➋&amp;nbsp;create snapshot&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
➌&amp;nbsp;create clone&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; fs clone test_pool/home3@snapshot_name test_pool/home5  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;this command will create new zfs file system home5, &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-4821477739824901368?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/4821477739824901368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/solaris-zfs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/4821477739824901368?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/4821477739824901368?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/solaris-zfs.html' title='Solaris ZFS'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;DUUBR3s6fSp7ImA9WhdaE0U.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-2728611526897046441</id><published>2011-10-23T09:27:00.000-07:00</published><updated>2011-10-23T09:27:36.515-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-10-23T09:27:36.515-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='other'/><title>Oracle VirtualBOX</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
Oracle VirtualBOX&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
Oracle VM VirtualBox is an virtualization software package, you can install and will enable you to install another operating system on your computer. It will share the ram and CPU power of your other OS, form example if you are running windows and install virtualbox you can then install oracle solaris and other operating system, Download VirtualBOX from here&lt;a href="https://www.virtualbox.org/wiki/Downloads"&gt; VirtualBOX&lt;/a&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
To install Oracle Solaris on VirtualBOX&amp;nbsp;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;li&gt;Download Oracle Solaris 10/11 form here &lt;a href="http://www.oracle.com/technetwork/server-storage/solaris/downloads/index.html"&gt;Solaris 10&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Run VirtualBox from your computer&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Click on new, and choose a name for your virtual machine, and also choose the OS type you will install on it.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;a href="http://1.bp.blogspot.com/-r6DZHn_vUcw/TqQ1m7-qDDI/AAAAAAAAACo/5if1y-sjupQ/s1600/Selection_002.gif" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="36" src="http://1.bp.blogspot.com/-r6DZHn_vUcw/TqQ1m7-qDDI/AAAAAAAAACo/5if1y-sjupQ/s320/Selection_002.gif" width="320" /&gt;&lt;/a&gt; &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;a href="http://3.bp.blogspot.com/-ZG9CLa-_U3Q/TqQ1px3D27I/AAAAAAAAACw/R0pqZU694IE/s1600/Selection_003.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="210" src="http://3.bp.blogspot.com/-ZG9CLa-_U3Q/TqQ1px3D27I/AAAAAAAAACw/R0pqZU694IE/s320/Selection_003.gif" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-r6DZHn_vUcw/TqQ1m7-qDDI/AAAAAAAAACo/5if1y-sjupQ/s1600/Selection_002.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&amp;nbsp;&lt;a href="http://4.bp.blogspot.com/-ONW_xeuREAc/TqQ1r-OyZtI/AAAAAAAAAC4/u0fLw3_HdzE/s1600/Selection_004.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="209" src="http://4.bp.blogspot.com/-ONW_xeuREAc/TqQ1r-OyZtI/AAAAAAAAAC4/u0fLw3_HdzE/s320/Selection_004.gif" width="320" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
4. Choose the memory amount, and click on next and next again&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;a href="http://2.bp.blogspot.com/-rAoy9Rez7rQ/TqQ1tmcMIMI/AAAAAAAAADA/CUqYe1Kc7O4/s1600/Selection_005.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="208" src="http://2.bp.blogspot.com/-rAoy9Rez7rQ/TqQ1tmcMIMI/AAAAAAAAADA/CUqYe1Kc7O4/s320/Selection_005.gif" width="320" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
5. Choose the size of disk you want to be availble for the virtual machine&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;a href="http://4.bp.blogspot.com/-AfDLswcwkHI/TqQ4qORS4RI/AAAAAAAAADg/tPgrxFbSbYE/s1600/Selection_008.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="211" src="http://4.bp.blogspot.com/-AfDLswcwkHI/TqQ4qORS4RI/AAAAAAAAADg/tPgrxFbSbYE/s320/Selection_008.gif" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-XbAOSdbNOec/TqQ1wkN69KI/AAAAAAAAADI/rgb9zd-FJyg/s1600/Selection_006.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&amp;nbsp;6.Click create &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;a href="http://3.bp.blogspot.com/-calK00QjU4g/TqQ1ymxghkI/AAAAAAAAADQ/p8Rx9ni_jbU/s1600/Selection_007.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="209" src="http://3.bp.blogspot.com/-calK00QjU4g/TqQ1ymxghkI/AAAAAAAAADQ/p8Rx9ni_jbU/s320/Selection_007.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
 &lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&amp;nbsp;7. insert Oracle Solaris Media .&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&amp;nbsp;8. select the OS you want and click start bottom from the Menu, follow the information to install Solaris OS.&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
 &lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://1.bp.blogspot.com/-ChnOzKEd2SE/TqQ6CGNTeGI/AAAAAAAAADo/iGGMFkHIrhU/s1600/Selection_010.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="48" src="http://1.bp.blogspot.com/-ChnOzKEd2SE/TqQ6CGNTeGI/AAAAAAAAADo/iGGMFkHIrhU/s320/Selection_010.gif" width="320" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
 9. if you want to add more hard disks to your virtual OS, select the Virtual OS and click settingd&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;
&lt;a href="http://1.bp.blogspot.com/-ChnOzKEd2SE/TqQ6CGNTeGI/AAAAAAAAADo/iGGMFkHIrhU/s1600/Selection_010.gif" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="48" src="http://1.bp.blogspot.com/-ChnOzKEd2SE/TqQ6CGNTeGI/AAAAAAAAADo/iGGMFkHIrhU/s320/Selection_010.gif" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
10. select Storage&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
 &lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://1.bp.blogspot.com/-KrpZjAJShm8/TqQ7BDHw3DI/AAAAAAAAADw/TgVdIxEVz-8/s1600/Selection_011.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="242" src="http://1.bp.blogspot.com/-KrpZjAJShm8/TqQ7BDHw3DI/AAAAAAAAADw/TgVdIxEVz-8/s320/Selection_011.gif" width="320" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
11. click add hard disk&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
 &lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://4.bp.blogspot.com/-T-vGCAbjPsc/TqQ8ArWhMPI/AAAAAAAAAD4/RsUZSPqWtS4/s1600/Selection_013.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="165" src="http://4.bp.blogspot.com/-T-vGCAbjPsc/TqQ8ArWhMPI/AAAAAAAAAD4/RsUZSPqWtS4/s320/Selection_013.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
 &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
12. Click Next, then choose "Fixed size", Click Next&amp;nbsp;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt; &lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://1.bp.blogspot.com/-M6IgL8k5Sd4/TqQ83ZRLAmI/AAAAAAAAAEI/qB9bO1XYsFE/s1600/Selection_013.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="220" src="http://1.bp.blogspot.com/-M6IgL8k5Sd4/TqQ83ZRLAmI/AAAAAAAAAEI/qB9bO1XYsFE/s320/Selection_013.gif" width="320" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
13. choose your new Hard disk size, click Next, click create. &lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://2.bp.blogspot.com/-d1etZw1J5w8/TqQ_VfqSJlI/AAAAAAAAAEQ/wWxS5BTY34A/s1600/Selection_015.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="220" src="http://2.bp.blogspot.com/-d1etZw1J5w8/TqQ_VfqSJlI/AAAAAAAAAEQ/wWxS5BTY34A/s320/Selection_015.gif" width="320" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&amp;nbsp;14. your hard disk is ready now.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt; &lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-2728611526897046441?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/2728611526897046441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/oracle-virtualbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/2728611526897046441?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/2728611526897046441?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/oracle-virtualbox.html' title='Oracle VirtualBOX'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-r6DZHn_vUcw/TqQ1m7-qDDI/AAAAAAAAACo/5if1y-sjupQ/s72-c/Selection_002.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C0cERXs_fyp7ImA9WhdaEk4.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-4718136449385600063</id><published>2011-10-05T02:46:00.000-07:00</published><updated>2011-10-21T14:03:24.547-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-10-21T14:03:24.547-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='DNS'/><title>Configure caching-only Server</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&amp;nbsp; &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
Caching server gets its information from another server ( Master DNS server ) in response to a host query and then cache this information locally, it saves cached data until the time period "time-to-live" in named.conf file expire. When a caching only DNS server starts for the first time, it has't cached informaton , the caching only DNS server collects information as it send and recive quires.&amp;nbsp;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;/div&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Caching only Characteristic &lt;br /&gt;
1- A caching-only server is not authoritative for any domain.&lt;br /&gt;
2- Caching-only DNS servers do not host zones.&lt;br /&gt;
3- caching-only DNS servers are excluded from the zone transfer process, and therefore do not generate network traffic from zone transfers. &lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Configure Caching only DNS server&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
before configure Caching-only DNS server yu have to configure Master DNS server Follow this link to learn how to :-&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/09/dns.html"&gt;Configure DNS server on oracle solaris 10&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
the files that are needed to start Caching-only DNS server are :- &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
1- named.conf&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
2- root server file&lt;/div&gt;
&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;➊&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;make sure your DNS daemon is disabled.&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background: url(&amp;quot;http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcadm disable dns/server&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-size: medium;"&gt;➋&lt;/span&gt; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;create the DNS confiuration file "named.conf"&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; touch /etc/named.conf&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-size: medium;"&gt;➌&lt;/span&gt; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;edit the "named.conf" file&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi /etc/named.conf&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
The
 file will be opened for editing , if you don't know how to use VI 
editor follow this link to be more familiar with VI Editor:- &lt;a href="http://inside-solaris.blogspot.com/2011/10/unix-vi-editor.html"&gt;UNIX VI editor&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-size: medium;"&gt;➍&lt;/span&gt; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;add the following lines to the "named.conf" file.&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;pre style="background: url(&amp;quot;http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;options {  
         "/var/named";  
 };&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;zone "." {  
       type hint;  
       file "db.cache";  
 };&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style="font-size: medium;"&gt;➎ &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;create db.cache&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; mkdir /var/named&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; cd /var/named&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
↪ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Download root servers file&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; /usr/sfw/bin/wget ftp://ftp.rs.internic.net/domain/named.root&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
↪ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;rename named.root to db.cache&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; mv named.root db.cache&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-4718136449385600063?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/4718136449385600063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/configure-caching-only-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/4718136449385600063?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/4718136449385600063?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/configure-caching-only-server.html' title='Configure caching-only Server'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;DEcGQ3s_fSp7ImA9WhdbFEk.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-6681994768802307078</id><published>2011-10-04T05:59:00.000-07:00</published><updated>2011-10-12T12:00:22.545-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-10-12T12:00:22.545-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Solaris OS'/><title>UNIX VI editor</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;The vi editor is a command-line editor that has three basic modes of operation:&lt;/span&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➊&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; &lt;span style="color: blue;"&gt;Command mode&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➋&lt;/span&gt;&amp;nbsp; &lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Edit mode&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➌&lt;/span&gt;&amp;nbsp; &lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Last line mode&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-size: large;"&gt;➊ &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: blue;"&gt;Command mode&lt;/span&gt; :- The command mode is the default mode for the vi editor. In this mode, you can perform commands to delete, change, copy, and move text. You can also position the cursor, search for text strings, and exit the vi editor.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-size: large;"&gt;➋ &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: blue;"&gt;Edit mode&lt;/span&gt; :- You can enter text into a file in the edit mode. The vi editor interprets everything you type in the edit mode as text. To enter the edit mode,&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;perform the commands:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;i&lt;/span&gt; – Inserts text before the cursor&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;o&lt;/span&gt; – Opens a new blank line below the cursor&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;a&lt;/span&gt; – Appends text after the cursor&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-size: large;"&gt;➌ &lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Last Line Mode&lt;/span&gt; :- &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;You can use advanced editing commands in the last line mode. To access the last line mode, enter a colon (:) while in the command mode. The colon places your cursor at the bottom line of the screen.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Switching Between the Command and Edit Modes&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;The default mode for the vi editor is the command mode. When you perform an i, o, or (a) command, the vi editor switches to the edit mode. After editing a file, press Escape to return the vi editor to the command mode. When in the command mode, you can save the file and quit the vi editor.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;The following example shows how to switch modes in the vi editor:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;1. Perform the vi filename command to create a file. You are&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;automatically in the command mode.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;2. Type the i command to insert text. The i command switches the vi editor to the edit mode.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;3. Press Escape to return to the command mode.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;4. Perform the :wq command to save the file and exit the vi editor.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Inserting and Appending Text&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;a&lt;/span&gt; - Appends text after the cursor&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;A&lt;/span&gt; - Appends text at the end of the line&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;i&lt;/span&gt; - Inserts text before the cursor&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;I&lt;/span&gt; - Inserts text at the beginning of the line&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;o &lt;/span&gt;- Opens a new line below the cursor&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;O&lt;/span&gt; - Opens a new line above the cursor&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;:r&lt;/span&gt; -filename Inserts text from another file into the current file&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Moving the Cursor Within the vi Editor&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;h,left arrow,or Backspace&lt;/span&gt; - Left one character&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;j or down arrow&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; - Down one line&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="color: red;"&gt; &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;k or up arrow&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Up one linel,&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;right arrow,or space bar&lt;/span&gt;&amp;nbsp; - Right (forward) one character&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;w&lt;/span&gt;&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; - Forward one word&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;b&lt;/span&gt; &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; - Back one word&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;e&lt;/span&gt;&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; - To the end of the current word&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;$&lt;/span&gt;&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; - To the end of the line&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;0 (zero)&lt;/span&gt;&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; - To the beginning of the line&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;Return Down&lt;/span&gt;&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; - to the beginning of the next line&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;G&lt;/span&gt;&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; - Goes to the last line of the file&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;1G&lt;/span&gt;&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; - Goes to the first line of the file&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;:n&lt;/span&gt;&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; - Goes to Line n&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;nG&lt;/span&gt; &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; - Goes to Line n&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="color: red;"&gt; &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;Control-F&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - forward one screen&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;Control-D&lt;/span&gt;&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; - Scrolls down one-half screen&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;Control-B&lt;/span&gt;&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; - Pages back one screen&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;Control-U&lt;/span&gt;&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; - Scrolls up one-half screen&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;Control-L&amp;nbsp;&lt;/span&gt;&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; - Refreshes the screen&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;Control-G&lt;/span&gt;&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; - Displays current buffer information&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Editing Files by Using the vi Editing Commands&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;x&lt;/span&gt;&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; - Deletes a character at the cursor.&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;dw&lt;/span&gt;&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; - Deletes a word &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;dd&lt;/span&gt;&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; - Deletes the line &lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;:n,nd&lt;/span&gt;&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; - Deletes Lines n –n&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Using the Text-Replacing Commands&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;/string&lt;/span&gt;&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; - Searches forward for the string.&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;?string&lt;/span&gt;&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; - Searches backward for the string.&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;n&amp;nbsp;&lt;/span&gt;&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; - Searches for the next occurrence. &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;
➟ &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;N&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; - Searches for the previous occurrence of the string.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Using the Text-Copying and Text-Pasting Commands&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;yy&lt;/span&gt; :- Yanks a copy of a line&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;p&amp;nbsp;&lt;/span&gt; :- Puts yanked or deleted text under the line containing&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;the cursor.&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;P&lt;/span&gt;&amp;nbsp; :- Puts yanked or deleted text before the line containing&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;the cursor&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Using the File Save and Quit Commands&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;:w&lt;/span&gt; :- Saves the file with changes by writing to the disk&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;:w new_filename&lt;/span&gt; :- Writes the contents of the buffer to new_filename&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;:wq&lt;/span&gt; :- Saves the file with changes and quits the vi editor&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;:x&lt;/span&gt;&amp;nbsp; :- Saves the file with changes and quits the vi editor&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;ZZ&lt;/span&gt;&amp;nbsp; :- Saves the file with changes and quits the vi editor&lt;/span&gt;&lt;br /&gt;
➟&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;:q!&lt;/span&gt; :- Quits without saving changes&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;Summery &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;Search Functions&lt;/span&gt;&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;&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;span style="color: blue;"&gt; Move and Insert Text&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&lt;span style="color: red;"&gt;/exp &lt;span style="color: black;"&gt;Go forward to exp&lt;/span&gt; &amp;nbsp;&amp;nbsp;&lt;/span&gt; &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;:3,8d &lt;span style="color: black;"&gt;Delete line 3-8&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;?exp &lt;span style="color: black;"&gt;Go backward to exp&lt;/span&gt;&lt;/span&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;:4,9m 12 &lt;span style="color: black;"&gt;Move lines 4-9 to 12&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&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;&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;&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;span style="color: red;"&gt;:2,5t 13 &lt;span style="color: black;"&gt;Copy lines 2-5 to 13&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&amp;nbsp;Save Files and Exit&lt;/span&gt;&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;&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;span style="color: red;"&gt;:5,9w file &lt;span style="color: black;"&gt;Write lines 5-9 to file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;:w Write to disk&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;:w newfile&lt;/span&gt; Write to newfile&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Screen/Line Movement&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;:w! file&lt;/span&gt; Write absolutely&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: red;"&gt; j&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Move cursor down&lt;br /&gt;
&lt;span style="color: red;"&gt;:wq &lt;/span&gt;Write and quit&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;&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;span style="color: red;"&gt;k&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Move cursor up&lt;br /&gt;
&lt;span style="color: red;"&gt;:q&lt;/span&gt; Quit editor&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;&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;&amp;nbsp;&lt;span style="color: red;"&gt; h&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Move cursor left&lt;br /&gt;
&lt;span style="color: red;"&gt;:q!&lt;/span&gt; Quit and discard&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;&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;span style="color: red;"&gt;l&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Move cursor right&lt;br /&gt;
&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;&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;&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;span style="color: red;"&gt;0&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Go to line start (zero)&lt;br /&gt;
&lt;span style="color: blue;"&gt;Word Movement&lt;/span&gt;&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;span style="color: red;"&gt;$&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Go to line end&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;
&lt;span style="color: red;"&gt;w&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Go forward 1 word&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;G&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Go to last file line&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;b&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Go backward 1 word&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;Delete Text&lt;/span&gt;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Add/Append Text&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;x&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Delete 1 character&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;&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;span style="color: red;"&gt;a&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Append after cursor&lt;br /&gt;
&lt;span style="color: red;"&gt;dw&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Delete 1 word&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;&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;span style="color: red;"&gt;A&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Append at line end&lt;br /&gt;
&lt;span style="color: red;"&gt;dd&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Delete 1 line&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;&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;span style="color: red;"&gt;i&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Insert before cursor&lt;br /&gt;
&lt;span style="color: red;"&gt;D&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Delete to end of line&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;5i&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Insert text 5 times&lt;br /&gt;
&lt;span style="color: red;"&gt;d0&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Delete to start of line&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: red;"&gt; I&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Insert at beginning of line&lt;br /&gt;
&lt;span style="color: red;"&gt;dG&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Delete to end of file&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;Copy and Insert Text&amp;nbsp;&lt;/span&gt;&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;&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;span style="color: blue;"&gt; Add New Lines &lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;Y&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Yank a copy&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;&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;span style="color: red;"&gt;o&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Open a line below cursor&lt;br /&gt;
&lt;span style="color: red;"&gt;5Y&lt;/span&gt;&amp;nbsp;&amp;nbsp; Yank a copy of 5 lines&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;O&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Open a line above cursor&lt;br /&gt;
&lt;span style="color: red;"&gt;p&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Put below cursor&lt;br /&gt;
&lt;span style="color: red;"&gt;P&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Put above cursor&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-6681994768802307078?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/6681994768802307078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/unix-vi-editor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/6681994768802307078?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/6681994768802307078?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/unix-vi-editor.html' title='UNIX VI editor'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;Dk4ESHkzeSp7ImA9WhdbFk4.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-962197344477244009</id><published>2011-10-03T02:57:00.000-07:00</published><updated>2011-10-14T16:28:29.781-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-10-14T16:28:29.781-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='DNS'/><title>Configure Slave DNS server on solaris 10</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Configure Slave DNS server Solaris &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Slave DNS server provide DNS services even if the master goes down , Slave DNS server gets its zone data using a zone transfer operation from a zone master (master DNS server) , Zone transfer is the process of&amp;nbsp; receiving&amp;nbsp; data from master server to slave server. &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Slave DNS server Configuration : - &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟ &lt;/span&gt;&lt;span style="color: blue;"&gt;Configure Master DNS server&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; Configure SLave DNS server &lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Master Server IP address :- 192.168.2.2&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Slave Server IP address&amp;nbsp; :- 192.168.2.3&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Master Server Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :- ns1.test.domain&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Slave Server Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :- ns2.test.domain&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt; &lt;span style="color: blue;"&gt;Configure Master DNS server&lt;/span&gt; &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➊&lt;/span&gt; make sure your DNS daemon is disabled.&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: url(&amp;quot;http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcadm disable dns/server&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➋&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;create the DNS confiuration file "named.conf"&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; touch /etc/named.conf&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;span style="font-size: large;"&gt;➌&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;edit the "named.conf" file&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi /etc/named.conf&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
The file will be opened for editing , if you don't know how to use VI editor follow this link to be more familiar with VI Editor:- &lt;a href="http://inside-solaris.blogspot.com/2011/10/unix-vi-editor.html"&gt;UNIX VI editor&lt;/a&gt;
&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: large;"&gt;➍&lt;/span&gt; add the following lines to the "named.conf" file , Note : Don't add "Block #" word it's just for illustration purpose.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Block 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background: url(&amp;quot;http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;options {  
         "/var/named";  
 }; &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Block 2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;zone "." {  
       type hint;  
       file "db.cache";  
 };&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Block3&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;zone "0.0.127.in-addr.arpa" {  
            type master;  
            file "db.127.0.0";  
 }&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Block4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;zone "2.168.192.in-addr.arpa" {  
               type master;  
               file "db.192.168.2";  
 };&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;Block5&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;zone "domain.test" {  
             type master;  
             file "db.domain.test";  
 };&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: x-small;"&gt;Note That :-&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="color: blue;"&gt;Block1&lt;/span&gt;:-tells the DNS that zone files are located in "/var/named".&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="color: blue;"&gt;Block2&lt;/span&gt;:- tells the DNS the address of 
root servers and the zone configuration file is called db.cache , if you
 don't know what root servers follow this link HOW DNS WORK.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="color: blue;"&gt;Block3&lt;/span&gt;:-tells the DNS server there 
are&amp;nbsp; a localhost zone and its called db.127.0.0 This zone allows 
resolution of the name 'localhost' to the loopback address 127.0.0.1 
when using the DNS server.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="color: blue;"&gt;Block4&lt;/span&gt;:- &lt;i&gt;tells the DNS server that there are reverse lookup zone and &lt;/i&gt;the zone configuration file is called&lt;i&gt; db.192.168.2 .&lt;/i&gt;&lt;span class="st"&gt;&lt;span dir="ltr"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span class="st"&gt;&lt;span dir="ltr"&gt;&lt;i&gt;&lt;span style="color: blue;"&gt;Block5&lt;/span&gt;:- &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;tells the DNS server that there are forward zone and &lt;/i&gt;the zone configuration file is called db.domain.test.&lt;/div&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Now create zone files on master server&amp;nbsp;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
as shown in "named.conf" file there are four zone configuration files.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
db.cache , db.127.0.0 , db.192.168.2 , domain.test .&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;➊ &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;create db.cache&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; mkdir /var/named&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; cd /var/named &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➋&lt;/span&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Download root servers file&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; /usr/sfw/bin/wget ftp://ftp.rs.internic.net/domain/named.root &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➌ &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;rename named.root to db.cache&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; mv named.root db.cache &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➍&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; create db.127.0.0&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi db.127.0.0 &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;➎&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;type the following information inside "db.127.0.0" file &lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;@ IN SOA &lt;span style="color: red;"&gt;server_name.domain.test.&lt;/span&gt; admin_mail.domain.test. (  
      20110622 ; serial number   
      7200 ; Refresh Interval  
      3600 ; Retry Interval  
      86400 ; Expire  
      600 ) ; TTL  
      NS ns1&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;.&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;&amp;nbsp;&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;     NS ns2. 
 1     IN     PTR     localhost. &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Note :-&lt;br /&gt;ns1. is:-(your DNS server name), to find your server name :-&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; uname -n &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;✔ &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;The serial number is a record of how often this DNS entry has been updated. Every time a change is made to the entry, the serial number must be incremented.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
✔ The "refresh" number stands for how often secondary name servers should check the primary for a change in the serial number.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
✔ Expire" is how long the secondary server should use its current entry if it is unable to perform a refresh&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
✔ "minimum" is how long other nameservers should cache, or save, this entry&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;➏&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;create db.192.168.2 &lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi db.192.168.2 &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;➐&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;type the following information inside "db.192.168.2" file .&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;@ IN SOA ns1.domain.test. admin_mail.domain.test. (  
      20110622 ; serial number   
      7200 ; Refresh Interval  
      3600 ; Retry Interval  
      86400 ; Expire  
      600 ) ; TTL  
      NS &lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;ns1.&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;     NS ns2.
&lt;span style="color: red;"&gt;2     IN     PTR     localhost.&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Note :&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PTR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost.&amp;nbsp; =&amp;gt; 2 is the last part of the server ip (192.168.2.2)&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➑&lt;/span&gt; create db.domain.test&lt;code style="color: black; word-wrap: normal;"&gt;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi db.domain.test&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➒&lt;/span&gt; type the following information inside "db.domain.test" file .&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;@ IN SOA server_name.domain.test. admin_mail.domain.test. (  
      20110622 ; serial number   
      7200 ; Refresh Interval  
      3600 ; Retry Interval  
      86400 ; Expire  
      600 ) ; TTL  
      NS ns1.&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;      NS ns2.  
&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;ns1&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;    IN     A     192.168.2.2 &lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;ns2    IN     A     192.168.2.3&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➓&lt;/span&gt; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;check your configuration syntax&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;named-checkconf -z /etc/named&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
if there are any errors you will see a warning messages.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
 - enable dns server daemon&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcadm enable dns/server&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
- check the status of dns/server daemon&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcs -a | grep dns/server&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;online&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19:42:04 svc:/network/dns/server:default&lt;code style="color: black; word-wrap: normal;"&gt; &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; Configure SLave DNS server&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: black;"&gt;login to your&amp;nbsp; Slave DNS server&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➊&lt;/span&gt; make sure your DNS daemon is disabled.&lt;/div&gt;
&lt;pre style="background: url(&amp;quot;http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcadm disable dns/server&amp;nbsp; &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➋&lt;/span&gt; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;create the DNS confiuration file "named.conf"&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; touch /etc/named.conf&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➌&lt;/span&gt; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;edit the "named.conf" file&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi /etc/named.conf&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
The
 file will be opened for editing , if you don't know how to use VI 
editor follow this link to be more familiar with VI Editor.&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➍&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;add the following lines to the "named.conf" file.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;options     {  
      directory "/var/named";  
 };  
 zone "." {  
      type hint ;  
      file "db.cache";  
 };  
 zone     "0.0.127.in-addr.arpa" {  
      type slave ;  
      file "db.127.0.0";  
      masters {192.168.2.2;};  
 };  
 zone     "9.109.10.in-addr.arpa" {  
      type slave ;  
      file "db.10.109.9" ;  
      masters {192.168.2.2;};  
 };  
 zone     "2.168.192.in-addr.arpa" {  
      type slave ;  
      file "db.192.168.2" ;  
      masters {192.168.2.2;};  
 };  
 zone     "test.internal" {  
      type slave ;  
      file "db.test.internal" ;  
      masters {192.168.2.2;};  
 } ;  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Now create zone files :- db.127.0.0 , db.cache&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
 &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➊ &lt;/span&gt;create db.cache&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; mkdir /var/named&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; cd /var/named &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➋&lt;/span&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Download root servers file&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; /usr/sfw/bin/wget ftp://ftp.rs.internic.net/domain/named.root &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➌ &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;rename named.root to db.cache&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; mv named.root db.cache&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➍&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; create db.127.0.0&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi db.127.0.0 &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;➎&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;type the following information inside "db.127.0.0" file &lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;@ IN SOA &lt;span style="color: red;"&gt;server_name.domain.test.&lt;/span&gt; admin_mail.domain.test. (  
      20110622 ; serial number   
      7200 ; Refresh Interval  
      3600 ; Retry Interval  
      86400 ; Expire  
      600 ) ; TTL  
      NS ns1&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;.&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;&amp;nbsp;&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;     NS ns2. 
 1     IN     PTR     localhost. &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➏&lt;/span&gt; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;check your configuration syntax&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;named-checkconf -z /etc/named&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;if there are any errors you will see a warning messages.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style="font-size: large;"&gt;➐&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; enable dns server daemon&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcadm enable dns/server&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➑&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;check the status of dns/server daemon&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcs -a | grep dns/server&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background: none repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;online&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19:42:04 svc:/network/dns/server:default&lt;code style="color: black; word-wrap: normal;"&gt; &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-962197344477244009?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/962197344477244009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/configure-slave-dns-server-on-solaris.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/962197344477244009?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/962197344477244009?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/10/configure-slave-dns-server-on-solaris.html' title='Configure Slave DNS server on solaris 10'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;D0cBRX0zfip7ImA9WhdbFk4.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-2058706826777839566</id><published>2011-09-24T10:39:00.001-07:00</published><updated>2011-10-14T16:30:54.386-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-10-14T16:30:54.386-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='DNS'/><title>Configure DNS server on oracle solaris 10</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Master DNS Server Configuration&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;Estimated Time :- 30 Minutes&lt;/span&gt;&lt;span style="font-size: small;"&gt; ツ&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;To configure DNS server , you need to set up a number of configuration files, mainly you need to configure "&lt;u&gt;named.conf&lt;/u&gt;" file and &lt;u&gt;zone files&lt;/u&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;named.conf file is located in /etc/, and it includes information about zones and other options.&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➊&lt;/span&gt; First Step is to configure "named.conf" file:- &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ &lt;span style="font-size: small;"&gt;make sure your DNS daemon is disabled.&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: url(&amp;quot;http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcadm disable dns/server&amp;nbsp; &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ create the DNS confiuration file "named.conf"&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; touch /etc/named.conf  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ edit the "named.conf" file&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi /etc/named.conf  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;The file will be opened for editing , if you don't know how to use VI editor follow this link to be more &lt;/span&gt;&lt;span style="color: red; font-size: small;"&gt;familiar&lt;/span&gt;&lt;span style="font-size: small;"&gt; with VI Editor:- &lt;/span&gt;&lt;a href="http://inside-solaris.blogspot.com/2011/10/unix-vi-editor.html"&gt;UNIX VI editor&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
↪&lt;span style="font-size: x-small;"&gt; &lt;span style="font-size: small;"&gt;add the following lines to the "named.conf" file , Note : Don't add "Block #" word it's just for illustration purpose.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: x-small;"&gt;Block 1&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: url(&amp;quot;http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; options {  
         "/var/named";  
 };&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;Block2&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zone "." {  
       type hint;  
       file "db.cache";  
 };&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;Block3&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; zone "0.0.127.in-addr.arpa" {  
            type master;  
            file "db.127.0.0";  
 };&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;Block4&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;zone "2.168.192.in-addr.arpa" {  
               type master;  
               file "db.192.168.2";  
 };  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: x-small;"&gt;Block5&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;zone "domain.test" {  
             type master;  
             file "db.domain.test";  
 };&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Note That :-&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="color: blue;"&gt;Block1&lt;/span&gt;:-tells the DNS that zone files are located in "/var/named".&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="color: blue;"&gt;Block2&lt;/span&gt;:- tells the DNS the address of root servers and the zone configuration file is called db.cache , if you don't know what root servers follow this link HOW DNS WORK.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="color: blue;"&gt;Block3&lt;/span&gt;:-tells the DNS server there are&amp;nbsp; a localhost zone and its called db.127.0.0 This zone allows resolution of the name 'localhost' to the loopback address 127.0.0.1 when using the DNS server.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="color: blue;"&gt;Block4&lt;/span&gt;:- &lt;i&gt;tells the DNS server that there are reverse lookup zone and &lt;/i&gt;the zone configuration file is called&lt;i&gt; db.192.168.2 .&lt;/i&gt;&lt;span class="st"&gt;&lt;span dir="ltr"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span class="st"&gt;&lt;span dir="ltr"&gt;&lt;i&gt;&lt;span style="color: blue;"&gt;Block5&lt;/span&gt;:- &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;tells the DNS server that there are forward zone and &lt;/i&gt;the zone configuration file is called db.domain.test.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➋&lt;/span&gt; second step is to create and configure zone file .&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
as shown in "named.conf" file there are four zone configuration files.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
db.cache , db.127.0.0 , db.192.168.2 , domain.test .&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ create db.cache&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; mkdir /var/named&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; cd /var/named&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ Download root servers file&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; /usr/sfw/bin/wget ftp://ftp.rs.internic.net/domain/named.root&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ rename named.root to db.cache&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; mv named.root db.cache&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ create db.127.0.0&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi db.127.0.0&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ type the following information inside "db.127.0.0" file .&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;@ IN SOA &lt;span style="color: red;"&gt;server_name.domain.test.&lt;/span&gt; admin_mail.domain.test. (  
      20110622 ; serial number   
      7200 ; Refresh Interval  
      3600 ; Retry Interval  
      86400 ; Expire  
      600 ) ; TTL  
      NS &lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;server_name.&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  
 1     IN     PTR     localhost.&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Note :-&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="color: red;"&gt;server_name.domain.test&lt;/span&gt; is:-(your DNS server name).(your domain).&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
to find your server name :- &lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; uname -n&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: x-small;"&gt;✔&lt;/span&gt; The
 serial number is a record of how often this DNS entry has been
 updated. Every time a change is made to the entry, the serial
 number must be incremented.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
✔ The
 "refresh" number stands for how often secondary name servers should
 check the primary for a change in the serial number.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
✔ Expire" is how
 long the secondary server should use its current entry if it is
 unable to perform a refresh&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;
✔ "minimum" is how long other nameservers
 should cache, or save, this entry&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ create db.192.168.2&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi db.192.168.2&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ type the following information inside "db.192.168.2" file .&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;@ IN SOA server_name.domain.test. admin_mail.domain.test. (  
      20110622 ; serial number   
      7200 ; Refresh Interval  
      3600 ; Retry Interval  
      86400 ; Expire  
      600 ) ; TTL  
      NS &lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;server_name.&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  
&lt;span style="color: red;"&gt;2     IN     PTR     localhost.&lt;/span&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Note :&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="color: red;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PTR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost.&lt;/span&gt;&amp;nbsp; =&amp;gt; 2 is the last part of the server ip (192.168.2.&lt;u&gt;&lt;span style="color: red;"&gt;2&lt;/span&gt;&lt;/u&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ &lt;span style="font-size: small;"&gt;create db.domain.test&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi db.domain.test&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
↪ &lt;span style="font-size: small;"&gt;type the following information inside "db.domain.test" file .&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;@ IN SOA server_name.domain.test. admin_mail.domain.test. (  
      20110622 ; serial number   
      7200 ; Refresh Interval  
      3600 ; Retry Interval  
      86400 ; Expire  
      600 ) ; TTL  
      NS server_name.  
&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;server_name&lt;/code&gt;&lt;code style="color: black; word-wrap: normal;"&gt;    IN     A     192.168.2.2&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➌&lt;/span&gt; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;check your configuration syntax &lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;named-checkconf -z /etc/named&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
if there are any errors you will see a warning messages.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➍&lt;/span&gt; enable dns server daemon&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcadm enable dns/server&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➎&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;check the status of dns/server daemon&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcs -a | grep dns/server&lt;/code&gt;&lt;/pre&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;online&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19:42:04 svc:/network/dns/server:default&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-2058706826777839566?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/2058706826777839566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/09/dns.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/2058706826777839566?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/2058706826777839566?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/09/dns.html' title='Configure DNS server on oracle solaris 10'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;DUUHQnk9eyp7ImA9WhRVFk4.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-3230107388055640047</id><published>2011-09-06T15:27:00.000-07:00</published><updated>2012-01-15T06:20:33.763-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-01-15T06:20:33.763-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title>Apache shared hosting</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="color: red; font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Introduction : -&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;Shared Hosting or Virtual Hosting refers to a hosting service where more than one web site reside on the same server , each web site has its own space.&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Apache Shared Hosting can be implementing in two ways :-&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="color: blue; font-size: small;"&gt;1- Apache IP-based virtual Hosting&lt;/span&gt;&lt;span style="font-size: small;"&gt; : - each web site should has its own IP address or web sites can share one IP address but with different PORT number (www.site1.com:8888 , www.site2.com:8889 ... ) .&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="color: blue; font-size: small;"&gt;2- Apache Name-based Virtual Hosting&lt;/span&gt;&lt;span style="font-size: small;"&gt; :- more than one web site can share the same IP address , that means all web sites in the DNS point to the same IP address and the apache takes care of redirect the requester to the correct site. &lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: black; font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Example :-&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;x hosting company host six web sites ( www.site1.com , www.site2.com .... www.site6.com ) on the same server and each of them belong to different person.&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: red; font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: red; font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Implementation :-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: red; font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;assume we have one server running solaris 10 and we want to host two web sites on this server .&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Information :-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;- First web Server IP :- &lt;u&gt;192.168.1.50&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;- Second web Server IP :-&lt;u&gt; 192.168.1.51&amp;nbsp; &lt;/u&gt;(you need the second IP&amp;nbsp;&amp;nbsp; just if you want to implement IP-based Virtual host based on port number)&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;- first web site name :- &lt;u&gt;site1.com&lt;/u&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;- second web site name :- &lt;u&gt;site2.com&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Steps :-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;Note :- Clear cache storage in the web browser before test any changes . &lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;- &lt;/span&gt;&lt;span style="color: blue; font-size: small;"&gt;IP-based virtual host (case 1 :- each site has its own IP address )&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="font-size: large;"&gt;➊&lt;/span&gt;&lt;span style="font-size: small;"&gt; make sure the apache service is running on solaris 10 , at the prompt type :-&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  svcs -a | grep -i apache2  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;if the apache is running you will see the following : -&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; online   0:28:03 svc:/network/http:apache2   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;if the status is disabled ,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; disable   0:28:03 svc:/network/http:apache2   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;enable it , at the command prompt type :-&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  svcadm enable apache2   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➋ &lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;create directories that will hold site1 and site 2 files ,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;cd /var/apache2/htdocs       
mkdir site1 site2         
cd site1             
echo "Site1 Page"&amp;gt;&amp;gt;index.html   
cd ..                 
cd site2             
echo "Site2 Page"&amp;gt;&amp;gt;index.html  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;note that the "/var/apache2/htdocs is the DocumentRoot folder which holds all web sites files.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➌&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Copy the file /etc/apache2/httpd.conf-example to /etc/apache2/httpd.conf by running the following command .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; cp /etc/apache2/httpd.conf-example /etc/apache2/httpd.conf   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➍&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;edit the httpd.conf file as the following :-&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  vi /etc/apache2/httpd.conf   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Follow the link to Configure basic apache setting :-&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;u&gt;Configure Apache on Solaris&lt;/u&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;scroll down until you reach Virtual Hosts section .&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;add the following information :-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;&amp;lt;VirtualHost 192.168.1.50:80&amp;gt;   
  ServerName site1.com   
  ServerAdmin admin@site1.com   
  DocumentRoot /var/apache2/htdocs/site1   
  ErrorLog /var/apache2/logs/site1.error.log   
  Customlog /var/apache2/logs/site1.access.log combind   
  &amp;lt;/VirtualHost&amp;gt;   
  &amp;lt;VirtualHost 192.168.1.55:80&amp;gt;   
  ServerName site2.com   
  ServerAdmin admin@site2.com   
  DocumentRoot /var/apache2/htdocs/site2   
  ErrorLog /var/apache2/logs/site2.error.log   
  CustomLog /var/aapche2/logs/site2.access.log   
  &amp;lt;/VirtualHost&amp;gt;   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➎&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; save and close the document.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➏&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; restart the apache service&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  svcadm restart apache2   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;now , you have completed the configuration , try to access the site1.com by its IP address by type 192.168.1.50 in the web browser , if you see Site1 Page then your configuration is OK , now try to access site2.com by type 192.168.1.55 in the web browser&amp;nbsp; , you have to see Site2 Page.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;if you want to access site1 and site2 by names add a recored in the DNS for site1 and site2 , if you don't have a DNS server you can do that from hosts file in the operating system as follow :-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;↪&lt;/span&gt; &lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;UNIX + Linux = edit /etc/hosts file and add a record for site1 and site2 as following :-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.50 &amp;nbsp;&amp;nbsp; site1.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.55 &amp;nbsp;&amp;nbsp; site2.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;↪&lt;/span&gt; &lt;span style="font-size: small;"&gt;Windows = edit C:\WINDOWS\system32\drivers\etc\hosts file and add a record for site1 and site as following :-&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.50 &amp;nbsp;&amp;nbsp; site1.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.55 &amp;nbsp;&amp;nbsp; site2.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;-IP-based virtual host ( case 2 :- web sites share one IP address with different PORT )&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: large;"&gt;➊&lt;/span&gt;&lt;span style="font-size: small;"&gt; clear all configuration in previous step .&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: large;"&gt;➋&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt; make sure the apache service is running on solaris 10 , at the prompt type :-&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt; &lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  svcs -a | grep -i apache2  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;if the apache is running you will see the following : -&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;online   0:28:03 svc:/network/http:apache2 &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;if the status is disabled ,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;disable   0:28:03 svc:/network/http:apache2   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="background-color: white; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;enable it , at the command prompt type :-&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;svcadm enable apache2   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➌&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;create directories that will hold site1 and site 2 files .&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;cd /var/apache2/htdocs       
mkdir site1 site2         
cd site1             
echo "Site1 Page"&amp;gt;&amp;gt;index.html   
cd ..                 
cd site2             
echo "Site2 Page"&amp;gt;&amp;gt;index.html  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif; text-align: justify;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;note that the "/var/apache2/htdocs is the DocumentRoot folder witch holds all web sites files .&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; text-align: justify;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; text-align: justify;"&gt;
&lt;span style="font-size: large;"&gt;➍&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Copy the file /etc/apache2/httpd.conf-example to /etc/apache2/httpd.conf by running the following command .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;cp /etc/apache2/httpd.conf-example /etc/apache2/httpd.conf   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➎&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;edit the httpd.conf file as the following :-&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  vi /etc/apache2/httpd.conf  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;scroll down until you reach &lt;u&gt;Listen&lt;/u&gt; Directive , add the following information :-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; Listen 192.168.1.50:8081   
 Listen 192.168.1.50:8082   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: large;"&gt;➏&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;scroll down until you reach &lt;/span&gt;&lt;u style="font-family: Arial, Helvetica, sans-serif;"&gt;Virtual Host&lt;/u&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; section and ad the following :-&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;&amp;lt;VirtualHost 192.168.1.50:8081&amp;gt;   
  ServerName site1.com   
  ServerAdmin admin@site1.com   
  DocumentRoot /var/apache2/htdocs/site1   
  ErrorLog /var/apache2/logs/site1.error.log   
  Customlog /var/apache2/logs/site1.access.log combind   
 &amp;lt;/VirtualHost&amp;gt;   
 &amp;lt;VirtualHost 192.168.1.50:8080&amp;gt;   
  ServerName site2.com   
  ServerAdmin admin@site2.com   
  DocumentRoot /var/apache2/htdocs/site2   
  ErrorLog /var/apache2/logs/site2.error.log   
  CustomLog /var/aapche2/logs/site2.access.log   
 &amp;lt;/VirtualHost&amp;gt;   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➐&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;save and close the document.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➑&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;restart the apache service&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcadm restart apache2  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;now , you have completed the configuration , try to access the site1.com by its IP address by type &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;192.168.1.50:8081&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; in the web browser , if you see Site1 Page then your configuration is OK .&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;now try to access site2.com by type &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;192.168.1.50:8080&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; in the web browser you have to see Site2 Page.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;if you want to access site1 and site2 by names add a recored in the DNS for site1 and site2 , if you don't have a DNS server you can do that from hosts file in the operating system as follow :-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;↪&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; UNIX + Linux = edit /etc/hosts file and add a record for site1 and site2 as following :-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.50 &amp;nbsp;&amp;nbsp; site1.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.50 &amp;nbsp;&amp;nbsp; site2.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;↪&lt;/span&gt;&lt;span style="font-size: small;"&gt; Windows = edit C:\WINDOWS\system32\drivers\etc\hosts file and add a record for site1 and site as following :-&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.50 &amp;nbsp;&amp;nbsp; site1.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.50 &amp;nbsp;&amp;nbsp; site2.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;in the browser type site1.com:8081 and site2.com:8080&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: blue; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;-&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; Name-Based Virtual Host&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: blue; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➊&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;clear all configuration in previous step .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➋&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;make sure the apache service is running on solaris 10 , at the prompt type :-&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcs -a | grep -i apache2   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;if the apache is running you will see the following : -&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  online   0:28:03 svc:/network/http:apache2   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Copy the file /etc/apache2/httpd.conf-example to /etc/apache2/httpd.conf by running the following command . &lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; cp /etc/apache2/httpd.conf-example /etc/apache2/httpd.conf   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➌&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;create directories that will hold site1 and site 2 files .&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;cd /var/apache2/htdocs   
 mkdir site1 site2    
 cd site1    
 echo "Site1 Page"&amp;gt;&amp;gt;index.html   
 cd ..   
 cd site2   
 echo "Site2 Page"&amp;gt;&amp;gt;index.html &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➍&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;edit the httpd.conf file as the following :-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  vi /etc/apache2/httpd.conf   &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➎&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;scroll down until you reach Virtual Host section and ad the following :- &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;NameVirtualHost 192.168.1.50:80&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;&amp;lt;VirtualHost 192.168.1.50&amp;gt;   
  ServerName site1.com   
  ServerAdmin admin@site1.com   
  DocumentRoot /var/apache2/htdocs/site1   
  ErrorLog /var/apache2/logs/site1.error.log   
  Customlog /var/apache2/logs/site1.access.log combind   
&amp;lt;/VirtualHost&amp;gt;   
&amp;lt;VirtualHost 192.168.1.50&amp;gt;   
  ServerName site2.com   
  ServerAdmin admin@site2.com   
  DocumentRoot /var/apache2/htdocs/site2   
  ErrorLog /var/apache2/logs/site2.error.log   
  CustomLog /var/aapche2/logs/site2.access.log   
&amp;lt;/VirtualHost&amp;gt;  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➏&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;save and close the document.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: large;"&gt;➐&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;restart the apache service&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background: #f0f0f0; border-bottom: #cccccc 1px dashed; border-left: #cccccc 1px dashed; border-right: #cccccc 1px dashed; border-top: #cccccc 1px dashed; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;  svcadm restart apache2   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;if you want to access site1 and site2 by names add a recored in the DNS for site1 and site2 , if you don't have a DNS server you can do that from hosts file in the operating system as follow :-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;↪ &lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;UNIX + Linux = edit /etc/hosts file and add a record for site1 and site2 as following :-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.50 &amp;nbsp;&amp;nbsp; site1.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.50 &amp;nbsp;&amp;nbsp; site2.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;↪&lt;/span&gt;&lt;span style="font-size: small;"&gt; Windows = edit C:\WINDOWS\system32\drivers\etc\hosts file and add a record for site1 and site as following :-&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.50 &amp;nbsp;&amp;nbsp; site1.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;192.168.1.50 &amp;nbsp;&amp;nbsp; site2.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;in the browser type site1.com and site2.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-3230107388055640047?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/3230107388055640047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/09/apache-shared-hosting.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/3230107388055640047?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/3230107388055640047?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/09/apache-shared-hosting.html' title='Apache shared hosting'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;D0MNQng8cCp7ImA9WhdbFk4.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-2444052644549162154</id><published>2011-09-06T09:29:00.000-07:00</published><updated>2011-10-14T16:38:13.678-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-10-14T16:38:13.678-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title>Configure Apache on Solaris</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Step by Step tutorial to Configure httpd.conf apache file . &lt;/span&gt;&lt;/div&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Before reading this article be sure that your apache is running&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcs -a | grep -i apache2&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
if the status is on-line you apache is running&amp;nbsp;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; online     11:37:06 svc:/network/http:apache2&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
if the status is disable or something else read the following article&amp;nbsp; &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;a href="http://inside-solaris.blogspot.com/2011/09/starting-apache-on-solaris-10.html"&gt;&lt;span style="font-size: small;"&gt;Starting Apache on Solaris 10&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;### Notes ###&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;- &lt;/span&gt;&lt;span style="color: blue; font-size: small;"&gt;httpd.conf&lt;/span&gt;&lt;span style="font-size: small;"&gt; file is a configuration file that contains all information (Directives) necessary&amp;nbsp; for apache server to run .&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;- Commonly , I use VI editor to edit and configure httpd.conf file , click here to learn more about VI editor ./////&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;- Apache is configured by placing directives in plain text
    configuration files.&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;- Before editing &lt;span class="filename"&gt;httpd.conf&lt;/span&gt;, make a copy the original file. &lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&amp;nbsp;Apache requires the following information for the DEFAULT HOST :&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="color: blue;"&gt;ServerName&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="color: blue;"&gt;ServerAdmin&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="color: blue;"&gt;DocumentRoot&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="color: blue;"&gt;Listen directive&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="color: blue;"&gt;ServerName&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;is a valid Domain Name Service (DNS) name that can be resolved by the system.&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Example : www.yoursite.com&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;the steps To set the &lt;u&gt;ServerName&lt;/u&gt; Directive in httpd.conf :-&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: large;"&gt;➊&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;at the command prompt type&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi /etc/apache2/httpd.conf  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: large;"&gt;➋&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Vi editor will open the httpd.conf , search for the ServerName directive and change it to your site name .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; ServerName www.yoursite.com  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;save and close the file .&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="color: blue;"&gt;ServerAdmin&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;the E-mail address of the web server administrator , this address shows up in error messages .&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;the steps to set the &lt;u&gt;ServerAdmin&lt;/u&gt; Directive in hhtpd.conf&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: large;"&gt;➊&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;at the command prompt type&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #444444; color: white; font-size: small;"&gt; &lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; vi /etc/apache2/httpd.conf&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: large;"&gt;➋&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Vi editor will open the httpd.conf , search for the &lt;/span&gt;&lt;u style="font-family: Arial,Helvetica,sans-serif;"&gt;serverAdmin&lt;/u&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; directive and change it to the web server administrator.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; ServerAdmin you@yourhost.com  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;code style="color: black; word-wrap: normal;"&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;save and close the file .&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;span style="color: blue;"&gt;DocumentRoot&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;DocumentRoot is a directory where all your website files (HTML files) reside , the default location in Solaris 10 is &lt;u&gt;/var/apache2/htdocs&lt;/u&gt; ,for example the server might receive a request for the following document :- &lt;u&gt;www.yourwebsite.com/file.html &lt;/u&gt;, The server looks for the file in the default directory: &lt;u&gt;/var/apache2/htdocs &lt;/u&gt;, you can change its value by editing httpd.conf .&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: large;"&gt;➟&lt;/span&gt;&lt;span style="color: blue; font-size: small;"&gt; Listen directive&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;The &lt;u&gt;Listen&lt;/u&gt;&lt;code class="directive"&gt; &lt;/code&gt;
    directive tells the server to accept
    incoming requests only on the specified port or
    address-and-port combinations.&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;Examples : -&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;To make the server accept connections on ports 80 and 8888 change the Listen Directive in httpd.conf as follow :-&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;Listen 80  
Listen 8888 &lt;/code&gt;&lt;/pre&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;To make the server accpet connectios on only port 8888 change the value of Listen Directive to be : -&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; Listen 8888   &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="background-color: #444444; color: white; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="font-size: small;"&gt;that means if the client request your web site just by its name ( www.site.com ) the request will be failed because the default Port is ( 80 ) and you have changed it to ( 8888 ) so , the client should request the site name plus the port number (www.site.com:8888) to get the correct response.&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;the default value for Listen Directive is :-&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt;Listen 80  &lt;/code&gt;&lt;/pre&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-2444052644549162154?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/2444052644549162154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/09/configure-apache-on-solaris.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/2444052644549162154?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/2444052644549162154?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/09/configure-apache-on-solaris.html' title='Configure Apache on Solaris'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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 gd:etag='W/&quot;D0IBQHkzeip7ImA9WhdbFk4.&quot;'><id>tag:blogger.com,1999:blog-5344889469438699880.post-4132280290337896940</id><published>2011-09-06T03:42:00.001-07:00</published><updated>2011-10-14T16:39:11.782-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-10-14T16:39:11.782-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title>Starting Apache on Solaris 10</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Step By Step tutorial to start Apache on Solaris 10&lt;/div&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
### Notes ###&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
- Apache is a free web server that is distributed under an "Open Source" license.&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
- Apache web server is already installed on Solaris10. &lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
- The main Configuration file for Apache is &lt;span style="color: blue;"&gt;httpd.conf &lt;span style="color: black;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
-&amp;nbsp; The &lt;span style="color: blue;"&gt;httpd.conf&lt;/span&gt; file does not exist by default .&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
### Steps To Start Apache on Solaris ###&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➊&lt;/span&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Connect To your Server .&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➋ &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;check if the apache is already running by running the following command :- &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcs -a | grep -i apache2  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Output :-&lt;/div&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; disabled    Jun_18  svc:/network/http:apache2  &lt;/code&gt;&lt;/pre&gt;
&lt;span style="background-color: #444444; color: white;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
you can see that the apache is disabled .&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➌&lt;/span&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Copy the file /etc/apache2/httpd.conf-example to /etc/apache2/httpd.conf by running the following command .&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; cp /etc/apache2/httpd.conf-example /etc/apache2/httpd.conf  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
&lt;span style="color: black;"&gt;Note :- &lt;/span&gt;The file 'httpd.conf-example' contains an example of how to configure your apache web server .&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➍&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Start the apache web server by running the following command.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcadm enable apache2&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;span style="font-size: large;"&gt;➎&lt;/span&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;check the apache server status by running the following command :-&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; svcs -a | grep -i apache2  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
Output :-&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; online     11:37:06 svc:/network/http:apache2&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;
you can see that the apache status is online , and that means everything is ok at the moment.&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;➏&lt;/span&gt; &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;to check your work enter the following URL in the web server browser http://localhosts/manual&amp;nbsp; , if you see the following page then your first step is correct .&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-FVQNVO9NSdA/TmYL5I0EI1I/AAAAAAAAACc/OVTfi2tAO6c/s1600/ss.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="74" src="http://4.bp.blogspot.com/-FVQNVO9NSdA/TmYL5I0EI1I/AAAAAAAAACc/OVTfi2tAO6c/s320/ss.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5344889469438699880-4132280290337896940?l=inside-solaris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://inside-solaris.blogspot.com/feeds/4132280290337896940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inside-solaris.blogspot.com/2011/09/starting-apache-on-solaris-10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/4132280290337896940?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5344889469438699880/posts/default/4132280290337896940?v=2'/><link rel='alternate' type='text/html' href='http://inside-solaris.blogspot.com/2011/09/starting-apache-on-solaris-10.html' title='Starting Apache on Solaris 10'/><author><name>solaris</name><uri>http://www.blogger.com/profile/11924996625461507276</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-FVQNVO9NSdA/TmYL5I0EI1I/AAAAAAAAACc/OVTfi2tAO6c/s72-c/ss.png' height='72' width='72'/><thr:total>0</thr:total></entry></feed>