tag:blogger.com,1999:blog-48717563177385796742024-02-19T00:17:10.503-08:00IT-SolutionAnonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-4871756317738579674.post-74810766148100555152013-08-14T03:43:00.000-07:002013-08-21T06:20:18.272-07:00Configure FreeNAS for create virtual environment in LAB<div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><br />
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves>false</w:TrackMoves>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]-->
<br />
<div class="MsoNormal">
What is FreeNAS you say? Put simply, it's is an operating
system based on FreeBSD that brings with it a snazzy web interface for
management, and all the protocols you need to share files between Windows, Mac
and Linux. In other words, a perfect solution for your digital bookshelf. Let's
get to it.</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Once you've got your hardware
squared away we have to get some things out in the open</span></b><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">:</span></div>
<ul type="disc">
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">FreeNAS needs to be installed on a USB drive separate
from the disks you intend to use for your storage volumes. Put simply, if
you were to install FreeNAS (which only requires 2GB of storage) on a
spankin' new 1TB HD, you'd lose 1022GB of said hard disk. FreeNAS can not
utilize the drive on which it's installed for storage. So, that's why you
need that USB stick.</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Think about where you want to keep your FreeNAS box.
Once you install the OS you can throw the box in a closet with power and a
network connection, and let 'er run. Once the initial setup is complete,
you can manage the configuration using the web interface. Just a thought.</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Forget about WiFi. We know your little wheels are
spinning -- just forget it. Trust us on this one.</span></li>
</ul>
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 5; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><b><span style="font-family: "Times New Roman","serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">FreeNAS
Installation</span></b></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 12.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">1. The very first step is to
download the FreeNAS ISO image and burn it to a blank CD-R/CD-RW. You can get
the file <a href="http://sourceforge.net/projects/freenas/files/FreeNAS-8.0.3/FreeNAS-8.0.3-RELEASE-x64.iso/download"><span style="color: blue;">here</span></a>.</span></div>
<div align="center" class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: center; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 12.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><br />
2. Place the USB stick into a USB port that's attached directly to your system
board. Don't insert it into one of those front panel sockets; to be safe it
should be in the back of the PC. Yours truly had some weird results using front
panel USB ports, which included installations crashing and very slow operation.<br />
<br />
3. Power up your machine and head directly to your BIOS config. Do not pass go,
do not collect $200. We have to be sure to set the boot devices in the proper
order. Since BIOS options vary from device to device, here's the basic the
order you want: CD/DVD drive, USB HDD, disable all other devices. Save your
settings, place the freshly baked CD in your drive and reboot.<br />
<br />
4. If everything went well with the last step you should now be booting to the
first bootloader. You'll see some text scrolling and gibberish like so:</span></div>
<div align="center" class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: center; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><br />
Next you'll get to the boot loader, which looks like this:</span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto;">
<br /></div>
<div align="center" class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: center; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 12.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><br />
5. At this point you can either press Enter or allow the timer to count down.
Whichever you choose, you'll end up in the actual FreeNAS installer here:</span></div>
<div align="center" class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: center; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 12.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><br />
<span style="mso-spacerun: yes;"> </span>Odds are your device will be listed as
da0 on this screen as well. Double check the description and size to be sure.
As you can see, in our case it plainly reads, "SanDisk Cruzer 8.02 --
7.5GiB," the name of our USB Stick. Select your device and press Enter.</span></div>
<div align="center" class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: center; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 12.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><br />
7. The installer here gives us a nice little warning which states that all data
will be wiped from your drive for installation. Hit "Yes" to proceed.</span></div>
<div align="center" class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: center; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 12.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><br />
8. As soon as you press Enter you'll notice the dialogue beginning at the
bottom of the screen. Man, that's flashy. Eventually, you'll see a message
reassuring you the installation is complete and that it's time to reboot again.</span></div>
<div align="center" class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: center; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 12.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><br />
9. It does as it's told. Hit Enter and remove the CD from your drive so you
boot to your newly minted FreeNAS installation. Once your computer reboots,
you'll be inside the FreeNAS OS.</span></div>
<div align="center" class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: center; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 12.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><br />
At this point, if you see this screen, go ahead and let out a single
"woot!" You deserve it. Congratulations, you've now got FreeNAS
installed. Okay, now get a hold of yourself, as we've still gotta carve out
some disk volumes and share 'em.</span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 5; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><b><span style="font-family: "Times New Roman","serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Create
disc volumes</span></b></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 12.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="clear: right; float: right; margin-bottom: 1em; text-align: center;"><tbody>
<tr><td style="text-align: center;"></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Add caption</td></tr>
</tbody></table>
<a href="http://www.blogger.com/blogger.g?blogID=4871756317738579674" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="http://www.blogger.com/blogger.g?blogID=4871756317738579674" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="http://www.blogger.com/blogger.g?blogID=4871756317738579674" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="http://www.blogger.com/blogger.g?blogID=4871756317738579674" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="http://www.blogger.com/blogger.g?blogID=4871756317738579674" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="http://www.blogger.com/blogger.g?blogID=4871756317738579674" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="http://www.blogger.com/blogger.g?blogID=4871756317738579674" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span><br /><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">
1. Make note of the next-to-last line on the screen (highlighted in green
below): http://192.168.11.48/. That's telling us the URL through which we can
access the FreeNAS management interface.</span></div>
<div align="center" class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: center; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: 12.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><br />
<b>Sidenote:</b> By default, FreeNAS utilizes DHCP for obtaining IP addresses;
your IP is almost certainly going to be different. In most home environments,
DHCP is used for serving out IP addresses, so it's easiest to leave the FreeNAS
configuration as is to avoid any IP conflicts on your home network. If a storm
knocks out power to your home and everything reboots, you may have to check
this screen again if your DHCP client tables gets wiped out, as the address may
change. If you happen to be running a network where you statically set IP
addresses, good for you. You'll of course need to set a static address on your
FreeNAS system by choosing option one on the Console Setup Screen. We won't
cover configuring static addresses in this how-to, so you're on your own there.<br />
</span><br /><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">
2. Let's open up the management interface now. From another computer on your
network, open up a web browser and enter the address you see on your FreeNAS
machine. You should see this:</span></div>
<div align="center" class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: center; text-indent: -.25in;">
<span style="font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span style="mso-no-proof: yes;"></span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="mso-no-proof: yes;"></span></div>
<div class="MsoNormal">
<div style="text-align: right;">
</div>
After successfully configure FreeNas, add NAS logical drive
in VMware virtualization.</div>
<div class="MsoNormal">
<span style="mso-no-proof: yes;"></span></div>
<div class="MsoNormal">
<span style="mso-no-proof: yes;"></span></div>
<div class="MsoNormal">
<span style="mso-no-proof: yes;"></span></div>
<div class="MsoNormal">
<span style="mso-no-proof: yes;"></span></div>
<div class="MsoNormal">
<span style="mso-no-proof: yes;"></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
After complete this process, install multiple VM, This is
very useful to create virtual environment in LAB..</div>
</div>
Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-8420111727411736012013-08-05T11:23:00.001-07:002013-08-05T11:23:21.482-07:00PXE BOOT installation <div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
Mount ISO file<o:p></o:p></div>
<div style="border-bottom: double black 1.0pt; border: none; mso-border-bottom-alt: double black .75pt; mso-element: para-border-div; padding: 0in 0in 2.0pt 0in;">
<div class="MsoNormal" style="border: none; mso-border-bottom-alt: double black .75pt; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;">
mount -o loop
/mnt/e/centos5/CentOS-5.0-i386-bin-DVD.iso /mnt/iso<o:p></o:p></div>
<div class="MsoNormal" style="border: none; mso-border-bottom-alt: double black .75pt; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;">
<br /></div>
</div>
<div class="MsoNormal">
Configure DHCP Server ...................<o:p></o:p></div>
<div class="MsoNormal">
#<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
# DHCP Server Configuration file.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
# see
/usr/share/doc/dhcp*/dhcpd.conf.sample <o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
#<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
ddns-update-style interim;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
subnet 10.10.10.0 netmask 255.255.255.0 {<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
range 10.10.10.98 10.10.10.99;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
default-lease-time 3600;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
max-lease-time 4800;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
option routers 10.10.10.29;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
option domain-name-servers 10.10.10.29;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
option subnet-mask 255.255.255.0;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
option domain-name "qa.net";<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
option time-offset -8;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
next-server 10.10.10.29;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
}<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
host test {<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
hardware ethernet 00:10:F3:09:89:48;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
fixed-address 10.10.10.98;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
option host-name "test";<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
filename "/linux-install/pxelinux.0";<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div style="border-bottom: double black 1.0pt; border: none; mso-border-bottom-alt: double black .75pt; mso-element: para-border-div; padding: 0in 0in 2.0pt 0in;">
<div class="MsoNormal" style="border: none; mso-border-bottom-alt: double black .75pt; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;">
}<o:p></o:p></div>
<div class="MsoNormal" style="border: none; mso-border-bottom-alt: double black .75pt; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;">
<br /></div>
</div>
<div class="MsoNormal">
Configure HTTP server...................<o:p></o:p></div>
<div class="MsoNormal">
<Directory /mnt/iso><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Options Indexes<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
AllowOverride None<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</Directory><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div style="border-bottom: double black 1.0pt; border: none; mso-border-bottom-alt: double black .75pt; mso-element: para-border-div; padding: 0in 0in 2.0pt 0in;">
<div class="MsoNormal" style="border: none; mso-border-bottom-alt: double black .75pt; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;">
Alias /linux /mnt/iso<o:p></o:p></div>
<div class="MsoNormal" style="border: none; mso-border-bottom-alt: double black .75pt; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;">
<br /></div>
</div>
<div class="MsoNormal">
Enable TFTP server using chkconfig.. restart xinetd<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div style="border-bottom: double black 1.0pt; border: none; mso-border-bottom-alt: double black .75pt; mso-element: para-border-div; padding: 0in 0in 2.0pt 0in;">
<div class="MsoNormal" style="border: none; mso-border-bottom-alt: double black .75pt; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;">
#Chkconfig tftp on<o:p></o:p></div>
<div class="MsoNormal" style="border: none; mso-border-bottom-alt: double black .75pt; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;">
#Service xinetd restart<o:p></o:p></div>
</div>
<div class="MsoNormal">
Configure PXE Installation Service<o:p></o:p></div>
<br />
<div class="MsoNormal">
#pxeos -a -i "test" -p HTTP -D 0 -s 10.10.10.29 -L
/linux test<o:p></o:p></div>
</div>
Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-39265530487931074122013-08-05T11:01:00.003-07:002013-08-05T11:01:37.222-07:00VMware HA Best Practices <div dir="ltr" style="text-align: left;" trbidi="on">
Use the VMware HA best practices in this section that are applicable to your ESX Server<br />
Implementation and networking architecture.<br />
<br />
Networking Best Practices<br />
The configuration of ESX Server host networking<br />
and name resolution, as well as the networking<br />
infrastructure external to ESX Server hosts (switches, routers, and firewalls), is critical to optimizing<br />
VMware HA setup. The following suggestions are best practices for configuring these components for improved HA performance:<br />
<br />
Ensure that the following firewall ports are open for communication by the service console for all ESX Server 3 hosts:<br />
Incoming Port: TCP/UDP 8042-8045<br />
Outgoing Port: TCP/UDP 2050-2250<br />
For better heartbeat reliability, configure end-to-end dual network paths between servers for<br />
Service console networking. You should also configure shorter network paths between the<br />
Servers in a cluster. Routes with too many hops can cause networking packet delays for<br />
Heartbeats. If redundant service consoles are on separate subnets, specify “isolation address” for each Service console that is on its subnet. By default, gateway address for the network is used as isolation address.<br />
Disable VMware HA (using VirtualCenter, deselect the<br />
Enable VMware HA<br />
check box in the cluster’s Settings dialog box) when performing any networking maintenance that might disable all heartbeat paths between hosts.<br />
Use DNS for name resolution rather than the error prone method of manually editing the local<br />
/etc/hosts<br />
file on ESX Server hosts. If you do edit<br />
/etc/hosts<br />
you must include both long and short names.<br />
Use consistent port names on VLANs for public networks on all ESX servers in the cluster. Port<br />
Names are used to reconfigure access to the network by virtual machines. If the names are<br />
used on the original server and the failover server are inconsistent, virtual machines are<br />
Disconnected from their networks after failover<br />
<br />
<br />
Setting Up Networking Redundancy<br />
<br />
Networking redundancy between cluster nodes is important for VMware HA reliability. Redundant<br />
Service console networking on ESX Server allows the reliable detection of failures and prevents isolation conditions from occurring, because heartbeats can be sent over multiple networks.<br />
You can implement network redundancy at the NIC level or at the service console or VMKernel<br />
port level. In most implementations, NIC teaming provides sufficient redundancy, but you can use or add service console or port redundancy if you need additional redundancy.<br />
<br />
NIC Teaming<br />
Two NICs connected to separate physical switches can<br />
Improve the reliability of a service console (or, in ESX Server 3i, VMkernel) network. Because<br />
Servers connected to each other through two NICs (and through separate switches) have two<br />
Independent paths for sending and receiving heartbeats, the cluster is more resilient.<br />
To configure a NIC team for the service console, configure the vNICs in vSwitch configuration for the ESX Server host, for Active/standby configuration. The recommended parameters for the<br />
vNICs are<br />
<br />
.Rolling Failover = Yes<br />
Default Load Balancing = route based on originating port ID<br />
<br />
<br />
The following example illustrates the use of a single service console network with NIC teaming for network redundancy:<br />
<br />
You assume some risk if you configure hosts in the cluster with only one service console<br />
Network (subnet 10.20.XX.XX), so this example uses two teamed NICs to protect against NIC<br />
Failure.<br />
The default timeout is increased to 60 seconds (<br />
das.failuredetectiontime = 60000<br />
.<br />
Secondary Service Console Network<br />
As an alternative to NIC teaming for providing redundancy for heartbeats, you can create a<br />
secondary service console network (or VMkernel port for ESX Server 3i), then attach that port to a separate virtual switch. The primary service console network is still used for network and management purposes. When you create the secondary service console network, VMwareHAsends heartbeats over both the primary and secondary service console networks. If one path fails,<br />
VMware HA can still send and receive heartbeats over the other path.<br />
By default, the gateway IP address specified in each ESX Server host’s service console network configuration is used as the isolation address. Each service console network should have one<br />
Isolation address it can reach. When you set up service console network redundancy, you must specify an additional isolation response address (<br />
das.isolationaddress2) for the<br />
Secondary service console network. When you specify this secondary isolation address, VMware also recommends that you increase the<br />
Das.failuredetectiontimesetting to 20000 milliseconds or greater.<br />
Also, make sure you configure isolation addresses properly for the redundant service console Network that you create. Follow the networking best practices when designating isolation<br />
Addresses. A further optimization you can make (if you have already configured a VMotion network) is to add a secondary service console network to the Motion vSwitchswitch can be shared between VMotion networks and a secondary service console network. each host in the cluster is configured with two service consoles. Each of these service console networks is connected to a separate physical NIC. The two networks are also on different subnets.<br />
Use the default gateway for the first network and specify<br />
das.isolationaddress2 = 192.168.1.103as the additional isolation address for the second network. Increase the default timeout to 20 seconds (<br />
das.failuredetectiontime = 20000)<br />
<br />
Other HA Cluster Considerations<br />
<br />
Other considerations for optimizing the performance of your HA cluster include:<br />
•Use larger groups of homogenous servers to allow higher levels of utilization across an HA-enabled cluster (on average). More nodes per cluster can tolerate multiple host failures while still guaranteeing failover capacities.<br />
Admission control heuristics are conservatively weighted so that large servers with many virtual<br />
Machines can fail over to smaller servers.<br />
•To define the sizing estimates used for admission control, set reasonable reservations for the minimum resources needed.<br />
Admission control exceeds failover capacities when reservations are not set; otherwise, VMware HA uses the largest reservation specified for a virtual machine in the cluster when deciding failover capacity.<br />
At a minimum, set reservations for a few virtual machines considered average.<br />
Admission control may be too conservative when host and virtual machine sizes vary widely. You may choose to do your own capacity planning by choosing<br />
Allow virtual machines to be powered on<br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-26549563748903665892013-08-03T05:34:00.000-07:002013-08-03T05:34:02.062-07:00which VM backup should be more reliable ?<div dir="ltr" style="text-align: left;" trbidi="on">
<div align="center">
<b>Type of VM backup through Symantec</b></div>
agent-based
backup is also known as guest based backup. An agent is installed in
every virtual machine and treats each virtual machine as if it was a
physical server. The agent in this scenario is reading data from disk
and streaming the data to the backup server<br />
Advantage-<br />
<ul>
<li>Both physical and virtual machines are protected using the same method</li>
<li>Application owners can manage backups and restores to guest OS</li>
<li>Time tested and proven solution</li>
<li>Meets their recovery needs</li>
<li>This is the only way to protect VMware Fault Tolerant virtual machines and VMs with Physical Raw Disk Mappings RDMS</li>
</ul>
Disadvantage-<br />
<ul>
<li>Significantly higher CPU, memory, I/O and network resources utilization on virtual host machines when backups run.</li>
<li>Need to install and manage agents on each virtual machine</li>
<li>Cost may be high for solutions that license on a per agent basis as opposed to per hypervisor based licensing</li>
<li>lack of visibility into changing virtual infrastructure</li>
<li>No visibility for backups from VM administrators’ point of view; for example, backups are not visible at vSphere client level</li>
<li>Complex disaster recovery strategies</li>
<li>Lack of SAN transport backups to offload backup processing job from virtual infrastructure</li>
<li>No protection for offline virtual machines and virtual machine templates</li>
<li>Slow file by file backup by agent sending the even unchanged data over and over again</li>
</ul>
<br />
<strong>Agentless backup-</strong><br />
Agentless
backup, also known as host-based backup, refers to solutions that do
not require an agent to be installed on each VM by the administrator.
However, it’s important to note that the software may be injecting an
agent onto the guest machines without your knowledge.<br />
Advantage-<br />
<ul>
<li>VMs can be backed up online or offline</li>
<li>Less CPU, memory, I/O and network impact on the virtual host</li>
<li>An agentless architecture doesn't require the management of agent software</li>
<li>No per VM agent licensing fees</li>
</ul>
<ul>
<li>Extremely difficult to recover granular object data - first restore the entire VM and its virtual disks</li>
<li>Traditional login techniques to log into the server</li>
<li>Temporary “injected” drivers can destabilize the system and compromise data integrity</li>
<li>Troubleshooting is more complex when using injected (temporary) agents</li>
<li>A centralized controller is a single-point-of-failure</li>
<li>Requires
a fully-virtualized environment. Physical machines still require
agent-based backup. If you have physical and virtual you will need two
backup solutions – one for physical and the other for virtual.</li>
</ul>
<br />
<strong>Agent-Assisted Backup-</strong><br />
Agent
assisted backups are also known as host based backup and integrate with
VMware’s VADP and Microsoft VSS to provide fast and efficient online
and offline backups of ESX, vSphere and Hyper-V. The primary difference
between agentless and this design is its perspective: it pairs the
VMware VADP or Microsoft VSS with an agent that gathers application
metadata to enable multiple avenues of recovery (full VM, applications,
databases, files, folders and granular objects).<br />
<ul>
<li>The backup
is for the entire virtual machine. This is important because it means
the entire VM can be recovered from the image. It also means that
products like Backup Exec & NetBackup can offer “any-level” of
recovery from the image contents: Files / Folders, Databases and
Granular database contents, like email and documents.</li>
<li>The backup
can be offloaded from both VM as well as the hypervisor. This means
that Backup Exec & NetBackup have the flexibility to offload VM
backup onto an existing backup server, instead of burdening the
hypervisor. It also means that users have the option of deploying a
dedicated VM, e.g. a virtual appliance, when a physical backup server is
not practical.</li>
<li>Application owner can self-serve restore requests: The application owner can request restores directly back to the application.</li>
<li>Enhanced
security: The agent installed for assisting with VM backup can be
managed by the application owner. Thus you are avoiding the need to
share guess OS credentials with backup administrator.</li>
</ul>
<b>Best Way to store Backup-</b><br />
<ol>
<li>Backup
VM directly from storage location for example, SAN, iSCSI, NAS, without
having to install any software agent inside the VMs</li>
</ol>
<ol start="2">
<li>Centralized backups for Virtual machines</li>
<li>Keep all schedule in simple way for easily understand, thing wrest scenario and make backup plan</li>
<li>Make it documented for every backup policy.</li>
</ol>
</div>
Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-75860042339974741192013-08-03T05:33:00.001-07:002013-08-03T05:33:23.253-07:00Virtual PC Performance Checklist<div dir="ltr" style="text-align: left;" trbidi="on">
<strong>• Make sure your Host Operating System's disk is defragmented.</strong><br />
<div data-mce-style="text-align: left;" style="text-align: left;">
This includes the System Disk (the disk your OS boots off of) as well as the Disk that holds your Virtual Hard Disk File.<br /> • Run Fewer Applications.<br />
I'm continually amazed when folks complain about VM performance and
when I get to their desk I see that they are running Outlook. That
200+megs could be better used by the system. Are you running a VM or
checking your email? Consider checking your email on a schedule, or
using Outlook Web Access while you work on your VM.</div>
<div data-mce-style="text-align: left;" style="text-align: left;">
<strong>• Enable Hardware Assisted Virtualization</strong></div>
<div data-mce-style="text-align: left;" style="text-align: left;">
If
you've got this on your computer, turn it on. There IS some concern
about really sophisticated Trojans that can use this technology for
evil, but for me, it's all good as it speeds most Guest Operating
Systems (especially non-Microsoft ones) up quite a bit.<br /> • Give your Virtual Machines LESS MEMORY<br />
o I've found that 512 megs is just about the Ideal Amount of memory for
90% of your Virtual Machines. Don't bother trying to give them 1024
megs, it's just not worth the pressure it'll put on the Host Operating
System.</div>
<div data-mce-style="text-align: left;" style="text-align: left;">
<strong>• Considering making a custom Windows install for your VMs.</strong></div>
<div data-mce-style="text-align: left;" style="text-align: left;">
Rather
than going to all the effort to REMOVE things, why not create a Windows
installation that can be shared across your organization that doesn't
include the crap ahead of time. There's a Windows Installation
Customizer called nLite that lets you prepare Windows installations so
they never include the stuff you don't want. Makes it easier if
Solitaire is never installed</div>
<div data-mce-style="text-align: left;" style="text-align: left;">
<strong> • Make sure the Guest Operating System is defragmented.</strong></div>
<div data-mce-style="text-align: left;" style="text-align: left;">
Disk
Defragmenter that runs in that "Text Mode" place before Windows really
starts up. This allows it to get at files that don't always get
defragmented.</div>
<div data-mce-style="text-align: left;" style="text-align: left;">
• <strong>Don't use NTFS Compression on the Virtual Machine Hard Drive File in the Host Operating System</strong></div>
<div data-mce-style="text-align: left;" style="text-align: left;">
NTFS Compression doesn't work on files larger than 4 gigs, and can cause corruption.</div>
<div data-mce-style="text-align: left;" style="text-align: left;">
• <strong>Don't Remote Desktop or VNC into Host Operating Systems that are hosting Virtual Machines.</strong></div>
<div data-mce-style="text-align: left;" style="text-align: left;">
If
you're remoting into a machine where THAT machine is running a VM, note
that to the Remote Desktop protocol (and VNC) the VM just looks like a
big square bitmap that is constantly changing. That guarantees you slow
performance. If you can, instead, Remote Desktop into the Virtual
Machine itself.</div>
<div data-mce-style="text-align: left;" style="text-align: left;">
•<strong> Make sure you've install the Virtual Machine Additions (or Tools, or Utilities, or Whatever)</strong></div>
<div data-mce-style="text-align: left;" style="text-align: left;">
Virtual
PC and VMWare and Parallels all include drivers and tools that improve
the performance of your Virtual Machine. They are there for good reason,
make sure you've installed them.<br /> Also, if you're running a
Virtual Machine created under and older version, like Virtual PC 2004,
and you're now running under a newer one, like 2007, pay attention to
the upgrade warnings and install the latest drivers and Virtual Machine
Additions.</div>
</div>
Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-46510926800089528792013-08-03T05:30:00.002-07:002013-08-03T05:30:45.145-07:00Host CPU Spikes at 100 Percent when install new VM<div dir="ltr" style="text-align: left;" trbidi="on">
You experience high CPU usage in the guest operating system. However,
when you examine Task Manager, no CPU usage issues are displayed in the
host operating system.<br />
There are instances where
performance problems or symptoms may arise, but the cause may be due to
the VM environment/configuration. The information and screenshots
provided below are available to help determine if the performance
problem may exist due to virtual instance instead of at the Traveler
level.<br />
Please check the following areas to determine if the VM is the cause of the performance related issue.<br />
<b>Check for VM Alarms</b><br />
Click the Alarms tab to determine if there are any alerts available.<br />
<br />
This
example shows a high CPU Alarm condition for the timeframe being
investigated. Engage your VMWare team as soon as possible to investigate
errors such as these.<br />
<br />
Check the CPU of the Traveler server by following these steps:<br /> Click the Performance tab.<br /> Click the "Advanced" button<br />
<br />
Click the "Chart Options..." link<br />
For CPU, choose "Past week" or the appropriate time frame for investigation.<br /> Under the Counters section, check the boxes for "Usage" and "Ready"<br />
<br />
Click Apply / OK<br />
Save the chart (screenshot or click the save icon in the top right)<br />
Notice that one of these (the Usage one) is in percentage of CPU. The
key is to look for critical thresholds and peak times. Look for
patterns.<br />
<br />
Usage = CPU Usage as a percentage during the interval (during the amount of time that was selected)<br /> Ready = Percentage of time that the virtual machine was ready, but could not get scheduled to run on the physical CPU.<br />
A
short spike in CPU usage or CPU ready indicates that the system is
making the best use of the host resources. However, if both values are
constantly high, the hosts are probably overcommitted. Generally, if the
CPU usage value for a virtual machine is above 90% and the CPU ready
value is above 20%, performance is impacted.<br />
It can be many reason for 100 CPU spike by the host, one of the hardware compatibility issue can be also for 100 CPU spike.<br />
<table border="0" cellpadding="0" cellspacing="0" class="mceItemTable"><tbody>
<tr><td valign="bottom"> </td></tr>
<tr><td valign="top" width="100%"><table border="0" cellpadding="0" cellspacing="0" class="mceItemTable"><tbody>
<tr><td valign="bottom"><div align="center">
<table border="0" cellpadding="0" cellspacing="0" class="mceItemTable" style="width: 100%px;"><tbody>
<tr><td valign="bottom" width="100%"><table border="0" cellpadding="0" cellspacing="0" class="mceItemTable"><tbody>
<tr><td valign="top" width="590"><b>Poor performance when virtual machines reside on local storage on VMware ESXi 5.0 </b><b>Affected configurations</b><br />
The system may be any of the following IBM servers:<br />
<ul>
<li>BladeCenter HS23, type 7875, any model</li>
</ul>
The system is configured with at least one of the following:<br />
<ul>
<li>UpdateXpress Service Pack Installer, any version</li>
<li>VMware vSphere Hypervisor 5.0 with IBM Customization Installable, Base Install</li>
</ul>
This tip is not option specific.<br />
The mpt2sas device driver for the VMware ESXi 5.0 is affected.<br />
<ul>
<li>VMware ESXi 5.0</li>
</ul>
<ul>
<li><b>Solution</b></li>
</ul>
<ul>
<li>Issue the following esxcli commands in the ESXi Shell to remove ilfu and LSIProvider VIBs.</li>
</ul>
<table border="1" cellpadding="0" cellspacing="0" style="width: 100%px;"><tbody>
<tr><td valign="bottom" width="25"> </td><td valign="bottom">esxcli software vib remove -n ilfu<br /> esxcli software vib remove -n LSIProvider</td></tr>
</tbody></table>
</td></tr>
</tbody></table>
</td></tr>
</tbody></table>
</div>
</td></tr>
</tbody></table>
</td></tr>
</tbody></table>
</div>
Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-42028290027691024532013-07-17T01:48:00.001-07:002013-07-17T01:48:14.715-07:00How to install VM Tool<div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]-->
<br />
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">VMware Tools is a suite of utilities
that enhances the performance of the virtual machine's guest operating system
and improves management of the virtual machine. Without VMware Tools installed
in your guest operating system, guest performance lacks important
functionality. Installing VMware Tools eliminates or improves these issues:</span></div>
<ul type="disc">
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Low video resolution</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Inadequate color depth</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Incorrect display of network speed</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Restricted movement of the mouse</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Inability to copy and paste and drag-and-drop files</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Missing sound</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Provides the ability to take quiesced snapshots of the
guest OS</span></li>
</ul>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">VMware Tools includes these
components:</span></div>
<ul type="disc">
<li class="MsoNormal" style="line-height: normal; mso-list: l2 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">VMware Tools service</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l2 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">VMware device drivers</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l2 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">VMware user process</span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l2 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">VMware Tools control panel</span></li>
</ul>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-family: "Arial","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Installing VMware Tools</span></b><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Arial","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">The following are general steps used
to start the VMware Tools installation in most VMware products. Certain guest
operating systems may require different steps, but these steps work for most
operating systems. Links to more detailed steps for different operating systems
are included in this article. Make sure to review the VMware <a href="http://www.vmware.com/support/pubs/" target="_blank"><span style="color: blue;">documentation</span></a> for the product you are using.</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"> </span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "Arial","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">To install VMware Tools in most
VMware products:</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></div>
<ol start="1" type="1">
<li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Arial","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Power on the virtual machine.</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Arial","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Log in to the virtual machine using an account with
Administrator or root privileges.</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Arial","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Wait for the desktop to load and be ready.</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></li>
<li class="MsoNormal" style="line-height: normal; margin-bottom: 12.0pt; mso-list: l1 level1 lfo3; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-family: "Arial","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Click <b>Install/Upgrade VMware Tools</b>. There are
two places to find this option:</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></li>
<ul type="circle">
<li class="MsoNormal" style="line-height: normal; mso-list: l1 level2 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 1.0in;"><span style="font-family: "Arial","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Right-click on the running virtual machine object and
choose <b>Install/Upgrade VMware Tools</b>.</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l1 level2 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 1.0in;"><span style="font-family: "Arial","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Right-click on the running virtual machine object and
click <b>Open Console</b>. In the Console menu click <b>VM</b> and click <b>Install/Upgrade
VMware Tools</b>.</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"></span></li>
</ul>
</ol>
<div class="MsoNormal" style="line-height: normal; margin-left: .25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<br /></div>
<div class="MsoNormal">
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-32751397703667412262011-06-13T00:08:00.000-07:002013-07-15T03:49:43.778-07:00How to install and configure DHCP server on fedora$ yum install dhcp*<br /><br />$ chkconfig dhcpd on<br /><br />Copy dhcp ‘s sample file and configure dhcp server<br /><br />usr/share/doc/dhcp*/dhcpd.conf.sample <br /><br />$ cp /usr/share/doc/dhcp/dhcpd.conf.sample /etc/dhcpd.conf<br /><br />$ vim /etc/dhcpd.conf<br /><br />ddns-update-style interim; <br />ignore client-updates; <br /><br />subnet 192.168.10.0 netmask 255.255.255.0 { <br /><br /># --- default gateway <br />option routers 192.168.10.1; <br />option subnet-mask 255.255.255.0; <br /><br />#option nis-domain "abc.com"; <br />#option domain-name "abc.com"; <br />option domain-name-servers 192.168.10.1; <br /><br />option time-offset -18000; # Eastern Standard Time <br /># option ntp-servers 192.168.1.1; <br />option netbios-name-servers 192.168.10.1; <br /># --- Selects point-to-point node (default is hybrid). Don't change this <br />unless <br /># -- you understand Netbios very well <br /># option netbios-node-type 2; <br /><br />*#** range dynamic-bootp 192.168.1.100 192.168.1.100;* <br />default-lease-time 21600; <br />max-lease-time 43200; <br /><br /><br />#If you want to release IP for only your registered MAC address in your configuration<br /><br /># we want the nameserver to appear at a fixed address <br /><br />host COMPUTERNAME { <br />hardware ethernet 00:1A:64:A2:BB:88; <br />fixed-address 192.168.10.3; <br />} <br /><br />host COMPUTERNAME2 { <br />hardware ethernet 00:1C:90:25:92:G1; <br />fixed-address 192.168.10.4; <br />}Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com2tag:blogger.com,1999:blog-4871756317738579674.post-54694838960721688442011-04-20T03:48:00.000-07:002013-07-15T03:49:43.785-07:00Apache server load balancing with Multiple Tomcat Clustering-<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaJXCtQMlwzlI3RCgKe8M5NfOTKN5Pvx8cTUbdrt7ECrekCuaxLXE8T0JM3909lWISMsM0fRLP4d1_65UsCMssGCVeR2ajzm2YX-cGdB7Q6Ui9NVYF6CfbNJ6fNKRehQUlHUqgUD5VPMw9/s1600/javaee-tomcat-load-balancing-480x320.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaJXCtQMlwzlI3RCgKe8M5NfOTKN5Pvx8cTUbdrt7ECrekCuaxLXE8T0JM3909lWISMsM0fRLP4d1_65UsCMssGCVeR2ajzm2YX-cGdB7Q6Ui9NVYF6CfbNJ6fNKRehQUlHUqgUD5VPMw9/s320/javaee-tomcat-load-balancing-480x320.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597616685208372706" /></a><br />Apache server load balancing with Multiple Tomcat Clustering- :<br /><br /><br /><br /> <br /><br />Load Balancing -: Load balancer accept request from external client and forward them to one of the available Backend servers according to a scheduling algorithm.<br />We can use dedicated hardware and any load balancing software for load balancing <br />Mod_proxy_balancer- : Apache web server’s module of mod_proxy_balancer the apache module developed to provide to load balancing over a set of web server. Load balancer it can keep track of session <br />Sticky Session- A single user always deals with the same backend server. <br /><br />Installation -:<br /><br />Apache modules- Download from apache’s web site, mod_proxy module for load balancing <br /><br />Windows-: Download mod_proxy modules and copy in modules directory.<br />Linux- Download mod_proxy modules and run following command for compile. <br /><br />#./configure --enable-proxy --enable-proxy-balancer [run ./configure –h<br /># make <br /># make install<br /><br />Configuration-:<br /><br />Windows-: Enable following load modules in and add require modules in httpd.conf file<br /><br />C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf <br /><br />LoadModule proxy_module modules/mod_proxy.so<br />LoadModule proxy_ajp_module modules/mod_proxy_ajp.so<br />LoadModule proxy_balancer_module modules/mod_proxy_balancer.so<br />LoadModule proxy_connect_module modules/mod_proxy_connect.so<br />LoadModule proxy_ftp_module modules/mod_proxy_ftp.so<br />LoadModule proxy_http_module modules/mod_proxy_http.so<br /><br />Now we can add following lines for proxy-balancer (Cluster name is domain.abc.net with two member)<br /><br />ProxyRequests Off<br />ProxyPass / balancer://domain.abc.net/ lbmethod=byrequests stickysession=jsessionid nofailover=On maxattempts=15 <br /><br />ProxyPreserveHost On<br /><Proxy balancer://domain.abc.net><br />BalancerMember http://192.168.10.10:84<br />BalancerMember http://192.168.100.10:85 <br /></Proxy><br /><br /><br />Linux- <br /><br />We need three servers one is load balancer and other two workers nodes<br />Http Server configuration file “/etc/httpd/conf/httpd.conf” add following lines<br /><br />Include conf/extra/httpd-proxy-balancer.conf<br /><br />Now create the httpd-proxy-balancer.conf file in the “/etc/httpd/conf/httpd.conf” and add the following lines.<br /><br />ProxyRequests Off<br />ProxyPass / balancer://domain.abc.net/ lbmethod=byrequests stickysession=jsessionid nofailover=On maxattempts=15 <br /><br />ProxyPreserveHost On<br /><Proxy balancer://domain.abc.net><br />BalancerMember http://192.168.10.10:84<br />BalancerMember http://192.168.100.10:85 <br /></Proxy><br /><br /><br />Load balancing method-:<br /><br />There are three type of load balancing method used in mod_prxy<br />Byrequests-:Weighted request count balancing <br />Bytraffic-: Weighted traffic byte count balancing <br />Bybusyiness-: Pending request balancing <br /><br />Where method is one of the three listed before. Default is byrequests<br /><br /><br /><Proxy balancer://domain.abc.net><br />BalancerMember http://192.168.10.10:84 loadfactor=4<br />BalancerMember http://192.168.100.10:85 loadfactor=6 <br /><br />A load factor will be applied member of the cluster, in order to define and sharing load balancing between members of cluster.<br /><br />In the following example 40% of the requests will be forwarded to the first and reaming 60% will be forward to second cluster. <br /> <br /><br /><br /> ProxyPass / balancer://domain.abc.net/ lbmethod=byrequests stickysession=jsessionid<br /><br />SESSION_ID is the name of the variable at the application level storing the session identifier.Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com2tag:blogger.com,1999:blog-4871756317738579674.post-83291958197626734242011-02-24T09:14:00.000-08:002013-07-15T03:49:43.791-07:00How to Configure Two Tomcat instance in LinuxDownload Java SE Development Kit. http://java.sun.com/javase/downloads/index.jsp. <br /><br /># mkdir -p /opt/test<br /># cd /opt/test<br /># chmod 755 jdk-6u10-linux-x64.bin<br /># sh /opt/test/jdk-6u10-linux-x64.bin<br /><br /># export JAVA_HOME=/opt/test/jdk1.6.0_10/bin<br /># export PATH=$JAVA_HOME/bin:$PATH<br /><br />now check java version-<br /># java -version<br /><br />Install Tomcat6<br />Download tomcat6 from the http://tomcat.apache.org/download-60.cgi<br />extract in /tmp folder.<br /><br />Download httpd-2.64.tar.gz<br />now extract in /opt/test directory<br /><br />Apache compile process-: Compile process we need GCC and lib file must be require<br /># yum install gcc*<br /># yum install lib<br /># cd /test/httpd-2.64<br />#./configure -prefix=/opt/httpd-2.64<br /># make<br /># make install<br /># cd /opt/test/httpd-2.64<br /># cd /bin<br /># apachectl start<br /><br />Set permanent variable -: In Linux we can set up path<br /><br />#vim /root/.bashrc<br />JAVA_HOME=/opt/test/jdk-1.6.0/<br />export JAVA_HOME<br />PATH=$JAVA_HOME/bin/;$PATH<br /><br /><br />We can set new installation JDK java path<br />#alternative --config Java<br /><br />Install Tomcat6 and configuration-:<br /><br />#cp apache-tomcat-6.0.20/opt/test/tomcat-1<br /><br />Set CATALINA_HOME environment <br />CATALINA_HOME=/opt/test/tomcat-1<br /><br />#cd /opt/test/tomcat-1/bin<br /># sh startup.sh<br /><br />Configure tomcat2 instance<br /><br />#cp apache-tomcat-6.0.20/opt/test/tomcat-2<br /><br />Set CATALINA_HOME environment <br />CATALINA_HOME=/opt/test/tomcat-2<br /><br />#cd /opt/test/tomcat-2/bin<br /><br /><br />Now check first jvm tomcat instance is working or not<br />http://localhost:8080<br /><br />Configuring Tomcat Network Ports-:<br />Since this is the first tomcat that's being created here,the default port numbers can be unchanged in tomcat1 <br />#vim /opt/test/tomcat1/conf/server.xml<br /> <Server port="8005" shutdown="SHUTDOWN"><br /><br /> <Connector port="8080" protocol="HTTP/1.1"<br /> connectionTimeout="20000"<br /> redirectPort="8443" /><br /><br /> <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /><br /><br />Second Tomcat we need to be changed<br /># vim /opt/test/tomcat2/conf/server.xml<br /><br /><br /> <Server port="8006" shutdown="SHUTDOWN"><br /><br /> <Connector port="8081" protocol="HTTP/1.1"<br /> connectionTimeout="20000"<br /> redirectPort="8444" /><br /><br /> <Connector port="8010" protocol="AJP/1.3" redirectPort="8444" /><br /><br />Install tomcat-connector-1.2.30-src.tar.gz<br />Unzip directory <br />tomcat-connector-1.2.30-src<br /><br />Compile tomcat-connector<br /># cd /tomcat-connector-1.2.30-src<br /># cd native<br /># ./configure -with-apxs=/opt/test/httpd-2.64/bin/apxs<br /># make<br /># make install<br /><br />Now we can find mod_jk.so file will be put on /opt/test/httpd-2.64/modules/<br /><br /># chmod 755 /opt/test/httpd-2.64/modules/mod_jk.so<br /><br />Now create workers.properties <br /># cd /opt/test/httpd-2.64/conf/<br /># touch workers.properties<br />Add the following lines<br /><br />Define list of workers that will be used<br /># for mapping requests<br />worker.list=loadbalancer,status<br /><br /># Define Node1<br /># modify the host as your host IP or DNS name.<br />worker.node1.port=8005<br />worker.node1.type=ajp13<br />worker.node1.lbfactor=1<br />worker.node1.cachesize=10<br /><br /># Define Node2<br /># modify the host as your host IP or DNS name.<br />worker.node2.port=8006<br /><br />worker.node2.type=ajp13<br />worker.node2.lbfactor=1<br />worker.node2.cachesize=10<br /><br /># Load-balancing behavior<br />worker.loadbalancer.type=lb<br />worker.loadbalancer.balance_workers=node1,node2<br />worker.loadbalancer.sticky_session=1<br />#worker.list=loadbalancer<br /><br /># Status worker for managing load balancer<br />worker.status.type=status<br /><br />Edit httpd.conf file-:<br /># /opt/test/httpd-2.64/conf/<br /># vim httpd.conf<br />LoadModule jk_module modules/mod_jk.so<br />JkWorkersFile conf/workers.properties<br />JkMount /* myworker<br /><br /><br />Start the httpd server<br />#/bin/apachctl start<br /><br />start both Tomcat server<br />#/bin/startup.shAnonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com2tag:blogger.com,1999:blog-4871756317738579674.post-40475462643481441392011-02-20T20:27:00.000-08:002013-07-15T03:49:43.825-07:00Configure Squid with DansguardianScenario-: <br />1. Configure squid Server<br />2. Configure Dan guardian<br />3. Configure Iptables<br />4. Configure Proxy server as a router.<br /><br />Our purpose of proxy server is to sharing internet connection for web browsing performance & configures Dan guardian for content and site blocking.<br /><br />A. Allow Internal to all user with restricted web site and content.<br />B. Allow limited user can access all site<br />C. Publish local server as a web server in different-different port. <br />D. All user can send receive mail from the Outlook but they can’t access restricted site.<br />E. Allow vnc, Sql server and Remote Desktop Connection access form to internet to External Network.<br />F. Allow company’s website access to all users <br /><br /><br /><br /> <br />Process-:<br /><br /><br /> External LAN Card- eth0 (10.10.10.1)<br />Internal LAN Card- eth1(192.168.10.1)<br /><br />1. Configure and install Squid Server-:<br /><br /># yum install squid*<br /><br /> Cp /etc/squid/squid.conf /etc/squid/squid.conf.bkp<br /><br />Vim /etc/squid/squid.conf<br /><br /> visible hostname vsnl.com<br /> http_port 3128<br /><br /># Restrict Web access by IP address<br /><br />Acl special_client src “/etc/squid/special_client_ip_txt” # allow all site access users ‘s ip list<br />Acl our_networks src 192.168.10.0/24 # allow network<br />Acl bed url_regex “ /etc/squid/squid/squid-block.acl” # list of block site ‘s name<br />http_access allow bed special_client # allow access all site to special client list<br />http_access deny bed our_networks # allow limited access<br />http_access allow our_networks # allow access to network<br /><br />vim /etc/squid/special_client_ip_txt<br /> 192.168.10.126<br /> 192.168.10.200<br /> 192.168.10.251<br />vim /etc/squid/squid_block_acl<br />orkut.com<br />yahoo.com<br />gmial.com<br /><br />Service squid start<br /># Service squid stop<br /># Service squid restart<br /><br /> <br />Install and Configure Dansguardain -:<br />Yum install dans*<br /><br />Cp /etc/dansguardain/dansguardian.conf /etc/dansguardain/dansguardian.conf.bkp<br /><br />Vim /etc/dansguardian/dansguardain.conf <br /><br />Filter ip = 192.168.10.1<br />Filter port = 8080<br />Proxy ip = 127.0.0.1<br />Proxy port = 3128<br /><br />Vim /etc/dansguardian/list/bandsitelist<br />Gmail.com # list of block site<br />Yahoo.com<br />Facebook.com<br />Orkut.com<br />Vim /etc/dansguardain/list/bannedregexpurllist<br /><br /># Hard core phase ( for content blocking)<br /><br />Orkut|youtube|sport|gmail|facebook|orkut|sex|video|virus|audio<br /><br />Vim /etc/dansguardian/lists/exceptionsitelist<br /># following site will not be filter by dansguardain. Allow for all users.<br /><br />www.online-linux.blogspot.com<br />www.xyz.com<br /><br />vim/etc/dansguardian/exceptioniplist<br /><br /># list of ip allow all fitler site.<br /><br />192.168.10.126<br />192.168.10.200<br />192.168.10.251<br /><br />Configure Iptables-:<br /># masquerade local lan(eth1)<br /># redirect all request 80 to 8080 from eth1(local lan)<br /># publish local website <br /># allow 80 and 8080 port <br /> $ iptables –t nat –A POSTROUTING –I eth1 –j MASQUERADE <br /> $ iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080<br /> $ iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 3128 -j REDIRECT --to-port 8080<br /> $ iptables -t nat -A PREROUTING -p tcp -d 10.10.10.1 --dport 8090 -j DNAT --to-destination 192.168.10.10:8090<br /> $ iptables –I INPUT –s 192.168.10.0/24 –p tcp –-dport 80 –J ACCEPT<br /> $ iptables –I INPUT –s 192.168.10.0/24 –p tcp –dport 8080 –J ACCEPT<br /> <br /> <br /><br /><br /><br />Client Site-<br /><br />Lan setting- 192.168.100.1:8080Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com2tag:blogger.com,1999:blog-4871756317738579674.post-86145607394231719282010-06-01T03:59:00.000-07:002013-07-15T03:49:43.831-07:00How to enable yum in fedora through Proxy Server<br /><br />Below Process show how to yum repository update in fedora through squid proxy server.<br /><br />1. first step- take backup yum.conf file.<br /><br />[root@vsnl ~]# cp /etc/yum.conf /etc/yum.conf.bkp<br /><br />2. second step- Add proxy server ip in yum.conf file for enable update yum repository <br />[root@vsnl ~]# vim /etc/yum.conf<br /><br />[main]<br />http://192.168.10.2:8080<br />cachedir=/var/cache/yum<br />keepcache=0<br />debuglevel=2<br />logfile=/var/log/yum.log<br />exactarch=1<br />obsoletes=1<br />gpgcheck=1<br />plugins=1<br />installonly_limit=3<br /><br />Note-: 192.168.10.2:8080 is a proxy server ip & port number.<br />Note-: If you want to keep all download rpm copy in your pc then replace value <br /><br />keepcache=0 to keepcache=1 <br /><br />After editing all things save file & execute yum clean all command in terminal<br />& then downlaod any rpm from internet.<br /><br />[root@vsnl ~]# yum clean all<br />Loaded plugins: refresh-packagekit<br />Cleaning up Everything<br />[root@vsnl ~]# <br /> <br />[root@vsnl ~]# yum install (Rpm name)Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-62536918236689636492010-01-19T03:18:00.000-08:002013-07-15T03:49:43.836-07:00How to configure DNS server in linux(BIND)Yum install bind*<br /><br />Now edit /etc/named.conf file according to the example below.<br /><br /><br /><br />// <br />// named.caching-nameserver.conf <br />// <br />// Provided by Red Hat caching-nameserver package to configure the <br />// ISC BIND named(8) DNS server as a caching only nameserver <br />// (as a localhost DNS resolver only). <br />// <br />// See /usr/share/doc/bind*/sample/ for example named configuration files. <br />// <br />// DO NOT EDIT THIS FILE - use system-config-bind or an editor <br />// to create named.conf - edits to this file will be lost on <br />// caching-nameserver package upgrade. <br />// <br />options { <br /> listen-on port 53 { 127.0.0.1; 192.168.1.6; }; <br /> listen-on-v6 port 53 { ::1; }; <br /> directory "/var/named"; <br /> dump-file "/var/named/data/cache_dump.db"; <br /> statistics-file "/var/named/data/named_stats.txt"; <br /> memstatistics-file "/var/named/data/named_mem_stats.txt"; <br /> query-source port 53; <br /> query-source-v6 port 53; <br /> allow-query { localhost; 192.168.1.0; 192.168.1.6; }; <br /> forwarders { 192.168.1.6; }; <br /><br />}; <br />// named.rfc1912.zones: <br />// <br />// Provided by Red Hat caching-nameserver package <br />// <br />// ISC BIND named zone configuration for zones recommended by <br />// RFC 1912 section 4.1 : localhost TLDs and address zones <br />// <br />// See /usr/share/doc/bind*/sample/ for example named configuration files. <br />// <br />zone "." IN { <br /> type hint; <br /> file "named.ca"; <br />}; <br /><br />zone "xyz.com" { <br /> type master; <br /> file "xyz.com.zone"; <br />}; <br /><br />zone "0.168.192.in-addr.arpa" { <br /> type master; <br /> file "192.168.0.zone"; <br />}; <br /><br />now save exit file.<br />Second step- Now make & configure forward & reverse zone. In following destination path.<br />$ cd /etc/var/named/chroot/var/named/<br /><br />$ cp localhost.zone xyz.com.zone<br />$ cp named.local 192.168.0.zone<br /><br />$ vim xyz.com.zone<br /><br />$TTL 86400 <br />xyz.com. IN SOA host.xyz.com. root.host.xyz.com. ( <br /> 46 <br /> 3H <br /> 15M <br /> 1W <br /> 1D ) <br /><br />@ IN NS host.xyz.com. <br />host.xyz.com. IN A 192.168.1.6 <br />host2.xyz.com. IN A 192.168.1.7<br /><br />$ vim 192.168.1.0.zone<br /><br />$TTL 86400<br /><br />0.168.192.in-addr.arpa. IN SOA host.xyz.com. root.host.zyz.com. (<br /><br /> 2008082915 ; Serial<br /><br /> 28800 ; Refresh<br /><br /> 14400 ; Retry<br /><br /> 3600000 ; Expire<br /><br /> 86400 ) ; Minimum<br /><br />@ IN NS host.xyz.com.<br /><br />6 IN PTR host.xyz.com.<br /><br />7 IN PTR host2.xyz.com.<br /><br /><br />now save both file & exit <br /><br />Step -3 <br />change group ownership in bith file<br />$ chgrp named xyz.com.zone<br />$ chgrp named 192.168.1.0.zone<br /><br />now restart named service<br />$ /etc/init.d/named restartAnonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-81723146673135728082009-10-27T05:58:00.000-07:002013-07-15T03:49:43.843-07:00How to Configure multi CVS repository in fedora <meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <ol><li><p style="margin-bottom: 0in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">First of all Install xinetd package.yum -y install xinetd</span></span></p> </li><li><p style="margin-bottom: 0in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">Install cvs package.yum -y install cvs*</span></span></p> </li><li><p style="margin-bottom: 0in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">Create a group cvs.</span></span></p> </li><li><p style="margin-bottom: 0in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">Create a user cvsroot and assing it to cvs group.</span></span></p> </li><li><p style="margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">Now make sure that following entries are present in your</span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"> </span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b>/etc/services</b></span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b> </b></span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">file if the entries are not present then add it manually save & exit.</span></span></p></li><li><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">Than Create 2 directory to be used for cvs repository</span></span></li></ol> # mkdir /test<br /><br /># mkdir /test2<br /><br /># chmod 777 /test<br /><br /># chmod 777 /test2<br /><br /><br /><br />Initialize the repository for the first time<br /><br /><br /><br /># cvs -d /test init<br /><br /># cvs-d /test2 init<br /><br /> <meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <p style="margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b>Now this steps are important</b><br /><br /></span></span></p><p style="margin-bottom: 0in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">execute</span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"> </span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b># cvs -d /test1/ init<br /><br /></b></span></span></p><p style="margin-bottom: 0in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b> # cvs -d /test2/ init</b></span></span></p><p style="margin-bottom: 0in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b><br /><br /></b></span></span></p> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">now enter into /test1 or /test2</span></span> <meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <ol><li><p style="margin-bottom: 0in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">Assign permission chmod 771 CVSROOT</span></span></p> </li><li><p style="margin-bottom: 0in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">This time,all local real system users can log into CVS server with their own passwords.<br /><br />If you want to disable, you can do by:</span></span></p></li></ol><meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> # chmod 644 /test/CVSROOT/config<br /><br /><br /><br /># chmod 644 /test2/CVSROOT/config<br /><br /><meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0.19in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">Here you need to uncomment the line where #SystemAuth = yes. And set SystemAuth = no.</span></span></p><p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><br /><br /></span></span></p> <style type="text/css"><!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <ol><li><p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">Check your /etc/xinetd.d/cvs file and check that following entries are available and if now as above add it manually for multi cvs repository.</span></span></p> </li></ol> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">Entry will look like this:-</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"># default: off</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"># description: The CVS service can record the history of your source</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"># files. CVS stores all the versions of a file in a single</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"># file in a clever way that only stores the differences</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"># between versions.</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">service cvspserver</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">{</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">port = 2401</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">socket_type = stream</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">protocol = tcp</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">wait = no</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">user = test<br /><br /></span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">server = /usr/bin/cvs</span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">server_args = -f --allow-root=/test --allow-root=/test2 pserver<br /><br /></span></span></p> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">}</span></span></p><br /><br />now save & exit this file.<br /><br /><meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <ol><li><p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">Now restart your xinetd service using following command</span></span></p> </li></ol> <p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"> <span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b>#service xinetd restart</b></span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b> </b></span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">or</span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"> </span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b>/etc/init.d/xinetd restart</b></span></span></p><p style="margin-left: 0.66in; margin-top: 0.19in; margin-bottom: 0in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b>#chkconfig xinetd on</b></span></span></p><span style="font-weight: bold;">Now Disabled firewall & selinux.<br /><br /><br /><br />Then now your system user cannot use cvs services with their own system password.<br /><br /># cd /test1/CVSROOT or cd /test2/CVSROOT<br /><br /># touch passwd (make passwd file manually)<br /><br /></span> <meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">If passwd file is not available then create user by executing following commands:-</span></span></p><p style="margin-top: 0.19in; margin-bottom: 0.19in;"> <meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> </p><p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b># htpasswd -d -c /test1/CVSROOT/passwd user</b></span></span></p><p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b># </b></span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b>htpasswd -d -c /test2/CVSROOT/passwd user</b></span></span></p><p style="margin-top: 0.19in; margin-bottom: 0.19in;"> <meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> </p><p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">To add additional user:-</span></span></p> <p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b># htpasswd -d /test1/CVSROOT/passwd user2</b></span></span></p><p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b>Check cvs Repository-:</b></span></span></p><p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b># su - user1</b></span></span></p><p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b># </b></span></span><meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --></style><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">export CVSROOT=:pserver:user1@localhost:/test1</span></span> </p> <p></p> <p></p> # cvs login<br /><br /> <meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> <p style="margin-top: 0.19in; margin-bottom: 0.19in;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">There should be no error when you have successfully login to the CVS server.</span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"> </span></span></p><br /><br /><br /><br /><span style="font-weight: bold;"><br /><br /><br /><br /><br /><br /></span><br /><br /><br /><br />Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com2tag:blogger.com,1999:blog-4871756317738579674.post-45678346377284375382009-07-08T04:02:00.000-07:002013-07-15T03:49:43.883-07:00Step by step Install & configure Nagios<span class="Apple-style-span" style="font-family: Verdana; color: rgb(19, 19, 19); font-size: 14px; line-height: 20px; "><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; "><span class="Apple-style-span" style="font-size:100%;color:#CC0066;"><span class="Apple-style-span" style="font-size: 13px; line-height: normal;"><b><br /></b></span></span></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; line-height: normal; ">Nagios is a host and service monitor designed to inform you of network problems before your clients, end-users or managers do. It has been designed to run under the Linux operating system, but works fine under most *NIX variants as well. The monitoring daemon runs intermittent checks on hosts and services you specify using external "plugins" which return status information to Nagios. When problems are encountered, the daemon can send notifications out to administrative contacts in a variety of different ways (email, instant message, SMS, etc.). Current status information, historical logs, and reports can all be accessed via a web browser.<br /><span class="Apple-style-span" style="color:#CC0066;"><b><br /></b></span><br />Nagios has a lot of features, making it a very powerful <a href="http://www.debianhelp.co.uk/nagiosinstall.htm#" class="kLink" target="undefined" id="KonaLink0" style="text-decoration: underline !important; color: rgb(0, 153, 0) !important; border-bottom-style: none !important; cursor: pointer; font-family: verdana; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-top-style: none !important; border-right-style: none !important; border-left-style: none !important; border-top-color: transparent !important; border-right-color: transparent !important; border-bottom-color: transparent !important; border-left-color: transparent !important; background-image: none !important; background-repeat: initial !important; background-attachment: initial !important; -webkit-background-clip: initial !important; -webkit-background-origin: initial !important; background-color: transparent !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; text-transform: none !important; display: inline !important; font-variant: normal; top: 0px; right: 0px; bottom: 0px; left: 0px; position: static; background-position: initial initial !important; "><span style="color: rgb(0, 153, 0) !important; font-family: Verdana; font-weight: normal; font-size: 13px; position: static; color:#009900;"><span class="kLink" style="border-top-width: 0px !important; border-top-style: none !important; border-top-color: initial !important; border-left-width: 0px !important; border-left-style: none !important; border-left-color: initial !important; border-right-width: 0px !important; border-right-style: none !important; border-right-color: initial !important; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: initial; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 1px !important; padding-left: 0px !important; color: rgb(0, 153, 0) !important; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: transparent; width: auto !important; float: none !important; display: inline !important; font-family: Verdana; font-weight: normal; font-size: 13px; position: static; background-position: initial initial; ">monitoring </span><span class="kLink" style="border-top-width: 0px !important; border-top-style: none !important; border-top-color: initial !important; border-left-width: 0px !important; border-left-style: none !important; border-left-color: initial !important; border-right-width: 0px !important; border-right-style: none !important; border-right-color: initial !important; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: initial; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 1px !important; padding-left: 0px !important; color: rgb(0, 153, 0) !important; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: transparent; width: auto !important; float: none !important; display: inline !important; font-family: Verdana; font-weight: normal; font-size: 13px; position: static; background-position: initial initial; ">tool</span></span></a>. Some of the major features are listed below:<br /><br />Monitoring of <a href="http://www.debianhelp.co.uk/nagiosinstall.htm#" class="kLink" target="undefined" id="KonaLink1" style="text-decoration: underline !important; color: rgb(0, 153, 0) !important; border-bottom-style: none !important; cursor: pointer; font-family: verdana; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-top-style: none !important; border-right-style: none !important; border-left-style: none !important; border-top-color: transparent !important; border-right-color: transparent !important; border-bottom-color: transparent !important; border-left-color: transparent !important; background-image: none !important; background-repeat: initial !important; background-attachment: initial !important; -webkit-background-clip: initial !important; -webkit-background-origin: initial !important; background-color: transparent !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; text-transform: none !important; display: inline !important; font-variant: normal; top: 0px; right: 0px; bottom: 0px; left: 0px; position: static; background-position: initial initial !important; "><span style="color: rgb(0, 153, 0) !important; font-family: Verdana; font-weight: normal; font-size: 13px; position: static; color:#009900;"><span class="kLink" style="border-top-width: 0px !important; border-top-style: none !important; border-top-color: initial !important; border-left-width: 0px !important; border-left-style: none !important; border-left-color: initial !important; border-right-width: 0px !important; border-right-style: none !important; border-right-color: initial !important; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: initial; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 1px !important; padding-left: 0px !important; color: rgb(0, 153, 0) !important; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: transparent; width: auto !important; float: none !important; display: inline !important; font-family: Verdana; font-weight: normal; font-size: 13px; position: static; background-position: initial initial; ">network </span><span class="kLink" style="border-top-width: 0px !important; border-top-style: none !important; border-top-color: initial !important; border-left-width: 0px !important; border-left-style: none !important; border-left-color: initial !important; border-right-width: 0px !important; border-right-style: none !important; border-right-color: initial !important; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: initial; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 1px !important; padding-left: 0px !important; color: rgb(0, 153, 0) !important; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: transparent; width: auto !important; float: none !important; display: inline !important; font-family: Verdana; font-weight: normal; font-size: 13px; position: static; background-position: initial initial; ">services</span></span></a> (SMTP, POP3, HTTP, NNTP, PING, etc.)<br /><br />Monitoring of host resources (processor load, disk and memory usage, running processes, <a href="http://www.debianhelp.co.uk/nagiosinstall.htm#" class="kLink" target="undefined" id="KonaLink2" style="text-decoration: underline !important; color: rgb(0, 153, 0) !important; border-bottom-style: none !important; cursor: pointer; font-family: verdana; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-top-style: none !important; border-right-style: none !important; border-left-style: none !important; border-top-color: transparent !important; border-right-color: transparent !important; border-bottom-color: transparent !important; border-left-color: transparent !important; background-image: none !important; background-repeat: initial !important; background-attachment: initial !important; -webkit-background-clip: initial !important; -webkit-background-origin: initial !important; background-color: transparent !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; text-transform: none !important; display: inline !important; font-variant: normal; top: 0px; right: 0px; bottom: 0px; left: 0px; position: static; background-position: initial initial !important; "><span style="color: rgb(0, 153, 0) !important; font-family: Verdana; font-weight: normal; font-size: 13px; position: static; color:#009900;"><span class="kLink" style="border-top-width: 0px !important; border-top-style: none !important; border-top-color: initial !important; border-left-width: 0px !important; border-left-style: none !important; border-left-color: initial !important; border-right-width: 0px !important; border-right-style: none !important; border-right-color: initial !important; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: initial; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 1px !important; padding-left: 0px !important; color: rgb(0, 153, 0) !important; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: transparent; width: auto !important; float: none !important; display: inline !important; font-family: Verdana; font-weight: normal; font-size: 13px; position: static; background-position: initial initial; ">log </span><span class="kLink" style="border-top-width: 0px !important; border-top-style: none !important; border-top-color: initial !important; border-left-width: 0px !important; border-left-style: none !important; border-left-color: initial !important; border-right-width: 0px !important; border-right-style: none !important; border-right-color: initial !important; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: initial; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 1px !important; padding-left: 0px !important; color: rgb(0, 153, 0) !important; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: transparent; width: auto !important; float: none !important; display: inline !important; font-family: Verdana; font-weight: normal; font-size: 13px; position: static; background-position: initial initial; ">files</span></span></a>, etc.)<br /><br />Monitoring of environmental factors such as temperature<br /><br />Simple plugin design that allows users to easily develop their own host and service checks<br /></span></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">yum install httpd<br />yum install gcc</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Create a new nagios user account and give it a password.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">/usr/sbin/useradd nagios<br />passwd nagios</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">/usr/sbin/groupadd nagcmd</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">/usr/sbin/usermod -G nagcmd nagios<br />/usr/sbin/usermod -G nagcmd apache</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Create a directory for storing the downloads.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">mkdir ~/downloads<br />cd ~/downloads</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">wget <a href="http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.tar.gz" title="http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.tar.gz" style="color: rgb(156, 195, 42); text-decoration: none; ">http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.tar.gz</a></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">wget <a href="http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.11.tar.gz" title="http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.11.tar.gz" style="color: rgb(156, 195, 42); text-decoration: none; ">http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4...</a></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">cd ~/downloads</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">tar xzf nagios-3.0.tar.gz<br />cd nagios-3.0</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Run the Nagios configure script, passing the name of the group you created earlier like so:</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">./configure --with-command-group=nagcmd</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Compile the Nagios source code.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">make all</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Install binaries, init script, sample config files and set permissions on the external command directory.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">make install<br />make install-init<br />make install-config<br />make install-commandmode</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Don't start Nagios yet - there's still more that needs to be done...</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Sample configuration files have now been installed in the /usr/local/nagios/etc directory. These sample files should work fine for getting started with Nagios. You'll need to make just one change before you proceed...</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Edit the /usr/local/nagios/etc/objects/contacts.cfg config file with your favorite editor and change the email address associated with the nagiosadmin contact definition to the address you'd like to use for receiving alerts.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">vi /usr/local/nagios/etc/objects/contacts.cfg</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Install the Nagios web config file in the Apache conf.d directory.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">make install-webconf</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Create a nagiosadmin account for logging into the Nagios web interface. Remember the password you assign to this account - you'll need it later.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Restart Apache to make the new settings take effect.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">service httpd restart</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">cd ~/downloads</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">tar xzf nagios-plugins-1.4.11.tar.gz<br />cd nagios-plugins-1.4.11</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Compile and install the plugins.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">./configure --with-nagios-user=nagios --with-nagios-group=nagios<br />make<br />make install</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">chkconfig --add nagios</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">chkconfig nagios on</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">Verify the sample Nagios configuration files.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">If there are no errors, start Nagios.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; font-weight: normal; font-style: normal; ">service nagios start</p></span>Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com1tag:blogger.com,1999:blog-4871756317738579674.post-20528930349320009332009-04-08T21:44:00.000-07:002013-07-15T03:49:43.922-07:00Configure RT(Ticketing system) in FedoraTicketing system use of Sales lead Tracking,bug tracking or networking security tracking.<div>Basic installation & configuration RT in fedora</div><div>$ yum install httpd</div><div>$ yum install mysql</div><div>$ yum install mysql-server</div><div>$ yum install sendmail*</div><div>$ yum install dovecot*</div><div><br /></div><div><span class="Apple-style-span" style="font-weight: bold; ">Start the httpd and mysql services</span><br /></div><div><div class="clearfloat stripes"><div id="content"><div class="post" id="post-31"><div class="clearfloat"><div class="entry narrow clearfloat bigger"><p> <code></code></p><code> </code><p><code>service mysqld start<br />service httpd start<br /></code></p> <p><strong>Make sure the httpd & mysqld service start at boot</strong><code></code></p><code> </code><p><code>chkconfig httpd on<br />chkconfig mysqld on<br /></code></p> <hr /> <span style="font-size:180%;">RT Installation<span class="Apple-style-span" style=" ;font-family:-webkit-monospace;font-size:13px;"></span></span></div><div class="entry narrow clearfloat bigger"><span style="font-size:180%;"><span class="Apple-style-span" style=" ;font-family:-webkit-monospace;font-size:13px;">wget http://www.jwhite3.com/files/rt-3.6.6-bundle.tar.gz </span></span><p><code> tar –zxvf rt-3.6.6-bundle.tar.<span class="Apple-style-span" style=" font-weight: bold; font-family:Georgia;font-size:16px;"></span></code></p><p><code><span class="Apple-style-span" style=" font-weight: bold; font-family:Georgia;font-size:16px;"> Set repository -set repository if you are using rhel 5</span></code></p> <p><code>vi /etc/yum/repos.d/localrt.repo</code></p> <pre>[rhel51-rt3] name=RT 3.6.6 for Red Hat Enterprise Linux 5.1 baseurl=file:///path/to/your/extracted/files enabled=1 gpgcheck=0<span class="Apple-style-span" style=" font-weight: bold; white-space: normal; font-family:Georgia;font-size:16px;"></span></pre><pre><span class="Apple-style-span" style=" font-weight: bold; white-space: normal; font-family:Georgia;font-size:16px;">Install rt3 and all dependencies with yum</span></pre> <p><code>yum install rt3</code></p> <p><span class="Apple-style-span" style=" ;font-size:42px;">RT Post Setup</span></p><p> </p><p>Now that rt is installed you may want to customize your setup. Inorder to do that you will need to know where your files are located. This package changes the file locations from the fedora6 version of rt,and differs greatly from the BP default<span class="Apple-style-span" style="font-weight: bold; "></span></p><p><span class="Apple-style-span" style="font-weight: bold; ">Customize /etc/rt3/RT_SiteConfig.pm</span></p> <p>You may find a need to change the site configuration of rt from time to time. For example to point rt to a remote database, configure external authentication, or set other configurable options. Below are several options that I like to set, but keep in mind these may differ greatly from a standard configuration.</p> <pre>Set($WebExternalAuth , '1');</pre><pre>Set($WebFallbackToInternalAuth , '1'); </pre><pre>Set($OldestTransactionsFirst, 0); </pre><pre>Set($MyTicketsLength, 25); </pre><pre>Set($MyRequestsLength, 25); </pre><pre>Set($WebBaseURL , "http://rt.blogspot.com"); </pre><pre>Set($WebPath , ""); Set($WebImagesURL , $WebPath . "/NoAuth/images"); </pre><pre>Set($rtname, 'blogspot.com'); </pre><pre>Set($DatabaseHost , 'db.blgspot.com'); </pre><pre>Set($DatabaseRTHost , 'localhost'); </pre><pre>Set($DatabaseUser, 'dbuser'); </pre><pre>Set($DatabasePassword , 'dbpassword'); </pre><pre>Set($DevelMode, '0'); </pre><pre>Set($ShowTransactionImages, 0); </pre><pre>Set($SuppressInlineTextFiles, true); </pre> <p><strong>Initialize the RT database</strong></p> <p><code>rt-setup-databse --action init</code><br /></p> <hr /> <span style="font-size:180%;">Configure sendmail</span><p> </p><p><strong>Symlink rt-mailgate to /etc/smrsh, and create aliases to use RT:</strong></p> <p><code>ln -s /opt/rt3/bin/rt-mailgate /etc/smrsh/rt-mailgate</code></p> <p><strong>Edit /etc/aliases and add lines:</strong></p> <p><code><br />rt: "|/etc/smrsh/rt-mailgate --queue general --action correspond --url http://blogspot.com/"<br />rt-comment: “|/etc/smrsh/rt-mailgate –queue general –action comment –url http://blogspot.com/”<br /></code></p> <p><strong>Edit /etc/mail/sendmail.mc and change the line:</strong></p> <p><code><br />DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl<br /><em>to read:</em><br />dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA’)<span class="Apple-style-span" style=" font-weight: bold; font-family:Georgia;font-size:16px;"></span></code></p><p><span class="Apple-style-span" style=" ;font-family:-webkit-monospace;font-size:13px;"><span class="Apple-style-span" style=" font-weight: bold; font-family:Georgia;font-size:16px;">Edit /etc/dovecot.conf and change the line:</span><br /></span></p><p><span class="Apple-style-span" style="font-weight: bold;">protocols = imap,imaps,pop3,pop3s</span></p><p><code><span class="Apple-style-span" style=" font-weight: bold; font-family:Georgia;font-size:16px;">Rebuild your sendmail.cf:</span></code></p> <p><code>m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf</code><br /><strong></strong></p><strong> </strong><p><strong>Add rt server alias to /etc/mail/local-host-names:</strong></p> <p><code>rt.blogspot.com</code></p> <p><strong>Restart sendmail:</strong></p> <p><code>service sendmail restart</code></p> <hr /> <span style="font-size:180%;">Test your new RT instance</span><p> </p><p><strong>Login to your new RT instance and test things out:</strong></p> <p>Default URL : http://blogspot.com/rt3/<br />Default User: root<br />Default password-password</p> </div><div id="more-menu"><h4><br /></h4></div></div><!-- #respond --> </div> </div><!--END CONTENT--></div><div><br /><div><br /></div></div></div>Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com3tag:blogger.com,1999:blog-4871756317738579674.post-12230672442936083722009-04-01T03:46:00.000-07:002013-07-15T03:49:43.961-07:00How to configure ldap in fedora & rhel -5<span style="font-size:85%;"><strong>$ <span class="Apple-style-span" style="color: rgb(255, 0, 0);">yum install openldap-clients<br /></span></strong><strong><span class="Apple-style-span" style="color: rgb(51, 51, 51);">$</span><span class="Apple-style-span" style="color: rgb(255, 0, 0);"> yum install openldap-servers<br /><span class="Apple-style-span" style="color: rgb(51, 51, 51);">$</span> </span></strong><strong><span class="Apple-style-span" style="color: rgb(255, 0, 0);">yum install openldap*<br /></span></strong></span><pre><b><span class="Apple-style-span" style="color: rgb(255, 0, 0);">$rpm -qa | grep ldap</span><br /></b><b><span style="font-size:+1;">Take backup for slapd.conf<br />$ /etc/openldap/slapd.conf /etc/openldap/slapd.conf.bak<br />Edit the file /etc/openldap/slapd.conf</span></b><br /><br /> we need to change some lines <strong>suffix</strong>,<br /> <strong>rootdn</strong> and the two <strong>rootpw</strong> lines.<br /> <br /><br /> Suffix is the high level descriptor you selected above. The<br /> rootdn is who (the user) that owns the server and should start with<br /> cn=. The first root password <span style="font-weight: bold;">(rootpw)</span> line should be set to<br /> secret. You can generate an encrypted password for the second<br /> rootpw line using the command:<br /> $ <span style="font-weight: bold;">slappasswd<br /></span>Just cut and paste the output of the slappasswd command into the<br /> second rootpw line in slapd.conf<br /><span class="Apple-style-span" style="color: rgb(255, 0, 0);">$ vim /etc/openldap/slapd.conf</span><br />suffix "dc=<span style="font-weight: bold;">bloger</span>,dc=com"<br /><br />bloger is a your domain name<br /><br />rootdn "cn=Manager,dc=<span style="font-weight: bold;">bloger</span>,dc=com"<br />rootpw secret<br />rootpw <span style="font-weight: bold;">{SSHA}MRNBda83kd9f7d7did902mLA1x0AVOWMRBua</span><br /><br />save & exit this file.<br />open ldap.conf file.<br /><span class="Apple-style-span" style="color: rgb(255, 0, 0);">$ vim /etc/openldap/ldap.conf</span><br />change 2 line in this file<br />HOST 127.0.0.1<br />BASE dc=<span style="font-weight: bold;">bloger</span>,dc=com<br /><br />save & exit this file.<br /><b><big>LDAP Migration tools-:<br /></big></b>These tools are located<br /> in <span style="font-weight: bold;">/usr/share/openldap/migration</span>. If<br /> you don't find them in your distribution you can download these tools<br /> from:<br />http://www.padl.com/OSS/MigrationTools.html<br /><br /> </pre><p>Install is simple.<br /> </p> <b>untar zxf MigrationTools.tgz<br />cd MigrationTools-47<br /></b><p>You then must edit migrate_common.ph and change the following site-specific variables to reflect your installation:<br /> </p> <blockquote> <pre><br /><b># Default DNS domain<br />$DEFAULT_MAIL_DOMAIN = "bloger.com";<br /><br /># Default base<br />$DEFAULT_BASE = "dc=blger,dc=com</b></pre> </blockquote><span style="font-size:-1;">Now we need to add the base entries into the LDAP. </span><span style="font-size:-1;">Here is an example of a new base org. units you may need and a user new user. The file we will create in out example is bloger.com.ldif.</span><b><span style="font-size:+1;"><br /></span></b><br /><b><span style="font-size:+1;"><span style="font-size:85%;">Create a data file (<span style="font-style: italic;">bloger</span>.ldif) & copy following content.<br /><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: rgb(255, 0, 0);">$ tuch bloger.ldif<br /></span></span><br /></span></span></b>dn: dc=<span style="font-weight: bold;">bloger</span>,dc=com<br /><pre>objectclass: top<br />objectclass: organization<br />o: <span style="font-weight: bold;">bloger</span><br />description: Top level LDAP for <span style="font-weight: bold;">bloger</span>.com<br />dn: ou=Group,dc=<span style="font-weight: bold;">bloger</span>,dc=com<br />ou: Group<br />objectClass: top<br />objectClass: organizationalUnit<br /><br />dn: ou=People,dc=<span style="font-weight: bold;">bloger</span>,dc=com<br />ou: People<br />objectClass: top<br />objectClass: organizationalUnit<br /><br />dn: ou=Services,dc=<span style="font-weight: bold;">bloger</span>,dc=com<br />ou: Services<br />objectClass: top<br />objectClass: organizationalUnit</pre>save this file.<span style="font-weight: bold;"><span style="font-family:monospace;"><br />$ </span><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: rgb(255, 0, 0);">/usr/share/openldap/migration/</span></span></span><b><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: rgb(255, 0, 0);">migrate_base.pl > bloger.ldif</span></span><br />Import first record</b> <b><span style="font-family:monospace;"><br />$ </span><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: rgb(255, 0, 0);">ldapadd -a -W -x -D "cn=Manager,dc=bloger,dc=com" </span></span></b><span class="Apple-style-span" style="color: rgb(255, 0, 0);">-f bloger.ldif</span><b><span style="font-size:-1;"><span style="font-family:monospace;"><br />$ </span><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: normal;">ldapsearch -x -b '</span></span></span><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: normal;">dc=bloger,dc=com</span></span></b><b><span style="font-size:-1;"><span class="Apple-style-span" style="color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-weight: normal;">' 'objectclass=*</span></span><br />Create test user-:create file newrec.ldif for test user & add some content in this file.<br /><br />$<span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: rgb(255, 102, 102);"> touch bloger.ldif</span></span><br />note- </span></b>You need an empty line before each line starting with "dn:"<br /><b><span style="font-size:-1;">$<span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="color: rgb(255, 0, 0);"> vim bloger.ldif</span></span><br /></span></b><pre># test1, < style="font-weight: bold;">bloger, com<br /><br />dn: uid=test,ou=People,dc=<span style="font-weight: bold;">bloger</span>,dc=com<br />cn: test<br />sn: test<br />objectClass: top<br />objectClass: person<br />objectClass: posixAccount<br />objectClass: shadowAccount<br />userPassword: <span style="font-weight: bold;">{crypt}$!Z0ksiAKjsKLAsjuwyuAK!jksX</span><br />uid: test<br />uidNumber: 501<br />gidNumber: 501<br />loginShell: /bin/bash<br />homeDirectory: /home/test<br />shadowLastChange: 10877<br />shadowMin: 0<br />shadowMax: 999999<br />shadowInactive: -1<br />shadowWarning: 7<br />shadowFlag: 0<br />shadowExpire: -1</pre>save & exit this file.<br /><span style="font-size:-1;">The dn: record must be uniqe and should include the include your suffix.</span><br /><b><span style="font-size:+1;"><br />Add the record to your LDAP</span></b><br /> To add a record to the ldap database we use the command ldapadd<div><br /><blockquote> <pre><b>$ <span class="Apple-style-span" style="color: rgb(255, 0, 0);">ldapadd -W -x -D "cn=Manager,dc=bloger,dc=com" -W -f </span><i><span class="Apple-style-span" style="color: rgb(255, 0, 0);">newrec.ldif</span></i></b></pre> </blockquote> <blockquote><pre><b>$ <span class="Apple-style-span" style="color: rgb(255, 0, 0);">ldapsearch -x -b 'cn=test,dc=bloger,dc=com'</span></b></pre> </blockquote> will display this record if it is added correctly.<br /><blockquote><pre><b>Client Side Authentication-:<br /></b>1. Click <em>System</em>, select <em>Administration</em> and click <em>Authentication</em>. This will launch the <strong>Authentication Configuration</strong> window.<br /><br />2. Check <em>Enable LDAP Support</em> and click the <em>Configure LDAP</em> button<br />3. Fill in the <em>LDAP Search Base DN</em> and <em>LDAP Server</em> fields. Click <em>Ok</em> when you are done.<br />4. Click the <em>Authentications</em> tab and check <em>Enable LDAP Support</em>.<br /><br />To test this, create a user in your LDAP directory that is not in<br /> your machine. Then check the account by fingering the<br /> user. For example, if you add the test record for you<br /> should be able to essue the command:<br /></pre> </blockquote>$ <span class="Apple-style-span" style="color: rgb(255, 102, 102);">getent passwd</span><br />$<span class="Apple-style-span" style="font-weight: bold;"> </span><span class="Apple-style-span" style="color: rgb(255, 0, 0);">finger test1</span><br /> <br /><b><span style="font-size:-1;"><br /></span></b><blockquote> </blockquote><br /> <blockquote> </blockquote><pre><br /></pre></div>Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com1tag:blogger.com,1999:blog-4871756317738579674.post-69503675903063396942009-03-18T05:50:00.000-07:002013-07-15T03:49:44.000-07:00Enable Passwordless Authentication with SSH<span class="Apple-style-span" style="color: rgb(17, 17, 17); font-family: Verdana; font-size: 14px; line-height: 22px; "><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; "><span class="Apple-style-span" style="color: rgb(153, 102, 51);"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13px; line-height: normal; "></span></span></p><p><strong>Step 1:<br /></strong>(*note server1 is the source server and server2 will be the destination server)</p><div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; overflow-x: auto; overflow-y: hidden; width: 100%; "><div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; "><pre class="text" style="font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; ">server1# mkdir ~/.ssh</pre></div></div><p><strong>Step 2:</strong></p><div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; overflow-x: auto; overflow-y: hidden; width: 100%; "><div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; "><pre class="text" style="font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; ">server1# cd ~/.ssh</pre></div></div><p><strong>Step 3:</strong></p><div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; overflow-x: auto; overflow-y: hidden; width: 100%; "><div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; "><pre class="text" style="font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; ">server1# ssh-keygen -t rsa</pre></div></div><p><em>Generating public/private rsa key pair.<br />Enter file in which to save the key (”your_local_home”/.ssh/id_rsa):<br />Enter passphrase (empty for no passphrase):<br />Enter same passphrase again:<br />Your identification has been saved in id_rsa.<br />Your public key has been saved in id_rsa.pub.<br />The key fingerprint is:<br />18:6a:e3:78:ab:2d:0c:8e:f9:67:f7:30:32:44:77:34 phil@server1</em></p><p><strong>Step 4:</strong></p><div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; overflow-x: auto; overflow-y: hidden; width: 100%; "><div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; "><pre class="text" style="font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; ">server1# scp ~/.ssh/id_rsa.pub phil@server2.philchen.com:/home/phil/id_rsa.server1.pub</pre></div></div><p><strong>Step 5:</strong></p><div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; overflow-x: auto; overflow-y: hidden; width: 100%; "><div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; "><pre class="text" style="font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; ">server1# ssh phil@server2.philchen.com Password:</pre></div></div><p><strong>Step 6:</strong></p><div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; overflow-x: auto; overflow-y: hidden; width: 100%; "><div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; "><pre class="text" style="font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; ">server2# mkdir .ssh</pre></div></div><p><strong>Step 7:</strong></p><div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; overflow-x: auto; overflow-y: hidden; width: 100%; "><div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; "><pre class="text" style="font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; ">server2# chmod 700 .ssh</pre></div></div><p><strong>Step 8:</strong></p><div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; overflow-x: auto; overflow-y: hidden; width: 100%; "><div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; "><pre class="text" style="font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; ">server2# cat id_rsa.server1.pub >> .ssh/authorized_keys</pre></div></div><p><strong>Step 9:</strong></p><div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; overflow-x: auto; overflow-y: hidden; width: 100%; "><div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; "><pre class="text" style="font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; ">server2# chmod 644 .ssh/authorzied_keys</pre></div></div><p><strong>Step 10:</strong></p><div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; overflow-x: auto; overflow-y: hidden; width: 100%; "><div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; "><pre class="text" style="font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; ">server2# exit server1# ssh phil@server2.philchen.com</pre></div></div></span><p></p>Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com2tag:blogger.com,1999:blog-4871756317738579674.post-16539697788850655142009-03-05T05:38:00.000-08:002013-07-15T03:49:44.039-07:00Backups With Rsync<span class="Apple-style-span" style="font-family: 'times new roman'; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><center><h1><span class="Apple-style-span" style="font-size: 16px; font-weight: normal; ">rsync is a command line utility that is used to synchronize files between two computers over a network to synchronize files between two filesystems. It was written as a replacement for rcp but with many new features. For example it uses an algorithm that will only transfer files that have been modified. SSH will be used to authenticate between the machines and to encrypt the network traffic.</span><br /></h1></center><p>The situation: We have four machines named: server, machine1, machine2, and machine3. The server has a tape drive that is used to do nightly backups. machine1 is used as a development box and has files that need to be backed up in /src and in /home. machine2 is used for mail and needs /home and /mail to be backed up. machine3 is a web server and needs /home, /var/www, and /etc/httpd backed up.</p><p>Create a <a href="http://www.rootprompt.org/article.php3?article=8976#rsync-example">shell script</a> for each machine. Simplify your maintenance by placing the scripts in a central location. I like to use /root/scripts. Decide on where you want to log your output. I like <a href="http://www.rootprompt.org/article.php3?article=8976#dir-example">/root/logs</a> but another common option is to have the script <a href="http://www.rootprompt.org/article.php3?article=8976#mail-example">mail</a> you the output.</p><p>Add entries to your crontab to call the scripts. Make sure you leave enough time before your normal backups of the server that the rsync jobs complete.</p><p>Each night the following will occur:</p><ol><li>rsync machine1 -> Server</li><li>rsync machine2 -> Server</li><li>rsync machine3 -> Server</li><li>backup server to tape</li></ol>Let's take a look at the flags used for rsync in the examples:<p><span class="Apple-style-span" style="color: rgb(255, 0, 0);">rsync -ave ssh --numeric-ids --delete machine1:/home /machine1</span></p><p><br /></p><p>Next generate a public private key pair with ssh. Place the public key in the ~/.ssh/authorized_keys file in an account on machine1, machine2, and machine3 that has read access to the directories that need to be backed up. It is best not to use the root account on the remote machines, but you should evaluate the risk in your environment. Test that you can login to these accounts using ssh without using a password.</p><p>Test each one of the rsync scripts. The first time you run rsync will take the longest as it will need to copy all the files from the remote machines and not just the files that have changed.</p><p>Add the /machine1, /machine2, and /machine3 (or whatever you have named them) directories to the servers backup script.</p><p>While this process does not backup the entire remote machine, it will ensure that you will not lose irreplaceable data.</p><p>Starting with the example scripts included in this tutorial there are many changes that can be made to fit your specific circumstances.</p><p>The frequency of the rsyncs can be modified to occur more often or at different times. Simply by adding additional crontab lines the backup from the remote machines could be done everyday at lunch, multiple times a day or even hourly.</p><p>The scripts could also be changed to rotate between multiple backups on the server or could be changed to do some sort of processing on the files before they are backed up. For example if the home directories you are backing up contain web browser caches, they could be removed after the rsync but before the system backup.</p><p>Using this article as a starting point you should create a backup plan that fit your needs.</p><p></p><hr /><b><a name="rsync-example">Example rsync script for machine1:</a></b><a name="rsync-example"><hr /><pre>#!/bin/bash rsync -ave ssh --numeric-ids --delete machine1:/home /machine1 rsync -ave ssh --numeric-ids --delete machine1:/src /machine1 </pre><hr /><b></b></a><b><a name="rsync-example">Example rsync script for machine2:</a></b><a name="rsync-example"><hr /><pre>#!/bin/bash rsync -ave ssh --numeric-ids --delete machine2:/home /machine2 rsync -ave ssh --numeric-ids --delete machine2:/mail /machine2 </pre><hr /><b></b></a><b><a name="rsync-example">Example rsync script for machine3:</a></b><a name="rsync-example"><hr /><pre>#!/bin/bash rsync -ave ssh --numeric-ids --delete machine3:/home /machine3 rsync -ave ssh --numeric-ids --delete machine3:/var/www /machine3 rsync -ave ssh --numeric-ids --delete machine3:/etc/httpd /machine3 </pre><hr /><b></b></a><b><a name="dir-example">Example crontab</a> file logging to a directory:</b><hr /><pre># Scripts to rsync machines 59 20 * * * /root/scripts/sync-machine1.sh >/root/logs/sync-machine1.log 2>&1 59 21 * * * /root/scripts/sync-machine2.sh >/root/logs/sync-machine2.log 2>&1 59 22 * * * /root/scripts/sync-machine3.sh >/root/logs/sync-machine3.log 2>&1 # # Nightly Backup script 59 23 * * * /root/scripts/backup.sh > /root/logs/backup.log 2>&1 </pre><hr /><p><b><a name="mail-example">Example crontab</a> file mailing the output:</b></p><hr /><pre># Scripts to rsync machines 59 20 * * * /root/scripts/sync-machine1.sh 59 21 * * * /root/scripts/sync-machine2.sh 59 22 * * * /root/scripts/sync-machine3.sh # # Nightly Backup script 59 23 * * * /root/scripts/backup.sh</pre></span>Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-12340140492262259322009-02-28T03:04:00.000-08:002013-07-15T03:49:44.077-07:00Some simple Tricks<span class="Apple-style-span" style=" ;font-family:arial;font-size:12px;"><p><span class="Apple-style-span" style="font-weight: bold;"><span class="Apple-style-span" style="font-size:medium;">1. Create a Directory with different permission-:</span></span> <br /></p><p>when we need a directory with specific permission , we created directory <br />using the <span class="blsp-spelling-error" id="SPELLING_ERROR_0">mkdir</span> command then set the permission using <span class="blsp-spelling-error" id="SPELLING_ERROR_1">chmod</span> command.Define <br />the access permission while creating the directory & set permission. <br />try to following command-: <br /># <span class="blsp-spelling-error" id="SPELLING_ERROR_2">mkdir</span> /test -v -m 700 <br />where we used the -m option for define the permission,we need to set. Option <br />v use for verbose mode. <br /></p><p>now check the directory permission. <br /># ls -<span class="blsp-spelling-error" id="SPELLING_ERROR_3">ld</span> /test <br /></p><p>2.<span class="Apple-style-span" style="font-weight: bold;"><span class="Apple-style-span" style="font-size:medium;"> Take Hardware information on live server -:</span></span> Do you know Ram, <span class="blsp-spelling-error" id="SPELLING_ERROR_4">Bious</span> , <br />Motherboard,processor,cache , slot status information form live server. We <br />can use following command. <br /># <span class="blsp-spelling-error" id="SPELLING_ERROR_5">dmidecode</span> --type <span class="blsp-spelling-error" id="SPELLING_ERROR_6">bious</span> <br /># <span class="blsp-spelling-error" id="SPELLING_ERROR_7">dmidecode</span> --type processor <br /># <span class="blsp-spelling-error" id="SPELLING_ERROR_8">dmidecode</span> --type memory</p></span>Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com3tag:blogger.com,1999:blog-4871756317738579674.post-28764281116080648172009-02-26T20:17:00.000-08:002013-07-15T03:49:44.114-07:00Basic Samba Configuration step by stepWe are trying to share knowledge about a samba by example.<br /><br />we are going to create a directory path /home/data/sales.set the ownership and permission on the drectory such that people in the sales group can add/delete file but other can not.<br />first create a directory & set group & permission.<br />$ mkdir -p /home/data/sales<br />$ chgrp sales /home/data/sales<br />$ chmod 770 /home/data/sales<br />$ chmod g+s /home/data/sales note-: we have set special permission for group can add/delete file other can not.<br /><br /># yum install samba*<br /><br />open smb.conf file & add some line.<br /><br />[sales]<br />comment = sales 's file<br />path = /home/data/sales<br />public = no<br />write list = @sales<br />: writable = yes<br /><br />save & exit file.<br />$ /etc/init.d/smb restart<br /><br />make a samba users & set smbpasswd-<br />$ smbpasswd -a user1<br /><br />Selinux- if your selinux is inforce mode then you will need to allow selinux policy<br />$ getsebool -a | grep sam<br />$ setsebool -P samba_enable_home_dirs on<br /><br />Iptables- if your pc firewall is enable then you will need set rules for allow.<br />$ iptables -I INPUT -s 192.168.10.0/24 -p tcp --dport 137:139 -J ACCEPT<br />$ iptables -I INPUT -s 192.168.10.0/24 -p tcp --dport 445 -J ACCEPT<br />$ iptables -I INPUT -s 192.168.10.0/24 -p udp --dport 137:139 -J ACCEPT<br />$ iptables -I INPUT -s 192.168.10.0/24 -p udp --dport 445 -J ACCEPT<br />$ /etc/init.d/iptables save<br />$ /etc/init.d/iptables restart<br />$ /etc/init.d/smb restart<br /><br />Client side-<br />$ smbclient //servername/sales -U user1<br /><br />if you want to permantly mount when system boot. you should be make fstab entry<br />add some line in fstab file.<br /><br />$ vim /etc/fstab<br />//192.168.100.10/sales /mnt cifs username=user1,passwd=matix 0 0<br />save this file<br />$ umount -a<br />$ mount -a<br />$ df -kh (for check mount enrty)Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com1tag:blogger.com,1999:blog-4871756317738579674.post-66531513340985916242009-02-23T05:41:00.000-08:002013-07-15T03:49:44.188-07:00Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-67224482511924048582009-02-23T05:38:00.000-08:002013-07-15T03:49:44.226-07:00CHKCONFIG on UbuntuIf you want to use chkconfig command on ubantu. you can use following process..<div><br /></div><div><span class="Apple-style-span" style="color: rgb(34, 34, 34); line-height: 16px; font-family:'Trebuchet MS';font-size:12px;"><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.5em; margin-bottom: 0.9em; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);">$ apt-get install libnewt0.52</span></p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.5em; margin-bottom: 0.9em; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);">$ ln -s /usr/lib/libnewt.so.0.52 /usr/lib/libnewt.so.0.50</span></p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.5em; margin-bottom: 0.9em; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);">$ wget http://www.tuxx-home.at/projects/chkconfig-for-debian/chkconfig_1.2.24d-1_i386.deb</span></p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.5em; margin-bottom: 0.9em; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);">$ dpkg --force-all -i chkconfig_1.2.24d-1_i386.deb</span></p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0.5em; margin-bottom: 0.9em; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);">chkconfig --list</span><br /></p></span></div>Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com0tag:blogger.com,1999:blog-4871756317738579674.post-50865010872842546782009-02-22T20:15:00.000-08:002013-07-15T03:49:44.264-07:00Nis Server Configuration for RHEL-5Server side-: Install following package.<div># yum install Ypserv</div><div># yum install Ypbind</div><div># yum install tools</div><div><p style="margin-bottom: 0in"># chkconfig ypserv on</p> <p style="margin-bottom: 0in"># chkconfig yppasswdd on</p> <p style="margin-bottom: 0in"># chkconfig ypxfrd on</p><p style="margin-bottom: 0in"># /etc/init.d /portmap restart</p><p style="margin-bottom: 0in"># chkconfig portmap on</p><p style="margin-bottom: 0in">Open file vim /etc/sysconfig/network</p><p style="margin-bottom: 0in">make this entry in file.</p><p style="margin-bottom: 0in"></p><p style="margin-bottom: 0in"><br /></p><p style="margin-bottom: 0in"><span class="Apple-style-span" style="color: rgb(255, 0, 0);">NISDOMAIN= ABC <span class="Apple-style-span" style="color: rgb(0, 0, 0);">"abc is a domian name"</span><span class="Apple-style-span" style="color: rgb(0, 0, 0);"><br /></span></span></p><p style="margin-bottom: 0in">save & exit file.</p><p style="margin-bottom: 0in"># service ypserv restart</p><p style="margin-bottom: 0in"># service yppasswd start</p><p style="margin-bottom: 0in">Make new user</p><p style="margin-bottom: 0in">adduser "username"</p><p style="margin-bottom: 0in">passwd "enter password"</p><p style="margin-bottom: 0in"><span class="Apple-style-span" style="font-weight: bold; ">enter new password “typpe new password”</span></p><p style="margin-bottom: 0in"><span class="Apple-style-span" style="font-weight: bold; ">retype new password “retype new password”</span> </p><p style="margin-bottom: 0in"><span class="Apple-style-span" style="font-weight: bold; ">*remote home directory-:</span></p><p style="margin-bottom: 0in"># mkdir /abc</p><p style="margin-bottom: 0in"><span class="Apple-style-span" style="font-weight: bold;"> </span></p><p style="margin-bottom: 0in">#chmod 777 /abc</p> <p style="margin-bottom: 0in"><br /></p> <p style="margin-bottom: 0in">#creaton of the user #</p> <p style="margin-bottom: 0in">useradd -d /abc/test1 test1 </p> <p style="margin-bottom: 0in">passwd test1 </p> <p style="margin-bottom: 0in">useradd -d /abc/test2 test2</p> <p style="margin-bottom: 0in"> passwd test2</p><p style="margin-bottom: 0in">* type following command-:</p><p style="margin-bottom: 0in"># /usr/lib/yp/ypinit -m</p><p style="margin-bottom: 0in"></p><p style="margin-bottom: 0in"> It will ask u next host to add#</p> <p style="margin-bottom: 0in">Press CTR+D#</p> <p style="margin-bottom: 0in">you will get below message #</p> <p style="margin-bottom: 0in">The current list of NIS servers looks like this:</p> <p style="margin-bottom: 0in">linux1.abc.com</p> <p style="margin-bottom: 0in">Is this correct? [y/n: y]</p> <p style="margin-bottom: 0in">#</p> <p style="margin-bottom: 0in">#Press Y#</p> <p style="margin-bottom: 0in"><br /></p> <p style="margin-bottom: 0in"><br /></p> <p style="margin-bottom: 0in"><br /></p> <p style="margin-bottom: 0in"># Install nfs service#</p> <p style="margin-bottom: 0in">chkconfig nfs on</p> <p style="margin-bottom: 0in">chkconfig portmap on </p> <p style="margin-bottom: 0in">chkconfig nfslock on</p> <p style="margin-bottom: 0in"><br /></p> <p style="margin-bottom: 0in"><br /></p> <p style="margin-bottom: 0in">vim /etc/exports </p> <p style="margin-bottom: 0in"> make the foolowing entry to share abc folder</p> <p style="margin-bottom: 0in"><br /></p> <p style="margin-bottom: 0in"><span class="Apple-style-span" style="color: rgb(255, 102, 102);">/abc *.192.168.10.0/24(rw,sync)</span></p> <p style="margin-bottom: 0in"><br /></p> <p style="margin-bottom: 0in">vim /etc/sysconfig/nfs</p> <p style="margin-bottom: 0in">#make following entries in this file#</p> <p style="margin-bottom: 0in"><span class="Apple-style-span" style="color: rgb(255, 102, 102);">MOUNTD_PORT="4002"</span></p> <p style="margin-bottom: 0in"><span class="Apple-style-span" style="color: rgb(255, 102, 102);">STATD_PORT="4003"</span></p> <p style="margin-bottom: 0in"><span class="Apple-style-span" style="color: rgb(255, 102, 102);">LOCKD_TCPORT="4004"</span></p> <p style="margin-bottom: 0in"><span class="Apple-style-span" style="color: rgb(255, 102, 102);">LOCKD_UDPPORT="4004"</span></p> <p style="margin-bottom: 0in"> /etc/init.d/nfs restart</p> <p style="margin-bottom: 0in"> /etc/init.d/nfslock restart</p> <p style="margin-bottom: 0in">/etc/init.d/portmap restart</p> <p style="margin-bottom: 0in">exportfs -avf</p> <p style="margin-bottom: 0in">show the exported folder</p> <p style="margin-bottom: 0in">Client Side-: </p> <p style="margin-bottom: 0in">now configure auto.misc and auto.master on client machine</p> <p style="margin-bottom: 0in">make following entry in auto.misc </p> <p style="margin-bottom: 0in"><span class="Apple-style-span" style="color: rgb(255, 0, 0);">* -rw,soft,intr serveripaddress:/abc/&</span></p> <p style="margin-bottom: 0in">make following entry in auto.master</p> <p style="margin-bottom: 0in">/testhome etc/auto.misc</p> <p style="margin-bottom: 0in">/etc/init.d/autofs restart</p> <p style="margin-bottom: 0in">now run authconfig-tui</p> <p style="margin-bottom: 0in">select nis domain</p> <p style="margin-bottom: 0in">put <span class="Apple-style-span" style="color: rgb(255, 102, 102);">ABC</span> in domain fiels</p> <p style="margin-bottom: 0in">server's ipaddress in server field</p> <p style="margin-bottom: 0in">now login with user test1 from client machine in cmd prompt</p> <p style="margin-bottom: 0in"><br /></p> <p></p> <p style="margin-left: 0.5in; margin-bottom: 0in"><br /></p> <p></p><p style="margin-bottom: 0in"><br /></p><p style="margin-bottom: 0in">Enjoy.........</p><p style="margin-bottom: 0in"><br /></p> <p></p><p style="margin-bottom: 0in"><br /></p><p style="margin-bottom: 0in"><br /></p> <div><br /></div></div>Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com9tag:blogger.com,1999:blog-4871756317738579674.post-59238402746116363612009-02-21T03:37:00.000-08:002013-07-15T03:49:44.303-07:00Squid Installation & Configuration<span class="Apple-style-span" style="color: rgb(17, 17, 17); font-size: 14px; line-height: 22px; "><h3 style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-weight: normal; font-size: 1.286em; line-height: 1.222em; margin-top: 1.833em; margin-right: 0px; margin-bottom: 0.611em; margin-left: 0px; ">Server Configuration</h3><ul style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-type: square; list-style-position: initial; list-style-image: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 1.571em; margin-left: 1.571em; "><li style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Step #1 : Squid configuration so that it will act as a transparent proxy</li><li style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Step #2 : Iptables configuration</li><ul style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-type: square; list-style-position: initial; list-style-image: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 1.571em; "><li style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">a) Configure system as router</li><li style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">b) Forward all http requests to 3128 (DNAT</li></ul></ul><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; "># yum install squid*</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; ">First, Squid server installed (use up2date squid) and configured by adding following directives to file:<br /><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; "># vi /etc/squid/squid.conf</code></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; ">Modify or add following squid directives:</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; ">http_port 3128<br /><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; ">list of networks from where browsing should be allowed.uncommnet this 2 line & define spacified network.</code><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; ">acl our_networks src 192.168.0.0/24<span class="Apple-tab-span" style="white-space:pre"></span></code><span class="Apple-style-span" style="font-family: Consolas; font-size: 13px; line-height: 18px;"> http_access allow our_networks</span> </p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; ">If you want to block perticular website then you can set follwoing below process.but this line should be add in first of above 2 line, then it will be affected For a example we are ging to block orkut.com.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; "></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; ">acl blocksite dstdomain .orkut.com</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; ">http_access deny blocksite<span class="Apple-style-span" style="font-size: 18px; "></span></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; "><br /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; ">save & exit file.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; "><span class="Apple-style-span" style="font-size: 18px; ">Iptables configuration</span></p><p></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; ">Next, I had added following rules to forward all http requests (coming to port 80) to the Squid server port 3128 :<br /><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; ">iptables -t nat -A PREROUTING -i <span style="color: rgb(255, 0, 0); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">eth1</span> -p tcp --dport <span style="color: rgb(255, 0, 0); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">80</span> -j DNAT --to 192.168.0.0:3128<br />iptables -t nat -A PREROUTING -i <span style="color: rgb(255, 0, 0); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">eth0</span> -p tcp --dport <span style="color: rgb(255, 0, 0); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">80 -j REDIRECT --to-port 3128<span class="Apple-style-span" style="color: rgb(17, 17, 17); font-family: Georgia; font-size: 14px; line-height: 22px; "></span></span></code><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);">iptables -I INPUT -s 192.168.0.0/24 -p tcp --dport 3128 -j ACCEPT</span></code><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);">iptables -I INPUT -s 192.168.0.0/24 -p tcp --dport 80 -j ACCEPT<br /></span></code><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);">iptables -I INPUT -s 192.168.0.0/24 -p udp --dport 3128 -j ACCEPT<br /></span></code><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);">iptables -I INPUT -s 192.168.0.0/24 -p udp --dport 80 -j ACCEPT<br /></span></code><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);"># /etc/init.d/iptables save</span></code><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; "><span class="Apple-style-span" style="color: rgb(255, 0, 0);"># /etc/init.d/iptables restart</span></code><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; "><span style="color: rgb(255, 0, 0); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-style-span" style="color: rgb(17, 17, 17); font-family: Georgia; font-size: 14px; line-height: 22px; ">Start or Restart the squid:</span></span></code></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; "><span class="Apple-style-span" style="font-family: Consolas; font-size: 13px; line-height: 18px; "></span></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; "><span class="Apple-style-span" style="font-family: Consolas; font-size: 13px; line-height: 18px; "># /etc/init.d/squid restart</span></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; margin-bottom: 1.571em; "><code style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Consolas, 'Andale Mono', Courier, 'Courier New'; display: block; overflow-x: auto; overflow-y: auto; background-image: none; background-repeat: repeat; background-attachment: scroll; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); font-size: 0.929em; line-height: 1.385em; margin-bottom: 1.692em; padding-top: 0.615em; padding-right: 0.846em; padding-bottom: 0.615em; padding-left: 0.846em; background-position: 0px 0px; "># chkconfig squid on</code></p></span>Anonymoushttp://www.blogger.com/profile/06933066901275883757noreply@blogger.com1