<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Steps Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/steps/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/steps/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:50:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Steps for a complete clean build</title>
		<link>https://www.scmgalaxy.com/tutorials/steps-for-a-complete-clean-build/</link>
					<comments>https://www.scmgalaxy.com/tutorials/steps-for-a-complete-clean-build/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 08 Jan 2018 07:36:29 +0000</pubDate>
				<category><![CDATA[Build Management]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Clean build]]></category>
		<category><![CDATA[Clean build process]]></category>
		<category><![CDATA[Complete clean build Steps]]></category>
		<category><![CDATA[Steps]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4491</guid>

					<description><![CDATA[<p>Following are the steps for a complete clean build: 1. Build project (compilation)—In the build phase, the build system compiles [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/steps-for-a-complete-clean-build/">Steps for a complete clean build</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Following are the steps for a complete clean build:</strong></p>
<p><a id="app01pro01" name="app01pro01"></a></p>
<table border="0">
<tbody>
<tr>
<td valign="top">
<div><strong>1.</strong></div>
</td>
<td>
<div>Build project (compilation)—In the build phase, the build system compiles operating system (OS) component source files and produces libraries. The basic unit of componentization in Windows CE is the library—components are not conditionally compiled. Because of this, components can be mixed and matched without worrying about changes in their behavior.</p>
</div>
</td>
</tr>
<tr>
<td valign="top">
<div><strong>2.</strong></div>
</td>
<td>
<div>Link project—During the link phase, the build system attempts to build all target modules. Modules are drivers and executables produced from Windows CE components. In CE 4.0 and later, you can select modules via sysgen environment variables. For example, the &#8220;common&#8221; project&#8217;s modules are listed in CE_MODULES, the DirectX project&#8217;s modules are listed in DIRECTX_MODULES, Internet Explorer&#8217;s modules are listed in IE_MODULES, and so on.</p>
<p>Microsoft introduced the separation of the build phase and the link phase in Windows CE .NET. Because the operating system was getting more and more complex, linking drivers and other components during the build phase could possibly cause hard-to-diagnose crashes at runtime because coredll entry points that were present during the build phase (which occurs prior to componentization) might not be present in an OEM&#8217;s final platform.</p>
</div>
</td>
</tr>
<tr>
<td valign="top">
<div><strong>3.</strong></div>
</td>
<td>
<div>Copy/filter project (headers and libraries)—The Copy/Filter phase of system generation is responsible for moving parts of the operating system to the target project&#8217;s cesysgen directory. Note: only the components of the OS that the OEM has selected are moved. In addition, header files and various configuration files such as common.bib and common.reg are &#8220;filtered&#8221; to remove the parts that are unrelated to the OEM&#8217;s selected components. The copy/filter is performed at the same time as linking.</p>
</div>
</td>
</tr>
<tr>
<td valign="top">
<div><strong>4.</strong></div>
</td>
<td>
<div><a id="iddle1277" name="iddle1277"></a><a id="iddle1817" name="iddle1817"></a>Post-process project (miscellaneous post-sysgen cleanup)—The &#8220;postproc&#8221; sysgen target provides the build system with a mechanism to do some work after most of the system has been generated. Although the post-process phase is important for the small number of OEMs who use it, most developers don&#8217;t do much with it.</p>
</div>
</td>
</tr>
<tr>
<td valign="top">
<div><strong>5.</strong></div>
</td>
<td>
<div>Platform sysgen—If an OEM wants to write his platform in such a way that it can be used with any selection of OS components, he immediately runs into a problem. Some of the drivers, Control Panel applets, or applications in the platform directory might depend on unselected components. When these source files are built, there are compilation or linker errors because header files or coredll entry points are missing.</p>
<p>The platform sysgen step helps address this problem by checking for a platform sysgen makefile.</p>
</div>
</td>
</tr>
<tr>
<td valign="top">
<div><strong>6.</strong></div>
</td>
<td>
<div>Build platform—This phase consists of running a clean build on all projects and building only the projects that sysgen settings specify.</p>
</div>
</td>
</tr>
<tr>
<td valign="top">
<div><strong>7.</strong></div>
</td>
<td>
<div>Create release directory—After all the OS components and the platform have been compiled and linked, you need to assemble all the appropriate binaries and configuration files into one place so that you can combine them into a downloadable image. You can use a batch file to perform this step.</p>
</div>
</td>
</tr>
<tr>
<td valign="top">
<div><strong>8.</strong></div>
</td>
<td>
<div>Create downloadable image—After you populate the release directory with the appropriate binaries, the next step is to create a binary file that is suitable for flashing or downloading to your device&#8217;s RAM. Use the makeimg command for this step.</div>
</td>
</tr>
</tbody>
</table>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/steps-for-a-complete-clean-build/">Steps for a complete clean build</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/steps-for-a-complete-clean-build/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Steps to Start-Stop Nagios XI Server &#124; Nagios XI Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/steps-to-start-stop-nagios-xi-server/</link>
					<comments>https://www.scmgalaxy.com/tutorials/steps-to-start-stop-nagios-xi-server/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 20 Apr 2017 08:27:05 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to start Naxios XI Server]]></category>
		<category><![CDATA[How to stop Naxios XI Server]]></category>
		<category><![CDATA[Nagios XI Guide]]></category>
		<category><![CDATA[Nagios XI Tutorials]]></category>
		<category><![CDATA[Naxios XI]]></category>
		<category><![CDATA[Naxios XI Server]]></category>
		<category><![CDATA[Network monitoring]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Start]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Steps to Start Nagios XI]]></category>
		<category><![CDATA[Steps to Stop Nagios XI Server]]></category>
		<category><![CDATA[Stop]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/04/20/steps-to-start-stop-nagios-xi-server/</guid>

					<description><![CDATA[<p>How to start and stop Naxios XI Server? How to stop Naxios XI Server? service nagiosxi stop service npcd stop [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/steps-to-start-stop-nagios-xi-server/">Steps to Start-Stop Nagios XI Server | Nagios XI Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h4><img fetchpriority="high" decoding="async" class="wp-image-2921 size-full aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/steps-to-start-stop-nagios-.png" alt="Steps to Start-Stop Nagios XI Server" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/steps-to-start-stop-nagios-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/steps-to-start-stop-nagios--300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h4>
<h4>How to start and stop Naxios XI Server?</h4>
<h4></h4>
<h4>How to stop Naxios XI Server?</h4>
<h4>service nagiosxi stop</h4>
<h4>service npcd stop</h4>
<h4>service ndo2db stop</h4>
<h4>service nagios stop</h4>
<h4>service postgresql stop</h4>
<h4>service mysqld stop</h4>
<h4>service httpd stop</h4>
<h4></h4>
<h4>How to start Naxios XI Server?</h4>
<h4>service httpd start</h4>
<h4>service mysqld start</h4>
<h4>service postgresql start</h4>
<h4>service nagios start</h4>
<h4>service ndo2db start</h4>
<h4>service npcd start</h4>
<h4>service nagiosxi start</h4>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/steps-to-start-stop-nagios-xi-server/">Steps to Start-Stop Nagios XI Server | Nagios XI Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/steps-to-start-stop-nagios-xi-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Vagrant installation in Centos, Ubuntu and Windows &#124; Vagrant Tutorials</title>
		<link>https://www.scmgalaxy.com/tutorials/vagrant-installation-in-centos-ubuntu-and-windows/</link>
					<comments>https://www.scmgalaxy.com/tutorials/vagrant-installation-in-centos-ubuntu-and-windows/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 11 Aug 2016 05:57:42 +0000</pubDate>
				<category><![CDATA[Configuration Management Tools]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to Install Vagrant]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vagrant]]></category>
		<category><![CDATA[Vagrant Installation]]></category>
		<category><![CDATA[Vagrant Installation Guide]]></category>
		<category><![CDATA[Vagrant installation in Centos]]></category>
		<category><![CDATA[Vagrant installation in ubuntu]]></category>
		<category><![CDATA[Vagrant installation in Windows]]></category>
		<category><![CDATA[Vagrant Installation Tutorials]]></category>
		<category><![CDATA[Vagrant Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/08/11/vagrant-installation-in-centos-ubuntu-and-windows/</guid>

					<description><![CDATA[<p>Vagrant installation in ubuntu 1. Update your apt repository &#62; sudo apt-get update 2. Install VirtualBox. &#62; sudo apt-get install [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/vagrant-installation-in-centos-ubuntu-and-windows/">Vagrant installation in Centos, Ubuntu and Windows | Vagrant Tutorials</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img decoding="async" class="aligncenter wp-image-3054 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/08/vagrant-installation-in-cen.png" alt="vagrant-installation-in-centos-ubuntu-and-windows" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/08/vagrant-installation-in-cen.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/08/vagrant-installation-in-cen-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div></div>
<div><strong>Vagrant installation in ubuntu</strong></div>
<div></div>
<div>1. Update your apt repository</div>
<div>&gt; sudo apt-get update</div>
<div>2. Install VirtualBox.</div>
<div>&gt; sudo apt-get install virtualbox</div>
<div>3. Install Vagrant.</div>
<div>&gt; sudo apt-get install vagrant</div>
<div></div>
<div><strong>Vagrant installation in Centos</strong></div>
<div></div>
<div>1. Update your system</div>
<div>&gt; yum -y update</div>
<div>&gt; cd etc/yum.repos.d/</div>
<div>&gt; wget <a href="http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo" target="_blank" rel="noopener">http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo</a></div>
<div>&gt; yum update -y</div>
<div>&gt; yum install binutils qt gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel</div>
<div>&gt; dkms</div>
<div>&gt; yum install virtualbox-5.0</div>
<div></div>
<div>2. Install Vagrant</div>
<div>&gt; wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.rpm</div>
<div>&gt; yum localinstall vagrant_1.8.1_x86_64.rpm</div>
<div></div>
<div><strong>Vagrant installation in Windows</strong></div>
<div>In this tutorial, we will be installing Vagrant, a bare bones server with Ubuntu installed. Vagrant is a server that runs under VirtualBox. You will need to have VirtualBox installed. You will also need to have Putty installed in order to access your new Vagrant server via SSH. These instructions also apply to Windows 8.</div>
<div></div>
<div>Requirements:</div>
<div>A hard connection to the Internet</div>
<div>Putty needs to be installed. (putty-0.62-installer.exe)</div>
<div>VirtualBox needs to be installed.</div>
<div>Recommended: 8 GB RAM is recommended to run VirtualBox on Windows PCs</div>
<div></div>
<div>A. Installing Vagrant – bare bones server – Ubuntu only</div>
<div>1. Download and install the most recent VirtualBox for Windows from <a href="https://www.virtualbox.org/wiki/Downloads" target="_blank" rel="noopener">https://www.virtualbox.org/wiki/Downloads</a></div>
<div></div>
<div>Start up VirtualBox</div>
<div></div>
<div>2. Download and install the latest version of Vagrant from <a href="http://downloads.vagrantup.com" target="_blank" rel="noopener">http://downloads.vagrantup.com</a>. For this tutorial, we will use version 1.0.6. Windows users, download Vagrant.msi</div>
<div></div>
<div>Open Windows cmd prompt</div>
<div>For Windows 8, press Windows key and then press “R” key. This will open the RUN dialog box for you. Type “cmd” and press Enter.</div>
<div>Note: I typed vagrant command and I got the error message saying, ‘vagrant’ command not recognized. It was not added to the Path during install. Restarting your computer may help to refresh the path.</div>
<div></div>
<div>3. Change directory to C:\vagrant\vagrant\bin</div>
<div></div>
<div>4. Then type the following commands:</div>
<div></div>
<div>C:\vagrant\vagrant\bin&gt; vagrant box add lucid32 http://files.vagrantup.com/lucid32.box</div>
<div>C:\vagrant\vagrant\bin&gt; vagrant init lucid32</div>
<div>C:\vagrant\vagrant\bin&gt; vagrant up</div>
<div></div>
<div>5. Open Putty and enter these credentials:</div>
<div>Hostname: 127.0.0.1</div>
<div>Port: 2222</div>
<div>Connection type: SSH</div>
<div></div>
<div>6. Login to Vagrant server</div>
<div>Enter username: vagrant</div>
<div>Password: vagrant</div>
<div></div>
<div>Type ls –lah at the prompt.</div>
<div>This is a bare bones server with Ubuntu installed.</div>
<div></div>
<div>vagrant@lucid32:~$ls -lah</div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/vagrant-installation-in-centos-ubuntu-and-windows/">Vagrant installation in Centos, Ubuntu and Windows | Vagrant Tutorials</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/vagrant-installation-in-centos-ubuntu-and-windows/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Java Installation Process in Linux &#8211; Complete guide</title>
		<link>https://www.scmgalaxy.com/tutorials/complete-guide-of-java-installation-in-linux/</link>
					<comments>https://www.scmgalaxy.com/tutorials/complete-guide-of-java-installation-in-linux/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 27 Jul 2016 16:53:13 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How to Install Java in Linux]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Java Installation Guide]]></category>
		<category><![CDATA[Java Installation in Linux]]></category>
		<category><![CDATA[Java Installation in Linux Tutorial]]></category>
		<category><![CDATA[Java Installation Process in Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Way]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/07/27/complete-guide-of-java-installation-in-linux/</guid>

					<description><![CDATA[<p>Download, Install and Configure JDK 8 &#38; JRE 8 Platfrom &#8211; Debian &#38; Ubuntu Platfrom &#8211; Fedora, Oracle Linux, Red [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/complete-guide-of-java-installation-in-linux/">Java Installation Process in Linux &#8211; Complete guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img decoding="async" class="aligncenter wp-image-3041 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/java-installation-in-linux.png" alt="java-installation-in-linux" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/java-installation-in-linux.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/java-installation-in-linux-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h3>
<div>
<h3>Download, Install and Configure JDK 8 &amp; JRE 8</h3>
<p><strong>Platfrom &#8211; Debian &amp; Ubuntu</strong></p>
<pre class="brush: plain; title: ; notranslate">
#JRE8 - Package contains just the Java Runtime Environment 8
$ sudo apt-get install openjdk-8-jre

#JKD8 - Package contains just the Java Developement Environment 8
$ sudo apt-get install openjdk-8-jdk
</pre>
<p><strong>Platfrom &#8211; Fedora, Oracle Linux, Red Hat Enterprise Linux, etc</strong></p>
<pre class="brush: plain; title: ; notranslate">
#JRE8 - Package contains just the Java Runtime Environment 8
$ su -c “yum install java-1.8.0-openjdk”

#JKD8 - Package contains just the Java Developement Environment 8
$ su -c &quot;yum install java-1.8.0-openjdk-devel&quot;

$ wget --no-cookies --no-check-certificate --header &quot;Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie&quot; &quot;http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.rpm&quot;

$ wget -c --header &quot;Cookie: oraclelicense=accept-securebackup-cookie&quot; http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm

curl -v -j -k -L -H &quot;Cookie: oraclelicense=accept-securebackup-cookie&quot; http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm &amp;amp;gt; jdk-8u112-linux-x64.rpm
</pre>
<p><strong>Platfrom &#8211; All platforms of Linux, Windows and Mac in Tar ball format</strong></p>
<pre class="brush: plain; title: ; notranslate">
$ wget --no-check-certificate -c --header &quot;Cookie: oraclelicense=accept-securebackup-cookie&quot; http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz

$ wget --no-cookies --no-check-certificate --header &quot;Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie&quot; &quot;http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz&quot;

$ wget -c --header &quot;Cookie: oraclelicense=accept-securebackup-cookie&quot; http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
</pre>
<p><strong>How to set JAVA in Linux System?</strong></p>
<pre class="brush: plain; title: ; notranslate">
$ export JAVA_HOME=/opt/jdk1.8.0_144/
$ export PATH=/opt/jdk1.8.0_144/bin:$PATH;
</pre>
<h3><strong>Download, Install and Configure JDK 7 &amp; JRE 7</strong></h3>
<p><strong>Platfrom &#8211; Debian &amp; Ubuntu</strong></p>
<pre class="brush: plain; title: ; notranslate">
#JRE7 - Package contains just the Java Runtime Environment 7
$ sudo apt-get install openjdk-7-jre

#JKD7 - Package contains just the Java Developement Environment 7
$ sudo apt-get install openjdk-7-jdk
</pre>
<p><strong>Platfrom &#8211; Fedora, Oracle Linux, Red Hat Enterprise Linux, etc</strong></p>
<pre class="brush: plain; title: ; notranslate">
$ su -c “yum install java-1.7.0-openjdk”

$ su -c “yum install java-1.7.0-openjdk-devel”
</pre>
<p><strong>Platfrom &#8211; All platforms of Linux, Windows and Mac in Tar ball format</strong></p>
<pre class="brush: plain; title: ; notranslate">
wget –no-cookies –header “Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com” “http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.tar.gz”

wget –no-check-certificate –no-cookies –header “Cookie: oraclelicense=accept-securebackup-cookie” http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz

curl -v -j -k -L -H “Cookie: oraclelicense=accept-securebackup-cookie” http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.rpm &amp;amp;gt; jdk-7u79-linux-x64.rpm
</pre>
<p><strong>JDK 6</strong><br />
Debian, Ubuntu, etc.<br />
On the command line, type:<br />
$ sudo apt-get install openjdk-6-jre<br />
The openjdk-6-jre package contains just the Java Runtime Environment.<br />
$ sudo apt-get install openjdk-6-jdk<br />
If you want to develop Java programs then install the openjdk-6-jdk package.<br />
Fedora, Oracle Linux, Red Hat Enterprise Linux, etc.<br />
On the command line, type:<br />
$ su -c “yum install java-1.6.0-openjdk”<br />
The java-1.6.0-openjdk package contains just the Java Runtime Environment.<br />
$ su -c “yum install java-1.6.0-openjdk-devel”<br />
If you want to develop Java programs then install the java-1.6.0-openjdk-devel package.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/complete-guide-of-java-installation-in-linux/">Java Installation Process in Linux &#8211; Complete guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/complete-guide-of-java-installation-in-linux/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Jenkins using Docker &#124; Step by step guide &#124; scmGalaxy</title>
		<link>https://www.scmgalaxy.com/tutorials/install-jenkins-using-docker/</link>
					<comments>https://www.scmgalaxy.com/tutorials/install-jenkins-using-docker/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 10 Mar 2016 11:17:46 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to Install Jenkins using Docker]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Install Jenkins using Docker]]></category>
		<category><![CDATA[Jenkins Installation Guide]]></category>
		<category><![CDATA[Jenkins installation process]]></category>
		<category><![CDATA[Jenkins installation tutorial]]></category>
		<category><![CDATA[Jenkins Installation using Docker]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/03/10/install-jenkins-using-docker/</guid>

					<description><![CDATA[<p>Step 1: Installing Docker $ apt-get install docker (Ubuntu) $ yum install docker  (RHEL/CENTOS) For more info, please following this [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/install-jenkins-using-docker/">How to Install Jenkins using Docker | Step by step guide | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3058 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/03/install-jenkins-using-docke.png" alt="" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/03/install-jenkins-using-docke.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/03/install-jenkins-using-docke-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div><strong>Step 1: Installing Docker</strong></div>
<div>
<pre class="brush: plain; title: ; notranslate">
$ apt-get install docker (Ubuntu)
$ yum install docker  (RHEL/CENTOS)
</pre>
</div>
<div>For more info, please following this <a href="http://www.scmgalaxy.com/scm/software-containers/how-to-install-docker-in-linux.html" target="_blank" rel="noopener">http://www.scmgalaxy.com/scm/software-containers/how-to-install-docker-in-linux.html</a></div>
<div></div>
<div><strong>Step 2:  First, pull the official jenkins image from Docker repository.</strong></div>
<div>
<pre class="brush: plain; title: ; notranslate">$ docker pull jenkins </pre>
</div>
<div></div>
<div>
<p><strong>Step 3: Next, run a container using this image and map data directory from the container to the host; e.g in the example below /var/jenkins_home from the container is mapped to jenkins/ directory from the current path on the host. Jenkins 8080 port is also exposed to the host as 49001.</strong></p>
<p><strong>Mapping port 8080 on the host to the container (the web ui), port 50000 to port 50000 (for build agents). Run with `-p 50000:50000` so you can connect JNLP slaves. For port 50000. This is to handle connections from JNLP based build slaves. This will store the workspace in /var/jenkins_home. All Jenkins data lives in there including plugins and configuration.</strong></p>
</div>
<div>
<div>
<pre class="brush: plain; title: ; notranslate">$ docker run -d -p 8080:8080 -p 50000:50000 jenkins </pre>
</div>
<div></div>
<div><strong>This will store the jenkins data in /your/home on the host. Ensure that /your/home is accessible by the jenkins user in container (jenkins user &#8211; uid 1000) or use -u some_other_user parameter with docker run.</strong></div>
<div>
<pre class="brush: plain; title: ; notranslate">$ docker run -d -p 8080:8080 -p 50000:50000 -u root -v $PWD/jenkins:/var/jenkins_home jenkins </pre>
</div>
<div></div>
<div> <strong>Other Example:</strong></div>
<div>
<pre class="brush: plain; title: ; notranslate">docker run -d -p 49001:8080 -v $PWD/jenkins:/var/jenkins_home -t jenkins -u root </pre>
</div>
<div></div>
<div><strong>This will store the jenkins data in /your/home on the host. Ensure that /your/home is accessible by the jenkins user in container (jenkins user &#8211; uid 1000) or use -u some_other_user parameter with docker run. </strong><strong>This information is also found in the Dockerfile. So all you need to do is to ensure that the directory $PWD/jenkins is own by UID 1000:</strong></div>
<div>
<pre class="brush: plain; title: ; notranslate">
$ mkdir jenkins
$ chown 1000 jenkins
$ docker run -d -p 49001:8080 -v $PWD/jenkins:/var/jenkins_home -t jenkins
</pre>
<div><strong>How to see the Jenkins log?</strong></div>
<div>
<pre class="brush: plain; title: ; notranslate">$ docker exec name tail -f /var/log/jenkins/jenkins.log
Where name = --name </pre>
</div>
</div>
<div><strong>Step 3:  Access to j=Jenkins</strong></div>
<div>As we have successfully run Jenkins Container, we can browse Jenkins Web Interface using our Web Browser by pointint to http://ip-address:49001 or http://localhost:49001 according to the configuration.</div>
</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/install-jenkins-using-docker/">How to Install Jenkins using Docker | Step by step guide | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/install-jenkins-using-docker/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Simple Docker workflow &#8211; Quick start &#124; Docker Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/simple-docker-workflow-quick-start/</link>
					<comments>https://www.scmgalaxy.com/tutorials/simple-docker-workflow-quick-start/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 23 Feb 2016 15:17:33 +0000</pubDate>
				<category><![CDATA[CONTAINERS]]></category>
		<category><![CDATA[Container]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Docker Guide]]></category>
		<category><![CDATA[Docker Tutorial]]></category>
		<category><![CDATA[Docker workflow]]></category>
		<category><![CDATA[Quickstart]]></category>
		<category><![CDATA[Simple]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[workflow]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/02/23/simple-docker-workflow-quick-start/</guid>

					<description><![CDATA[<p>Simple Docker workflow &#8211; Quick start In this tutorials, I am trying to cover the simple quickstart Docker workflow and [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/simple-docker-workflow-quick-start/">Simple Docker workflow &#8211; Quick start | Docker Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="wp-image-3188 size-full aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/simple-docker-workflow.png" alt="docker-workflow" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/simple-docker-workflow.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/simple-docker-workflow-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div><strong>Simple Docker workflow &#8211; Quick start</strong></div>
<div></div>
<div>In this tutorials, I am trying to cover the simple quickstart Docker workflow and for the example, I am creating Ubantu containee and using it to showcase this tutorial.</div>
<div></div>
<div><strong>Step 1 &#8211; Download the Ubantu image container from the Docker Hub</strong></div>
<div># docker pull -a ubuntu</div>
<div></div>
<div><strong>Step 2 &#8211; Run the ubuntu container and access to ther /bin/bash commands prompt</strong></div>
<div># docker run -it ubuntu /bin/bash</div>
<div></div>
<div><strong>Step 3 &#8211; Stop the container </strong></div>
<div># docker stop container_id</div>
<div></div>
<div><strong>How to get the container id?</strong></div>
<div># docker ps -a</div>
<div></div>
<div><strong>Step 4: Start the container again?</strong></div>
<div># docker start container_id</div>
<div></div>
<div><strong>Step 5: Exit the running container without stopping the container</strong></div>
<div># exit</div>
<div></div>
<div><strong>Step 6: Login the running container for bash prompt</strong></div>
<div># sudo docker exec -i -t 2e56ad1705b1 /bin/bas</div>
<div></div>
<div><strong>For more &#8211; Refer </strong></div>
<div><a href="http://www.scmgalaxy.com/scm/package-management/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode.html" target="_blank" rel="noopener">http://www.scmgalaxy.com/scm/package-management/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode.html</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/simple-docker-workflow-quick-start/">Simple Docker workflow &#8211; Quick start | Docker Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/simple-docker-workflow-quick-start/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Docker in Linux?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-install-docker-in-linux/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-install-docker-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 23 Feb 2016 15:02:05 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Docker in Linux]]></category>
		<category><![CDATA[Docker installation process in linux]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Install Docker in Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/02/23/how-to-install-docker-in-linux/</guid>

					<description><![CDATA[<p>How to Install Docker in Linux? Note &#8211; You should install Docker using root or with sudo access. Install Docker [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-install-docker-in-linux/">How to Install Docker in Linux?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="wp-image-3190 size-full aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/how-to-install-docker-in-li.png" alt="install-docker-in-linux" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/how-to-install-docker-in-li.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/how-to-install-docker-in-li-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div><strong>How to Install Docker in Linux?</strong></div>
<div></div>
<div>Note &#8211; You should install Docker using root or with sudo access.</div>
<div></div>
<div><strong>Install Docker on Ubantu </strong></div>
<div># apt-get update</div>
<div># apt-get install -y docker.io</div>
<div># service docker.io start</div>
<div></div>
<div><strong>Install Docker on Redhar / Centos</strong></div>
<div># yum update</div>
<div># yum install -y docker.io</div>
<div># systemctl start docker.service</div>
<div></div>
<div><strong>How to verify the version of docker?</strong></div>
<div># docker -v</div>
<div># docker version</div>
<div></div>
<div><strong>How to know docker running?</strong></div>
<div># service docker.io status (Ubantu)</div>
<div># systemctl status docker.service (Redhat)</div>
<div></div>
<div><strong>How to check details of Docker clients, deamon, containers, images, drivers, etc</strong></div>
<div># docker info</div>
<div></div>
<div><strong>How to update Docker version?</strong></div>
<div>==============================================</div>
<div># wget -q0- https://get.docker.com/gpg | apt-key add &#8211;</div>
<div># echo deb http://get.docker.com/ubantu docker main &gt; /etc/apt/sources.list.d/docker.list</div>
<div># apt-get update</div>
<div># apt-get install lxc-docker</div>
<div># docker version</div>
<div></div>
<div><strong>Configuration post docker installation:</strong></div>
<div>Adding Users to the Docker Group for non-root user</div>
<div>==============================================</div>
<div># docker run -it ubuntu /bin/bash (as a non-root)</div>
<div>[ permission denied]</div>
<div># cat /etc/group</div>
<div># sudo gpasswd -a username docker</div>
<div># cat /etc/group</div>
<div># docker run -it ubuntu /bin/bash (as a non-root)</div>
<div># logout</div>
<div># login username</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-install-docker-in-linux/">How to Install Docker in Linux?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-install-docker-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sonatype Nexus installation using Docker</title>
		<link>https://www.scmgalaxy.com/tutorials/sonatype-nexus-installation-using-docker/</link>
					<comments>https://www.scmgalaxy.com/tutorials/sonatype-nexus-installation-using-docker/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 23 Feb 2016 10:45:32 +0000</pubDate>
				<category><![CDATA[SonaType Nexus]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[nexus]]></category>
		<category><![CDATA[Nexus installation]]></category>
		<category><![CDATA[Nexus installation Tutorial]]></category>
		<category><![CDATA[Nexus installation using Docker Guide]]></category>
		<category><![CDATA[Nexus installation using Docker Tutorial]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Sonatype Nexus]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/02/23/sonatype-nexus-installation-using-docker/</guid>

					<description><![CDATA[<p>Sonatype Nexus Repository Manager 2 Install a Docker Engine Installation Instructions can be found here &#8211; http://www.devopsschool.com/tutorial/docker/docker-install-and-configuration.html Download a Sonatype [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonatype-nexus-installation-using-docker/">Sonatype Nexus installation using Docker</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img loading="lazy" decoding="async" class="aligncenter wp-image-3156 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/sonatype-nexus-installation.png" alt="sonatype-nexus-installation-using-docker" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/sonatype-nexus-installation.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/sonatype-nexus-installation-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h3>
<h3><strong>Sonatype Nexus Repository Manager 2</strong></h3>
<p><strong>Install a Docker Engine</strong><br />
Installation Instructions can be found here &#8211; http://www.devopsschool.com/tutorial/docker/docker-install-and-configuration.html</p>
<p><strong>Download a Sonatype Nexus Image</strong><br />
&gt; docker pull sonatype/nexus</p>
<p><strong>For Sonatype Nexus Repository Manager 2 OSS, To run (if port 8081 is open on your host): </strong><br />
&gt; docker run -d -p 8081:8081 &#8211;name nexus sonatype/nexus:oss</p>
<p><strong>For Sonatype Nexus Repository Manager 2 PRO, To run (if port 8081 is open on your host):</strong><br />
&gt; docker run -d -p 8081:8081 &#8211;name nexus sonatype/nexus:pro</p>
<p><strong>To determine the port that the container is listening on:</strong><br />
&gt; docker ps -l</p>
<p><strong>To Test</strong><br />
&gt; curl http://localhost:8081/nexus/service/local/status</p>
<p><strong>Browse Following URL</strong><br />
http://localhost:8081/nexus/</p>
<p><strong>It can take some time (2-3 minutes) for the service to launch in a new container. You can tail the log to determine once Nexus is ready:</strong><br />
&gt; docker logs -f nexus</p>
<p><strong>Note</strong><br />
Default credentials are: admin / admin123<br />
Installation of Nexus is to /opt/sonatype/nexus<br />
Notably: /opt/sonatype/nexus/conf/nexus.properties is the properties file.<br />
Parameters (nexus-work and nexus-webapp-context-path) defined<br />
here are overridden in the JVM invocation.</p>
<h3><strong>Sonatype Nexus Repository Manager 3</strong></h3>
<p><strong>Install a Docker Engine</strong><br />
Installation Instructions can be found here &#8211; http://www.devopsschool.com/tutorial/docker/docker-install-and-configuration.html</p>
<p><strong>Clone the Repostory from Gihub</strong><br />
&gt; git clone https://github.com/sonatype/docker-nexus3<br />
&gt; cd docker-nexus3</p>
<p><strong>Build a Image for Sonatype Nexus Repository Manager 3 OSS</strong><br />
&gt; docker build &#8211;rm &#8211;tag sonatype/nexus oss/</p>
<p><strong>Build a Image for Sonatype Nexus Repository Manager 3 PRO</strong><br />
&gt; docker build &#8211;rm &#8211;tag sonatype/nexus:pro pro/</p>
<p><strong>For Sonatype Nexus Repository Manager 2 OSS, To run (if port 8081 is open on your host):</strong><br />
&gt; docker run -d -p 8081:8081 &#8211;name nexus sonatype/nexus:oss</p>
<p><strong>For Sonatype Nexus Repository Manager 2 PRO, To run (if port 8081 is open on your host):</strong><br />
&gt; docker run -d -p 8081:8081 &#8211;name nexus sonatype/nexus:pro</p>
<p><strong>To determine the port that the container is listening on:</strong><br />
&gt; docker ps -l</p>
<p><strong>To Test</strong><br />
&gt; curl http://localhost:8081/nexus/service/local/status</p>
<p><strong>Browse Following URL</strong><br />
http://localhost:8081/nexus/</p>
<p><strong>It can take some time (2-3 minutes) for the service to launch in a new container. You can tail the log to determine once Nexus is ready:</strong><br />
&gt; docker logs -f nexus</p>
<p><strong>Note</strong><br />
Default credentials are: admin / admin123<br />
Installation of Nexus is to /opt/sonatype/nexus<br />
Notably: /opt/sonatype/nexus/conf/nexus.properties is the properties file.<br />
Parameters (nexus-work and nexus-webapp-context-path) defined<br />
here are overridden in the JVM invocation.</p>
<p><strong>Reference</strong><br />
<a href="https://hub.docker.com/r/sonatype/nexus/" target="_blank" rel="noopener">https://hub.docker.com/r/sonatype/nexus/</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonatype-nexus-installation-using-docker/">Sonatype Nexus installation using Docker</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/sonatype-nexus-installation-using-docker/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Publish a Nuget package in NuGet Gallery?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-publish-a-nuget-package-in-nuget-gallery/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-publish-a-nuget-package-in-nuget-gallery/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 21 Nov 2015 11:41:01 +0000</pubDate>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to Publish Nuget package]]></category>
		<category><![CDATA[Nuget]]></category>
		<category><![CDATA[NuGet Gallery]]></category>
		<category><![CDATA[Nuget package]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[package to NuGet Gallery]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Publish]]></category>
		<category><![CDATA[Publish command]]></category>
		<category><![CDATA[publish the package on the NuGet Gallery]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/11/21/how-to-publish-a-nuget-package-in-nuget-gallery/</guid>

					<description><![CDATA[<p>How to Publish a Nuget package in NuGet Gallery? Step 1 &#8211; Create an account at NuGet.org Head over to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-publish-a-nuget-package-in-nuget-gallery/">How to Publish a Nuget package in NuGet Gallery?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="aligncenter wp-image-3150 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/how-to-publish-a-nuget-pack.png" alt="publish-a-nuget-package-in-nuget-gallery" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/how-to-publish-a-nuget-pack.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/how-to-publish-a-nuget-pack-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>How to Publish a Nuget package in NuGet Gallery?</p>
<p><strong>Step 1 &#8211; Create an account at NuGet.org</strong></p>
<p>Head over to http://nuget.org/ and register for an account. Once you do that, click on &#8220;My Account&#8221; to see an API Key that was generated for you.</p>
<p><strong>Step 2 &#8211; In a command console, run the command:</strong></p>
<pre><code>$ nuget setApiKey Your-API-Key</code></pre>
<p>This will store your API key so that you never need to do this step again on this machine.</p>
<p>Push your package to NuGet Gallery using the command:</p>
<pre><code>$ nuget push YourPackage.nupkg</code></pre>
<p><strong> Reference</strong><br />
<a href="https://docs.nuget.org/consume/command-line-reference" target="_blank" rel="noopener">https://docs.nuget.org/consume/command-line-reference</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-publish-a-nuget-package-in-nuget-gallery/">How to Publish a Nuget package in NuGet Gallery?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-publish-a-nuget-package-in-nuget-gallery/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to create a package in Nuget? &#124; Nuget Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-create-a-package-in-nuget/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-create-a-package-in-nuget/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 21 Nov 2015 11:38:26 +0000</pubDate>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Create]]></category>
		<category><![CDATA[Create package in Nuget]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to create package in Nuget]]></category>
		<category><![CDATA[Nuget]]></category>
		<category><![CDATA[Nuget Guide]]></category>
		<category><![CDATA[Nuget Tutorial]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[Package in Nuget]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/11/21/how-to-create-a-package-in-nuget/</guid>

					<description><![CDATA[<p>Hosting your own Repository in Nuget How to create a package in Nuget? Mehtod 1 &#8211; From An Assembly If [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-a-package-in-nuget/">How to create a package in Nuget? | Nuget Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="aligncenter wp-image-3092 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/how-to-create-a-package-in-.png" alt="create-a-package-in-nuget" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/how-to-create-a-package-in-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/how-to-create-a-package-in--300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" />Hosting your own Repository in Nuget</p>
<p><strong>How to create a package in Nuget?</strong></p>
<p><strong>Mehtod 1 &#8211; From An Assembly</strong><br />
If you have an assembly, you can easily generate a nuspec file from metadata within the assembly and create a package.</p>
<pre><code>$ nuget spec MyAssembly.dll</code></pre>
<p>This creates a Nuspec file. Edit the NuSpec file as needed and then</p>
<pre><code>$ nuget pack MyAssembly.nuspec</code></pre>
<p><strong>Mehtod 2 &#8211; Commands Lines using convention based working directory</strong><br />
Some packages contain more than just assemblies. They may contain</p>
<p>Content and source code that should be injected into the target project.<br />
PowerShell scripts and executables.<br />
Configuration file and source code transformations.</p>
<p>To create a package in this way, you can layout a directory structure that follows the NuGet conventions.</p>
<p>tools &#8211; The tools folder of a package is for powershell scripts and programs accessible from the Package Manager Console. After the folder is copied to the target project, it is added to the `$env:Path (PATH) environment variable.<br />
lib &#8211; Assemblies (.dll files) in the lib folder are added as assembly references when the package is installed.<br />
content &#8211; Files in the content folder are copied to the root of your application when the package is installed.Think of the Content folder as the root of your target application. For example, if I want a package to add an image in the /images directory of the target application, make sure to place the image in the Content/images folder of the package.<br />
build &#8211; The build folder of a package is for MSBuild targets files that are automatically inserted into the .csproj file of the application.</p>
<p>Step 1- Create the manifest</p>
<p>$ nuget spec</p>
<p>This will create an XML file with the .nuspec extension.</p>
<pre><code>&lt;?xml version="1.0"?&gt;
   &lt;package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"&gt;
   &lt;metadata&gt;
   &lt;id&gt;MyPackageId&lt;/id&gt;
   &lt;version&gt;1.0&lt;/version&gt;
   &lt;authors&gt;philha&lt;/authors&gt;
   &lt;owners&gt;philha&lt;/owners&gt;
   &lt;licenseUrl&gt;http://LICENSE_URL_HERE_OR_DELETE_THIS_LINE&lt;/licenseUrl&gt;
   &lt;projectUrl&gt;http://PROJECT_URL_HERE_OR_DELETE_THIS_LINE&lt;/projectUrl&gt;
   &lt;iconUrl&gt;http://ICON_URL_HERE_OR_DELETE_THIS_LINE&lt;/iconUrl&gt;
   &lt;requireLicenseAcceptance&gt;false&lt;/requireLicenseAcceptance&gt;
   &lt;description&gt;Package description&lt;/description&gt;
   &lt;tags&gt;Tag1 Tag2&lt;/tags&gt;
   &lt;dependencies&gt;
   &lt;dependency id="SampleDependency" version="1.0" /&gt;
   &lt;/dependencies&gt;
   &lt;/metadata&gt;
 &lt;/package&gt;</code></pre>
<p>Edit this file to fill in the values appropriate for your package. Then create the folders needed by your package and copy the correct content in each folder.</p>
<pre><code>$ mkdir lib
   $ mkdir tools
   $ mkdir content
   $ mkdir content\controllers
   $ copy ..\src\SomeController.cs content
   $ copy ..\src\MyLibrary lib
 $ copy ..\src\SomePowershellScript.ps1 tool</code></pre>
<p>With the working directory in place with content, run the following command:<br />
nuget pack YourPackage.nuspec</p>
<p><strong>Mehtod 3 &#8211; Using Visual Studio Projects</strong><br />
For simple packages, creating a package from a csproj or vbproj file is a convenient way to create packages. For example, other packages that have been installed into your project will be referenced as dependencies when you create a package this way.</p>
<p>In the folder where the csproj file is, run:</p>
<p>$ nuget spec</p>
<p>This creates a special nuspec file with tokens meant to be replaced at pack time based on the project metadata. For example, $version$ gets replaced by the version specified in the AssemblyVersionAttribute (or AssemblyInformationalVersionAttribute if present) applied to your assembly (typically within the AssemblyInfo.cs file).</p>
<p>These tokens will only be replaced when you execute the pack command with the project file, and not with the nuspec file. The contents of the nuspec file will be located and honored, with the appropriate token replacements executed.</p>
<p>The following is a list of the supported replacement tokens.</p>
<p>Token Source<br />
$id$ The Assembly name<br />
$version$ The assembly version as specified in the assembly’s<br />
AssemblyVersionAttribute (or AssemblyInformationalVersionAttribute if present).<br />
$author$ The company as specified in the AssemblyCompanyAttribute.<br />
$description$ The description as specified in the AssemblyDescriptionAttribute.</p>
<p>You can then edit this nuspec file if you need to customize it. e.g. if you don&#8217;t want token replacement for some fields, you hard code them in the nuspec instead.</p>
<p>Also, if you want to pull additional files into the package, you can use a node in the nuspec. e.g. suppose you want to add all the files from some arbitrary other folder into the package, you&#8217;d have:</p>
<pre><code>&lt;files&gt;
   &lt;file src="..\..\SomeRoot\**\*.*" target="" /&gt; 
 &lt;/files&gt;</code></pre>
<p>You need to run &#8216;nuget pack&#8217; on the project file, not the nuspec itself. But the nuspec will in fact get picked up. Once your nuspec is ready, you can run:</p>
<p>$ nuget pack MyProject.csproj</p>
<p>If the project references other projects, you can add the referenced projects as part of the package, or as dependencies with -IncludeReferencedProjects option. This is done recursively. For example, suppose you have project A.csproj, which references B.csproj and C.csproj, while B.csproj references D.csproj &amp; E.csproj, C.csproj references F.csproj &amp; G.csproj. Then, when you run</p>
<p>nuget pack A.csproj -IncludeReferencedProjects</p>
<p>the generated package will contain files from projects B, C, D, E, F &amp; G, in addition to files from project A.</p>
<p>If a referenced project has a corresponding nuspec file with the same name, then that referenced project is added as a dependency instead. Using the same example, suppose now there is file C.nuspec in the same directory as project file C.csproj. When you run</p>
<p>$ nuget pack A.csproj -IncludeReferencedProjects</p>
<p>the generated package will contain files from projects B, D, E, in addition to files from project A, and the package has dependency on C.</p>
<p>By default, NuGet will use the default build configuration set in the project file (typically Debug). To pack files from a different build configuration (e.g., Release), you can run:</p>
<p>$ nuget pack MyProject.csproj -Prop Configuration=Release</p>
<p><strong>Reference</strong><br />
https://docs.nuget.org/create/creating-and-publishing-a-package<br />
https://docs.nuget.org/consume/command-line-reference</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-a-package-in-nuget/">How to create a package in Nuget? | Nuget Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-create-a-package-in-nuget/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Setup AWS Credentials using AWS Command Line Interface?</title>
		<link>https://www.scmgalaxy.com/tutorials/setup-aws-credentials-using-aws-command-line-interface/</link>
					<comments>https://www.scmgalaxy.com/tutorials/setup-aws-credentials-using-aws-command-line-interface/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 27 Oct 2015 01:50:00 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Amazon AWS]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[AWS CLI]]></category>
		<category><![CDATA[AWS credentials]]></category>
		<category><![CDATA[AWS Guide]]></category>
		<category><![CDATA[AWS Tutorials]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Command Line Interface]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Setup AWS credentials]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/10/27/setup-aws-credentails-using-aws-command-line-interface/</guid>

					<description><![CDATA[<p>Setup AWS Credentails using AWS Command Line Interface Install the AWS CLI Using Pip Please click here complete installation guide. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/setup-aws-credentials-using-aws-command-line-interface/">How to Setup AWS Credentials using AWS Command Line Interface?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="aligncenter wp-image-3103 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/setup-aws-credentails-using.png" alt="setup-aws-credentials-using-aws-command" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/setup-aws-credentails-using.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/setup-aws-credentails-using-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Setup AWS Credentails using AWS Command Line Interface</strong></p>
<p><strong>Install the AWS CLI Using Pip</strong><br />
Please<strong> <a href="http://www.devopsschool.com/tutorial/aws/how-to-do/install-and-configure-aws-cli.html">click here</a> </strong>complete installation guide.</p>
<p><strong>Test the AWS CLI Installation</strong></p>
<pre class="brush: plain; title: ; notranslate"> $ aws help</pre>
<p><strong>Environment Variables &#8211; </strong></p>
<ul>
<li>AWS_ACCESS_KEY_ID</li>
<li>AWS_SECRET_ACCESS_KEY</li>
</ul>
<p><strong>Step 5: Get a key aws_access_key_id, aws_secret_access_key, region from AWS website, under your </strong></p>
<pre class="brush: plain; title: ; notranslate">$ aws configure</pre>
<p><strong>Step 6: Setup AWS with key</strong></p>
<pre class="brush: plain; title: ; notranslate">$  aws configure
AWS Access Key ID &#x5B;None]: AKIAJB6WCXXXXRKRT5SQ
AWS Secret Access Key &#x5B;None]: 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
Default region name &#x5B;None]: us-east-1
Default output format &#x5B;None]:
$  aws s3 list</pre>
<p><strong>Step 7: Verify details in ~/.aws/credentials and ~/.aws/config</strong></p>
<pre class="brush: plain; title: ; notranslate">$ more ~/.aws/credentials
&#x5B;default]
aws_access_key_id = AKIAJB6WCXXXXRKRT5SQ
aws_secret_access_key = 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

$  more ~/.aws/config
&#x5B;default]
region = us-east-1</pre>
<p><strong>Step 8: Verify AWS CLI setup</strong></p>
<pre class="brush: plain; title: ; notranslate">$ aws ec2 describe-instances --output table --region us-west-2</pre>
<p><strong>The AWS credentials file &#8211;</strong></p>
<p>Located at ~/.aws/credentials on Linux, OS X, or Unix, or at C:\Users\USERNAME \.aws\credentials on Windows. This file can contain multiple named profiles in addition to a default profile.</p>
<p><strong>The CLI configuration file &#8211;</strong></p>
<p>Typically located at ~/.aws/config on Linux, OS X, or Unix, or at C:\Users\USERNAME \.aws\config on Windows. This file can contain a default profile, named profiles, and CLI specific configuration parameters for each.</p>
<p><strong>Reference</strong><br />
<a href="http://docs.aws.amazon.com/cli/latest/userguide/installing.html" target="_blank" rel="noopener">http://docs.aws.amazon.com/cli/latest/userguide/installing.html</a><br />
<a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html" target="_blank" rel="noopener">http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html</a><br />
<a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html" target="_blank" rel="noopener">http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/setup-aws-credentials-using-aws-command-line-interface/">How to Setup AWS Credentials using AWS Command Line Interface?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/setup-aws-credentials-using-aws-command-line-interface/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Provision a AWS ec2 vm using chef &#124; Step by Step Guide &#124; AWS ec2 vm Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/provision-a-aws-ec2-vm-using-chef/</link>
					<comments>https://www.scmgalaxy.com/tutorials/provision-a-aws-ec2-vm-using-chef/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 27 Oct 2015 01:33:54 +0000</pubDate>
				<category><![CDATA[Amazon (Elastic Cloud)]]></category>
		<category><![CDATA[Chef]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[AWS ec2]]></category>
		<category><![CDATA[AWS ec2 vm]]></category>
		<category><![CDATA[AWS ec2 vm Guide]]></category>
		<category><![CDATA[AWS ec2 vm Tutorial]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to Provision a AWS ec2 vm]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[provision]]></category>
		<category><![CDATA[Provision a AWS ec2 vm using chef]]></category>
		<category><![CDATA[Provision a AWS ec2 vm using chef Tutorials]]></category>
		<category><![CDATA[Provisioning AWS ec2 vm]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Virtual machine]]></category>
		<category><![CDATA[VM]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/10/27/provision-a-aws-ec2-vm-using-chef/</guid>

					<description><![CDATA[<p>Provision a AWS ec2 vm using chef Step 1: Install chefdk Step 2: Setup AWS Credentails Step X: Setup your [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/provision-a-aws-ec2-vm-using-chef/">Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="aligncenter wp-image-3108 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/provision-a-aws-ec2-vm-usin.png" alt="provision-a-aws-ec2-vm-using-chef" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/provision-a-aws-ec2-vm-usin.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/provision-a-aws-ec2-vm-usin-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Provision a AWS ec2 vm using chef</p>
<p><strong>Step 1: <a href="tutorials/how-to-install-chefdk-in-rhel-ubantu-mac-and-windows" target="_blank" rel="noopener">Install chefdk</a></strong></p>
<p><strong>Step 2: <a href="tutorials/setup-aws-credentails-using-aws-command-line-interface" target="_blank" rel="noopener">Setup AWS Credentails</a></strong></p>
<p><strong>Step X: <a href="tutorials/configure-the-knife-command" target="_blank" rel="noopener">Setup your knife config</a></strong></p>
<p>Step X: Make sure following is set and exported in env.</p>
<p>&nbsp;</p>
<pre style="margin-top: 0px; margin-bottom: 2.1em; padding: 0.8em 1em; border: 1px solid #05232b; font-stretch: inherit; line-height: 1.45em; font-family: Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace; font-size: 13px; vertical-align: baseline; box-shadow: rgba(0, 0, 0, 0.0588235) 0px 0px 10px; border-radius: 0.4em; color: #93a1a1; overflow: auto; background: url('http://jtimberman.housepub.org/images/noise.png?1423629076') 0% 0% #002b36;"><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace; vertical-align: baseline;">AWS_ACCESS_KEY_ID=secrets AWS_SECRET_ACCESS_KEY=secrets AWS_DEFAULT_REGION=us-east-1 AWS_SSH_KEY=your_ssh_key_name AWS_ACCESS_KEY=secrets AWS_SECRET_KEY=secrets</code></pre>
<p>&nbsp;</p>
<pre style="margin-top: 0px; margin-bottom: 2.1em; padding: 0.8em 1em; border: 1px solid #05232b; font-stretch: inherit; line-height: 1.45em; font-family: Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace; font-size: 13px; vertical-align: baseline; box-shadow: rgba(0, 0, 0, 0.0588235) 0px 0px 10px; border-radius: 0.4em; color: #93a1a1; overflow: auto; background: url('http://jtimberman.housepub.org/images/noise.png?1423629076') 0% 0% #002b36;"><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace; vertical-align: baseline;"></code></pre>
<p><strong>Step 3: Genrate a new repository using the chef generate command</strong><strong><a href="scm/configuration-management-tools/setup-aws-credentails-using-aws-command-line-interface.html" target="_blank" rel="noopener"><br />
</a></strong></p>
<p>&gt; chef generate repo chefdk-provision-demo<br />
&gt; cd chefdk-provision-demo</p>
<p><strong>Step 4: Generate a provision cookbook. This is the required name, and it must be in the current directory.</strong><br />
&gt; chef generate cookbook provision</p>
<p><strong>Step 5: Edit the default recipe, $EDITOR provision/recipes/default.rb with following code&#8230;</strong></p>
<pre>context = ChefDK::ProvisioningData.context with_driver 'aws::us-west-2' options = { ssh_username: 'admin', use_private_ip_for_ssh: false, bootstrap_options: { key_name: 'jtimberman', image_id: 'ami-0d5b6c3d', instance_type: 'm3.medium', }, convergence_options: context.convergence_options, } machine context.node_name do machine_options options action context.action converge true end</pre>
<p>Understand the code:<br />
&gt; To break this down, first we get the ChefDK provisioning context that will pass in options to chef-provisioning.<br />
&gt; Then we tell chef-provisioning to use the AWS driver, and in the us-west-2 region.<br />
&gt; The options hash is used to setup the instance.<br />
&gt; We’re using Debian 8, which uses the admin user to log in, an SSH key that exists in the AWS region, the actual AMI, and finally the instance type.<br />
&gt; Then, we’re going to set the convergence options automatically from ChefDK. This is the important part that will ensure the node has the right run list.</p>
<p><strong>Step 6: Generate a Policyfile.rb and And edit its content, $EDITOR Policyfile.rb.</strong><br />
&gt; chef generate policyfile<br />
&gt; vi policyfile.rb</p>
<pre>name            "chefdk-provision-demo" default_source  :community run_list        "recipe[libuuid-user]" cookbook        "libuuid-user"</pre>
<p>Here we’re simply getting the libuuid-user cookbook from Supermarket and applying the default recipe to the nodes that have this policy.</p>
<p><strong>Step 7: The next step is to install the Policyfile. This generates the Policyfile.lock.json, and downloads the cookbooks to the cache, ~/.chefdk/cache/cookbooks. If this isn’t run, chef will complain, with a reminder to run it.</strong></p>
<p>&gt; chef install</p>
<p>Step 8: Finally, we can provision a testing system with this policy:</p>
<p>&gt; chef provision testing &#8211;sync -n debian-libuuid</p>
<p><strong>Reference:</strong><br />
<a href="http://jtimberman.housepub.org/blog/2015/05/15/quick-tip-chefdk-provision/" target="_blank" rel="noopener">http://jtimberman.housepub.org/blog/2015/05/15/quick-tip-chefdk-provision/</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/provision-a-aws-ec2-vm-using-chef/">Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/provision-a-aws-ec2-vm-using-chef/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install chefDK in RHEL, Ubantu, Mac and Windows?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-install-chefdk-in-rhel-ubantu-mac-and-windows/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-install-chefdk-in-rhel-ubantu-mac-and-windows/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 27 Oct 2015 01:28:08 +0000</pubDate>
				<category><![CDATA[Chef]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[ChefDK]]></category>
		<category><![CDATA[chefDK Installation Guide]]></category>
		<category><![CDATA[chefDK Installation Process]]></category>
		<category><![CDATA[chefDK Installation Tutorial]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to install chefDK]]></category>
		<category><![CDATA[How to install chefDK in Mac]]></category>
		<category><![CDATA[How to install chefDK in RHEL]]></category>
		<category><![CDATA[How to install chefDK in Ubantu]]></category>
		<category><![CDATA[How to install chefDK in Windows]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Steps to install chefDK]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ubantu]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/10/27/how-to-install-chefdk-in-rhel-ubantu-mac-and-windows/</guid>

					<description><![CDATA[<p>How to install chefDK in RHEL, Ubantu, Mac and Windows? How to install chefDK in RHEL Step 1: Download checfdk [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-install-chefdk-in-rhel-ubantu-mac-and-windows/">How to install chefDK in RHEL, Ubantu, Mac and Windows?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="aligncenter wp-image-3111 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/how-to-install-chefdk-in-rh.png" alt="chefdk-installtion-process-rhel-ubantu-mac-windows" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/how-to-install-chefdk-in-rh.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/how-to-install-chefdk-in-rh-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div><strong>How to install chefDK in RHEL, Ubantu, Mac and Windows?</strong></div>
<div></div>
<div></div>
<div><strong>How to install chefDK in RHEL</strong></div>
<div></div>
<div><strong>Step 1: Download checfdk from https://downloads.chef.io/chef-dk/</strong></div>
<div>&gt; wget <a href="https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.9.0-1.el6.x86_64.rpm">https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.9.0-1.el6.x86_64.rpm</a></div>
<div>or</div>
<div>&gt; curl -o chefdk-0.9.0-1.el6.x86_64.rpm <a href="https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.9.0-1.el6.x86_64.rpm" target="_blank" rel="noopener">https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.9.0-1.el6.x86_64.rpm</a></div>
<div></div>
<div>&gt; chmod 755 chefdk-0.9.0-1.el6.x86_64.rpm</div>
<div></div>
<div><strong>Step 2: Install chef dk</strong></div>
<div>&gt; rpm -ivh chefdk-0.9.0-1.el6.x86_64.rpm</div>
<div></div>
<div><strong>Step 3: Confirm your installation.</strong></div>
<div>&gt; which chef</div>
<div>&gt; chef -v</div>
<div></div>
<div>Install folder is &#8211; /opt/chefdk</div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-install-chefdk-in-rhel-ubantu-mac-and-windows/">How to install chefDK in RHEL, Ubantu, Mac and Windows?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-install-chefdk-in-rhel-ubantu-mac-and-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install and Configure Jira in Linux &#124; Jira Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/jira-installation-and-configuration-in-linux/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jira-installation-and-configuration-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 22 Oct 2015 15:31:46 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Instructions]]></category>
		<category><![CDATA[Jira]]></category>
		<category><![CDATA[Jira Configuration Linux]]></category>
		<category><![CDATA[Jira in Linux]]></category>
		<category><![CDATA[Jira Installation Linux]]></category>
		<category><![CDATA[Jira Installation Process in Linux]]></category>
		<category><![CDATA[Jira Tutorial]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Steps]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/10/22/jira-installation-and-configuration-in-linux/</guid>

					<description><![CDATA[<p>Download JIRA package from  https://www.atlassian.com/software/jira/download?b=j Linux Installation: wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.4.12-x64.bin chmod atlassian-jira-6.4.12-x64.bin Execute the &#8216;.bin&#8217; file to start the console wizard stop iptables [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jira-installation-and-configuration-in-linux/">How to Install and Configure Jira in Linux | Jira Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3081 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/jira-installation-and-confi.png" alt="jira-installation-and-configuration-in-linux" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/jira-installation-and-confi.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/jira-installation-and-confi-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p class="p1"><span class="s1">Download JIRA package from </span></p>
<p class="p2"><span class="s2"><a href="https://www.atlassian.com/software/jira/download?b=j">https://www.atlassian.com/software/jira/download?b=j</a></span></p>
<p class="p1"><span class="s1">Linux Installation:</span></p>
<p class="p1"><span class="s1">wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.4.12-x64.bin</span></p>
<p class="p1"><span class="s1">chmod atlassian-jira-6.4.12-x64.bin</span></p>
<p class="p4"><span class="s1">Execute the &#8216;.bin&#8217; file to start the console wizard</span></p>
<p class="p4"><span class="s1">stop iptables</span></p>
<p class="p5"><span class="s1">service jira start/stop</span></p>
<p class="p2"><span class="s2"><a href="http://uvo1kievugg76unbcj9.vm.cld.sr:8080/">http://uvo1kievugg76unbcj9.vm.cld.sr:8080/</a></span></p>
<p class="p1"><span class="s1">&amp; follow the instructions</span></p>
<p class="p1"><span class="s1">Reference</span></p>
<p class="p2"><span class="s2"><a href="https://confluence.atlassian.com/jira/installing-jira-on-linux-191501165.html">https://confluence.atlassian.com/jira/installing-jira-on-linux-191501165.html</a></span></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jira-installation-and-configuration-in-linux/">How to Install and Configure Jira in Linux | Jira Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jira-installation-and-configuration-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install and Configure Nagios Server and Clients &#124; Nagios Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/install-and-configure-nagios-server-and-clients/</link>
					<comments>https://www.scmgalaxy.com/tutorials/install-and-configure-nagios-server-and-clients/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 14 Oct 2015 15:37:01 +0000</pubDate>
				<category><![CDATA[IT Infrastructure Monitoring Tools]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Clients]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[How to Configure Nagios Server]]></category>
		<category><![CDATA[How to Install Nagios Server]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Nagios Client]]></category>
		<category><![CDATA[Nagios Guide]]></category>
		<category><![CDATA[Nagios Server installation process]]></category>
		<category><![CDATA[Nagios Tutorial]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Steps]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/10/14/install-and-configure-nagios-server-and-clients/</guid>

					<description><![CDATA[<p>Install and Configure Nagios Server and Clients Download the Nagios Server Source copy from https://www.nagios.com/products/nagios-xi/ You can also use the [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/install-and-configure-nagios-server-and-clients/">How to Install and Configure Nagios Server and Clients | Nagios Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3072 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/install-and-configure-nagio.png" alt="install-and-configure-nagios-server-and-clients" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/install-and-configure-nagio.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/install-and-configure-nagio-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div><strong>Install and Configure Nagios Server and Clients</strong></div>
<div></div>
<div><strong>Download the Nagios Server Source copy from <a href="https://www.nagios.com/products/nagios-xi/" target="_blank" rel="noopener">https://www.nagios.com/products/nagios-xi/</a></strong></div>
<div></div>
<div>You can also use the direct download links as below;</div>
<div>&gt; wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.2.0.tar.gz</div>
<div></div>
<div><strong>Extract the xi-5.2.0.tar.gz using</strong></div>
<div>&gt; tar -zxvf xi-5.2.0.tar.gz</div>
<div></div>
<div><strong>Run the following commands to install it.</strong></div>
<div>&gt; ./fullinstall</div>
<div></div>
<div>At the end of installation, you will get the url address  using you can access the Nagios server.</div>
<div>e.g http://10.160.34.98/nagiosxi/</div>
<div></div>
<div><strong>Open the url http://10.160.34.98/nagiosxi/</strong></div>
<div>and enter and save following info.</div>
<div>Administrator Name:</div>
<div>Administrator Email Address:</div>
<div>Administrator Username:</div>
<div>Administrator Password:</div>
<div>and presss &#8220;Install&#8221;</div>
<div></div>
<div><strong>Once you get &#8220;Installation Complete&#8221; message that means you have Nagios Server install completed.</strong></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/install-and-configure-nagios-server-and-clients/">How to Install and Configure Nagios Server and Clients | Nagios Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/install-and-configure-nagios-server-and-clients/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id</title>
		<link>https://www.scmgalaxy.com/tutorials/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/</link>
					<comments>https://www.scmgalaxy.com/tutorials/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 14 Oct 2015 11:10:37 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Remote machine]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[SSH Login]]></category>
		<category><![CDATA[SSH Login Without Password]]></category>
		<category><![CDATA[ssh-copy-id]]></category>
		<category><![CDATA[ssh-keygen]]></category>
		<category><![CDATA[Steps]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/10/14/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/</guid>

					<description><![CDATA[<p>Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id Step 1: Generate the keys &#62; ssh-keygen or &#62; [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/">Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="aligncenter wp-image-3069 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/ssh-login-without-password.png" alt="SSH Login Without Password" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/ssh-login-without-password.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/ssh-login-without-password-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div><strong>Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id</strong></div>
<div></div>
<div><strong>Step 1: Generate the keys</strong></div>
<div>&gt; ssh-keygen</div>
<div>or</div>
<div>&gt; ssh-keygen -t rsa</div>
<div></div>
<div><strong>Step 2: Copy the public key to remote machine</strong></div>
<div>&gt; ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host</div>
<div>or</div>
<div>&gt; ssh-copy-id -i ~/.ssh/id_rsa.pub user@hostname.example.com</div>
<div></div>
<div>Alternatively, you can paste in the keys using SSH:</div>
<div>cat ~/.ssh/id_rsa.pub | ssh user@123.45.56.78 &#8220;mkdir -p ~/.ssh &amp;&amp; cat &gt;&gt;  ~/.ssh/authorized_keys&#8221;</div>
<div></div>
<div><strong>Step 3: Login to remote machine</strong></div>
<div>&gt; ssh remote-host</div>
<div></div>
<div>If you have loaded keys to the ssh-agent using the ssh-add, then ssh-copy-id will get the keys from the ssh-agent to copy to the remote-host. i.e, it copies the keys provided by ssh-add -L command to the remote-host, when you don’t pass option -i to the ssh-copy-id.</div>
<div></div>
<div>&gt; ssh-add</div>
<div>&gt; ssh-add /Users/rajesh.kumar/.ssh/id_rsa</div>
<div></div>
<div><strong>Step 4: Optional Step Four—Disable the Password for Root Login</strong></div>
<div></div>
<div>&gt; sudo nano /etc/ssh/sshd_config</div>
<div>Put the changes into effect:</div>
<div>&gt; reload ssh</div>
<div></div>
<div>Within that file, find the line that includes PermitRootLogin and modify it to ensure that users can only connect with their SSH key:</div>
<div>&gt; PermitRootLogin without-password</div>
<div></div>
<div><strong>More Articles</strong></div>
<div><a href="http://community.scmgalaxy.com/blog/view/40844/how-to-scp-ssh-and-rsync-without-prompting-for-password-using-openssh">http://community.scmgalaxy.com/blog/view/40844/how-to-scp-ssh-and-rsync-without-prompting-for-password-using-openssh</a></div>
<div><a href="http://manpages.ubuntu.com/manpages/lucid/man1/ssh-copy-id.1.html">http://manpages.ubuntu.com/manpages/lucid/man1/ssh-copy-id.1.html</a></div>
<div>
<p><a href="Forum/34-shell-script/501-file-copying-and-transfer-between-two-machine.html">http://www.scmgalaxy.com/Forum/34-shell-script/501-file-copying-and-transfer-between-two-machine.html</a></p>
</div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/">Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to attach the jenkins build log as part of the email body?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body-2/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 03 Oct 2015 12:26:05 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Attach]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Email body]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to attach jenkins build log]]></category>
		<category><![CDATA[Jenkins build log]]></category>
		<category><![CDATA[Jenkins build log in email body]]></category>
		<category><![CDATA[Log]]></category>
		<category><![CDATA[Part]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ways]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/10/03/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body-2/</guid>

					<description><![CDATA[<p>Way 1 &#8211;  Put following lines as part of Default Content text box ${BUILD_LOG, maxLines=9999, escapeHtml=false} this works for free [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body-2/">How to attach the jenkins build log as part of the email body?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3333 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/jenkins-build-log-as-part-o-1.png" alt="jenkins-build-log-as-part-of-the-email-body" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/jenkins-build-log-as-part-o-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/jenkins-build-log-as-part-o-1-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><strong>Way 1 &#8211; </strong></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">Put following lines as part of Default Content text box</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">${BUILD_LOG, maxLines=9999, escapeHtml=false}</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">this works for free style projects</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><strong>Way 2 &#8211; If you want send only specific line using regex</strong></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">${BUILD_LOG_REGEX, regex=&#8221;\\b(Buildfile|BUILD)\\<wbr />b&#8221;, linesAfter=1}</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">${BUILD_LOG_REGEX, regex=&#8221;^.*?BUILD FAILED.*?$&#8221;, linesBefore=0, linesAfter=10, maxMatches=5, showTruncatedLines=false, escapeHtml=true}</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">${BUILD_LOG_REGEX, regex=&#8221;\\b(FC0)\\b&#8221;, linesAfter=1}</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">${BUILD_LOG_REGEX, regex=&#8221;^.*?BUILD FAILED.*?$&#8221;, linesBefore=0, linesAfter=10, maxMatches=5, showTruncatedLines=false, escapeHtml=true}</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">${BUILD_LOG_REGEX, regex=&#8221;^.*?FC0.*?$&#8221;, maxMatches=95, showTruncatedLines=false, escapeHtml=false, matchedLineHtmlStyle=true}</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">This will show exactly which is expected lines as part of the regEx.</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><strong>List of other variables as part of email body</strong></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">${PROJECT_URL}/ws/</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">${BUILD_URL}/artifact/</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">${BUILD_LOG, maxLines=1000}</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">More ref</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">Content Token Reference</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">In string arguments, escape &#8220;, \, and line terminators (\n or \r\n) with a \, e.g. arg1=&#8221;\&#8221;quoted\&#8221;&#8221;; arg2=&#8221;c:\\path&#8221;; and arg3=&#8221;one\ntwo&#8221;. The brackets may be omitted if there are no arguments.</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">New Lines &#8211; Use &lt;br&gt; or &#8220;\&#8221;</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><strong>More Info </strong></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><a style="color: #1155cc;" href="http://wiki.hudson-ci.org/display/HUDSON/Email-ext+plugin" target="_blank" rel="noopener">http://wiki.hudson-ci.org/<wbr />display/HUDSON/Email-ext+<wbr />plugin</a></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><a style="color: #1155cc;" href="http://stackoverflow.com/questions/9439450/how-will-i-filter-out-only-errors-in-jenkins-email-ext-build-log-regex" target="_blank" rel="noopener">http://stackoverflow.com/<wbr />questions/9439450/how-will-i-<wbr />filter-out-only-errors-in-<wbr />jenkins-email-ext-build-log-<wbr />regex</a></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><a style="color: #1155cc;" href="http://champasoft.blogspot.nl/2012/11/jenkins-pattern-for-e-mailing-log.html" target="_blank" rel="noopener">http://champasoft.blogspot.nl/<wbr />2012/11/jenkins-pattern-for-e-<wbr />mailing-log.html</a></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><a style="color: #1155cc;" href="https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin" target="_blank" rel="noopener">https://wiki.jenkins-ci.org/<wbr />display/JENKINS/Email-ext+<wbr />plugin</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body-2/">How to attach the jenkins build log as part of the email body?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Implement Chef roles using Chef server ?</title>
		<link>https://www.scmgalaxy.com/tutorials/implement-chef-roles-using-chef-server/</link>
					<comments>https://www.scmgalaxy.com/tutorials/implement-chef-roles-using-chef-server/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 24 Sep 2015 14:57:08 +0000</pubDate>
				<category><![CDATA[Chef]]></category>
		<category><![CDATA[Chef Guide]]></category>
		<category><![CDATA[Chef roles]]></category>
		<category><![CDATA[Chef server]]></category>
		<category><![CDATA[Chef Tutorial]]></category>
		<category><![CDATA[create Role in Chef]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to Implement Chef roles]]></category>
		<category><![CDATA[Implement]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Roles in Chef]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/09/24/implement-chef-roles-using-chef-server/</guid>

					<description><![CDATA[<p>What is Role? A role is a way to define certain patterns and processes that exist across nodes in an [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/implement-chef-roles-using-chef-server/">How to Implement Chef roles using Chef server ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="size-full wp-image-3345 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/chef-roles-using-chef-serve.png" alt="implement-chef-roles-using-chef-server" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/chef-roles-using-chef-serve.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/chef-roles-using-chef-serve-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>What is Role?</strong></p>
<p>A role is a way to define certain patterns and processes that exist across nodes in an organization as belonging to a single job function. Each role consists of zero (or more) attributes and a run-list. Each node can have zero (or more) roles assigned to it. When a role is run against a node, the configuration details of that node are compared against the attributes of the role, and then the contents of that role’s run-list are applied to the node’s configuration details. When a chef-client runs, it merges its own attributes and run-lists with those contained within each assigned role.</p>
<p><strong>How to use Roles in Chef?</strong></p>
<ol>
<li>Create a Role and add the cookbooks into it.</li>
<li>Assign the role into each node or bootstrap new nodes using roles</li>
<li>The the run list</li>
</ol>
<p><strong>How to create Role?</strong></p>
<p><strong>Method 1: In Chef Server directly</strong></p>
<pre><code>&gt; knife role create client1</code></pre>
<p>&amp;</p>
<p>Add the run list e.g. &#8220;recipe[nginx]&#8221; under &#8220;run_list&#8221;</p>
<p>Save &amp; exit</p>
<p>The role will be created in Chef Server.</p>
<p>Example</p>
<pre><code>{ "name": "client1", "description": "", "json_class": "Chef::Role", "default_attributes": { }, "override_attributes": { }, "chef_type": "role", "run_list": [ "recipe[nginx]", "recipe[phpapp::web]" ], "env_run_lists": { } } </code></pre>
<p><strong>Let&#8217;s download the role from the Chef server so we have it locally in a Chef repository.</strong></p>
<p>&gt; knife role show client1 -d -Fjson &gt; roles/client1.json</p>
<p><strong>Now, Lets bootstrap the node using knife with roles</strong></p>
<pre>&gt; knife bootstrap --run-list "role[client1]" --sudo hostname</pre>
<p><strong>How to edit the roles in chef Server?</strong></p>
<pre>&gt; knife role edit client1</pre>
<p><strong>Method 2: In local repo under chef-repo folder</strong></p>
<pre><code>&gt; vi webserver.rb</code></pre>
<p>example &#8211;</p>
<pre><code>name "web_server" description "Role for web servers" run_list(   "role[base]",   "recipe{web_server]" ) </code></pre>
<p>&amp; Then upload to chef server using following commands.</p>
<pre>&gt; knife role from file path/to/role/file</pre>
<p><strong>How Assigning Roles to Nodes?</strong></p>
<pre><code>&gt; knife node list</code></pre>
<pre><code>&gt; knife node edit node_name</code></pre>
<p>This will bring up the node&#8217;s definition file, which will allow us to add a role to its run_list:</p>
<pre><code>{ "name": "client1", "chef_environment": "_default", "normal": { "tags": [  ] 	}, "run_list": [ 	"recipe[nginx]" ] } </code></pre>
<p>For instance, we can replace our recipe with our role in this file:</p>
<pre><code>{ "name": "client1", "chef_environment": "_default", "normal": { "tags": [ ] }, "run_list": [ "role[web_server]" ] } </code></pre>
<p><strong>How to bootstrap node using role?</strong></p>
<pre><code>&gt; knife bootstrap {{address}} --ssh-user {{user}} --ssh-password '{{password}}' --sudo --use-sudo-password --node-name node1 --run-list 'role[production]'</code></pre>
<pre><code>&gt; knife bootstrap --run-list "role[phpapp-web]" --sudo hostname</code></pre>
<p><strong>How to run roles against nodes?</strong></p>
<p>You can run chef-client on multiple nodes via knife ssh command like, To query for all nodes that have the webserver role and then use SSH to run the command sudo chef-client, enter:</p>
<pre><code>&gt; knife ssh "role:webserver" "sudo chef-client"</code></pre>
<p>To find the uptime of all of web servers running Ubuntu on the Amazon EC2 platform, enter:</p>
<pre><code>&gt; knife ssh "role:web" "uptime" -x ubuntu -a ec2.public_hostname</code></pre>
<p><strong>Reference</strong></p>
<p><a href="http://docs.chef.io/roles.html" target="_blank" rel="noopener">http://docs.chef.io/roles.html</a></p>
<p><a href="https://docs.chef.io/knife_ssh.html" target="_blank" rel="noopener">https://docs.chef.io/knife_ssh.html</a></p>
<p><a href="https://docs.chef.io/knife_role.html" target="_blank" rel="noopener">https://docs.chef.io/knife_role.html</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/implement-chef-roles-using-chef-server/">How to Implement Chef roles using Chef server ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/implement-chef-roles-using-chef-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jenkins Backup and Restore Process &#124; Jenkins Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-backup-and-restore-process/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-backup-and-restore-process/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sun, 20 Sep 2015 10:34:04 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to Backup Jenkins]]></category>
		<category><![CDATA[How to Restore Jenkins]]></category>
		<category><![CDATA[Jenkins Backup]]></category>
		<category><![CDATA[Jenkins Backup Process]]></category>
		<category><![CDATA[Jenkins Backup Tutorial]]></category>
		<category><![CDATA[Jenkins Process]]></category>
		<category><![CDATA[Jenkins Restore]]></category>
		<category><![CDATA[Jenkins Restore Tutorial]]></category>
		<category><![CDATA[Jenkins Tutorial]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Restore]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/09/20/jenkins-backup-and-restore-process/</guid>

					<description><![CDATA[<p>How Do I Backup Jenkins Jobs using Grunt? Backup Jenkins configuration to S3 bash-backup-script for jenkins‘ job-configs via user-crontab Backup [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-backup-and-restore-process/">Jenkins Backup and Restore Process | Jenkins Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3353 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/jenkins-backup-and-restore-.png" alt="jenkins-backup-and-restore-process" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/jenkins-backup-and-restore-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/jenkins-backup-and-restore--300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h3>
<h3><a href="https://www.sghill.net/how-do-i-backup-jenkins-jobs.html" target="_blank" rel="noopener">How Do I Backup Jenkins Jobs using Grunt?</a></h3>
<h3><a href="http://www.clausconrad.com/blog/backup-jenkins-configuration-to-s3" target="_blank" rel="noopener">Backup Jenkins configuration to S3</a></h3>
<h3><a href="http://christoph-burmeister.eu/?p=1981" target="_blank" rel="noopener">bash-backup-script for jenkins‘ job-configs via user-crontab</a></h3>
<h3><a href="http://softwaretester.info/backup-and-restore-jenkins/" target="_blank" rel="noopener">Backup and restore Jenkins using jenkins plugins</a></h3>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-backup-and-restore-process/">Jenkins Backup and Restore Process | Jenkins Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jenkins-backup-and-restore-process/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to attach the jenkins build log as part of the email body?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 11 Sep 2015 16:29:12 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Attach]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Email body]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to attach jenkins build log]]></category>
		<category><![CDATA[Jenkins build log]]></category>
		<category><![CDATA[Jenkins build log in email body]]></category>
		<category><![CDATA[Log]]></category>
		<category><![CDATA[Part]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ways]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/09/11/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/</guid>

					<description><![CDATA[<p>Way 1 &#8211;  Put following lines as part of Default Content text box ${BUILD_LOG, maxLines=9999, escapeHtml=false} this works for free [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/">How to attach the jenkins build log as part of the email body?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3363 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/jenkins-build-log-as-part-o.png" alt="jenkins-build-log-as-part-of-the-email-body" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/jenkins-build-log-as-part-o.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/09/jenkins-build-log-as-part-o-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Way 1 &#8211; </strong></p>
<p>Put following lines as part of Default Content text box</p>
<p>${BUILD_LOG, maxLines=9999, escapeHtml=false}</p>
<p>this works for free style projects</p>
<p><strong>Way 2 &#8211; If you want send only specific line using regex</strong></p>
<p>${BUILD_LOG_REGEX, regex=&#8221;\\b(Buildfile|BUILD)\\b&#8221;, linesAfter=1}</p>
<p>${BUILD_LOG_REGEX, regex=&#8221;^.*?BUILD FAILED.*?$&#8221;, linesBefore=0, linesAfter=10, maxMatches=5, showTruncatedLines=false, escapeHtml=true}</p>
<p>${BUILD_LOG_REGEX, regex=&#8221;\\b(FC0)\\b&#8221;, linesAfter=1}</p>
<p>${BUILD_LOG_REGEX, regex=&#8221;^.*?BUILD FAILED.*?$&#8221;, linesBefore=0, linesAfter=10, maxMatches=5, showTruncatedLines=false, escapeHtml=true}</p>
<p>${BUILD_LOG_REGEX, regex=&#8221;^.*?FC0.*?$&#8221;, maxMatches=95, showTruncatedLines=false, escapeHtml=false, matchedLineHtmlStyle=true}</p>
<p>This will show exactly which is expected lines as part of the regEx.</p>
<p>More Info</p>
<p><a href="http://wiki.hudson-ci.org/display/HUDSON/Email-ext+plugin" target="_blank" rel="noopener">http://wiki.hudson-ci.org/display/HUDSON/Email-ext+plugin</a></p>
<p><a href="http://stackoverflow.com/questions/9439450/how-will-i-filter-out-only-errors-in-jenkins-email-ext-build-log-regex" target="_blank" rel="noopener">http://stackoverflow.com/questions/9439450/how-will-i-filter-out-only-errors-in-jenkins-email-ext-build-log-regex</a></p>
<p><a href="http://champasoft.blogspot.nl/2012/11/jenkins-pattern-for-e-mailing-log.html" target="_blank" rel="noopener">http://champasoft.blogspot.nl/2012/11/jenkins-pattern-for-e-mailing-log.html</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/">How to attach the jenkins build log as part of the email body?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-attach-the-jenkins-build-log-as-part-of-the-email-body/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
