<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8899325528018001748</id><updated>2026-09-24T00:56:11.997-07:00</updated><category term="About Ganglia and steps to install in CentOS"/><category term="Android should know Technical acronyms"/><category term="Hadoop installation on ubuntu"/><category term="Hashcode in java"/><category term="Heap dump and thread dump in java"/><category term="How to setup / start Android development in fedora ?"/><category term="Important Things to know for android App development"/><category term="Java"/><category term="Out of memory error in java"/><category term="Shortcut to applications on ubuntu desktop"/><category term="connect ftp without software"/><category term="easy git commands"/><category term="eclipse tomcat cannot enter server name"/><category term="git"/><category term="git bash"/><category term="git commands"/><category term="guava for java split join parition"/><category term="java - collections"/><category term="java- jackrabbit"/><category term="learn git"/><category term="learn simple git"/><category term="object"/><category term="salesforce setup info"/><category term="salesforce.com Apex class and triggers"/><category term="sqoop"/><title type='text'>For Developers</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>140</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-9107824887936381531</id><published>2024-04-12T11:41:00.000-07:00</published><updated>2024-04-12T11:41:48.602-07:00</updated><title type='text'>OpenSearch</title><content type='html'>&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #202945; font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;2: &lt;b&gt;Snapshot Stored location&lt;/b&gt;: We choose snapshot frequently 1 hour in AWS in which location snapshot are getting stored ?&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgb(0 154 222 / .5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-skew-x: 0; --tw-skew-y: 0; --tw-space-y-reverse: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-color: rgb(228, 228, 231); border-style: solid; border-width: 0px; box-sizing: border-box; color: #202945; font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif; font-size: 14px; margin-bottom: calc(12px * var(--tw-space-y-reverse)); margin-left: 0px; margin-right: 0px; margin-top: calc(12px * calc(1 - var(--tw-space-y-reverse)));&quot;&gt;To get list of automated snapshots run the below API:&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgb(0 154 222 / .5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-skew-x: 0; --tw-skew-y: 0; --tw-space-y-reverse: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-color: rgb(228, 228, 231); border-style: solid; border-width: 0px; box-sizing: border-box; color: #202945; font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif; font-size: 14px; margin-bottom: calc(12px * var(--tw-space-y-reverse)); margin-left: 0px; margin-right: 0px; margin-top: calc(12px * calc(1 - var(--tw-space-y-reverse)));&quot;&gt;If your domain encrypts data at rest—&amp;gt;GET _snapshot/cs-automated-enc/_all&lt;br style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgb(0 154 222 / .5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-color: rgb(228, 228, 231); border-style: solid; border-width: 0px; box-sizing: border-box;&quot; /&gt;If your domain doesn’t encrypt data at rest—&amp;gt;GET _snapshot/cs-automated/_all&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgb(0 154 222 / .5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-skew-x: 0; --tw-skew-y: 0; --tw-space-y-reverse: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-color: rgb(228, 228, 231); border-style: solid; border-width: 0px; box-sizing: border-box; color: #202945; font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif; font-size: 14px; margin-bottom: calc(12px * var(--tw-space-y-reverse)); margin-left: 0px; margin-right: 0px; margin-top: calc(12px * calc(1 - var(--tw-space-y-reverse)));&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgb(0 154 222 / .5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-skew-x: 0; --tw-skew-y: 0; --tw-space-y-reverse: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-color: rgb(228, 228, 231); border-style: solid; border-width: 0px; box-sizing: border-box; color: #202945; font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif; font-size: 14px; margin-bottom: calc(12px * var(--tw-space-y-reverse)); margin-left: 0px; margin-right: 0px; margin-top: calc(12px * calc(1 - var(--tw-space-y-reverse)));&quot;&gt;&lt;b&gt;&lt;u&gt;Snapshot Restore from Kibana console&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgb(0 154 222 / .5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-skew-x: 0; --tw-skew-y: 0; --tw-space-y-reverse: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-color: rgb(228, 228, 231); border-style: solid; border-width: 0px; box-sizing: border-box; color: #202945; font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif; font-size: 14px; margin-bottom: calc(12px * var(--tw-space-y-reverse)); margin-left: 0px; margin-right: 0px; margin-top: calc(12px * calc(1 - var(--tw-space-y-reverse)));&quot;&gt;&lt;b&gt;&lt;u&gt;Syntax:&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgb(0 154 222 / .5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-skew-x: 0; --tw-skew-y: 0; --tw-space-y-reverse: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-color: rgb(228, 228, 231); border-style: solid; border-width: 0px; box-sizing: border-box; color: #202945; font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif; font-size: 14px; margin-bottom: calc(12px * var(--tw-space-y-reverse)); margin-left: 0px; margin-right: 0px; margin-top: calc(12px * calc(1 - var(--tw-space-y-reverse)));&quot;&gt;&lt;span class=&quot;TextRun SCXW53716131 BCX0&quot; data-contrast=&quot;auto&quot; lang=&quot;EN-US&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; color: black; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; font-variant-ligatures: none !important; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text; white-space-collapse: preserve;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;POST /_snapshot/&lt;b&gt;location&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;/snapshot_name/_&lt;/span&gt;&lt;span class=&quot;NormalTextRun SpellingErrorV2Themed SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlSpellingErrorV2, url(&#39;data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNXB4IiBoZWlnaHQ9IjRweCIgdmlld0JveD0iMCAwIDUgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTYuMiAoODE2NzIpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPgogICAgPHRpdGxlPnNwZWxsaW5nX3NxdWlnZ2xlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9IkZsYWdzIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTAxMC4wMDAwMDAsIC0yOTYuMDAwMDAwKSIgaWQ9InNwZWxsaW5nX3NxdWlnZ2xlIj4KICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAxMC4wMDAwMDAsIDI5Ni4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDMgQzEuMjUsMyAxLjI1LDEgMi41LDEgQzMuNzUsMSAzLjc1LDMgNSwzIiBpZD0iUGF0aCIgc3Ryb2tlPSIjRUIwMDAwIiBzdHJva2Utd2lkdGg9IjEiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSI1IiBoZWlnaHQ9IjQiPjwvcmVjdD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+&#39;)); background-position: left bottom; background-repeat: repeat-x; border-bottom: 1px solid transparent; margin: 0px; padding: 0px; user-select: text;&quot;&gt;restore?wait_for_completion&lt;/span&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;=false&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCXW53716131 BCX0&quot; data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:279}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; color: black; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text; white-space-collapse: preserve;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgb(0 154 222 / .5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 #0000; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-skew-x: 0; --tw-skew-y: 0; --tw-space-y-reverse: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-color: rgb(228, 228, 231); border-style: solid; border-width: 0px; box-sizing: border-box; color: #202945; font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif; font-size: 14px; margin-bottom: calc(12px * var(--tw-space-y-reverse)); margin-left: 0px; margin-right: 0px; margin-top: calc(12px * calc(1 - var(--tw-space-y-reverse)));&quot;&gt;&lt;span class=&quot;EOP SCXW53716131 BCX0&quot; data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:279}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; color: black; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;OutlineElement Ltr SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web&amp;quot;, Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;&quot;&gt;&lt;p class=&quot;Paragraph SCXW53716131 BCX0&quot; paraeid=&quot;{d738fcb0-7d3e-4a7a-8e17-03208a7cd7f8}{88}&quot; paraid=&quot;323589138&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px 0px 10.6667px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span class=&quot;TextRun SCXW53716131 BCX0&quot; data-contrast=&quot;auto&quot; lang=&quot;EN-US&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; font-variant-ligatures: none !important; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;POST /_snapshot/&lt;/span&gt;&lt;span class=&quot;NormalTextRun SpellingErrorV2Themed SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlSpellingErrorV2, url(&#39;data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNXB4IiBoZWlnaHQ9IjRweCIgdmlld0JveD0iMCAwIDUgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTYuMiAoODE2NzIpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPgogICAgPHRpdGxlPnNwZWxsaW5nX3NxdWlnZ2xlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9IkZsYWdzIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTAxMC4wMDAwMDAsIC0yOTYuMDAwMDAwKSIgaWQ9InNwZWxsaW5nX3NxdWlnZ2xlIj4KICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAxMC4wMDAwMDAsIDI5Ni4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDMgQzEuMjUsMyAxLjI1LDEgMi41LDEgQzMuNzUsMSAzLjc1LDMgNSwzIiBpZD0iUGF0aCIgc3Ryb2tlPSIjRUIwMDAwIiBzdHJva2Utd2lkdGg9IjEiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSI1IiBoZWlnaHQ9IjQiPjwvcmVjdD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+&#39;)); background-position: left bottom; background-repeat: repeat-x; border-bottom: 1px solid transparent; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&lt;b&gt;instaclustr&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&lt;b&gt;-production&lt;/b&gt;/es-a4f4eb4a-271c-4300-84f4-0794bb498a50-snapshot-5ff78b07-1d94-4df0-866b-d821f5a3a812/_&lt;/span&gt;&lt;span class=&quot;NormalTextRun SpellingErrorV2Themed SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlSpellingErrorV2, url(&#39;data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNXB4IiBoZWlnaHQ9IjRweCIgdmlld0JveD0iMCAwIDUgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTYuMiAoODE2NzIpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPgogICAgPHRpdGxlPnNwZWxsaW5nX3NxdWlnZ2xlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9IkZsYWdzIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTAxMC4wMDAwMDAsIC0yOTYuMDAwMDAwKSIgaWQ9InNwZWxsaW5nX3NxdWlnZ2xlIj4KICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAxMC4wMDAwMDAsIDI5Ni4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDMgQzEuMjUsMyAxLjI1LDEgMi41LDEgQzMuNzUsMSAzLjc1LDMgNSwzIiBpZD0iUGF0aCIgc3Ryb2tlPSIjRUIwMDAwIiBzdHJva2Utd2lkdGg9IjEiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSI1IiBoZWlnaHQ9IjQiPjwvcmVjdD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+&#39;)); background-position: left bottom; background-repeat: repeat-x; border-bottom: 1px solid transparent; margin: 0px; padding: 0px; user-select: text;&quot;&gt;restore?wait_for_completion&lt;/span&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;=false&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCXW53716131 BCX0&quot; data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:279}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;OutlineElement Ltr SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web&amp;quot;, Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;&quot;&gt;&lt;p class=&quot;Paragraph SCXW53716131 BCX0&quot; paraeid=&quot;{d738fcb0-7d3e-4a7a-8e17-03208a7cd7f8}{94}&quot; paraid=&quot;2145042109&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px 0px 10.6667px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span class=&quot;TextRun SCXW53716131 BCX0&quot; data-contrast=&quot;auto&quot; lang=&quot;EN-US&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; font-variant-ligatures: none !important; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;EOP SCXW53716131 BCX0&quot; data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:279}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;OutlineElement Ltr SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web&amp;quot;, Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;&quot;&gt;&lt;p class=&quot;Paragraph SCXW53716131 BCX0&quot; paraeid=&quot;{d738fcb0-7d3e-4a7a-8e17-03208a7cd7f8}{100}&quot; paraid=&quot;765177806&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px 0px 10.6667px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span class=&quot;TextRun SCXW53716131 BCX0&quot; data-contrast=&quot;auto&quot; lang=&quot;EN-US&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; font-variant-ligatures: none !important; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp; &quot;indices&quot;: &quot;&lt;/span&gt;&lt;span class=&quot;NormalTextRun SpellingErrorV2Themed SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlSpellingErrorV2, url(&#39;data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNXB4IiBoZWlnaHQ9IjRweCIgdmlld0JveD0iMCAwIDUgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTYuMiAoODE2NzIpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPgogICAgPHRpdGxlPnNwZWxsaW5nX3NxdWlnZ2xlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9IkZsYWdzIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTAxMC4wMDAwMDAsIC0yOTYuMDAwMDAwKSIgaWQ9InNwZWxsaW5nX3NxdWlnZ2xlIj4KICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAxMC4wMDAwMDAsIDI5Ni4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDMgQzEuMjUsMyAxLjI1LDEgMi41LDEgQzMuNzUsMSAzLjc1LDMgNSwzIiBpZD0iUGF0aCIgc3Ryb2tlPSIjRUIwMDAwIiBzdHJva2Utd2lkdGg9IjEiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSI1IiBoZWlnaHQ9IjQiPjwvcmVjdD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+&#39;)); background-position: left bottom; background-repeat: repeat-x; border-bottom: 1px solid transparent; margin: 0px; padding: 0px; user-select: text;&quot;&gt;index_name&lt;/span&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&quot;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCXW53716131 BCX0&quot; data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:279}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;OutlineElement Ltr SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web&amp;quot;, Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;&quot;&gt;&lt;p class=&quot;Paragraph SCXW53716131 BCX0&quot; paraeid=&quot;{d738fcb0-7d3e-4a7a-8e17-03208a7cd7f8}{106}&quot; paraid=&quot;671489493&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px 0px 10.6667px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span class=&quot;TextRun SCXW53716131 BCX0&quot; data-contrast=&quot;auto&quot; lang=&quot;EN-US&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; font-variant-ligatures: none !important; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp; &quot;&lt;/span&gt;&lt;span class=&quot;NormalTextRun SpellingErrorV2Themed SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlSpellingErrorV2, url(&#39;data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNXB4IiBoZWlnaHQ9IjRweCIgdmlld0JveD0iMCAwIDUgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTYuMiAoODE2NzIpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPgogICAgPHRpdGxlPnNwZWxsaW5nX3NxdWlnZ2xlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9IkZsYWdzIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTAxMC4wMDAwMDAsIC0yOTYuMDAwMDAwKSIgaWQ9InNwZWxsaW5nX3NxdWlnZ2xlIj4KICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAxMC4wMDAwMDAsIDI5Ni4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDMgQzEuMjUsMyAxLjI1LDEgMi41LDEgQzMuNzUsMSAzLjc1LDMgNSwzIiBpZD0iUGF0aCIgc3Ryb2tlPSIjRUIwMDAwIiBzdHJva2Utd2lkdGg9IjEiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSI1IiBoZWlnaHQ9IjQiPjwvcmVjdD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+&#39;)); background-position: left bottom; background-repeat: repeat-x; border-bottom: 1px solid transparent; margin: 0px; padding: 0px; user-select: text;&quot;&gt;ignore_unavailable&lt;/span&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&quot;: true,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCXW53716131 BCX0&quot; data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:279}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;OutlineElement Ltr SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web&amp;quot;, Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;&quot;&gt;&lt;p class=&quot;Paragraph SCXW53716131 BCX0&quot; paraeid=&quot;{d738fcb0-7d3e-4a7a-8e17-03208a7cd7f8}{112}&quot; paraid=&quot;1079582428&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px 0px 10.6667px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span class=&quot;TextRun SCXW53716131 BCX0&quot; data-contrast=&quot;auto&quot; lang=&quot;EN-US&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; font-variant-ligatures: none !important; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp; &quot;&lt;/span&gt;&lt;span class=&quot;NormalTextRun SpellingErrorV2Themed SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlSpellingErrorV2, url(&#39;data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNXB4IiBoZWlnaHQ9IjRweCIgdmlld0JveD0iMCAwIDUgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTYuMiAoODE2NzIpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPgogICAgPHRpdGxlPnNwZWxsaW5nX3NxdWlnZ2xlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9IkZsYWdzIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTAxMC4wMDAwMDAsIC0yOTYuMDAwMDAwKSIgaWQ9InNwZWxsaW5nX3NxdWlnZ2xlIj4KICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAxMC4wMDAwMDAsIDI5Ni4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDMgQzEuMjUsMyAxLjI1LDEgMi41LDEgQzMuNzUsMSAzLjc1LDMgNSwzIiBpZD0iUGF0aCIgc3Ryb2tlPSIjRUIwMDAwIiBzdHJva2Utd2lkdGg9IjEiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSI1IiBoZWlnaHQ9IjQiPjwvcmVjdD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+&#39;)); background-position: left bottom; background-repeat: repeat-x; border-bottom: 1px solid transparent; margin: 0px; padding: 0px; user-select: text;&quot;&gt;include_global_state&lt;/span&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&quot;: false,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCXW53716131 BCX0&quot; data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:279}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;OutlineElement Ltr SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web&amp;quot;, Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;&quot;&gt;&lt;p class=&quot;Paragraph SCXW53716131 BCX0&quot; paraeid=&quot;{d738fcb0-7d3e-4a7a-8e17-03208a7cd7f8}{118}&quot; paraid=&quot;1469228152&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px 0px 10.6667px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span class=&quot;TextRun SCXW53716131 BCX0&quot; data-contrast=&quot;auto&quot; lang=&quot;EN-US&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; font-variant-ligatures: none !important; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp; &quot;&lt;/span&gt;&lt;span class=&quot;NormalTextRun SpellingErrorV2Themed SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlSpellingErrorV2, url(&#39;data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNXB4IiBoZWlnaHQ9IjRweCIgdmlld0JveD0iMCAwIDUgNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTYuMiAoODE2NzIpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPgogICAgPHRpdGxlPnNwZWxsaW5nX3NxdWlnZ2xlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9IkZsYWdzIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTAxMC4wMDAwMDAsIC0yOTYuMDAwMDAwKSIgaWQ9InNwZWxsaW5nX3NxdWlnZ2xlIj4KICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAxMC4wMDAwMDAsIDI5Ni4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDMgQzEuMjUsMyAxLjI1LDEgMi41LDEgQzMuNzUsMSAzLjc1LDMgNSwzIiBpZD0iUGF0aCIgc3Ryb2tlPSIjRUIwMDAwIiBzdHJva2Utd2lkdGg9IjEiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHg9IjAiIHk9IjAiIHdpZHRoPSI1IiBoZWlnaHQ9IjQiPjwvcmVjdD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+&#39;)); background-position: left bottom; background-repeat: repeat-x; border-bottom: 1px solid transparent; margin: 0px; padding: 0px; user-select: text;&quot;&gt;include_aliases&lt;/span&gt;&lt;span class=&quot;NormalTextRun SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&quot;: true&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCXW53716131 BCX0&quot; data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:279}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;OutlineElement Ltr SCXW53716131 BCX0&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Segoe UI Web&amp;quot;, Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;&quot;&gt;&lt;p class=&quot;Paragraph SCXW53716131 BCX0&quot; paraeid=&quot;{d738fcb0-7d3e-4a7a-8e17-03208a7cd7f8}{124}&quot; paraid=&quot;1144706295&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px 0px 10.6667px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span class=&quot;TextRun SCXW53716131 BCX0&quot; data-contrast=&quot;auto&quot; lang=&quot;EN-US&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; font-variant-ligatures: none !important; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;EOP SCXW53716131 BCX0&quot; data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:279}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, sans-serif; font-size: 12pt; line-height: 20.925px; margin: 0px; padding: 0px; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/9107824887936381531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/9107824887936381531' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/9107824887936381531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/9107824887936381531'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2024/04/opensearch.html' title='OpenSearch'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-2372917697159148873</id><published>2023-09-08T12:02:00.006-07:00</published><updated>2023-09-08T12:29:31.471-07:00</updated><title type='text'>Data Engineering</title><content type='html'>&lt;p&gt;&amp;nbsp;What is PySpark?&lt;/p&gt;&lt;p&gt;Python API for Apache spark&lt;/p&gt;&lt;p&gt;It&#39;s openSource&lt;/p&gt;&lt;p&gt;Distributed computing framework&lt;/p&gt;&lt;p&gt;set of libraries for real-time and large-scale data processing&lt;/p&gt;&lt;p&gt;Apache Spark is written in Scala&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;Key Features:&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Rapid processing&lt;/p&gt;&lt;p&gt;Effectiveness with RDD -&amp;gt; Resilient Distributed DataSet&lt;/p&gt;&lt;p&gt;&amp;nbsp; Objects are immutable and it runs in distributed&lt;/p&gt;&lt;p&gt;&amp;nbsp; Fault tolerance, as a result of node failure it re-process&lt;/p&gt;&lt;p&gt;PySpark is needed&lt;/p&gt;&lt;p&gt;pyspark can be done in python or scala&lt;/p&gt;&lt;p&gt;Python is superior in readability, comprehensive, and maintainable, compare to scala which gives complex code&lt;/p&gt;&lt;p&gt;It also provides machine-learning libraries&lt;/p&gt;&lt;p&gt;Ease of learning python with simple syntax compare to scala&lt;/p&gt;&lt;p&gt;PySpark vs Scala&amp;nbsp;&lt;/p&gt;&lt;p&gt;Courtesy link:&amp;nbsp;&lt;a href=&quot;https://www.youtube.com/watch?v=6F2doPE0-vc&quot;&gt;https://www.youtube.com/watch?v=6F2doPE0-vc&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/2372917697159148873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/2372917697159148873' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/2372917697159148873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/2372917697159148873'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2023/09/data-engineering.html' title='Data Engineering'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-6566486055086617022</id><published>2021-03-11T19:22:00.002-08:00</published><updated>2021-03-11T19:22:33.506-08:00</updated><title type='text'>Docker </title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &amp;quot;JetBrains Mono&amp;quot;, monospace; font-size: 9.8pt;&quot;&gt;Install MySQL 5.7 in Docker&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;JetBrains Mono&#39;,monospace; font-size: 9.8pt;&quot;&gt;&lt;br /&gt;bash&amp;gt; docker pull mysql/mysql-server:5.7&lt;br /&gt;bash&amp;gt; docker images&lt;br /&gt;bash&amp;gt; docker run --name=mysql57 -d mysql/mysql-server:5.7&lt;br /&gt;bash&amp;gt; docker logs mysql57&lt;br /&gt;bash&amp;gt; docker exec -it mysql57 mysql -uroot -p&lt;br /&gt; mysql&amp;gt; ALTER USER &#39;root&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;newpassword&#39;;&lt;br /&gt; mysql&amp;gt; update mysql.user set host = &#39;%&#39; where user=&#39;root&#39;;&lt;br /&gt;Quit from mysql client&lt;br /&gt;docker restart mysql57&lt;/pre&gt;&lt;pre style=&quot;background-color: #2b2b2b; color: #a9b7c6; font-family: &#39;JetBrains Mono&#39;,monospace; font-size: 9.8pt;&quot;&gt;Connect from MySQL WorkBench&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/6566486055086617022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/6566486055086617022' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/6566486055086617022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/6566486055086617022'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2021/03/docker.html' title='Docker '/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-5309326688963629437</id><published>2020-12-08T16:09:00.006-08:00</published><updated>2020-12-08T16:09:55.195-08:00</updated><title type='text'>jacoco plugin usage with maven</title><content type='html'>&lt;p&gt;From the place where you have the pom.xml run the below line to get the&amp;nbsp; site &amp;gt; jacoco under target for index.html to see the report on the package.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;i&gt;mvn -B org.jacoco:jacoco-maven-plugin:prepare-agent clean verify org.jacoco:jacoco-maven-plugin:report&lt;/i&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/5309326688963629437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/5309326688963629437' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/5309326688963629437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/5309326688963629437'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2020/12/jacoco-plugin-usage-with-maven.html' title='jacoco plugin usage with maven'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-7573969584846590060</id><published>2020-10-15T13:32:00.006-07:00</published><updated>2022-02-09T17:44:00.483-08:00</updated><title type='text'>ElasticSearch Commands and Support</title><content type='html'>&lt;p&gt;&lt;b&gt;Curl to GET index data includes header and replicas&amp;nbsp; with sort by replica.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;i&gt;curl -X GET &quot;http://IP:9200/_cat/indices?h=index,rep&amp;amp;s=rep&quot;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Check the cluster health&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;i&gt;curl -X GET &quot;http://IP:9200/_cluster/health?pretty=json&quot;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Turn of cluster settings for wildCard index execution&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;curl -XPUT &quot;http://IP:9200/_cluster/settings&quot; -H &#39;Content-Type: application/json&#39; -d&#39;{&quot;persistent&quot;:{&quot;action.destructive_requires_name&quot;:&quot;false&quot;}}&#39;&lt;/i&gt;&lt;/p&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;curl -XDELETE &quot;http://IP:9200/1.9.2__idx_test__y*&quot;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;curl -XPUT &quot;http://IP:9200/_cluster/settings&quot; -H &#39;Content-Type: application/json&#39; -d&#39;{&quot;persistent&quot;:{&quot;action.destructive_requires_name&quot;:&quot;true&quot;}}&#39;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;b&gt;Update index replication&lt;/b&gt;&lt;/p&gt;&lt;p&gt;curl -X PUT &quot;http://IP:9200/index_name/_settings&quot; -H &#39;Content-Type: application/json&#39; -d &#39;{&quot;index&quot;:{&quot;refresh_interval&quot;:&quot;30s&quot;,&quot;number_of_replicas&quot;:1}}&#39;&lt;/p&gt;&lt;p&gt;&lt;b&gt;RED ElasticSearch Cluster (Debug with explain to see the current allocation).&lt;/b&gt;&lt;/p&gt;&lt;h1 style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; text-align: left;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: times; font-size: medium;&quot;&gt;&lt;i&gt;curl -XGET IP:9200/_cluster/allocation/explain?pretty&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: times; font-size: medium;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-family: times; font-size: medium;&quot;&gt;&lt;u&gt;&lt;b&gt;Find Red Indices:&amp;nbsp;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;b&gt;&lt;i&gt;health can be red, green, yellow&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: times; font-size: medium; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;i&gt;curl -XGET &#39;http://IP:9200/_cat/indices?health=red&#39;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: times; font-size: medium; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;b&gt;&lt;u&gt;GET Indices and its store size&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: times; font-size: medium; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;i&gt;curl -XGET &quot;http://IP:9200/_cat/indices?format=json&amp;amp;s=store.size:desc&quot; &amp;gt; cat_indices_feb9.json&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: times; font-size: medium; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: times; font-size: medium;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/7573969584846590060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/7573969584846590060' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/7573969584846590060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/7573969584846590060'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2020/10/elasticsearch-commands-and-support.html' title='ElasticSearch Commands and Support'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-3302660859927254873</id><published>2020-07-09T16:20:00.001-07:00</published><updated>2020-09-30T11:47:35.026-07:00</updated><title type='text'>Steps to Simple Docker File creation with centos 7 images includes jdk, node, maven and push to AWS ECS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; line-height: normal;&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-family: menlo; font-size: 11px;&quot;&gt;Steps to Simple Docker File to create centos 7 install node, maven&lt;/span&gt;&lt;/h3&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-family: menlo; font-size: 11px;&quot;&gt;$ vi Dockerfile&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;font-family: menlo; font-size: 11px;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;FROM centos:7&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN yum -y update ; yum -y install java-1.8.0-openjdk-devel wget which&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN yum install -y gcc gcc-c++ \&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;libtool libtool-ltdl \&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;make cmake \&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;git \&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;pkgconfig \&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;sudo \&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;automake autoconf \&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;yum-utils rpm-build &amp;amp;&amp;amp; \&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;yum clean all&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN curl -sL https://rpm.nodesource.com/setup_10.x | bash -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN yum -y install nodejs&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN npm install -g @angular/cli&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN wget https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN tar xvf apache-maven-3.6.3-bin.tar.gz -C /usr/lib/&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN echo &#39;M2_HOME=&quot;/usr/lib/apache-maven-3.6.3&quot;&#39; &amp;gt;&amp;gt; /etc/profile&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN echo &#39;export M2_HOME&#39; &amp;gt;&amp;gt; /etc/profile&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN echo &#39;M2=&quot;$M2_HOME/bin&quot;&#39; &amp;gt;&amp;gt; /etc/profile&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN echo &#39;MAVEN_OPTS=&quot;-Xms512m -Xmx1024m&quot;&#39; &amp;gt;&amp;gt; /etc/profile&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN echo &#39;export M2 MAVEN_OPTS&#39; &amp;gt;&amp;gt; /etc/profile&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN echo &#39;PATH=$M2:$PATH&#39; &amp;gt;&amp;gt; /etc/profile&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN echo &#39;export PATH&#39; &amp;gt;&amp;gt; /etc/profile&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;RUN echo &quot;source /etc/profile&quot; &amp;gt;&amp;gt; /root/.bashrc&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;ENV FLAVOR=rpmbuild OS=centos DIST=el7&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;CMD [&quot;/bin/bash&quot;]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;b&gt;&lt;u&gt;Build docker image and push to AWS. Make sure docker and AWS CLI installed&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;1. Create repository in AWS ECS.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;2. In AWS select repository (view push commands) to see the commands&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;u&gt;Retrieve an authentication token and authenticate your Docker client to your registry.&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;i&gt;aws ecr get-login-password --region us-west-2 --profile &amp;lt;profile&amp;gt; | docker login --username AWS --password-stdin gubendran.dkr.ecr.us-west-2.amazonaws.com&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;Note: If you receive an error using the AWS CLI, make sure that you have the latest version of the AWS CLI and Docker installed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;u&gt;Build your Docker image using the following command. For information on building a Docker file from scratch see the instructions here . You can skip this step if your image is already built:&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;i&gt;docker build -t test_build:2.5.0 .&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;u&gt;After the build completes, tag your image so you can push the image to this repository:&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 11px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;i&gt;docker tag test_build:2.5.0 gubendran.dkr.ecr.us-west-2.amazonaws.com/test_build:2.5.0&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;u&gt;Run the following command to push this image to your newly created AWS repository:&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;i&gt;docker push gubendran.dkr.ecr.us-west-2.amazonaws.com/test_build:2.5.0&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;u&gt;Describe AWS ECR image from the repository created&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;i&gt;aws ecr describe-images --repository-name test_build&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Menlo; font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/3302660859927254873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/3302660859927254873' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/3302660859927254873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/3302660859927254873'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2020/07/simple-docker-file-to-create-centos-7.html' title='Steps to Simple Docker File creation with centos 7 images includes jdk, node, maven and push to AWS ECS'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-2710452495187389925</id><published>2020-07-09T16:19:00.001-07:00</published><updated>2020-07-09T16:19:18.312-07:00</updated><title type='text'>Install NPM HighCharts, Elastic Dump</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;menlo&amp;quot;; font-size: large;&quot;&gt;Install NPM HighCharts&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;menlo&amp;quot;;&quot;&gt;Verify node and npm. If missing then install&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;node -v&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-size: 11px; font-variant-ligatures: no-common-ligatures;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;menlo&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;npm -v&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;Install&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;curl -sL https://rpm.nodesource.com/setup_10.x | bash -&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;span class=&quot;s1&quot; style=&quot;font-variant-ligatures: no-common-ligatures;&quot;&gt;yum -y install nodejs&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;node -v&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;npm -v&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;yum install bzip2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;yum install fontconfig freetype freetype-devel fontconfig-devel libstdc++&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;&lt;span style=&quot;float: inherit; font-family: inherit &amp;quot;important&amp;quot;; font-size: inherit; font-stretch: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; margin: 0px; opacity: 1; padding: 0px; position: static;&quot;&gt;npm install -g&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255 , 238 , 148); color: rgb(7 , 7 , 6); float: inherit; font-family: inherit &amp;quot;important&amp;quot;; font-size: inherit; font-stretch: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; margin: 0px; opacity: 1; padding: 0px; position: static;&quot;&gt;highcharts&lt;/span&gt;-export-server --ignore-scripts&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;&lt;span style=&quot;float: inherit; font-family: inherit &amp;quot;important&amp;quot;; font-size: inherit; font-stretch: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; margin: 0px; opacity: 1; padding: 0px; position: static;&quot;&gt;cd /usr/lib/node_modules/&lt;span style=&quot;background-color: rgb(255 , 238 , 148); color: rgb(7 , 7 , 6); float: inherit; font-family: inherit &amp;quot;important&amp;quot;; font-size: inherit; font-stretch: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; margin: 0px; opacity: 1; padding: 0px; position: static;&quot;&gt;highcharts&lt;/span&gt;-export-server/node_modules/phantomjs-prebuilt/&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;node install.js&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;&lt;span style=&quot;float: inherit; font-family: inherit &amp;quot;important&amp;quot;; font-size: inherit; font-stretch: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; margin: 0px; opacity: 1; padding: 0px; position: static;&quot;&gt;cd /usr/lib/node_modules/&lt;span style=&quot;background-color: rgb(255 , 238 , 148); color: rgb(7 , 7 , 6); float: inherit; font-family: inherit &amp;quot;important&amp;quot;; font-size: inherit; font-stretch: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; margin: 0px; opacity: 1; padding: 0px; position: static;&quot;&gt;highcharts&lt;/span&gt;-export-server&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;node build.js&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; caret-color: rgb(0, 0, 0); font-family: -webkit-standard; margin-bottom: 0.0001pt; margin-left: 0in; margin-right: 0in; text-size-adjust: auto; white-space: pre-wrap;&quot;&gt;
&lt;span style=&quot;color: #172b4d; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;float: inherit; font-family: inherit &amp;quot;important&amp;quot;; font-size: inherit; font-stretch: inherit; font-style: inherit; line-height: inherit; margin: 0px; opacity: 1; padding: 0px; position: static;&quot;&gt;To Start &lt;span style=&quot;background-color: #ffee94; color: rgb(7 , 7 , 6); float: inherit; font-family: inherit &amp;quot;important&amp;quot;; font-size: inherit; font-stretch: inherit; font-style: inherit; line-height: inherit; margin: 0px; opacity: 1; padding: 0px; position: static;&quot;&gt;highcharts&lt;/span&gt;-export-server&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;&lt;span style=&quot;background-color: rgb(255 , 238 , 148); color: rgb(7 , 7 , 6); float: inherit; font-family: inherit &amp;quot;important&amp;quot;; font-size: inherit; font-stretch: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; margin: 0px; opacity: 1; padding: 0px; position: static;&quot;&gt;highcharts&lt;/span&gt;-export-server -enableServer 1 &amp;amp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot;, sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #707070; font-family: &amp;quot;segoe ui&amp;quot;, sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;ElasticDump&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: #707070; letter-spacing: -0.0666667px;&quot;&gt;npm install -g&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot; style=&quot;letter-spacing: -0.0666667px;&quot;&gt;&lt;span style=&quot;color: #707070;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #b00760;&quot;&gt;&lt;span style=&quot;background-color: #ffee94;&quot;&gt;elasticdump&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt; letter-spacing: -0.05pt;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot; style=&quot;letter-spacing: -0.0666667px;&quot;&gt;&lt;span style=&quot;color: #b00760;&quot;&gt;&lt;span style=&quot;background-color: #ffee94;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/2710452495187389925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/2710452495187389925' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/2710452495187389925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/2710452495187389925'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2020/07/install-npm-highcharts-elastic-dump.html' title='Install NPM HighCharts, Elastic Dump'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-6107515454504636483</id><published>2020-01-22T11:17:00.001-08:00</published><updated>2020-01-22T11:17:07.904-08:00</updated><title type='text'>Extract from x to y lines from a file in Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
$X=5&lt;br /&gt;
$Y=10&lt;br /&gt;
&lt;code&gt;sed -n -e &quot;$X,$Y p&quot; -e &quot;$Y q&quot; FILE_NAME&lt;/code&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/6107515454504636483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/6107515454504636483' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/6107515454504636483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/6107515454504636483'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2020/01/extract-from-x-to-y-lines-from-file-in.html' title='Extract from x to y lines from a file in Linux'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-432649925684531355</id><published>2019-10-15T15:31:00.001-07:00</published><updated>2019-10-18T15:52:49.786-07:00</updated><title type='text'>Install Elasticsearch, Kibana &amp; Cerebro</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;u&gt;Install Kibana&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;
&lt;i&gt;yum remove kibana&lt;/i&gt; (This will remove the kibana and kibana config which exist earlier)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Download Kibana RPM from the below link&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.elastic.co/guide/en/kibana/5.4/rpm.html&quot;&gt;https://www.elastic.co/guide/en/kibana/5.4/rpm.html&lt;/a&gt;&lt;br /&gt;
&amp;gt; touch /var/log/kibana.log&lt;br /&gt;
&amp;gt; chown -R kibana:kibana /var/log/kibana.log&lt;br /&gt;
&amp;gt; vi /etc/kibana/kibana.yml&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;server.port: 5601&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;server.host: &quot;HOST_NAME&quot;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;server.name: &quot;SERVER_NAME&quot;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;elasticsearch.url: &quot;http://ES_URL:9200&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;logging.dest: /var/log/kibana.log&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Start Kibana &amp;amp; Status on CentOS 7&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;gt; systemctl start kibana&lt;br /&gt;
&amp;gt; systemctl status kibana&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Check the log&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;gt; journalctl -u kibana&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Check the Kibana port open&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
nc -z localhost&amp;nbsp; 5601&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Install Cerebro&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;gt; wget https://github.com/lmenezes/cerebro/releases/download/v0.8.3/cerebro-0.8.3.tgz&lt;br /&gt;
&amp;gt; tar -xvf cerebro-0.8.3.tgz&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Edit cerebro service file in centOS 7 and update the location where cerebro is extracted&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;gt; vim /etc/systemd/system/cerebro.service&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Edit cerebro configuration and update the Elasticsearch config which it needs to have lookup&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;gt;&amp;nbsp; vim cerebro-0.8.3/conf/application.conf&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Update the ES host server, port and ES Cluster name by enabling&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;nbsp; systemctl start cerebro&lt;br /&gt;
&amp;gt; systemctl status cerebro&lt;br /&gt;
&lt;br /&gt;
Or manually start&lt;br /&gt;
&amp;gt;&amp;nbsp;./bin/cerebro -Dhttp.port=1234 -Dhttp.address=127.0.0.1&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;b&gt;&lt;u&gt;Check the log&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;gt; journalctl -u cerebro&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Check the Cerebro port open&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
nc -z localhost&amp;nbsp;&amp;nbsp;9000&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Install Elasticsearch&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;u&gt;Download from the link:&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;https://www.elastic.co/guide/en/elasticsearch/reference/5.4/gs-installation.html&quot;&gt;https://www.elastic.co/guide/en/elasticsearch/reference/5.4/gs-installation.html&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;u&gt;Increase the file max in your linux&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; sysctl -w fs.file-max=500000&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &lt;u&gt;&amp;nbsp;Linux Scheduler (Cron) to purge the ES logs based on the cluster name&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&amp;nbsp;0 * * * * /bin/bash -c &quot;/bin/find /var/log/elasticsearch -type f | /bin/grep -Pi &#39;(ent\-stage1\-es)(\d{1,4}\-?){1,3}&#39; | /bin/xargs rm -f&quot;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;u&gt; Increase the JVM for ES (Min and Max memory)&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&amp;nbsp;&lt;/b&gt;vim /etc/elasticsearch/jvm.options&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-Xms8GB&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-Xmx8GB&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp;&lt;u&gt;Modify the ES Configuration&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;gt; &lt;/b&gt;vim /etc/elasticsearch/elasticsearch.yml&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cluster.name: ent-stage1-es&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; node.master: true&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; node.data: false (For Data Nodes keep this flag to true)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; node.ingest: false (For Ingest Nodes keep this flag to true)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;path.data: /mnt/elasticsearch-data&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;path.logs: /var/log/elasticsearch&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;network.host: 0.0.0.0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;http.port: 9200&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transport.tcp.port: 9300&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;u&gt;Configure only the master, datanodes will be linked based on the cluster name we keep across the servers&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;discovery.zen.ping.unicast.hosts: [&quot;ES_MASTER_NODE_IP1&quot;, &quot;ES_MASTER_NODE_IP2&quot;, &quot;ES_MASTER_NODE_IP3&quot;]&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;u&gt;Configure&amp;nbsp; 1 or 3 or 5 Master nodes in Odd numbers to avoid split brain&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;discovery.zen.minimum_master_nodes: 1&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;u&gt;Note :&lt;/u&gt;&lt;/b&gt; a) Cluster name should be same in Master Node, DataNodes and other nodes. Keep master true for master node and others false. Keep the master either 1 or 3 to avoid split brain. Refer ES documentation to know more about it.&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;text-decoration-line: underline;&quot;&gt;Master Node: &lt;/b&gt;Keep only node.master: true if you want master node&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Data Node:&amp;nbsp;&lt;/u&gt;&amp;nbsp;&lt;/b&gt;Keep only node.data: true if you want data node&lt;br /&gt;
&lt;b style=&quot;text-decoration-line: underline;&quot;&gt;Ingest Node: &lt;/b&gt;Keep only node.ingest: true if you want ingest node&lt;br /&gt;
&lt;u style=&quot;font-weight: bold;&quot;&gt;Co-ordinate Node: &lt;/u&gt;Keep node.master: false, node.data: false and node.ingest: false and dedicated node will be available for co-ordination as co-ordinate node.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;gt;&amp;nbsp; systemctl start elasticsearch&lt;br /&gt;
&amp;gt; systemctl status elasticsearch&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;b&gt;&lt;u&gt;Check the log&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;gt; journalctl -u elasticsearch&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Check the ElasticSearch port open&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
nc -z localhost 9200&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Add or Remove x-pack in ES&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&amp;gt;&amp;nbsp;cd /usr/share/elasticsearch/bin/&lt;br /&gt;
./elasticsearch-plugin &amp;lt;install|remove&amp;gt; x-pack&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Exclude / Decommission a node&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
First run the below query in kibana. Once the shards gets moved to other data nodes than shutdown the elasticsearch on that node. You can use cerebro overview to click the node and see the docs availability in the instance if any.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;PUT _cluster/settings&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; &quot;transient&quot; :{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;cluster.routing.allocation.exclude._ip&quot; : &quot;&amp;lt;IP_ADDRESS&amp;gt;&quot;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp;}&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;u style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Note: &lt;/u&gt;If&lt;b&gt; &lt;/b&gt;master and data been the same node still you can run the above settings to move the shards from master node to data node.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Adding a node (Data)&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Install ES with the same version on the node same as other nodes in the cluster and keep the cluster.name in the elasticsearch.yml file same as other nodes, other fields node.data: true and bring the ES up in new node. So, based on the cluster name new node attach to the existing cluster.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Adding a node (Master):&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Install ES with the same version on the node same as other nodes in the cluster and keep the cluster.name in the elasticsearch.yml file same as other nodes, other fields node.master: true and bring the ES up in new node. So, based on the cluster name new node attach to the existing cluster.&lt;br /&gt;
&lt;br /&gt;
You may need to edit the elasticsearch.yml file add the new node (master) ip in the discovery.zen.ping.unicast.hosts and increment the discovery.zen.minimum_master_nodes.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;System Configuration Suggestion&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
1) Try to have r5 instance types for Master nodes and i3 for data nodes. As master node need more memory and i3 for data has more IOPS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/432649925684531355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/432649925684531355' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/432649925684531355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/432649925684531355'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2019/10/install-elasticsearch-kibana-cerebro.html' title='Install Elasticsearch, Kibana &amp; Cerebro'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-3808513392943741796</id><published>2019-02-22T11:55:00.000-08:00</published><updated>2019-02-22T11:55:49.673-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="easy git commands"/><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="git bash"/><category scheme="http://www.blogger.com/atom/ns#" term="git commands"/><category scheme="http://www.blogger.com/atom/ns#" term="learn git"/><category scheme="http://www.blogger.com/atom/ns#" term="learn simple git"/><title type='text'>Git Bash</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Git Bash&lt;br /&gt;
----------&lt;br /&gt;
- Git Clone project (Get the project into your local)&lt;br /&gt;
&amp;nbsp; git clone &amp;lt;git_url&amp;gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
- Command will show the git master (origin)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; git branch&lt;br /&gt;
&lt;br /&gt;
- Command will fetch everything from the master&lt;br /&gt;
&amp;nbsp; &amp;nbsp; git fetch&lt;br /&gt;
&lt;br /&gt;
- Checkout the branch / switch to existing branch&lt;br /&gt;
&amp;nbsp; &amp;nbsp; git checkout &amp;lt;branch_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Revert a single file (Complete revert like SVN)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;git checkout &amp;lt;file_name_includes_path&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;- Creating a new branch &#39;branch_name&#39;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; git checkout -b &amp;lt;branch_name&amp;gt;&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
- Merge specific commit id (Advantage it pushes the same commit version over new branch)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;git cherry-pick &amp;lt;218c4e40654a2d53fdaf3f1b47a58867f432b8ed&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Changes which is in local and not in remote&lt;br /&gt;
&amp;nbsp; &amp;nbsp;git log --branches --not --remotes&lt;br /&gt;
&lt;br /&gt;
- Pull the changes into local from git&lt;br /&gt;
&amp;nbsp; git pull origin &amp;lt;branch_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Hard reset from local cahanges&lt;br /&gt;
&amp;nbsp; git reset --hard HEAD^&lt;br /&gt;
&lt;br /&gt;
- Unstagged a staged file&lt;br /&gt;
&amp;nbsp; git reset HEAD .&lt;br /&gt;
&lt;br /&gt;
- Add .gitignore file&lt;br /&gt;
&amp;nbsp; touch .gitignore&lt;br /&gt;
&lt;br /&gt;
- Push local changes file into staged&lt;br /&gt;
&amp;nbsp; git add &amp;lt;FileName&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Commit the file into git (From unstagged to stagged)&lt;br /&gt;
&amp;nbsp; git commit -m &#39;commit message&#39; &amp;lt;filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; - Push the changes into remote branch from local&lt;br /&gt;
&amp;nbsp; git push -u origin &amp;lt;branch_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Show the differences in local&lt;br /&gt;
&amp;nbsp; &amp;nbsp;git diff .&lt;br /&gt;
&lt;br /&gt;
- Git stash of switching between branches (store the files temperoarty storage and switch to branch (new)). It will help you to store and switch between branches&lt;br /&gt;
&amp;nbsp; git stash&lt;br /&gt;
&lt;br /&gt;
- Stashing untracked files (save)&lt;br /&gt;
$ git stash -u or $ git stash --include-untracked&lt;br /&gt;
&lt;br /&gt;
- save specific file file specific messages. -u untracked files to push untracked files.&lt;br /&gt;
git stash push -u -m &quot;&amp;lt;your message&amp;gt;&quot; &amp;lt;filename_includes_path&amp;gt; [&amp;lt;filename_includes_path&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
- Git show the stash files&lt;br /&gt;
git stash show stash@{1}&lt;br /&gt;
&lt;br /&gt;
- Git stash show the stash files diff&lt;br /&gt;
git stash show -p stash@{1}&lt;br /&gt;
&lt;br /&gt;
- see the `git stash list` once you see choose and apply specific. --index will stage the file in the same location where you kept earlier&lt;br /&gt;
git stash apply stash@{1} --index&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
- Popping your stash removes the changes from your stash and reapplies the last saved state&lt;br /&gt;
git stash pop&lt;br /&gt;
&lt;br /&gt;
- Delete from git stash (storage) the latest&lt;br /&gt;
git stash drop [stash_id]&lt;br /&gt;
&lt;br /&gt;
- Remove all from stash&lt;br /&gt;
git stash clear&lt;br /&gt;
&lt;br /&gt;
How to Merge:&lt;br /&gt;
--------------&lt;br /&gt;
git checkout &amp;lt;working_branch&amp;gt;&lt;br /&gt;
git pull origin &amp;lt;working_branch&amp;gt;&lt;br /&gt;
git checkout &amp;lt;master_branch_source_branch&amp;gt;&lt;br /&gt;
git pull origin &amp;lt;master_branch_source_branch&amp;gt;&lt;br /&gt;
git merge &amp;lt;working_branch_which_you_want_to_merge_in_source&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; (Resolve the conflicts if any)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; vi &amp;lt;file_name&amp;gt;&lt;br /&gt;
git add &amp;lt;resolved_conflict_files&amp;gt;&lt;br /&gt;
git commit -m &quot;&quot; &amp;lt;resolved_conflict_files&amp;gt;&lt;br /&gt;
git push -u origin &amp;lt;master_branch_source_branch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/3808513392943741796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/3808513392943741796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/3808513392943741796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/3808513392943741796'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2019/02/git-bash.html' title='Git Bash'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-471466575381738212</id><published>2017-10-02T17:11:00.001-07:00</published><updated>2017-10-02T17:11:03.637-07:00</updated><title type='text'>Export / Import Putty All Settings : </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Open cmd.exe (Command prompt). Execute below command in command prompt&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
regedit /e &quot;%USERPROFILE%\Desktop\putty.&lt;wbr&gt;&lt;/wbr&gt;reg&quot; HKEY_CURRENT_USER\Software\&lt;wbr&gt;&lt;/wbr&gt;SimonTatham&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
In Desktop you will see putty.reg (Exported)&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
To Import putty settings&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Double-click on the *.reg file and accept the import.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Or from command prompt execute below command :&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
regedit /i putty.reg&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://stackoverflow.com/questions/13023920/how-to-export-putty-sessions-list&amp;amp;source=gmail&amp;amp;ust=1507075061095000&amp;amp;usg=AFQjCNFXI4PuMzUHEJNP5zUqUzIbAhQwag&quot; href=&quot;https://stackoverflow.com/questions/13023920/how-to-export-putty-sessions-list&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://stackoverflow.com/&lt;wbr&gt;&lt;/wbr&gt;questions/13023920/how-to-&lt;wbr&gt;&lt;/wbr&gt;export-putty-sessions-list&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/471466575381738212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/471466575381738212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/471466575381738212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/471466575381738212'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2017/10/export-import-putty-all-settings.html' title='Export / Import Putty All Settings : '/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-6890250713759324544</id><published>2017-09-21T16:12:00.000-07:00</published><updated>2017-09-21T16:12:09.906-07:00</updated><title type='text'>Apache Configuration with Proxy in RHEL 7 / CentOS 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Apache Web Server (httpd) in RHEL and CentOS are similar.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;$ yum install httpd mod_proxy mod_ssl mod_proxy_html mod_rewrite &amp;nbsp;-y&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
httpd : httpd daemon install http server (web) apache&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
mod_proxy : This library usually comes by default. This helps for proxy setup (Forward / reverse)&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
mod_ssl : This library helps for HTTPS connection support in mod_proxy (proxy) to do for HTTPS as well&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
mod_proxy_html : This library supports for rewrite rule to support html, images and other content loading in apache&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
mod_rewrite : This library helps for rewrite rule in apache configuration.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;$ grep &#39;mod_proxy&#39; /etc/httpd/conf.modules.d/00-&lt;wbr&gt;&lt;/wbr&gt;proxy.conf&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Above command will show you already the mod proxy libaries loaded (LoadModule) in apache (httpd) and in the same configuration you will see for ssl (LoadModule configuration) in different *.conf&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
In order for apache to achieve forward and reverse proxy create below configuration.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Create reverse-proxy.conf file or your own file naming file and have the below configuration.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;$ vi /etc/httpd/conf.d/reverse-&lt;wbr&gt;&lt;/wbr&gt;proxy.conf&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;ifmodule mod_proxy.c=&quot;&quot;&gt;&lt;/ifmodule&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Below fields helps on forward proxy request and proxy time out&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyRequests On&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyVia On&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyTimeout 60&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;# Below field helps to turn on HTTPS configurations (reverse / forward)&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SSLProxyEngine On&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;# Proxy servers permissions&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;proxy&gt;&lt;/proxy&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Require all granted&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;# Specify Forward proxy remote servers&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyRemote &quot;http&quot; &quot;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://proxy.ebiz.abccompany.com:80&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNGBBEfLh4DZJ8dFcGndnL0Kx8NpVA&quot; href=&quot;http://proxy.ebiz.abccompany.com/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;http://proxy.ebiz.abccompany.&lt;wbr&gt;&lt;/wbr&gt;com:80&lt;/a&gt;&quot;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyRemote &quot;https&quot; &quot;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://proxy.ebiz.abccompany.com:80&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNGBBEfLh4DZJ8dFcGndnL0Kx8NpVA&quot; href=&quot;http://proxy.ebiz.abccompany.com/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;http://proxy.ebiz.abccompany.&lt;wbr&gt;&lt;/wbr&gt;com:80&lt;/a&gt;&quot;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;# Specify no proxy servers&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NoProxy &quot;.&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://abccompany.com&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNGZmdW6_GvGoitSR2jE_Hv0qXTPwA&quot; href=&quot;http://abccompany.com/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;abccompany.com&lt;/a&gt;&quot;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;i&gt;  &lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;# Reverse proxy urls and connectiontimeout happens when there is no response from the url&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyPass /foo&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://www.webreference.com/html/tutorial2/2.html&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNEfDhdesGkzgukQ0baTQFN0AGgTpA&quot; href=&quot;http://www.webreference.com/html/tutorial2/2.html&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;http://www.webreference.com/&lt;wbr&gt;&lt;/wbr&gt;html/tutorial2/2.html&lt;/a&gt;&amp;nbsp;connectiontimeout=5&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyPassReverse /foo&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://www.webreference.com/html/tutorial2/2.html&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNEfDhdesGkzgukQ0baTQFN0AGgTpA&quot; href=&quot;http://www.webreference.com/html/tutorial2/2.html&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;http://www.webreference.com/&lt;wbr&gt;&lt;/wbr&gt;html/tutorial2/2.html&lt;/a&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyPass /bar&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://vzweb2.abccompany.com&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNHK5JgX46bduAMbk9xNXIGC1nrG9Q&quot; href=&quot;https://vzweb2.abccompany.com/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://vzweb2.abccompany.com&lt;/a&gt;&amp;nbsp;connectiontimeout=5&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyPassReverse /bar&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://vzweb2.abccompany.com&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNHK5JgX46bduAMbk9xNXIGC1nrG9Q&quot; href=&quot;https://vzweb2.abccompany.com/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://vzweb2.abccompany.com&lt;/a&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyPass /geek&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://www.ssllabs.com/&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNFuFw3KrBRMh1l-yydzbrHr6KHf6Q&quot; href=&quot;https://www.ssllabs.com/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://www.ssllabs.com/&lt;/a&gt;&amp;nbsp;connectiontimeout=5&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProxyPassReverse /geek&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://www.ssllabs.com/&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNFuFw3KrBRMh1l-yydzbrHr6KHf6Q&quot; href=&quot;https://www.ssllabs.com/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://www.ssllabs.com/&lt;/a&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Restart &#39;service httpd restart&#39; after configuration changes.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
You can add environment variables in file &#39;/etc/sysconfig/httpd&#39; if required.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Test it with : &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;curl&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://localhost/foo&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNGEEem9_TqreiO_lkSCBp_HX27aMg&quot; href=&quot;http://localhost/foo&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;http://localhost/foo&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;   &lt;/span&gt;&amp;nbsp;&amp;nbsp; curl&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://localhost/bar&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNF5Bxr5CJO_h5XP7j6QouDOqkPThQ&quot; href=&quot;http://localhost/bar&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;http://localhost/bar&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Best Article to know about forward-reverse proxy :&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://geekpeek.net/forward-reverse-apache-proxy-centos/&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNHXusU6zjH3u-s0R6E2_ptKaQTdvw&quot; href=&quot;https://geekpeek.net/forward-reverse-apache-proxy-centos/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://geekpeek.net/forward-&lt;wbr&gt;&lt;/wbr&gt;reverse-apache-proxy-centos/&lt;/a&gt;&amp;nbsp;(The best forward and reverse proxy)&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Reverse proxy well explained video link :&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://www.youtube.com/watch?v%3DMQMIhAbPzb4&amp;amp;source=gmail&amp;amp;ust=1506121616766000&amp;amp;usg=AFQjCNFPrKyKbL3xx2ozvtULO-zt4MO0Dw&quot; href=&quot;https://www.youtube.com/watch?v=MQMIhAbPzb4&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://www.youtube.com/watch?&lt;wbr&gt;&lt;/wbr&gt;v=MQMIhAbPzb4&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/6890250713759324544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/6890250713759324544' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/6890250713759324544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/6890250713759324544'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2017/09/apache-configuration-with-proxy-in-rhel.html' title='Apache Configuration with Proxy in RHEL 7 / CentOS 7'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-7187670494612839053</id><published>2017-07-22T11:44:00.003-07:00</published><updated>2017-07-22T11:44:26.604-07:00</updated><title type='text'>AWS Tutorial: How to quickly set up an SSL certificate for use with Amazon Web Services ELB</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Refer Easy Steps :&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://www.thorntech.com/2015/08/setting-up-an-ssl-certificate-for-use-with-amazon-web-services-elb/&amp;amp;source=gmail&amp;amp;ust=1500830289414000&amp;amp;usg=AFQjCNGbvQYmZ2Gw99q-Q9b0fY4GM85foQ&quot; href=&quot;https://www.thorntech.com/2015/08/setting-up-an-ssl-certificate-for-use-with-amazon-web-services-elb/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://www.thorntech.com/&lt;wbr&gt;&lt;/wbr&gt;2015/08/setting-up-an-ssl-&lt;wbr&gt;&lt;/wbr&gt;certificate-for-use-with-&lt;wbr&gt;&lt;/wbr&gt;amazon-web-services-elb/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;b&gt;&lt;u&gt;View Java keystore information with &quot;keytool list&quot;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;span style=&quot;font-size: 12.8px;&quot;&gt;&lt;i&gt;keytool -list -v -keystore privateKey.store&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;i&gt;keytool &lt;/i&gt;executable comes in JDK/bin. You must configure $JAVA_HOME/bin in $PATH to use the command. Check the CN (CommonName)&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;b&gt;&lt;u&gt;Article about Certificates Extensions and Encodings :&lt;/u&gt;&lt;/b&gt;&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://info.ssl.com/article.aspx?id%3D12149&amp;amp;source=gmail&amp;amp;ust=1500830289414000&amp;amp;usg=AFQjCNGmV6oQMXokruC9y7HGJBH1g9GdUg&quot; href=&quot;http://info.ssl.com/article.aspx?id=12149&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;http://info.ssl.com/article.&lt;wbr&gt;&lt;/wbr&gt;aspx?id=12149&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;b&gt;&lt;u&gt;PKCS7 Decoder&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://certlogik.com/decoder/&amp;amp;source=gmail&amp;amp;ust=1500830289414000&amp;amp;usg=AFQjCNFe09pRSDJ7r4jpdFkAqK0HjjXCJw&quot; href=&quot;https://certlogik.com/decoder/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://certlogik.com/decoder/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://www.sslshopper.com/certificate-decoder.html&amp;amp;source=gmail&amp;amp;ust=1500830289414000&amp;amp;usg=AFQjCNFZdFnm0HR-XzW5j9yMTbdEbmkalw&quot; href=&quot;https://www.sslshopper.com/certificate-decoder.html&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://www.sslshopper.com/&lt;wbr&gt;&lt;/wbr&gt;certificate-decoder.html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;b&gt;&lt;u&gt;Installing a SSL certificate on Amazon Web Services (AWS)&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://www.namecheap.com/support/knowledgebase/article.aspx/9593//installing-a-ssl-certificate-on-amazon-web-services-aws&amp;amp;source=gmail&amp;amp;ust=1500830289414000&amp;amp;usg=AFQjCNE01xeX3pWHmxqEKnESZ9xt41WNnw&quot; href=&quot;https://www.namecheap.com/support/knowledgebase/article.aspx/9593//installing-a-ssl-certificate-on-amazon-web-services-aws&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://www.namecheap.com/&lt;wbr&gt;&lt;/wbr&gt;support/knowledgebase/article.&lt;wbr&gt;&lt;/wbr&gt;aspx/9593//installing-a-ssl-&lt;wbr&gt;&lt;/wbr&gt;certificate-on-amazon-web-&lt;wbr&gt;&lt;/wbr&gt;services-aws&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;b&gt;&lt;u&gt;Use AWS Certificate Manager to upload SSL certificate (Import).&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Certificate body : Provide the public certificate (PEM) provided by ssl team by converting .cer to pem&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Certificate private key : Provide the private key (PEM) you used to generate CSR file&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Certificate Chain : Provide the intermediate and Root certificate (PEM)&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;b&gt;&lt;u&gt;In order to verify the healthy of the file and port in https://&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
wget&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://ec2-52-2-59-63.compute-1.amazonaws.com:8443/index.html&amp;amp;source=gmail&amp;amp;ust=1500830289415000&amp;amp;usg=AFQjCNHAczObpp_BBhlV8DKuI3p7rHuaqQ&quot; href=&quot;https://ec2-52-2-59-63.compute-1.amazonaws.com:8443/index.html&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://ec2-52-2-59-63.&lt;wbr&gt;&lt;/wbr&gt;compute-1.amazonaws.com:8443/&lt;wbr&gt;&lt;/wbr&gt;index.html&lt;/a&gt;&amp;nbsp;--no-check-certificate&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;b&gt;&lt;u&gt;In order to verify the healthy of the file and port in http://&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
wget&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://ec2-52-2-59-63.compute-1.amazonaws.com:8080/index.html&amp;amp;source=gmail&amp;amp;ust=1500830289415000&amp;amp;usg=AFQjCNHZ4n3rnW2NCRGrkjCOzxFLUhQ3-g&quot; href=&quot;http://ec2-52-2-59-63.compute-1.amazonaws.com:8080/index.html&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;http://ec2-52-2-59-63.compute-&lt;wbr&gt;&lt;/wbr&gt;1.amazonaws.com:8080/index.&lt;wbr&gt;&lt;/wbr&gt;html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
You also need to create keystore file and drop in tomcat 8443 port by combining keys.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/7187670494612839053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/7187670494612839053' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/7187670494612839053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/7187670494612839053'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2017/07/aws-tutorial-how-to-quickly-set-up-ssl.html' title='AWS Tutorial: How to quickly set up an SSL certificate for use with Amazon Web Services ELB'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-5221590530517307845</id><published>2017-07-19T15:51:00.000-07:00</published><updated>2017-07-19T15:54:24.895-07:00</updated><title type='text'>Step by step instructions on self-signed certificate and configure Tomcat over SSL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;Note : &lt;/u&gt;&lt;/b&gt;If you create self signed certificate from openssl then create keystore file also using openssl&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;1.1 Create a pair of PKI keys&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;openssl genrsa -out public-dns-name-private.pem 2048&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;u&gt;&lt;b&gt;Create a self-signed X509 certificate:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;openssl req -new -x509 -key public-dns-name-private.pem -out public-dns-name-certificate.pem -days 365&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;Create a PKCS12 keystore and import (or export depending on how you look at it) the host certificate we just created:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;openssl pkcs12 -export -out humkeystore.pkcs12 -in public-dns-name-certificate.pem -inkey public-dns-name-private.pem&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;2.2 Convert the PKCS12 keystore to Java keystore using Java keytool.&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;keytool -importkeystore -srckeystore humkeystore.pkcs12 -srcstoretype PKCS12 -destkeystore humkeystore -deststoretype JKS&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;Update Tomcat :&lt;/u&gt;&lt;/b&gt; In $CATALINA_HOME/CONF/server.xml&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In &lt;b&gt;&lt;u&gt;Amazon Alexa Skill :&lt;/u&gt;&lt;/b&gt; &quot;I will upload a self-signed certificate in X.509 format&quot; open generated x509 certificate file and provide content : public-dns-name-certificate.pem&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Thanks to &lt;a href=&quot;https://yimingsun.wordpress.com/2012/03/12/step-by-step-instructions-on-self-signed-certificate-and-tomcat-over-ssl/&quot;&gt;https://yimingsun.wordpress.com/2012/03/12/step-by-step-instructions-on-self-signed-certificate-and-tomcat-over-ssl/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/5221590530517307845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/5221590530517307845' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/5221590530517307845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/5221590530517307845'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2017/07/step-by-step-instructions-on-self.html' title='Step by step instructions on self-signed certificate and configure Tomcat over SSL'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-2983656236140107690</id><published>2017-07-19T15:50:00.000-07:00</published><updated>2017-07-19T15:50:04.966-07:00</updated><title type='text'>AWS Account Migration - Steps for some of the services to migrate from one AWS Account to other</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
1) Login into AWS account and go to BillingDashboard and find out list of services used. &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Note : There will be charge either 0$ or x$ for used services.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
2) Go to VPC dashboard and understand VPC (custom), ElasticIps, Security Group, subnets and create the same in another account (target account you want to migrate)&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
3) EC2 Instance Account Transfer :&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://aws.amazon.com/premiumsupport/knowledge-center/account-transfer-ec2-instance/&amp;amp;source=gmail&amp;amp;ust=1500590469237000&amp;amp;usg=AFQjCNEintrM1foe4xYCqWNMT9NsL6Br8A&quot; href=&quot;https://aws.amazon.com/premiumsupport/knowledge-center/account-transfer-ec2-instance/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://aws.amazon.com/&lt;wbr&gt;&lt;/wbr&gt;premiumsupport/knowledge-&lt;wbr&gt;&lt;/wbr&gt;center/account-transfer-ec2-&lt;wbr&gt;&lt;/wbr&gt;instance/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
4) RDS account Transfer :&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://aws.amazon.com/premiumsupport/knowledge-center/account-transfer-rds/&amp;amp;source=gmail&amp;amp;ust=1500590469237000&amp;amp;usg=AFQjCNE2exZEXgVmVPPW93X1p2KJsB8HwA&quot; href=&quot;https://aws.amazon.com/premiumsupport/knowledge-center/account-transfer-rds/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://aws.amazon.com/&lt;wbr&gt;&lt;/wbr&gt;premiumsupport/knowledge-&lt;wbr&gt;&lt;/wbr&gt;center/account-transfer-rds/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Note : Only manual snapshot backup can be shared and restored.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
5) Acount transfer S3 Objects :&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=https://aws.amazon.com/premiumsupport/knowledge-center/account-transfer-s3/&amp;amp;source=gmail&amp;amp;ust=1500590469238000&amp;amp;usg=AFQjCNG7_bwIwfwyBMe6ssf6S2pyOwWBtg&quot; href=&quot;https://aws.amazon.com/premiumsupport/knowledge-center/account-transfer-s3/&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;https://aws.amazon.com/&lt;wbr&gt;&lt;/wbr&gt;premiumsupport/knowledge-&lt;wbr&gt;&lt;/wbr&gt;center/account-transfer-s3/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Note : aws s3 sync s3://sourceBucket &amp;nbsp;s3://DestinationBucket &amp;nbsp;--profile AccountAAdmin --profile AccountBAdmin&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Please make sure the destinationBucket name is different as its unique. Sometimes we try to provide same assuming copy.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Followed example from AWS :&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://docs.aws.amazon.com/AmazonS3/latest/dev/example-walkthroughs-managing-access-example2.html&amp;amp;source=gmail&amp;amp;ust=1500590469238000&amp;amp;usg=AFQjCNHtjE2pVnvFVjfuH-M11DQIYJkEYg&quot; href=&quot;http://docs.aws.amazon.com/AmazonS3/latest/dev/example-walkthroughs-managing-access-example2.html&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;http://docs.aws.amazon.com/&lt;wbr&gt;&lt;/wbr&gt;AmazonS3/latest/dev/example-&lt;wbr&gt;&lt;/wbr&gt;walkthroughs-managing-access-&lt;wbr&gt;&lt;/wbr&gt;example2.html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
Once copied delete bucket commands :&amp;nbsp;&lt;a data-saferedirecturl=&quot;https://www.google.com/url?hl=en&amp;amp;q=http://docs.aws.amazon.com/cli/latest/userguide/using-s3-commands.html&amp;amp;source=gmail&amp;amp;ust=1500590469238000&amp;amp;usg=AFQjCNGdZpcoGi6ydQ02BVqZp8M4OSBlhQ&quot; href=&quot;http://docs.aws.amazon.com/cli/latest/userguide/using-s3-commands.html&quot; style=&quot;color: #1155cc;&quot; target=&quot;_blank&quot;&gt;http://docs.aws.amazon.com/&lt;wbr&gt;&lt;/wbr&gt;cli/latest/userguide/using-s3-&lt;wbr&gt;&lt;/wbr&gt;commands.html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
6) ELB : Create LoadBalancer target Group and other details in new account from the existing account.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;&quot;&gt;
7) Lambda, Lex, elasticBeanStack you need to configure the same in new account and copy the code from the old aws account.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/2983656236140107690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/2983656236140107690' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/2983656236140107690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/2983656236140107690'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2017/07/aws-account-migration-steps-for-some-of.html' title='AWS Account Migration - Steps for some of the services to migrate from one AWS Account to other'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-1195868898682810484</id><published>2017-02-22T11:44:00.001-08:00</published><updated>2017-02-22T11:44:28.120-08:00</updated><title type='text'>Amazon - Alexa - Tips to start your own Skill Kit</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;Why Alexa ?&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Alexa, the voice service that powers Echo, provides capabilities, or skills, that enable customers to interact with devices in a more intuitive way using voice. (Coolest IoT as well to integrate with lights and thermostat control through Amazon Echo)&lt;br /&gt;
&lt;br /&gt;
Examples of these skills include the ability to play music, answer general questions, set an alarm or timer and more. Alexa is built in the cloud, so it is always getting smarter.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Official Amazon Pages about&lt;br /&gt;
&lt;/b&gt; Alexa : &lt;a href=&quot;https://developer.amazon.com/alexa&quot;&gt;https://developer.amazon.com/alexa&lt;/a&gt;&lt;br /&gt;
 Alexa Skill Kit : &lt;a href=&quot;https://developer.amazon.com/alexa-skills-kit&quot;&gt;https://developer.amazon.com/alexa-skills-kit&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Alexa Skill Kit (ASK) develop in an hour quick tour to get your hands dirty (JS) - Note : Alexa Skill Interaction Model creation was not updating in IE. Better use firefox / chrome.&lt;br /&gt;
