tag:blogger.com,1999:blog-89319274338480419042024-03-13T15:33:27.048+05:30What is Web HostingThis blog is dedicated to all the scholar of web hosting. You will get all solution of your web hosting issue. If you have any query regarding web hosting then you can mail me whatishosting.com[at]gmail.comHimanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.comBlogger72125tag:blogger.com,1999:blog-8931927433848041904.post-86096143292718827692015-03-17T17:50:00.000+05:302015-03-17T17:50:26.251+05:30How To Install Client Certificate in Firefox for Windows<div dir="ltr" style="text-align: left;" trbidi="on">
<strong></strong><span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;">In This post I am providing step-by-step instructions for installing your client certificate in Mozilla Firefox for Windows.</span></span><br />
<span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;">1. </span></span><span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Open Firefox. Click the<span class="Apple-converted-space"> </span></span><strong style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Firefox</strong><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"> button in the top left-hand corner. Click<span class="Apple-converted-space"> </span></span><strong style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Options</strong><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">><span class="Apple-converted-space"> </span></span><b style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Options</b><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">.</span></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYMuIDUi2nqtNluS1JieUkFDgUE5HPRsDRe4-o0lX3I19eDuPidNw2fbwFULEHTL6G1C9aHfBvNoiY_ZJjR_BRB58UjdSTaZZDWXSQqcvNYM5bpgaeVvjrFOwizPCKFJCrjkLfCwGfES4/s1600/f1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYMuIDUi2nqtNluS1JieUkFDgUE5HPRsDRe4-o0lX3I19eDuPidNw2fbwFULEHTL6G1C9aHfBvNoiY_ZJjR_BRB58UjdSTaZZDWXSQqcvNYM5bpgaeVvjrFOwizPCKFJCrjkLfCwGfES4/s1600/f1.jpg" height="232" width="320" /></a></div>
<br />
<span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">2. </span></span></span><span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Click the<span class="Apple-converted-space"> </span></span><strong style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Advanced</strong><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span class="Apple-converted-space"> </span>icon on the top right of the options screen. Click the </span><strong style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Encryption </strong><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">tab. Click on </span><strong style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">View Certificates </strong><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">to view the certificate store contents.</span></span></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZxyn2FetRXCfilKMTY1a8mSDjf17cj3z3yhsf9F4MBo8UHPynn5wRSQvx-7myYsQlyMa8jqIil08nlWlk2cYvWsFHtvrqSqbZ8xpZ_RCFs86KMDzWurmojQWzrLiaCD6yX4Y60uLiHVQ/s1600/screen-windows-firefox-02.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZxyn2FetRXCfilKMTY1a8mSDjf17cj3z3yhsf9F4MBo8UHPynn5wRSQvx-7myYsQlyMa8jqIil08nlWlk2cYvWsFHtvrqSqbZ8xpZ_RCFs86KMDzWurmojQWzrLiaCD6yX4Y60uLiHVQ/s1600/screen-windows-firefox-02.jpg" height="232" width="320" /></a></div>
<br />
<span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">3. </span></span></span></span><span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Click </span><strong style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Import </strong><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">on the </span><strong style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Your Certificates </strong><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">tab.</span></span></span></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_UEAhPuEVwvhDVYwDVmfulWasCTsnjxRSxbtsPJ6uo7oQ0rk_pjb7gMnBftQ74K0t1KYQb2-Y3HnAt-13Ioi99JSv16HaL-NaPx3OmKgkT8JgawRkcT147vXCEf0CG-_QZ8GWgKlMP_Y/s1600/screen-windows-firefox-03.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_UEAhPuEVwvhDVYwDVmfulWasCTsnjxRSxbtsPJ6uo7oQ0rk_pjb7gMnBftQ74K0t1KYQb2-Y3HnAt-13Ioi99JSv16HaL-NaPx3OmKgkT8JgawRkcT147vXCEf0CG-_QZ8GWgKlMP_Y/s1600/screen-windows-firefox-03.jpg" height="231" width="320" /></a></div>
<br />
<span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">4. </span></span></span></span></span><span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Browse to your certificate and click<span class="Apple-converted-space"> </span></span><strong style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Open</strong><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">. If you have set a master password then you will need to enter this first and then the certificate password which you generated when downloading the certificate.</span></span></span></span></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpw0Cl2dex3AEQQfR3JNUJHl2fp6tC6IBuRk2tgXeZrMafAyek1R5wNT7QPWr5zbMHh8kXxw70Re7qVxBmm3uZw-1yy_v5uKI-Nz-DjfNaAW8_F3NzHdCHyuljxUrh_5annJ5GxMtPaDA/s1600/screen-windows-firefox-04.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpw0Cl2dex3AEQQfR3JNUJHl2fp6tC6IBuRk2tgXeZrMafAyek1R5wNT7QPWr5zbMHh8kXxw70Re7qVxBmm3uZw-1yy_v5uKI-Nz-DjfNaAW8_F3NzHdCHyuljxUrh_5annJ5GxMtPaDA/s1600/screen-windows-firefox-04.jpg" height="232" width="320" /></a></div>
<br />
<span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">5. </span></span></span></span></span></span><span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">You will now receive an alert saying the import was successful.</span></span></span></span></span></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhErJnyd7ShYBySY-z7pUsQ1NcCJIh1hP2d8FvNboACAEfeRgVSt44LHg6EyL8BgEB4ul8JtaBuIFTY-Zgp5k65_W6RWAYfPYm3vSOI7HyOK2BoNJ4xmu2HEd-xJcteeY0wcaI0PVEIAw/s1600/screen-windows-firefox-05.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhErJnyd7ShYBySY-z7pUsQ1NcCJIh1hP2d8FvNboACAEfeRgVSt44LHg6EyL8BgEB4ul8JtaBuIFTY-Zgp5k65_W6RWAYfPYm3vSOI7HyOK2BoNJ4xmu2HEd-xJcteeY0wcaI0PVEIAw/s1600/screen-windows-firefox-05.jpg" height="232" width="320" /></a></div>
<br />
<span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">6.</span></span></span></span></span></span></span><span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"> </span></span></span></span></span></span></span><span style="border: 0px; font-family: inherit; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="border: 0px; font-family: inherit; font-size: 14px; line-height: 1.6em; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="border: 0px; font-family: inherit; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="border: 0px; font-family: inherit; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="border: 0px; font-family: inherit; font-size: 14px; line-height: 1.6em; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;">The certificate is now installed and can be used for network or secure client authentication.</span></span></span></span></span></span><br />
<span style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #1c4866; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: 1.6em; margin: 0px; orphans: auto; outline: none; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 1; word-spacing: 0px;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="-webkit-text-stroke-width: 0px; background-color: white; color: #1c4866; display: inline !important; float: none; font-family: arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.3999996185303px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"> </span> </span> </span> </span> </span> </span><br /><span style="border: 0px; font-family: inherit; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="border: 0px; font-family: inherit; font-size: 14px; line-height: 1.6em; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"><span style="border: 0px; font-family: arial, helvetica, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;"></span></span></span></span><br />
</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com130tag:blogger.com,1999:blog-8931927433848041904.post-52015533413259924362014-08-08T12:42:00.000+05:302014-08-08T13:03:38.762+05:30Get into Single User mode in RHEL/CentOS 7 : Retrieve Root Password in RHEL/CentOS 7<div dir="ltr" style="text-align: left;" trbidi="on">
The Redhat recommended way of doing this changed in Redhat 7. I
discovered this while reading a forum in Linkdin. It's on pp
406-407 of the new System Admin guide on the Redhat site. It's basically
the same, but some things have been added:
<br />
<br />
- Interrupt the boot and edit with 'e'.
<br />
- Add init=/bin/sh to the end of the 'linux' line. Additionally, REMOVE
the 'rhgb' and 'quiet' parameters from the 'linux' line. If you don't
you probably won't be able to type on the console. That's what happened
to me the first time.
<br />
- Ctrl+X to boot.
<br />
- / is read-only so remount the root filesystem: mount -o remount,rw /.
If you don't do that you will get token manipulation errors.
<br />
- Use the passwd command to change the password.
<br />
- touch /.autorelable to take care of selinux. I've skipped this step before and was then unable to boot.
<br />
- run the following: "exec /sbin/init 5" and bring the system up. I
don't know why you need the 'exec' command, but you do. Do not try to
reboot it until it comes up the first time. It will hang and your
changes may not be synced. I guess you could go to run level 3 as well.<br />
<br />
Thanks <a class="commenter" href="https://www.linkedin.com/pub/jim-caron/28/201/738" title="See this member's activity">Jim Caron</a> for helping out Fourm.</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com4tag:blogger.com,1999:blog-8931927433848041904.post-38742019059276157232014-07-16T13:34:00.002+05:302014-07-16T13:34:42.629+05:30Google Chrome - Install on RHEL/CentOS 6<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; color: #333333; font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 19px; text-align: justify;">Create a file called </span><span style="background: rgb(255, 255, 255); border: 0px; font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 19px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;"><span style="color: #444444;">/etc/yum.repos.d/google-chrome.repo</span></span><span style="background-color: white; color: #333333; font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 19px; text-align: justify;"> and add the following lines of code to it.</span><br />
<span style="background-color: white; color: #333333; font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 19px; text-align: justify;"><br /></span>
<pre style="background: none 0px 0px repeat scroll rgb(85, 85, 85); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 0px; box-shadow: rgba(0, 0, 0, 0.247059) 0px 0px 15px inset; clear: both; color: white; font-family: 'Courier 10 Pitch', Courier, monospace; font-size: 1.1em; line-height: 1.2; margin-bottom: 20px; margin-top: 20px; outline: 0px; overflow: auto; padding: 12px; vertical-align: baseline;">[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub</pre>
<h4 style="background: rgb(255, 255, 255); border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-width: 0px 0px 1px; font-family: Oswald, Arial, Helvetica, sans-serif; font-weight: normal; line-height: 19px; margin: 0px; outline: 0px; padding: 10px 0px; vertical-align: baseline;">
Installing Chrome Web Browser</h4>
<div>
<pre style="background: none 0px 0px repeat scroll rgb(85, 85, 85); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 0px; box-shadow: rgba(0, 0, 0, 0.247059) 0px 0px 15px inset; clear: both; color: white; font-family: 'Courier 10 Pitch', Courier, monospace; font-size: 1.1em; line-height: 1.2; margin-bottom: 20px; margin-top: 20px; outline: 0px; overflow: auto; padding: 12px; vertical-align: baseline;"># yum install google-chrome-stable</pre>
</div>
<div>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 19px; outline: 0px; padding: 10px 0px; text-align: justify; vertical-align: baseline;">
<strong style="background: transparent; border: 0px; color: red; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Update</strong> : Sadly, the G<strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">oogle Chrome</strong> browser no longer supports the most famous commercial distribution <strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Red Hat</strong> and its free clones such as <strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">CentOS</strong> and <strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Scientific Linux</strong>.</div>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 19px; outline: 0px; padding: 10px 0px; text-align: justify; vertical-align: baseline;">
Yes, they’ve discontinued support for <strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">RHEL 6.X</strong> version as of <strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Google Chrome</strong> and on other side, latest <strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Firefox</strong> and <strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Opera</strong> browsers run successfully on the same platforms.</div>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 19px; outline: 0px; padding: 10px 0px; text-align: justify; vertical-align: baseline;">
Luckily, there is a script developed by <a href="http://chrome.richardlloyd.org.uk/" rel="nofollow" style="background: transparent; border: medium none; color: #9b0505; font-weight: bold; margin: 0px; outline: none medium; padding: 0px; vertical-align: baseline;" target="_blank">Richard Lloyd</a>, that automatically download and install latest <strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Google Chrome</strong> browser by picking libraries from a more recent released distro and put those libraries in (<strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/opt/google/chrome/lib</strong>) directory and then you can able to run<strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Google Chrome</strong> on <strong style="background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">CentOS 6.X</strong> version.</div>
</div>
<div>
<pre style="background: none 0px 0px repeat scroll rgb(85, 85, 85); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 0px; box-shadow: rgba(0, 0, 0, 0.247059) 0px 0px 15px inset; clear: both; color: white; font-family: 'Courier 10 Pitch', Courier, monospace; font-size: 1.1em; line-height: 1.2; margin-bottom: 20px; margin-top: 20px; outline: 0px; overflow: auto; padding: 12px; vertical-align: baseline;"># wget http://chrome.richardlloyd.org.uk/install_chrome.sh
# chmod u+x install_chrome.sh
# ./install_chrome.sh</pre>
</div>
<div>
<span style="background-color: white; font-family: Oswald, Arial, Helvetica, sans-serif; line-height: 19px;">Starting Chrome Web Browser</span></div>
<div>
<pre style="background: none 0px 0px repeat scroll rgb(85, 85, 85); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 0px; box-shadow: rgba(0, 0, 0, 0.247059) 0px 0px 15px inset; clear: both; color: white; font-family: 'Courier 10 Pitch', Courier, monospace; font-size: 1.1em; line-height: 1.2; margin-bottom: 20px; margin-top: 20px; outline: 0px; overflow: auto; padding: 12px; vertical-align: baseline;"># google-chrome &</pre>
</div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com0tag:blogger.com,1999:blog-8931927433848041904.post-75263162278009281542014-07-16T13:24:00.000+05:302014-07-16T13:24:04.086+05:30D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open “/var/lib/dbus/machine-id”<div dir="ltr" style="text-align: left;" trbidi="on">
To Fix this issue Run following command<br />
<br />
dbus-uuidgen > /var/lib/dbus/machine-id<br />
<br />
It is in the dbus package. If dbus-uuidgen is not installed , you can install by issuing<br />
<br />
yum install dbus</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com0tag:blogger.com,1999:blog-8931927433848041904.post-63627895564405180372014-02-14T17:14:00.001+05:302014-02-14T17:19:21.400+05:30kloxo Video<iframe width="600" height="360" src="//www.youtube.com/embed/MHAxV4_P4XU" frameborder="0" allowfullscreen></iframe>Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com1tag:blogger.com,1999:blog-8931927433848041904.post-64133481550635774602014-02-14T17:08:00.003+05:302014-02-14T17:08:52.832+05:30CCNA Interview Questions and Answers<div dir="ltr" style="text-align: left;" trbidi="on">
Q: What hppends when ping 127.0.0.1 command executes?<br />
<br />
Q: What do you know about zenpeck ?<br />
<br />
Q:what is stub router?<br />
<br />
Q:what is different between cisco router and layer 3 switch<br />
<br />
Q:Which Circuit is mostly used by Clients in Frame-Relay PVC or SVC ?<br />
<br />
Q:How IEEE Calculate the Cost of Link (ex.. 10mbps is having Cost 100) Is there any formula or any test to calculate it.<br />
<br />
Q:Why Operating System Have only 65,535 port Numbers<br />
<br />
Q:How does OSPF calculate its Metric<br />
<br />
Q:What is the best Difference between RIP, OSPF, EIGRP<br />
<br />
Q:What is a protocol<br />
<br />
Q:How many Devices does OSPF & EIGRP Support<br />
<br />
Q:what do you mean by port triggering?<br />
<br />
Q:if i had a video conferencing device why should it is needed to configure a static IP for that,will it not work on the local lan.<br />
<br />
Q:If i had 400 computers set in a site how many VLAN i should configure so that i can share a proper bandwith,and also i had two lease line connection of 2Mbps each,<br />
<br />
Q: how many seriale interface a managable router has.<br />
<br />
Q: if I wanna block all MP3,video sites from cisco 2600 router,how shall i proceed with ACL's??<br />
<br />
Q:what is internetworking?<br />
<br />
Q: what is ping utility and how to work.<br />
<br />
Q:how many vlan can be configured on a single switch<br />
<br />
Q:how can we block remote desktop for some user from cisco router through aaccess-list<br />
<br />
Q:how will configure Nat<br />
<br />
Q: what is AD Value?<br />
<br />
Q:Based on the DR AND BDR discussion i want to put one question the question is what is the name of protocol which is responsible;e for DR and BDR selection<br />
<br />
Q:why we assingn the wild card mask in the use of ospf and access list.<br />
<br />
Q:what is the full fom of ping? (<span style="font-weight: bold;">P</span>acket <span style="font-weight: bold;">I</span>nter<span style="font-weight: bold;">n</span>et <span style="font-weight: bold;">G</span>opher<br />
<br />
Q: what is difference between designated router and backup designated router and explain feature of both router.<br />
<br />
Q:Can u convert an ethernet port to a serial port (or) vice versa ?<br />
<br />
Q:Which network mask should you place on a Class C network to accommodate a user requirement of ten subnetworks?<br />
<br />
Q:Which IEEE standard is used to define Wi-Fi?<br />
<br />
Q:Which encapsulation types can be used on leased-line connections?<br />
<br />
Q:what is the difference between client mode and server mode of vtp and what is the diffrence betwwen tarnsparent mode and server mode<br />
<br />
Q:can we configure multiple as on single router using eigrp<br />
<br />
Q: what is the difference between link state routing protocol and distance vector which is better?<br />
<br />
Q:what is the difference between eigrp and ospf<br />
<br />
Q:what is stp?<br />
<br />
Q:what is ip address and what is the difference between the ip address and mac address why we are not using mac address instead of ip address<br />
<br />
Q:Which of the following is a routing protocols?<br />
TCP RIP SMTP UDP <br />
<br />
Q: What is an advantage of UDP?<br />
<br />
Q:What is SIA (Stuck in Active) in EIGRP?<br />
<br />
Q:What is LSA? How many types of LSA used by OSPF version 2??<br />
<br />
Q:What is difference between IPv4 & IPv6??<br />
<br />
Q:what is diffrence betwwen mpls and frame really<br />
<br />
Q:what is diffrence between circit switching and packet switching<br />
<br />
Q:what is frame realay.is it a circit switching technolgy<br />
<br />
Q:What’s the default CDP holdtime in seconds for Cisco routers?<br />
<br />
Q:What is CSU/DSU & explain the function????<br />
<br />
Q:What is the difference between DTE & DCE???<br />
<br />
Q:What is switch priority & why it is used????</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com4tag:blogger.com,1999:blog-8931927433848041904.post-24778124574579546472014-02-14T17:08:00.001+05:302014-02-14T17:08:28.643+05:30<div dir="ltr" style="text-align: left;" trbidi="on">
About:<br />
<a href="http://supervisord.org/">Supervisor</a> is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.<br />
<br />
We will use supervisor for startup script for following applications:<br />
1. apache-kafka<br />
2. storm-nimbus<br />
2.1 storm-ui<br />
2.2 storm-supervisor<br />
3. hbase<br />
First install epel repository into your linux system<br />
Install python-pip by using following script<br />
<span style="background-color: #ffe599;">yum install python-pip</span><br />
now install supervisor by following command<br />
<span style="background-color: #ffe599;">pip install supervisor</span><br />
We need to create supervisor configuration file as per our application.<br />
<br />
User following link to get supervisor.conf file and copy it to /etc/supervisord.conf<br />
kafka<br />
storm-nimbus&ui<br />
storm-supervisor<br />
hbase<br />
<br />
Now we will create supervisor init.d script.<br />
create a file /etc/init.d/supervisord and paste content from following link<br />
<br />
/etc/init.d/supervisord</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com1tag:blogger.com,1999:blog-8931927433848041904.post-46144633604337335032014-02-14T17:08:00.000+05:302014-02-14T17:08:13.425+05:30All Domains showing no record in windows server<div dir="ltr" style="text-align: left;" trbidi="on">
This post is to resolve the issue if you are facing issue in DNS zone of your all domains. You can run following command<br />
<br />
<span style="font-weight: bold;">"%plesk_bin%\DNSMng.exe" update *</span><br />
<br />
This command will recreate all DNS record Forcefully for all domains.</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com0tag:blogger.com,1999:blog-8931927433848041904.post-51033992607039583172014-02-14T17:07:00.000+05:302014-02-14T17:07:02.210+05:30Installation, Configuration and Administration of Plesk 7.5 for windows<div dir="ltr" style="text-align: left;" trbidi="on">
Installation, Configuration and Administration of Plesk 7.5 for windows<br />
<br />
Located in the %plesk_bin% directory<br />
1) websrvmng.exe<br />
<br />
To install hosting for a domain<br />
<br />
websrvmng.exe --install-vhost --vhost-name=<domain name=""><br /><br />To remove hosting for a domain<br /><br />websrvmng.exe --remove-vhost --vhost-name=<domain name=""><br /><br />To reconfigure hosting for a domain<br /><br />websrvmng.exe --reconfigure-vhost --vhost-name=<domain name=""><br /><br />To reconfigure a subdomain<br /><br />websrvmng.exe --update-subdomain --vhost-name=<domain name=""> --subdomain=<subdomain><br /><br />Passwords for system user and IIS user can be unsynchronized or synchronised using<br /><br />websrvmng.exe --update-anon-password --domain-name=<domain name=""><br /><br />To reconfigure webmail<br /><br />websrvmng.exe --reconfigure-webmail<br />defpackagemng.exe" --fix --type=webmail<br /><br />2) mchk.exe<br /><br />To Reset server-wide and domain’s mail settings forcefully<br /><br />mchk.exe --all --fix-all<br /><br />To Check and restore mail settings for a domain defined<br /><br />mchk.exe --domain --domain-name=sampledomain.com<br /><br />To Check and restore only server-wide mail settings<br /><br />mchk.exe --global-settings<br /><br />3) protdir.exe<br /><br />protdir.exe --create Protected_Dir -domain domain1.com -add_user MyGuest -passwd "MyPass"<br /><br />To set a password for the user of a web-protected directory:<br /><br />protdir.exe --update Protected_Sample -domain somewhere.com -update_user johndoe -passwd Password1<br /><br />To remove protected directory user:<br /><br />protdir.exe --update Protected_Dir -remove_user johndoe<br /><br />4) Subdomain.exe<br /><br />subdomain.exe --create subdomain2 -domain domain1.com -hard_quota 50 -ssi true<br /><br />To remove subdomain1.somewhere.com from somewhere.com domain:<br /><br />subdomain.exe --remove subdomain1 -domain somewhere.com<br /><br />To change the existing subdomain name subdomain1.somewhere.com to the new one - subdomain1_new.somewhere.com<br /><br />subdomain.exe --update subdomain1 -domain somewhere.com -new_name subdomain1_new<br /><br />To enable FrontPage support for subdomain1.somewhere.com:<br /><br />subdomain.exe --update subdomain1 -domain somewhere.com -fp true<br /><br />To retrieve information on subdomain1.somewhere.com:<br /><br />subdomain.exe --info subdomain1 -domain somewhere.com<br /><br />5) domain.exe<br /><br />domain.exe --create domain1.com -clogin John_Doe -dom_user false -www true -hosting true -ip 143.230.22.14 -cgi true -notify false<br /><br />To retrieve sampledomain.com domain information:<br /><br />domain.exe --info sampledomain.com<br /><br />To rename sampledomain.com domain to sampledomain1.com domain:<br /><br />domain.exe --update sampledomain.com -new_name sampledomain1.com<br /><br />To enable domain user account with password “somepass” for sampledomain.com domain:<br /><br />domain.exe --update sampledomain.com -dom_user true -du_passwd somepass<br /><br />To set name for domain user of a sampledomain.com domain to “John”:<br /><br />domain.exe --update sampledomain.com -du_pname "John"<br /><br />To enable hosting for sampledomain.com domain:<br /><br />domain.exe --update sampledomain.com -hosting true<br /><br />6) plesksrvmng.exe<br /><br />To reset the password for admin control panel<br /><br />plesksrvmng.exe<br /><br />To get the existing password for the admin control panel<br /><br />plesksrvmng.exe -get<br /><br />7) statistics.exe<br /><br />Updates the statistics for all domains on the server</domain></subdomain></domain></domain></domain></domain></div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com0tag:blogger.com,1999:blog-8931927433848041904.post-66562775692340556932014-02-14T17:06:00.001+05:302014-02-14T17:06:39.776+05:30How to Find mysql version<div dir="ltr" style="text-align: left;" trbidi="on">
Many times we come across to find the exact version of our running mysql instance and want to know the what is running out there so we can probably plan for upgrade and patches.<br />
<br />
you can find the version in the following places<br />
<br />
1:- the mysql log file , usually if you have a standard installation it should be at ‘/var/log/mysqld.log’, run the following command on the bash prompt<br />
grep Version /var/log/mysqld.log<br />
<br />
you should see something like this :<br />
Version: ‘5.1.30-log’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MySQL Community Server (GPL)<br />
<br />
2:- you can also issue mysql statement to find the mysql version on a running instance<br />
mysql -e “status” | grep “Server version”<br />
<br />
will output<br />
5.1.30-log MySQL Community Server (GPL)<br />
<br />
3:- you can also execute mysql statement “select version()” to find the current running version<br />
mysql -e “select version();”<br />
<br />
will output<br />
+————+<br />
| version() |<br />
+————+<br />
| 5.1.30-log |<br />
+————+<br />
<br />
in the above snippet, the version is 5.1.30 with bin-log enabled and is “MySQL Community Server (GPL)”, the version number will differ based on your installation.</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com0tag:blogger.com,1999:blog-8931927433848041904.post-23157017118091385062014-02-14T17:06:00.000+05:302014-02-14T17:06:34.087+05:30How to create subdomain in cpanel<div dir="ltr" style="text-align: left;" trbidi="on">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="323" id="Captivate1" width="450"><br /> <param name="movie" value="https://www.cpanel.net/media/tutorials/subdomain_lo.swf"><br /> <param name="quality" value="high"><br /> <param name="loop" value="0"><br /> <embed src="https://www.cpanel.net/media/tutorials/subdomain_lo.swf" width="450" height="323" loop="0" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false"></embed><br /> </object><br />
<br />
<br /></div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com0tag:blogger.com,1999:blog-8931927433848041904.post-35285588647407705642014-02-14T16:34:00.001+05:302014-02-14T16:34:10.174+05:30/etc/supervisord.conf for Storm nimbus & ui<div dir="ltr" style="text-align: left;" trbidi="on">
[unix_http_server]<br />
file=/var/run/supervisor.sock<br />
<br />
[supervisord]<br />
http_port=/var/tmp/supervisor.sock<br />
logfile=/var/log/supervisor/supervisord.log<br />
logfile_maxbytes=50MB<br />
logfile_backups=10<br />
loglevel=info<br />
pidfile=/var/run/supervisord.pid<br />
nodaemon=false<br />
minfds=1024<br />
minprocs=200<br />
<br />
[rpcinterface:supervisor]<br />
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface<br />
<br />
[supervisorctl]<br />
serverurl=unix:///var/run/supervisor.sock<br />
<br />
[program:storm-nimbus]<br />
command=/home/storm/bin/storm nimbus<br />
user=storm<br />
autostart=true<br />
autorestart=false<br />
startsecs=30<br />
startretries=999<br />
log_stdout=true<br />
log_stderr=true<br />
logfile=/home/storm/logs/nimbus.log<br />
logfile_maxbytes=20MB<br />
logfile_backups=10<br />
<br />
[program:storm-ui]<br />
command=/home/storm/bin/storm ui<br />
user=storm<br />
autostart=true<br />
autorestart=false<br />
startsecs=30<br />
startretries=999<br />
log_stdout=true<br />
log_stderr=true<br />
logfile=/home/storm/logs/ui.log<br />
logfile_maxbytes=20MB<br />
logfile_backups=10</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com1tag:blogger.com,1999:blog-8931927433848041904.post-21920893817574189752014-02-14T16:32:00.000+05:302014-02-14T16:34:29.908+05:30/etc/superversord.conf file for kafka & supervisor<div dir="ltr" style="text-align: left;" trbidi="on">
[unix_http_server]<br />
file=/var/run/supervisor.sock<br />
<br />
[supervisord]<br />
http_port=/var/tmp/supervisor.sock<br />
logfile=/var/log/supervisor/supervisord.log<br />
logfile_maxbytes=50MB<br />
logfile_backups=10<br />
loglevel=info<br />
pidfile=/var/run/supervisord.pid<br />
nodaemon=false<br />
minfds=1024<br />
minprocs=200<br />
<br />
[rpcinterface:supervisor]<br />
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface<br />
<br />
[supervisorctl]<br />
serverurl=unix:///var/run/supervisor.sock<br />
<br />
[program:storm-supervisor]<br />
command=/home/storm/bin/storm supervisor<br />
user=kafka<br />
autostart=true<br />
startsecs=10<br />
startretries=9<br />
log_stdout=true<br />
log_stderr=true<br />
logfile=/var/log/storm/supervisor.log<br />
logfile_maxbytes=20MB<br />
logfile_backups=10<br />
<br />
[program:kafka]<br />
command=/home/kafka/bin/kafka-server-start.sh /home/kafka/config/server.properties<br />
user=kafka<br />
autostart=true<br />
startsecs=10<br />
startretries=9<br />
log_stdout=true<br />
log_stderr=true<br />
logfile=/home/kafka/logs<br />
logfile_maxbytes=20MB<br />
logfile_backups=10</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com2tag:blogger.com,1999:blog-8931927433848041904.post-77384772383812411002014-02-14T16:28:00.003+05:302014-02-14T16:28:50.053+05:30Elastic Search Init.d Script<div dir="ltr" style="text-align: left;" trbidi="on">
#!/usr/bin/env bash<br />
#<br />
# elasticsearch<br />
#<br />
# chkconfig: - 57 47<br />
# description: elasticsearch<br />
# processname: elasticsearch<br />
# config: /usr/local/etc/elasticsearch/elasticsearch.yml<br />
ES_MIN_MEM=256m <br />
ES_MAX_MEM=2g<br />
# Source networking configuration<br />
if [ -f /etc/sysconfig/network ]; then source /etc/sysconfig/network; fi<br />
<br />
# Exit if networking is not up<br />
[ "$NETWORKING" = "no" ] && exit<br />
<br />
PIDFILE='/var/run/elasticsearch/10_225_139_31_cloud_opsource_net.pid'<br />
ES_INCLUDE='/usr/local/etc/elasticsearch/elasticsearch-env.sh'<br />
CHECK_PID_RUNNING=$(ps ax | grep 'java' | grep -e "es.pidfile=$PIDFILE" | sed 's/^\s*\([0-9]*\)\s.*/\1/')<br />
<br />
start() {<br />
if [ -f $PIDFILE ]; then<br />
# PIDFILE EXISTS -- ES RUNNING?<br />
echo -e "\033[31;1mPID file found in $PIDFILE, elasticsearch already running?\033[0m"<br />
es_pid="$(cat $PIDFILE)"<br />
pid_running="$( ps ax | grep 'java' | grep $es_pid )"<br />
<br />
if [ ! -z "$pid_running" ] ; then<br />
# EXIT IF ES IS ALREADY RUNNING<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span> echo -e "\033[31;1mPID $es_pid still alive, already running...\033[0m"<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span> return 1<br />
fi<br />
fi<br />
<br />
echo -e "\033[1mStarting elasticsearch...\033[0m"<br />
su - elasticsearch -m -c "ES_INCLUDE=$ES_INCLUDE /usr/local/bin/elasticsearch -p $PIDFILE"<br />
<br />
return $?<br />
}<br />
<br />
stop() {<br />
if [[ -f $PIDFILE ]]; then<br />
echo -n -e "\033[1mStopping elasticsearch...\033[0m"<br />
<br />
# REMOVE PIDFILE AND EXIT IF PROCESS NOT RUNNING<br />
if [ ! $CHECK_PID_RUNNING ]; then<br />
echo -e "\033[1mPID file found, but no matching process running?\033[0m"<br />
echo "Removing PID file..."<br />
su elasticsearch -m -c "rm $PIDFILE"<br />
exit 0<br />
fi<br />
<br />
# KILL PROCESS<br />
su elasticsearch -m -c "kill $(cat $PIDFILE)"<br />
r=$?<br />
timeout=0<br />
while [ -f $PIDFILE ]; do<br />
echo -n '.'<br />
(( timeout++ ))<br />
if [ $timeout -gt '15' ]; then return; fi<br />
sleep 1<br />
done; echo<br />
return $r<br />
else<br />
echo -e "\033[1mNo PID file found -- elasticsearch not running?\033[0m"<br />
fi<br />
}<br />
<br />
restart() {<br />
stop<br />
timeout=30<br />
while ps aux | grep 'java' | grep -e "es.pidfile"; do<br />
echo -n '.'<br />
(( timeout-- ))<br />
if [ $timeout -lt '1' ]; then return; fi<br />
sleep 1<br />
done;<br />
start<br />
}<br />
<br />
status() {<br />
# GOT PIDFILE?<br />
[ -f $PIDFILE ] && pid=$(cat $PIDFILE)<br />
<br />
# RUNNING<br />
if [[ $pid && -d "/proc/$pid" ]]; then<br />
version=$(curl -s 'http://localhost:9200' | /opt/chef/embedded/bin/ruby -rubygems -e 'require "json"; print JSON.parse(STDIN.read)["version"]["number"]')<br />
echo -e "\033[1;37;46melasticsearch $version running with PID $pid\033[0m"<br />
# VERBOSE<br />
if [[ $pid && $1 == '-v' || $1 == '--verbose' ]]; then<br />
curl -s 'http://localhost:9200/_cluster/nodes/10-225-139-31.cloud.opsource.net?os&process&jvm&network&transport&settings&pretty' | \<br />
/opt/chef/embedded/bin/ruby -rubygems -e '<br />
begin<br />
require "json"; h = JSON.parse(STDIN.read); id, node = h["nodes"].first;<br />
def e(name, value); puts %Q|\e[1;36m#{(name.to_s+":").ljust(20)}\e[0m #{value || "N/A" rescue "N/A"}|; end<br />
e "HTTP Address", node["http_address"]<br />
e "Node Name", node["name"]<br />
e "Cluster Name", h["cluster_name"]<br />
e "Started", Time.at(node["jvm"]["start_time"].to_i/1000)<br />
e "JVM", "#{node["jvm"]["vm_name"]} (#{node["jvm"]["version"]})"<br />
e "Memory Total", node["os"]["mem"]["total"]<br />
e "Open Files", node["process"]["max_file_descriptors"]<br />
e "Configuration", node["settings"]["config"]<br />
rescue<br />
puts "Metadata cannot be retrieved."<br />
end<br />
'<br />
fi<br />
# INCORRECT PID?<br />
if [ $pid != $CHECK_PID_RUNNING ]; then<br />
echo -e "\033[1;31;40m[!] Incorrect PID found in $PIDFILE: $pid\033[0m"<br />
return 1<br />
fi<br />
return 0<br />
fi<br />
<br />
# NOT RUNNING<br />
if [[ ! $pid || ! -d "/proc/$pid" ]]; then<br />
echo -e "\033[1;33;40melasticsearch not running\033[0m"<br />
return 3<br />
fi<br />
<br />
# STALE PID FOUND<br />
if [[ ! -d "/proc/$pid" && -f $PIDFILE ]]; then<br />
echo -e "\033[1;31;40m[!] Stale PID found in $PIDFILE\033[0m"<br />
return 1<br />
fi<br />
}<br />
<br />
<br />
case "$1" in<br />
start)<br />
start<br />
;;<br />
stop)<br />
stop<br />
;;<br />
restart)<br />
restart<br />
;;<br />
status)<br />
status $2<br />
;;<br />
*)<br />
echo $"Usage: $0 {start|stop|restart|status [-v]|}"<br />
exit 1<br />
esac<br />
<br />
exit $?</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com1tag:blogger.com,1999:blog-8931927433848041904.post-4059790680738489012014-02-14T16:27:00.001+05:302014-02-14T16:27:41.851+05:30Zookeeper Init Script<div dir="ltr" style="text-align: left;" trbidi="on">
#!/bin/sh<br />#<br /># zookeeper ZooKeeper Server<br />#<br /># chkconfig: - 18 05<br /># description: Enable ZooKeeper Server<br />#<br />### BEGIN INIT INFO<br /># Provides: zookeeper<br /># Default-Start:<br /># Default-Stop:<br /># Required-Start: $remote_fs $network<br /># Required-Stop: $remote_fs $network<br /># Description: zookeeper Server<br /># Short-Description: Enable zookeeper Server<br />### END INIT INFO<br /><br /># Source function library.<br />. /etc/rc.d/init.d/functions<br />prog="zookeeeper"<br />desc="zookeeper Server"<br />[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog<br />lockfile="/var/lock/subsys/$prog.pid"<br />pidfile="/home/zookeeper/zookeeper/data/$prog.pid"<br />[ "x$JMXLOCALONLY" = "x" ] && JMXLOCALONLY=false<br />if [ "x$JMXDISABLE" = "x" ]<br />then<br /># for some reason these two options are necessary on jdk6 on Ubuntu<br /># accord to the docs they are not necessary, but otw jconsole cannot<br /># do a local attach<br /><br /><div>
ZOOMAIN="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=$JMXLOCALONLY org.apache.zookeeper.server.quorum.QuorumPeerMain"<br />else<br />ZOOMAIN="org.apache.zookeeper.server.quorum.QuorumPeerMain"<br />fi<br /><br /><div>
ZOOBINDIR="/home/zookeeper/zookeeper/bin"<br />ZOOCFGDIR="/home/zookeeper/zookeeper/conf"<br />ZOOCFG="zoo.cfg"<br />ZOOCFG="$ZOOCFGDIR/$ZOOCFG"<br />ZOO_LOG_DIR="/home/zookeeper/zookeeper/logs"<br />[ -e "$ZOOCFGDIR/java.env" ] && . "$ZOOCFGDIR/java.env"<br />[ "x$ZOO_LOG4J_PROP" = "x" ] && ZOO_LOG4J_PROP="INFO,CONSOLE"<br /><br />for f in ${ZOOBINDIR}/../zookeeper-*.jar<br />do<br />CLASSPATH="$CLASSPATH:$f"<br />done<br />ZOOLIBDIR=${ZOOLIBDIR:-$ZOOBINDIR/../lib}<br />for i in "$ZOOLIBDIR"/*.jar<br />do<br />CLASSPATH="$CLASSPATH:$i"<br />done<br />#add the zoocfg dir to classpath<br />CLASSPATH=$ZOOCFGDIR:$CLASSPATH<br />cmd="java \"-Dzookeeper.log.dir=${ZOO_LOG_DIR}\" \"-Dzookeeper.root.logger=${ZOO_LOG4J_PROP}\" -cp ${CLASSPATH} ${JVMFLAGS} ${ZOOMAIN} ${ZOOCFG} & echo \$! > ${pidfile}"<br />start() {<br />echo -n <span id="goog_1993060095"></span>quot;Starting $desc ($prog): "<br />touch $pidfile && sudo chown zookeeper $pidfile<br />daemon --user zookeeper --pidfile $pidfile "$cmd" > "$ZOO_LOG_DIR/zookeeper.out"<br />retval=$?<br />echo<br />[ $retval -eq 0 ] && touch $lockfile<br />return $retval<br />}<br /></div>
<div>
stop() {<br />echo -n <span id="goog_1993060095"></span>quot;Stopping $prog: "<br />killproc -p $pidfile $prog<br />retval=$?<br />echo<br />[ $retval -eq 0 ] && rm -f $lockfile<br />return $retval<br />}<br /><br />restart() {<br />stop<br />start<br />}<br /><br />reload() {<br />restart<br />}<br /><br />get_status() {<br />status $prog<br />RETVAL=$?<br />STAT=`echo stat | nc localhost $(grep clientPort $ZOOCFG | sed -e 's/.*=//') 2> /dev/null| grep Mode`<br />if [ "x$STAT" = "x" ]<br />then<br />echo "Error contacting service."<br />else<br />echo $STAT<br />fi<br />}<br /><br />case "$1" in<br />start)<br />start<br />;;<br />stop)<br />stop<br />;;<br />restart)<br />restart<br />;;<br />reload)<br />reload<br />;;<br />condrestart)<br />[ -e /var/lock/subsys/$prog ] && restart<br />RETVAL=$?<br />;;<br />status)<br />get_status<br />;;<br />*)<br />echo <span id="goog_1993060095"></span>quot;Usage: $0 {start|stop|restart|reload|condrestart|status}"<br />RETVAL=1<br />esac<br /><br />exit $RETVAL</div>
</div>
</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com2tag:blogger.com,1999:blog-8931927433848041904.post-70850420703850795102014-02-14T16:20:00.001+05:302014-02-14T16:20:55.816+05:30Supervisord Init Script<div dir="ltr" style="text-align: left;" trbidi="on">
#!/bin/bash<br />
#<br />
# supervisord This scripts turns supervisord on<br />
#<br />
# chkconfig: 345 83 04<br />
#<br />
# description: supervisor is a process control utility. It has a web based<br />
# xmlrpc interface as well as a few other nifty features.<br />
# Script was originally written by Jason Koppe <jkoppe indeed.com="">.</jkoppe><br />
<br />
. /etc/rc.d/init.d/functions<br />
<br />
set -a<br />
<br />
PREFIX=/usr<br />
<br />
SUPERVISORD=$PREFIX/bin/supervisord<br />
SUPERVISORCTL=$PREFIX/bin/supervisorctl<br />
<br />
PIDFILE=/var/run/supervisord.pid<br />
LOCKFILE=/var/lock/subsys/supervisord<br />
<br />
OPTIONS="-c /etc/supervisord.conf"<br />
<br />
# unset this variable if you don't care to wait for child processes to shutdown before removing the $LOCKFILE-lock<br />
WAIT_FOR_SUBPROCESSES=yes<br />
<br />
# remove this if you manage number of open files in some other fashion<br />
ulimit -n 96000<br />
<br />
RETVAL=0<br />
<br />
<br />
running_pid()<br />
{<br />
# Check if a given process pid's cmdline matches a given name<br />
pid=$1<br />
name=$2<br />
[ -z "$pid" ] && return 1<br />
[ ! -d /proc/$pid ] && return 1<br />
(cat /proc/$pid/cmdline | tr "\000" "\n"|grep -q $name) || return 1<br />
return 0<br />
}<br />
<br />
running()<br />
{<br />
# Check if the process is running looking at /proc<br />
# (works for all users)<br />
<br />
# No pidfile, probably no daemon present<br />
[ ! -f "$PIDFILE" ] && return 1<br />
# Obtain the pid and check it against the binary name<br />
pid=`cat $PIDFILE`<br />
running_pid $pid $SUPERVISORD || return 1<br />
return 0<br />
}<br />
<br />
start() {<br />
echo "Starting supervisord: "<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
if [ -e $PIDFILE ]; then<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>echo "ALREADY STARTED"<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>return 1<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>fi<br />
<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span># start supervisord with options from sysconfig (stuff like -c)<br />
$SUPERVISORD $OPTIONS<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span># show initial startup status<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>$SUPERVISORCTL $OPTIONS status<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span># only create the subsyslock if we created the PIDFILE<br />
[ -e $PIDFILE ] && touch $LOCKFILE<br />
}<br />
<br />
stop() {<br />
echo -n "Stopping supervisord: "<br />
$SUPERVISORCTL $OPTIONS shutdown<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if [ -n "$WAIT_FOR_SUBPROCESSES" ]; then<br />
echo "Waiting roughly 60 seconds for $PIDFILE to be removed after child processes exit"<br />
for sleep in 2 2 2 2 4 4 4 4 8 8 8 8 last; do<br />
if [ ! -e $PIDFILE ] ; then<br />
echo "Supervisord exited as expected in under $total_sleep seconds"<br />
break<br />
else<br />
if [[ $sleep -eq "last" ]] ; then<br />
echo "Supervisord still working on shutting down. We've waited roughly 60 seconds, we'll let it do its thing from here"<br />
return 1<br />
else<br />
sleep $sleep<br />
total_sleep=$(( $total_sleep + $sleep ))<br />
fi<br />
<br />
fi<br />
done<br />
fi<br />
<br />
# always remove the subsys. We might have waited a while, but just remove it at this point.<br />
rm -f $LOCKFILE<br />
}<br />
<br />
restart() {<br />
stop<br />
start<br />
}<br />
<br />
case "$1" in<br />
start)<br />
start<br />
RETVAL=$?<br />
;;<br />
stop)<br />
stop<br />
RETVAL=$?<br />
;;<br />
restart|force-reload)<br />
restart<br />
RETVAL=$?<br />
;;<br />
reload)<br />
$SUPERVISORCTL $OPTIONS reload<br />
RETVAL=$?<br />
;;<br />
condrestart)<br />
[ -f $LOCKFILE ] && restart<br />
RETVAL=$?<br />
;;<br />
status)<br />
$SUPERVISORCTL status<br />
if running ; then<br />
RETVAL=0<br />
else<br />
RETVAL=1<br />
fi<br />
;;<br />
*)<br />
echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"<br />
exit 1<br />
esac<br />
<br />
exit $RETVAL</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com1tag:blogger.com,1999:blog-8931927433848041904.post-68930769782128839852014-02-14T16:09:00.003+05:302014-02-14T16:09:55.611+05:30How To Install Apache Storm into CentOS 6<div dir="ltr" style="text-align: left;" trbidi="on">
<b>About Storm:</b><br />
Storm is a free and open source distributed real time computation system. Storm makes it easy to reliably process unbounded streams of data, doing for real time processing what Hadoop did for batch processing. Storm is simple, can be used with any programming language, and is a lot of fun to use!<br />
<br />
<b>Prerequisites:</b><br />
1. Install Jdk 1.7<br />
2. Install Zookeeper<br />
<br />
Download Following rpms:<br />
<pre><code><a href="https://github.com/downloads/saltstack/salt/zeromq-2.1.7-1.el6.x86_64.rpm" target="_blank">zeromq-2.1.7-1.el6.x86_64.rpm</a>
<a href="https://www.google.com/url?q=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.michael-noll.com%2Frpms%2Fjzmq-2.1.0.el6.x86_64.rpm&sa=D&sntz=1&usg=AFQjCNEu-AvzGLD6ZYaaa1KTChIfzJNd4A" target="_blank">jzmq-2.1.0.el6.x86_64.rpm</a></code></pre>
<pre><a href="https://dl.dropboxusercontent.com/s/tqdpoif32gufapo/storm-0.9.0.1.tar.gz">storm-0.9.0-rc2.zip</a></pre>
<pre><code>
</code></pre>
<pre><code>sudo rpm -Uvh zeromq-2.1.7-1.el6.x86_64.rpm
sudo rpm -Uvh jzmq-2.1.0.el6.x86_64.rpm
sudo groupadd -g 53001 storm
sudo useradd -u 53001 -g 53001 -d /home/storm/ -s /bin/bash storm -c "Storm service account"
sudo chmod 750 /home/storm/</code></pre>
<pre><code>su - storm
</code></pre>
<pre><code>unzip download/0.9.0-rc2.zip
sudo chown -R storm:storm storm-0.9.0.1
ln -s storm-0.9.0.1</code> storm</pre>
<pre>mkdir -p /home/storm/data
sudo chown -R storm:storm /home/storm/data
sudo chmod 750 /home/storm/data
cd /home/storm/conf/
mv storm.yaml storm.yaml.ori
vim storm.yaml <and add="" content="" file="" following="" into="" this=""></and></pre>
<pre>
</pre>
<pre></pre>
<pre></pre>
<pre><code style="background-color: #ffd966;">storm.zookeeper.servers:
- "<your ip:port="" server="" zookeeper="">"
nimbus.host: "localhost"
nimbus.childopts: "-Xmx1024m -Djava.net.preferIPv4Stack=true"
ui.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"
supervisor.childopts: "-Djava.net.preferIPv4Stack=true"
worker.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"
storm.local.dir: "/home/storm/data"
ui.port: 8080
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703</your></code></pre>
<pre></pre>
<pre>
</pre>
<pre>For Supervisor you need following configuration:</pre>
<pre>
</pre>
<pre></pre>
<pre><span style="background-color: #ffd966;"><code>storm.zookeeper.servers:
- "your zookeeper server ip:port"
nimbus.host: "nimbus-host-ip"
nimbus.childopts: "-Xmx1024m -Djava.net.preferIPv4Stack=true"
ui.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"
supervisor.childopts: "-Djava.net.preferIPv4Stack=true"
worker.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"
storm.local.dir: "</code>/home/storm/data"</span></pre>
<pre></pre>
<pre>If supervisor is in same box then above supervisor configuration is not required.</pre>
<pre></pre>
<pre>
</pre>
<pre>That's It from storm side</pre>
<pre>
</pre>
<pre>To Create Startup script for storm go to this slide</pre>
<pre></pre>
<pre><now install="" supervisor=""></now></pre>
<pre></pre>
<pre></pre>
</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com36tag:blogger.com,1999:blog-8931927433848041904.post-55505714418348842552013-08-26T16:36:00.000+05:302013-08-26T16:36:54.630+05:30<div dir="ltr" style="text-align: left;" trbidi="on">
<pre style="font-family: arial,helvetica,sans-serif;"><div style="font-family: 'Times New Roman'; white-space: normal;">
<b>Q. What is a port?</b></div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
A port is software docking point in your machine where remote application uses for communication. This is analogy to the physical ports for entering in to the Countries.</div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
<b>Q. What is hardware port?</b></div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
This is physical peripheral connection point to a machine from a physical device.</div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
<b>Q. What is a socket?</b></div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
Socket is mix of software Port+IP address.</div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
<b>Q. What is the range of ports or how many ports are there?</b></div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
Port numbers can vary from 0 to 65535, so total we can get 65536 ports</div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
<b>Q. Why port numbers are just 65536?</b></div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
This is because limitation in TCP/IP stack where the port field is just 16bit size. So we get only 2^16 port which is equal to 65536 ports</div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
<b>Q.What are the well-known ports?</b></div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
Well known ports are from 0 to 1023(total 2^10=1024 ports)</div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
<b>Q.What do you mean by default port?</b></div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
Default port is a designated port for particular well-known server.</div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
<b>Q.Can we change default port for a service(example Apache, squid)?</b></div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
Yes, we can change</div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
<b>Q.What are the protocol numbers for TCP and UDP?</b></div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
TCP protocol number:6</div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
UDP protocol number:17</div>
<div style="font-family: 'Times New Roman'; white-space: normal;">
</div>
</pre>
<br />
<table border="1" style="min-height: 1809px; width: 474px;"><tbody>
<tr><th colspan="2">Databases</th></tr>
<tr><td>3306</td><td>MySQL</td></tr>
<tr><td>1433</td><td>MS SQL Server</td>
</tr>
<tr><td>5432</td><td>PostgreSQL</td></tr>
<tr><th colspan="2">Remote Access - Graphical</th></tr>
<tr><td>3389</td><td>MS Remote Desktop</td></tr>
<tr><td>5800</td><td>VNC-HTTP</td></tr>
<tr><td>5900</td><td>VNC</td></tr>
<tr><th colspan="2">Remote Access - Console</th></tr>
<tr><td>22</td><td>SSH</td></tr>
<tr><td>23</td><td>Telnet</td></tr>
<tr><td>512</td><td>Rexec</td></tr>
<tr><td>513</td><td>Rlogin</td></tr>
<tr><td>514</td><td>RSH</td></tr>
<tr><th colspan="2">Remote Data Transfer & Management</th></tr>
<tr><td>20</td><td>FTP Data</td></tr>
<tr><td>21</td><td>FTP</td></tr>
<tr><td>69</td><td>TFTP</td></tr>
<tr><td>2049</td><td>NFS</td></tr>
<tr><th colspan="2">
Directory Service</th></tr>
<tr><td>389</td><td>LDAP</td></tr>
<tr><td>636</td><td>LDAP Secure</td></tr>
<tr><th colspan="2">Web</th></tr>
<tr><td>80</td><td>HTTP</td></tr>
<tr><td>443</td><td>HTTPS</td></tr>
<tr><td>3128</td>
<td>
Squid Web Proxy</td></tr>
<tr><th colspan="2">Mail & Chat</th></tr>
<tr><td>25</td><td>SMTP</td></tr>
<tr><td>110</td><td>POP3</td></tr>
<tr><td>995</td><td>POP3S</td></tr>
<tr><td>143</td><td>IMAP</td></tr>
<tr><td>993</td>
<td>IMAPS</td></tr>
<tr><td>5222</td><td>Jabber</td></tr>
<tr><td>5223</td><td>Jabber SSL</td></tr>
<tr><th colspan="2">Infrastructure Management</th></tr>
<tr><td>53</td><td>DNS</td></tr>
<tr><td>1512</td><td>WINS</td></tr>
<tr>
<td>67</td><td>DHCP Server</td></tr>
<tr><td>68</td><td>DHCP Client</td></tr>
<tr><td>123/UDP</td><td>NTP</td></tr>
<tr><td>161</td><td>SNMP</td></tr>
</tbody></table>
<br />
</div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com0tag:blogger.com,1999:blog-8931927433848041904.post-66088171042787057462013-08-26T16:19:00.000+05:302013-08-26T16:25:09.294+05:30Easy Steps to Nginx Installation<div dir="ltr" style="text-align: left;" trbidi="on">
Follow these Steps Blindly !<br />
<br />
<span style="color: #000099; font-family: "DejaVu Sans","serif"; font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-US;">1. yum install svn pcre-devel openssl-devel zlib<br />
<br />2. cd /usr/local/src<br />
<br />3. wget <a href="http://nginx.org/download/nginx-1.4.1.tar.gz">http://nginx.org/download/nginx-1.4.1.tar.gz</a><br />4. svn checkout <a href="http://nginx-upstream-jvm-route.googlecode.com/svn/trunk/">http://nginx-upstream-jvm-route.googlecode.com/svn/trunk/</a>
nginx-upstream-jvm-route-read-only<br />5. tar -xzvf nginx.<version>.tar.gz<br />
<br />6. cd nginx.<version><br />
<br />7. patch -p0 < /path/to/nginx-upstream-jvm-route-read-only/jvm_route.patch<br />
<br />8. ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log
--pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --user=nginx
--group=nginx --with-http_ssl_module --with-http_realip_module
--with-http_sub_module --with-http_gzip_static_module
--with-http_stub_status_module --with-http_gzip_static_module
--with-http_ssl_module --with-debug --add-module=/usr/local/src/nginx-upstream-jvm-route-read-only/<br />
<br />9. make<br />
<br />10. make install <br />
<br />
<br />11. save this file to "/etc/init.d/nginx"<br />
<a href="http://wiki.nginx.org/RedHatNginxInitScript">http://wiki.nginx.org/RedHatNginxInitScript</a><br />
<br />12. chmod ug+x /etc/init.d/nginx</version></version></span></div>
Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com1tag:blogger.com,1999:blog-8931927433848041904.post-44721307136106410742011-08-07T12:46:00.001+05:302011-08-07T12:49:27.148+05:30How to Flush DNS in different OS<strong>To flush DNS cache in Microsoft Windows (Win XP, Win ME, Win 2000):-</strong>-<br /> Start -> Run -> type cmd<br />- in command prompt, type ipconfig /flushdns<br />- Done! You Window DNS cache has just been flush.<br /><br /><strong>To flush the DNS cache in Linux, restart the nscd daemon:-</strong><br />- To restart the nscd daemon, type /etc/rc.d/init.d/nscd restart in your terminal<br />- Once you run the command your linux DNS cache will flush.<br /><br /><strong>To flush the DNS cache in Mac OS X Leopard:-</strong><br />- type lookupd -flushcache in your terminal to flush the DNS resolver cache.<br />ex: bash-2.05a$ lookupd -flushcache<br />- Once you run the command your DNS cache (in Mac OS X) will flush.<br />To flush the DNS cache in Mac OS X:-<br />- type dscacheutil -flushcache in your terminal to flush the DNS resolver cache.<br />ex: bash-2.05a$ dscacheutil -flushcache<br />- Once you run the command your DNS cache (in Mac OS X Leopard) will flush.Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com2tag:blogger.com,1999:blog-8931927433848041904.post-21628897316832148302010-12-03T14:42:00.000+05:302010-12-03T14:43:21.899+05:30Existing configuration file (./config.inc.php) is not readable.1) Login to the server as root.<br /><br />2) Go to the directory /usr/local/cpanel/base/3rdparty/phpMyAdmin.<br /><br />[root@server~]# cd /usr/local/cpanel/base/3rdparty/phpMyAdmin<br /><br />3) Check the ownership of the file config.inc.php. Check if the ownership of the file is assigned to root:cpanelphpmyadmin.<br /><br />[root@server phpMyAdmin]# ls -l config.inc.php<br /><br />-rw-r—– 1 root root 2409 May 25 11:18 config.inc.php<br /><br />4) If the ownership is not proper set it to root:cpanelphpmyadmin.<br /><br />[root@server phpMyAdmin]# chown root:cpanelphpmyadmin config.inc.php<br /><br />5) Just restart the cpanel and mysql service on the server.<br /><br />[root@server~]# /scripts/restartsrv cpanel<br /><br />[root@server~]# /scripts/restartsrv mysql<br /><br />This should sort the issue now.Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com6tag:blogger.com,1999:blog-8931927433848041904.post-1122888327205835082010-09-21T15:03:00.001+05:302010-09-21T15:06:11.786+05:30Test connection to the database server has failed because of network problems: Failed to connect to database: Access denied for user 'admin'@'localhoError: Test connection to the database server has failed because of network problems:<br /><br />Hello,<br /><br />Most of the time while configuring MY SQL server in windows plesk control panel we can get the following error.<br /><br />Error: Test connection to the database server has failed because of network problems:<br /><br />Failed to connect to database: Access denied for user 'admin'@'localhost' (using password: YES)<br /><br />Fix :: Login the server via RDP >>> open my.ini with "%plesk_dir%databases\mysql\data." >>> add the parameter skip-grant-tables=1<br /><br />Restart MYSQL service.<br /><br />Then connect the mysql database with following command<br /><br />"%plesk_dir%\mysql\bin\mysql.exe" mysql<br /><br />Execute following query<br /><br />mysql> update user set password=password('current_password') where user='admin';<br /><br /><br />Remove skip-grant-tables=1 from %plesk_dir%\databases\mysql\data\my.ini<br /><br />restart MYSQL service.<br /><br />And then no error will come while configuring MYSQL database in pleskHimanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com4tag:blogger.com,1999:blog-8931927433848041904.post-85429111373009054892010-09-18T19:22:00.002+05:302010-09-18T19:23:25.196+05:30BoxTrapper: Protect your inbox from spam.<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="450" height="350" ID="Captivate1"><br /> <param name="movie" value="https://www.cpanel.net/media/tutorials/boxtrapper-low.swf"><br /> <param name="quality" value="high"><br /> <param name="loop" value="0"><br /> <embed src="https://www.cpanel.net/media/tutorials/boxtrapper-low.swf" width="450" height="350" loop="0" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false"></embed><br /> </object>Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com0tag:blogger.com,1999:blog-8931927433848041904.post-47269670059910899542010-09-18T19:22:00.001+05:302010-09-18T19:22:53.863+05:30Mailing Lists: Send messages to a large group of people.<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="450" height="269" ID="Captivate1"><br /> <param name="movie" value="https://www.cpanel.net/media/tutorials/mailinglists-low.swf"><br /> <param name="quality" value="high"><br /> <param name="loop" value="0"><br /> <embed src="https://www.cpanel.net/media/tutorials/mailinglists-low.swf" width="450" height="269" loop="0" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false"></embed><br /> </object>Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com0tag:blogger.com,1999:blog-8931927433848041904.post-37263400316987844922010-09-18T19:21:00.000+05:302010-09-18T19:22:22.967+05:30Auto Responders: Send a message back automatically to anyone who sends an email to a certain account.<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="450" height="355" ID="Captivate1"><br /> <param name="movie" value="autores-low.swf"><br /> <param name="quality" value="high"><br /> <param name="loop" value="0"><br /> <embed src="autores-low.swf" width="450" height="355" loop="0" quality="high" pluginspage="http://www.adobe.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false"></embed><br /> </object>Himanshuhttp://www.blogger.com/profile/10921588497353824249noreply@blogger.com0