6 Steps to build first Alexa Skill : &lt;a href=&quot;https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/content/fact-skill-1&quot;&gt;https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/content/fact-skill-1&lt;/a&gt;&lt;br /&gt;
                 &lt;br /&gt;
Steps Detailed to develop : &lt;a href=&quot;https://developer.amazon.com/blogs/post/Tx3DVGG0K0TPUGQ/New-Alexa-Skills-Kit-Template:-Step-by-Step-Guide-to-Build-a-Fact-Skill&quot;&gt;https://developer.amazon.com/blogs/post/Tx3DVGG0K0TPUGQ/New-Alexa-Skills-Kit-Template:-Step-by-Step-Guide-to-Build-a-Fact-Skill&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Alexa Skill kit Samples : &lt;a href=&quot;https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/using-the-alexa-skills-kit-samples&quot;&gt;https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/using-the-alexa-skills-kit-samples&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Alexa Web Browser Testing tool (Works only in webRTC (RTC-RealTimeCommunication Browser)) : &lt;a href=&quot;https://echosim.io/welcome?next=%2F&quot;&gt;https://echosim.io/welcome?next=%2F&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Alexa Skill Kit (ASK) forum : &lt;a href=&quot;https://forums.developer.amazon.com/spaces/23/index.html&quot;&gt;https://forums.developer.amazon.com/spaces/23/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
ASK Certification Requirements for Custom Skills : &lt;a href=&quot;https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/alexa-skills-kit-submission-checklist&quot;&gt;https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/alexa-skills-kit-submission-checklist&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
ASK custom skill using Web-Service - &lt;a href=&quot;https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/deploying-a-sample-skill-as-a-web-service&quot;&gt;https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/deploying-a-sample-skill-as-a-web-service&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Amazon 10 Minutes tutorial (Try tutorials in AWS) - &lt;a href=&quot;https://aws.amazon.com/getting-started/tutorials/&quot;&gt;https://aws.amazon.com/getting-started/tutorials/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Social Pages (YouTube) about Alexa to watch and learn : &lt;br /&gt;
&lt;br /&gt;
ASK 101 by Amazon Developer : &lt;a href=&quot;https://www.youtube.com/watch?v=31K4vse9Jmc&quot;&gt;https://www.youtube.com/watch?v=31K4vse9Jmc&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
ASK Custom skill easy implementation step in more understandable with intents and slots includes nice examples and github sourceCode reference: &lt;a href=&quot;https://www.youtube.com/watch?v=zt9WdE5kR6g&amp;t=1s&quot;&gt;https://www.youtube.com/watch?v=zt9WdE5kR6g&amp;t=1s&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Developing Alexa Skill (Explained in 1 to 6 chapter in more detail) : &lt;a href=&quot;https://www.youtube.com/watch?v=QxgdPI1B7rg&amp;list=PL2KJmkHeYQTO6ci5KF08mvHYdAZu2jgkJ&quot;&gt;https://www.youtube.com/watch?v=QxgdPI1B7rg&amp;list=PL2KJmkHeYQTO6ci5KF08mvHYdAZu2jgkJ&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Find your icon for your custom app : &lt;a href=&quot;https://www.iconfinder.com/icons/10930/badge_reddit_icon#size=128&quot;&gt;https://www.iconfinder.com/icons/10930/badge_reddit_icon#size=128&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In MSPaint open the image 512 and click -&gt; re-size and re-size the image to size you need.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/1195868898682810484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/1195868898682810484' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/1195868898682810484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/1195868898682810484'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2017/02/amazon-alexa-tips-to-start-your-own.html' title='Amazon - Alexa - Tips to start your own Skill Kit'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-2576807461176000751</id><published>2017-02-22T09:02:00.000-08:00</published><updated>2017-02-24T11:04:11.460-08:00</updated><title type='text'>Client / Server Authentication using openssl</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;Steps to Create CSR (Certificate Signing Request) using OpenSSL and create JKS file to interact with Server&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;What is client authentication?&lt;br /&gt;
&lt;/b&gt;Client Authentication is the process by which users securely access a server or remote computer by exchanging a Digital Certificate.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#To create CSR and Private Key&lt;br /&gt;
&lt;/b&gt;openssl req -new -newkey rsa:2048 -nodes -out star_yourdomainname_com.csr -keyout star_yourdomainname_com.key -subj &quot;/C=US/ST=New Jersey/L=Bedminster/O=Organization Name/OU=Organization Unit/CN=*.yourdomainname.com&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;# Combine private key and public key file received from 3rd party&lt;br /&gt;
&lt;/b&gt;cat star_yourdomainname_com.key star_yourdomainname_com.pem_SIGNED.pem &gt; projectName.pem&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;# Generate pkcs12 file from private + public key file&lt;br /&gt;
&lt;/b&gt;openssl pkcs12 -export -in projectName.pem -out projectNamekeystore.pkcs12 -name projectName -noiter -nomaciter&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;# Create jks File from pkcs12 file generated&lt;br /&gt;
&lt;/b&gt;keytool -importkeystore -srckeystore projectNamekeystore.pkcs12 -srcstoretype pkcs12 -srcalias projectName -destkeystore projectNameKeyStore.jks -deststoretype jks -deststorepass pass@123 -destalias projectName&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;# To list the keystore stored&lt;/b&gt;&lt;br /&gt;
keytool -v -list -keystore keystore&lt;br /&gt;
&lt;br /&gt;
Write Java program using HttpClient to test this JKS file and Get / Post the data from 3rd party server&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Curl : Through curl also same works and testing can be done&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;# Combine private key and public key file received from 3rd party&lt;br /&gt;
&lt;/b&gt;cat star_yourdomainname_com.key star_yourdomainname_com.pem_SIGNED.pem &gt; projectName.pem&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Curl Command :&lt;br /&gt;
&lt;/b&gt;curl -k -vvvv --request GET -H &quot;Accept: application/json&quot; -H &quot;Content-Type: application/json&quot; -a --cert projectName.pem &quot;https://thirdpartydomainname.com/WebGateway/rest/Location/query/location?userId=1234&quot;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/2576807461176000751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/2576807461176000751' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/2576807461176000751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/2576807461176000751'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2017/02/client-server-authentication-using.html' title='Client / Server Authentication using openssl'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-24551906745626471</id><published>2016-05-16T12:13:00.000-07:00</published><updated>2016-05-16T12:13:38.836-07:00</updated><title type='text'>MySQL 5.7 supports JSON dataType field</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;&lt;u&gt;MySQL 5.7 supports JSON dataType field&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Below is the quick working syntax to play-around with JSON data Type field.&lt;br /&gt;
&lt;br /&gt;
#Create a table with JSON Field. &lt;br /&gt;
#You can have primary key, foreign key and indexes with json type field.&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
CREATE TABLE `book` (&lt;br /&gt;
&amp;nbsp;`id` MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,&lt;br /&gt;
&amp;nbsp; `title` VARCHAR(200) NOT NULL,&lt;br /&gt;
&amp;nbsp; `tags` json DEFAULT NULL,&lt;br /&gt;
&amp;nbsp; PRIMARY KEY (`id`)&lt;br /&gt;
&amp;nbsp;)ENGINE=INNODB;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
# Insert JSON Array&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&amp;nbsp;INSERT INTO `book` (title, tags) VALUES&lt;br /&gt;
&amp;nbsp; &amp;nbsp; (&#39;JavaScript&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;[&quot;JS&quot;, &quot;E12&quot;, &quot;JSON&quot;]&#39;&lt;br /&gt;
&amp;nbsp; ); &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp;# Insert JSON Object&lt;br /&gt;
&amp;nbsp;INSERT INTO `book` (title, tags) VALUES&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;(&#39;JSP&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;{&quot;c&quot; : 3, &quot;d&quot; : 4}&#39;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;);&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
# Select Queries&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
SELECT id, title, tags FROM book;&lt;br /&gt;
&lt;br /&gt;
SELECT id, title, JSON_TYPE(tags) FROM book;&lt;br /&gt;
&lt;br /&gt;
SELECT id, title, JSON_ARRAY(tags) FROM book WHERE id = 1;&lt;br /&gt;
&lt;br /&gt;
SELECT id, title, JSON_VALID(tags) FROM book WHERE id = 2;&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM book WHERE JSON_SEARCH(tags, &#39;one&#39;, &#39;JSON%&#39;) IS NOT NULL;&lt;br /&gt;
&lt;br /&gt;
# Return available field in 0th index from JSON&lt;br /&gt;
SELECT title, tags-&amp;gt;&quot;$[0]&quot; AS tag1 FROM book;&lt;br /&gt;
&lt;br /&gt;
#Returns null on non-availability&lt;br /&gt;
SELECT title, tags-&amp;gt;&quot;$.a&quot; AS tag1 FROM book;&lt;br /&gt;
&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/24551906745626471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/24551906745626471' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/24551906745626471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/24551906745626471'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2016/05/mysql-57-supports-json-datatype-field.html' title='MySQL 5.7 supports JSON dataType field'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-7696286901488014620</id><published>2015-02-24T09:01:00.000-08:00</published><updated>2015-03-26T14:15:30.609-07:00</updated><title type='text'>Java Quiz</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1) What will be the output when you execute below code ?&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;for (int i = 0; i &amp;gt;= (-1) * 5; i--) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(i);
}&lt;/pre&gt;
&lt;br /&gt;
Output : 0 -1 -2 -3 -4 -5&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;for loop repetitive control structure flow &lt;/b&gt;: &lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;for (initialize; boolean_expression; update) {
}&lt;/pre&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Initialize will be called only once in the for loop to be initialize for the first time loop starts. You can leave blank by providing semicolon(;) placeholder.&lt;/li&gt;
&lt;li&gt;boolean_expression will be called next to initialize to validate expression and if its true body of the for loop exucutes. False loop exits&lt;/li&gt;
&lt;li&gt;update will be called upon completion of the body execution of for loop. &lt;/li&gt;
&lt;li&gt;Once update complete it calls the boolean expression to validate to proceeds body and body completion will call update and moves on back to booleanExpression&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;b&gt;Note : &lt;/b&gt; There is no difference between i-- or --i or i++ or ++i in the for loop update.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
2) What will be the output when you execute below code ?&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;int i = 1;
int j = ++i;
System.out.println(&quot;i: &quot; + i + &quot; j: &quot; + j);

and

int i = 1;
int j = i++;
System.out.println(&quot;i: &quot; + i + &quot; j: &quot; + j);

Ouput : 
i: 2 j: 2
i: 2 j: 1&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Why Difference?&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ++i increments the value first and then return it&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; i++ return the value first and then increments it&lt;br /&gt;
&lt;br /&gt;
Usually, try to use i = i + 1 for clear understanding in the code. &lt;br /&gt;
&lt;br /&gt;
3) What will be the output when you execute below code ?&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;String testSplit = &quot;hello,,world&quot;;
String[] testSplits = testSplit.split(&quot;,&quot;);
System.out.println(testSplits[2]);

Output : world

String testSplit = &quot;hello,world,&quot;;
String[] testSplits = testSplit.split(&quot;,&quot;);
System.out.println(testSplits[2]);

Output : java.lang.ArrayIndexOutOfBoundsException: 2

String testSplit = &quot;hello,world,&quot;;
String[] testSplits = testSplit.split(&quot;,&quot;, -2);
System.out.println(testSplits[2]);

Output :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (empty)&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;b&gt;Note : &lt;/b&gt;By default, split drops all empty trailing columns, so any attempt to access the final column will result ArrayIndexOutOfBoundsException. Passing negative number (limit) as the second arg to split causes it to retain the trailing empty columns.&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
4) What will be the output when you execute below code ?&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;Pattern p = Pattern.compile(&quot;^([\&quot;&#39;]?)\\d\\d:\\d\\d\\1,([\&quot;&#39;]?)[A-Z]\\w+\\2,.*$&quot;);
  String regexpInput = &quot;1:23,Logout Now&quot;;
  if (p.matcher(regexpInput.toString()).matches()) {
   System.out.println(&quot;Good&quot;);
  } else {
   System.out.println(&quot;Bad&quot;);
  }
Ouput : Bad
&lt;/pre&gt;
&lt;br /&gt;
Why Bad ?&lt;br /&gt;
1. hour has only 1 digit 1 instead 2 digit&lt;br /&gt;
2. 2nd column has space in regexp which is not mentioned&lt;br /&gt;
3. Regexp expects 3rd column with comma(,) after some text 1 or more which is missing&lt;br /&gt;
&lt;br /&gt;
\\1 and \\2 is backreference to repeat the grouping element&lt;br /&gt;
group starts from 1, 2, 3 Backreference also considered as group in regexp.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Difference between iBatis and Hibernate ? (Both are persistence framework)&lt;/b&gt; &lt;br /&gt;
iBatis / myBatis is sql driven model. It means based on sql you want to control application changes (SqlMap XML file)&lt;br /&gt;
Hibernate is object driven model. It means you design your object and create fields in database. (hbm - hibernate mapping xml file)&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Pros and Cons :&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
iBatis&lt;u&gt;&lt;b&gt; &lt;/b&gt;&lt;/u&gt;is database dependent due to SQL usage, but faster development and lighter with cache support.&lt;br /&gt;
Hibernate is database independent due to HQL based approach. Its more heavy compare to JPA / iBatis where as highly scalable with advance cache support.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;iBATOR&lt;/b&gt; - Code generator for iBatis.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;castor&lt;/b&gt; - Castor is open source java data binding&amp;nbsp; framework. Moving data from XML to Java programming language objects and from Java to database. same as JAXB.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Difference between JPA and Hibernate ?&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
JPA is specification / interface based on JSR&lt;br /&gt;
Hibernate / iBatis is implementation using JPA. &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/7696286901488014620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/7696286901488014620' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/7696286901488014620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/7696286901488014620'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2015/02/java-quiz.html' title='Java Quiz'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-1425058323567859132</id><published>2015-02-21T15:13:00.000-08:00</published><updated>2015-02-21T15:13:10.807-08:00</updated><title type='text'>Oozie Examples</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;u&gt;&lt;b&gt;Setting Up the Examples&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
The examples/ directory must be extracted from oozie and copied to the user HOME directory in HDFS:&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;cd /usr/local/oozie
tar -xvzf oozie-examples.tar.gz
chown -R hduser:hadoop examples/
hadoop fs -put /usr/local/oozie/examples/ /user/hduser/examples/
&lt;/pre&gt;&lt;div class=&quot;note&quot;&gt;&lt;b&gt;NOTE:&lt;/b&gt; If an examples directory already exists in HDFS, it must be deleted before copying it again. Otherwise files may not be copied.&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Running the Examples&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
Add Oozie bin/ to the environment PATH in .bashrc or /etc/profiles&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;export OOZIE_HOME=/usr/local/oozie
export PATH=$PATH:$HADOOP_HOME/bin:$HIVE_HOME/bin:$PIG_HOME/bin:$SQOOP_HOME/bin:$OOZIE_HOME/bin&lt;/pre&gt;&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Execute job from Terminal (hduser)&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;oozie job -oozie http://localhost:11000/oozie -config /usr/local/oozie/examples/apps/map-reduce/job.properties -run&lt;/pre&gt;&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;&lt;b&gt;NOTE:&lt;/b&gt; The job.properties file needs to be a local file during submissions, and not a HDFS path. Modify job.properties for namenode &amp; jobtracker url.&lt;/div&gt;&lt;br /&gt;
Check Oozie URL to track the oozie workflow job status : &lt;a href=&quot;http://localhost:11000/oozie&quot;&gt;http://localhost:11000/oozie&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;&lt;b&gt;Note :&lt;/b&gt; The example applications are under the $OOZIE_HOME/examples/app directory, one directory per example. The directory contains the application XML file (workflow, or worklfow and coordinator), the &lt;tt&gt;job.properties&lt;/tt&gt;  file to submit the job and any JAR files the example may need. Go through each workflow to run hive, java, sqoop, streaming examples and try&lt;/div&gt;&lt;br /&gt;
Reference : &lt;a href=&quot;https://oozie.apache.org/docs/3.1.3-incubating/DG_Examples.html#Command_Line_Examples&quot;&gt;Oozie Example&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.thecloudavenue.com/2013/10/executing-oozie-workflow-with-pig-hive.html&quot;&gt;Oozie workflow with Pig and Hive&lt;/a&gt;&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/1425058323567859132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/1425058323567859132' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/1425058323567859132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/1425058323567859132'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2015/02/oozie-examples.html' title='Oozie Examples'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-7728350237184177673</id><published>2015-02-20T16:23:00.000-08:00</published><updated>2015-02-26T09:43:58.263-08:00</updated><title type='text'>Big Data Growth Trends and Events</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hadoop is Growing faster than expected..&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8AzqXwOAbfwvYQpFdEMz-9GfoPM5fq9Mh2Q_cMM7iyughfL3aB189IeLpwvLMQFo4yt5cAetUUouDznMISidKkMlaQ9UAnUUtxjLQCnSCnf7oHbOgFhQmnDJDTEu-ocw2D_xIAVJaDVE/s1600/rsz_factofhadoop.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8AzqXwOAbfwvYQpFdEMz-9GfoPM5fq9Mh2Q_cMM7iyughfL3aB189IeLpwvLMQFo4yt5cAetUUouDznMISidKkMlaQ9UAnUUtxjLQCnSCnf7oHbOgFhQmnDJDTEu-ocw2D_xIAVJaDVE/s1600/rsz_factofhadoop.png&quot; height=&quot;243&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Click to Zoom the image : Hadoop Growth&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
US President speaks about importance of BigData Trend.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe width=&quot;320&quot; height=&quot;266&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://ytimg.googleusercontent.com/vi/vbb-AjiXyh0/0.jpg&quot; src=&quot;http://www.youtube.com/embed/vbb-AjiXyh0?feature=player_embedded&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;span style=&quot;color: purple; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/7728350237184177673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/7728350237184177673' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/7728350237184177673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/7728350237184177673'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2015/02/big-data-growth-trends-and-events.html' title='Big Data Growth Trends and Events'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8AzqXwOAbfwvYQpFdEMz-9GfoPM5fq9Mh2Q_cMM7iyughfL3aB189IeLpwvLMQFo4yt5cAetUUouDznMISidKkMlaQ9UAnUUtxjLQCnSCnf7oHbOgFhQmnDJDTEu-ocw2D_xIAVJaDVE/s72-c/rsz_factofhadoop.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-8709123719799817656</id><published>2015-02-20T16:13:00.001-08:00</published><updated>2015-02-21T15:15:47.774-08:00</updated><title type='text'>Apache Oozie - Schedule your job using powerful workflow engine</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;u&gt;&lt;b&gt;Apache Oozie&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
Oozie is an extensible, scalable and reliable system to define, manage, schedule, and execute complex Hadoop workloads via web services. More specifically, this includes:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; * XML-based declarative framework to specify a job or a complex workflow of dependent jobs.&lt;br /&gt;
&amp;nbsp; * Support different types of job such as Hadoop Map-Reduce, Pipe, Streaming, Pig, Hive and custom java applications.&lt;br /&gt;
&amp;nbsp; * Workflow scheduling based on frequency and/or data availability.&lt;br /&gt;
&amp;nbsp; * Monitoring capability, automatic retry and failure handing of jobs.&lt;br /&gt;
&amp;nbsp; * Extensible and pluggable architecture to allow arbitrary grid programming paradigms.&lt;br /&gt;
&amp;nbsp; * Authentication, authorization, and capacity-aware load throttling to allow multi-tenant software as a service.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Oozie Engines :&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
Oozie has Workflow Engine,&amp;nbsp; Coordinator Engine and Bundle Engine&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;PreRequiste : &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
JAVA_HOME (Java)&lt;br /&gt;
M2_HOME (Install &lt;a href=&quot;http://gubendran.blogspot.com/2015/02/install-maven-from-archive.html&quot;&gt;Maven&lt;/a&gt;) &lt;br /&gt;
HADOOP_HOME (hadoop)&lt;br /&gt;
Pig (PIG_HOME)&lt;br /&gt;
&lt;br /&gt;
Download &lt;a href=&quot;http://archive.apache.org/dist/oozie/3.3.2/&quot;&gt;Oozie&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Make sure below command works&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ java -version
$ javac -version
$ mvn -version&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Extract Oozie archieve&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ sudo cp ~/Downloads/oozie-*.tar.gz /usr/local/
$ sudo su -
$ cd /usr/local
$ tar -xzf oozie-3.3.2.tar.gz&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Building Oozie&lt;/b&gt;&lt;br /&gt;
The simplest way to build Oozie is to run the mkdistro.sh script: &lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ cd oozie-3.3.2
$ ./bin/mkdistro.sh -DskipTests&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Oozie Server Setup&lt;/b&gt;&lt;br /&gt;
Copy the built binaries to the home directory as ‘oozie’&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ cd ..
$ cp -R oozie-3.3.2/distro/target/oozie-3.3.2-distro/oozie-3.3.2/ oozie&lt;/pre&gt;&lt;br /&gt;
Create the required &lt;b&gt;libext&lt;/b&gt; directory&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ cd oozie
$ mkdir libext&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Copy all the required jars from hadooplibs to the libext directory using the following command:&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ cp ../oozie-3.3.2/hadooplibs/target/oozie-3.3.2-hadooplibs.tar.gz .
$ tar xzvf oozie-3.3.2-hadooplibs.tar.gz
$ cp oozie-3.3.2/hadooplibs/hadooplib-1.1.1.oozie-3.3.2/* libext/&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Get &lt;b&gt;Ext2Js&lt;/b&gt; – This library is not bundled with Oozie and needs to be downloaded separately. This library is used for the Oozie Web Console:&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ cd libext
$ wget http://extjs.com/deploy/ext-2.2.zip
$ cd ..&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Update &lt;b&gt;../hadoop/conf/core-site.xml&lt;/b&gt; as follows. Hadoop Version 1.2.x:&lt;br /&gt;
&lt;div class=&quot;configuration&quot;&gt;&lt;br /&gt;
&amp;lt;property&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;hadoop.proxyuser.hduser.hosts&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;value&amp;gt;localhost&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/property&amp;gt;&lt;br /&gt;
&amp;lt;property&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;hadoop.proxyuser.hduser.groups&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;value&amp;gt;hadoop&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/property&amp;gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;Note : Here, ‘hduser’ is the username and it belongs to ‘hadoop’ group.&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Prepare the WAR file&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$../bin/oozie-setup.sh prepare-war

INFO: Oozie is ready to be started&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Provide permission to oozie directory&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ chown -R hduser:hadoop oozie&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Create sharelib on HDFS&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ su hduser
$ /usr/local/oozie/
$ ./bin/oozie-setup.sh sharelib create -fs hdfs://localhost:54310&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Create the OoozieDB&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ ./bin/ooziedb.sh create -sqlfile oozie.sql -run

The SQL commands have been written to: oozie.sql&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Start Oozie as a daemon process run / start Oozie as a foreground process run:&lt;br /&gt;
oozie-start.sh, oozie-run.sh , and oozie-stop.sh&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ ./bin/oozie-start.sh
or
$ ./bin/oozie-run.sh
or
$ ./bin/oozie-stop.sh&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;Note : oozie log will be in /usr/local/oozie/logs/oozie.log&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
URL for Oozie Web Console is &lt;a href=&quot;http://localhost:11000/oozie&quot;&gt;http://localhost:11000/oozie&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Check Oozie status, should be NORMAL.&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ bin/oozie admin -oozie http://localhost:11000/oozie -status&lt;/pre&gt;&lt;br /&gt;
Try Oozie Examples : &lt;a href=&quot;http://gubendran.blogspot.com/2015/02/oozie-examples.html&quot;&gt;Oozie Examples which i tried from my same blog&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Oozie Client Setup may required in the remote machine&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ cd ..
$ cp oozie/oozie-client-3.3.2.tar.gz .
$ tar xvzf oozie-client-3.3.2.tar.gz
$ mv oozie-client-3.3.2 oozie-client
$ cd bin&lt;/pre&gt;&lt;br /&gt;
Add the /home/hduser/oozie-client/bin to PATH in .bashrc or /etc/profiles and restart your terminal.&lt;br /&gt;
&lt;br /&gt;
References : Oozie Installation : (&lt;a href=&quot;http://oozie.apache.org/docs/3.3.2/DG_QuickStart.html&quot;&gt;Apache Oozie&lt;/a&gt;, &lt;a href=&quot;http://www.rohitmenon.com/index.php/apache-oozie-installation/&quot;&gt;Rohit Blog&lt;/a&gt;, &lt;a href=&quot;http://www.thecloudavenue.com/2013/10/installation-and-configuration-of.html&quot;&gt;CloudBlog&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/8709123719799817656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/8709123719799817656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/8709123719799817656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/8709123719799817656'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2015/02/apache-oozie-schedule-your-job-using.html' title='Apache Oozie - Schedule your job using powerful workflow engine'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-6412759859770054301</id><published>2015-02-17T16:20:00.002-08:00</published><updated>2015-02-21T13:58:21.266-08:00</updated><title type='text'>Install Maven from archive</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Why Maven ?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project&#39;s build, reporting and documentation from a central piece of information.&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quick project set-up, no complicated build.xml files, just a POM and go&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; All developers in a project use the same jar dependencies due to centralized POM.&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Getting a number of reports and metrics for a project &quot;for free&quot;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reduce the size of source distributions, because jars can be pulled from a central location&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div class=&quot;note&quot;&gt;
Make sure you installed Java and exported JAVA_HOME in your PATH variable.&lt;/div&gt;
&lt;br /&gt;
Verify java installation on your machine&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$java -version 
$javac -version
&lt;/pre&gt;
&lt;b&gt;Download&lt;/b&gt; &lt;a href=&quot;http://maven.apache.org/download.cgi&quot;&gt;maven&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Extract Maven archive&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$sudo cp ~/Downloads/apache-maven-*.tar.gz /usr/local/
$sudo su -
$cd /usr/local
$tar -xzf apache-maven-3.1.1-bin.tar.gz
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Set maven environment variables (vi ~/.bashrc or /etc/profiles)&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;export M2_HOME=/usr/local/apache-maven-x.x.x
export MAVEN_OPTS=&quot;-Xms256m -Xmx512m&quot;
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Add maven bin directory to system path&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;export PATH=$PATH:$M2_HOME/bin
&lt;/pre&gt;
&lt;b&gt;Verify Maven installed &lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$mvn -version&lt;/pre&gt;
&lt;br /&gt;
References : &lt;a href=&quot;http://www.tutorialspoint.com/maven/maven_environment_setup.htm&quot;&gt;Maven&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/6412759859770054301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/6412759859770054301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/6412759859770054301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/6412759859770054301'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2015/02/install-maven-from-archive.html' title='Install Maven from archive'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-2510302453292081018</id><published>2015-02-16T20:12:00.002-08:00</published><updated>2015-03-10T14:49:00.473-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sqoop"/><title type='text'>Install Apache Sqoop - Sql to hadoop (HDFS) and inverse the same</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;u&gt;&lt;b&gt;sqoop - Sql to hadoop&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
Efficient tool to transfer bulk data from structured (relational db&#39;s) to hadoop (hdfs / hive / hbase). You can also export data from hdfs to import into other datawarehouses. &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Multiple ways to install sqoop :&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
To install sqoop in Debian distributions (Ubuntu / Debian)&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;&lt;code class=&quot;codeTagStyle&quot;&gt;$ sudo apt-get install sqoop
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Advantage installing with debian packages than Tar ball. Still to handle yourself efficiently the package use tar ball.&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Handle dependencies&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Provide for easy upgrades&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Automatically install resources to conventional locations&lt;/li&gt;
&lt;/ul&gt;
Download &lt;a href=&quot;http://sqoop.apache.org/&quot;&gt;Sqoop&lt;/a&gt;&amp;nbsp; - Download sqoop version based on the hadoop you installed in your box. If you hadoop 1.x then download sqoop with hadoop 1.x version to avoid incompatible error upon import / export.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$ sudo su
$ (cp ~/Downloads/sqoop-1.4.5.bin__hadoop-1.0.0.tar.gz /usr/local &amp;amp;&amp;amp; cd /usr/local/
 &amp;amp;&amp;amp; tar -zxvf path_to_sqoop.tar.gz)
$ mv sqoop-1.4.5.bin__hadoop-1.0.0.tar.gz sqoop-1.4.5
$ chown -R hduser:hadoop sqoop-1.4.5
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Configure sqoop wrapper with hadoop&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$cd /usr/local/sqoop-1.4.5/conf/
$mv sqoop-env-template.sh sqoop-env.sh&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
Enable HADOOP_COMMON_HOME and HADOOP_MAPRED_HOME by providing hadoop available path. If you want to sqoop data to HBASE or Hive enable those variables as well and provide path in sqoop-env.sh&lt;/div&gt;
&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$vi sqoop-env.sh
export HADOOP_COMMON_HOME=/usr/local/hadoop
export HADOOP_MAPRED_HOME=/usr/local/hadoop&lt;/pre&gt;
&lt;br /&gt;
In /home/hduser/.bashrc or /etc/profiles&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;export SQOOP_HOME=/usr/local/sqoop-1.4.5
export PATH=$PATH:$HADOOP_HOME/bin:$HIVE_HOME/bin:$PIG_HOME/bin:$SQOOP_HOME/bin&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Installing JDBC Driver for Sqoop&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;sudo apt-get install libmysql-java&lt;/pre&gt;
&lt;br /&gt;
(This will install the jar for mysql connector through java, cd /usr/share/java/ to see the mysql-connector-java.jar). mysql-connector-java.jar must be symlink to mysql.jar. If so follow below&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;sudo ln -s /usr/share/java/mysql.jar /usr/local/sqoop-1.4.5/lib/
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Check your sqoop version&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$sqoop-version
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Create table movies in your mysql&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
Refer : Download &lt;a href=&quot;https://github.com/gubs4u/DownloadSamples/blob/master/bigDataSamples/sqoopSample.sql&quot;&gt;sqoopSample.sql&lt;/a&gt; from github for mysql schema.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Import data (table or all tables) from MySQL into Hadoop (HDFS)&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
Make sure you started your hadoop. (cd $HADOOP_HOME/bin; ./start-all.sh)&lt;br /&gt;
-m  Use n map tasks to import in parallel &lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$cd /home/hduser
$sqoop import --connect jdbc:mysql://hostName/dbName --username userName --password password --table tableName --target-dir /samples/movies -m 1&lt;/pre&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$sqoop import-all-tables --connect jdbc:mysql://hostName/dbName --username userName --password password &lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
Important : &lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;If you see error &quot;Exception in thread &quot;main&quot; java.lang.IncompatibleClassChangeError Found class org.apache.hadoop.mapreduce.JobContext, but interface was expected&quot; then hadoop version between you installed and sqoop hadoop has mismatched. Hadoop 1 and hadoop 2 has major changes. So, have 1.x or 2.x on hadoop and sqoop-hadoop.&lt;/li&gt;
&lt;li&gt;Make sure table has primary key otherwise you need to mention map tasks. &lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Export data from hadoop (hdfs) into MySQL&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;$sqoop export --connect jdbc:mysql://localhost/sqoop_test --table movies_export --username root --password root --export-dir &#39;/samples/movies/&#39; -m 1;
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;sqoop command to create hive tables matches the database table. If already exist it will throw error&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;hduser$ sqoop create-hive-table --connect jdbc:mysql://localhost/sqoop_test --username root --password root --table movies
&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;note&quot;&gt;
&lt;b&gt;Note : &lt;/b&gt;Impala uses the same metadata as hive, So you can use create-hive-table to import and query in Impala&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;sqoop command to import the entire content from the database table to hive, that uses commas(,) to separate the files in data files&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;hduser$ sqoop import --connect jdbc:mysql://localhost/sqoop_test --username root --password root --table movies --fields-terminated-by &#39;,&#39; --hive-import&lt;/pre&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt; &lt;/pre&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;hduser$  &lt;/pre&gt;
&lt;br /&gt;
--hive-overwrite -&amp;gt; This will overwrite the existing content and write the data into hive table&lt;br /&gt;
--hive-import -&amp;gt; To import the table into hive we need --hive-import when there is no table in hive.&lt;br /&gt;
--hive-table -&amp;gt; If this is not specified by default the database table name will be created in the hive&lt;br /&gt;
&lt;br /&gt;
Default delimiter using sqoop into hive is ^a. You can specify --fields-terminated-by &#39;,&#39; for the specific separator.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Refer : Download &lt;a href=&quot;https://github.com/gubs4u/DownloadSamples/blob/master/bigDataSamples/sqoopSample.sql&quot;&gt;sqoopSample.sql&lt;/a&gt; from github for mysql schema.&lt;br /&gt;
&lt;br /&gt;
References : &lt;a href=&quot;http://www.rohitmenon.com/index.php/apache-sqoop/&quot;&gt;Tutorial Reference,&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.tutorialspoint.com/sqoop/sqoop_import.htm&quot;&gt;GoodPlaceToStart&lt;/a&gt;&amp;nbsp; &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/2510302453292081018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/2510302453292081018' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/2510302453292081018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/2510302453292081018'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2015/02/install-apache-sqoop-sql-to-hadoop-hdfs.html' title='Install Apache Sqoop - Sql to hadoop (HDFS) and inverse the same'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8899325528018001748.post-7418451756590873432</id><published>2015-02-16T09:43:00.002-08:00</published><updated>2015-02-20T13:45:55.772-08:00</updated><title type='text'>Fomat your blog</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;&lt;u&gt;How to add CSS to blogger to be available in all pages&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Blogger -&amp;gt; Posts -&amp;gt; Layout -&amp;gt; Template Designer -&amp;gt; Advanced -&amp;gt; Add CSS&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Add below CSS&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;&lt;code class=&quot;codeTagStyle&quot;&gt;.preTagCodeStyle {
font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;
background-image:URL(https://github.com/gubs4u/DownloadSamples/blob/master/codebg.gif);
padding:0px;color:#000000;text-align:left;line-height:20px;
}
.codeTagStyle {
&amp;nbsp;color:#000000;word-wrap:normal;
}&lt;/code&gt;&lt;/pre&gt;&lt;pre class=&quot;preTagCodeStyle&quot;&gt;&lt;code class=&quot;codeTagStyle&quot;&gt;div.note {
    background-color: #fefaee;
    padding: 10pt;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    margin-right: 0.6em;
    border: 1px dashed;
    border-radius: 3px;
    border-color: #CCCCCC;
}
div.configuration {
    padding: 1em;
    border: 1px dashed #2f6fab;
    color: black;
    background-color: #f9f9f9;
    line-height: 1.1em;
    font-family: Courier New, Courier, mono;
    font-size: 12px;
    font-style: italic;
    display: block;
} &lt;/code&gt;&lt;/pre&gt;&lt;u&gt;&lt;b&gt;To format your code add below: &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;&lt;code class=&quot;codeTagStyle&quot;&gt;&amp;lt;pre class=&quot;preTagCodeStyle&quot;&amp;gt;&amp;lt;code class=&quot;codeTagStyle&quot;&amp;gt;
Your code here
&amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;u&gt;&lt;b&gt;To add a note use below: &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;&lt;code class=&quot;codeTagStyle&quot;&gt;
&amp;lt;div class=&quot;note&quot;&amp;gt;
Your note here
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;u&gt;&lt;b&gt;To add a configuration use below: &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;pre class=&quot;preTagCodeStyle&quot;&gt;&lt;code class=&quot;codeTagStyle&quot;&gt;
&amp;lt;div class=&quot;configuration&quot;&amp;gt;
Your configuration here
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;u&gt;&lt;b&gt;Note :&lt;/b&gt;&lt;/u&gt; Go to HTML tab and add this tag. In &#39;Compose&#39; have option &#39;Show HTML Literally&#39;&lt;/div&gt;&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gubendran.blogspot.com/feeds/7418451756590873432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8899325528018001748/7418451756590873432' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/7418451756590873432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8899325528018001748/posts/default/7418451756590873432'/><link rel='alternate' type='text/html' href='http://gubendran.blogspot.com/2015/02/fomat-your-blog.html' title='Fomat your blog'/><author><name>DeveloperBlog</name><uri>http://www.blogger.com/profile/06754294063691777971</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>