<?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>Unix / Linux Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/category/operating-systems/unix-linux-operating-systems/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/category/operating-systems/unix-linux-operating-systems/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:50:52 +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>Converting Red Hat Enterprise Linux booting from CLI to GUI</title>
		<link>https://www.scmgalaxy.com/tutorials/converting-red-hat-enterprise-linux-booting-from-cli-to-gui/</link>
					<comments>https://www.scmgalaxy.com/tutorials/converting-red-hat-enterprise-linux-booting-from-cli-to-gui/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 10:26:44 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[Converting]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2684</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Converting Red Hat Enterprise Linux booting from CLI to GUI I just found very good links [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/converting-red-hat-enterprise-linux-booting-from-cli-to-gui/">Converting Red Hat Enterprise Linux booting from CLI to GUI</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Converting Red Hat Enterprise Linux booting from CLI to GUI</strong></p>
<p>I just found very good links where default Command mode can be converted into GUI mode during system boot.</p>
<p>refer &#8211; <a href="http://www.linuxtopia.org/online_books/rhel6/rh...ng-to-gui-login.html">www.linuxtopia.org/online_books/rhel6/rh&#8230;ng-to-gui-login.html</a></p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/converting-red-hat-enterprise-linux-booting-from-cli-to-gui/">Converting Red Hat Enterprise Linux booting from CLI to GUI</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/converting-red-hat-enterprise-linux-booting-from-cli-to-gui/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ignore existing files or update only newer files with rsync</title>
		<link>https://www.scmgalaxy.com/tutorials/ignore-existing-files-or-update-only-newer-files-with-rsync/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ignore-existing-files-or-update-only-newer-files-with-rsync/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 10:24:59 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[Ignore]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2682</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Ignore existing files or update only newer files with rsync Ignore existing files or update only [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ignore-existing-files-or-update-only-newer-files-with-rsync/">Ignore existing files or update only newer files with rsync</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Ignore existing files or update only newer files with rsync</strong></p>
<p>Ignore existing files or update only newer files with rsynca</p>
<p>Copying from local to remote</p>
<p>Note that all the examples shown in the post are for copying files from the local computer to a remote server/computer.</p>
<p>Default behavoir</p>
<p>The following command will recursively copy all files from the local filesystem from /var/www to the remote system at 10.1.1.1. Note the following:</p>
<p>Any files that do not exist on the remote system are copied over<br />
Any that have been updated will be copied over, although note that rsync is extremely efficient in that only the changed parts of files are copied and if the file is exactly the same if it is not copied over at all<br />
Any that have been deleted on the local system are deleted on the remote<br />
1	rsync -raz &#8211;progress /var/www 10.1.1.1:/var</p>
<p>Ignore existing files</p>
<p>Use the &#8211;ignore-existing flag to prevent files from being copied over that already exist on the remote server. By adding this, we eliminate behaviors 2 and 3 in the list above and all that is done is this:</p>
<p>Any files that do not exist on the remote system are copied over<br />
1	rsync &#8211;ignore-existing -raz &#8211;progress /var/www 10.1.1.1:/var</p>
<p>Update the remote only if a newer version is on the local filesystem</p>
<p>In the case I was talking about, we didn&#8217;t want to overwrite any files at the other end. However you may want to copy files over the have been updated more recently on the local filesystem which is done with the &#8211;update flag. The behavior is now like this:</p>
<p>Any files that do not exist on the remote system are copied over<br />
Any files that exist on both local and remote that have a newer timestamp on the local server are copied over. (Conversely, any files that have an older timestamp are not copied over).<br />
1	rsync &#8211;update -raz &#8211;progress /var/www 10.1.1.1:/var</p>
<p>Use &#8211;dry-run to see what will be copied</p>
<p>It can be a good idea to test what will be transferred before actually doing it to make sure you aren&#8217;t going to copy files that you don&#8217;t want to. The &#8211;dry-run flag helps you do this:<br />
1	rsync &#8211;dry-run &#8211;update -raz &#8211;progress /var/www 10.1.1.1:/var</p>
<p>Combined with the &#8211;progress flag I have included in all the examples, &#8211;dry-run will output all the directories it looks at and then all the files that would be copied.</p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ignore-existing-files-or-update-only-newer-files-with-rsync/">Ignore existing files or update only newer files with rsync</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ignore-existing-files-or-update-only-newer-files-with-rsync/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Mount: cannot mount block device //172.19.165.205/d read-only</title>
		<link>https://www.scmgalaxy.com/tutorials/mount-cannot-mount-block-device-172-19-165-205-d-read-only/</link>
					<comments>https://www.scmgalaxy.com/tutorials/mount-cannot-mount-block-device-172-19-165-205-d-read-only/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 10:22:55 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[Mount]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2680</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: mount: cannot mount block device //172.19.165.205/d read-only Issues Solution – Regards, Rajesh Kumar Twitt me @ [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/mount-cannot-mount-block-device-172-19-165-205-d-read-only/">Mount: cannot mount block device //172.19.165.205/d read-only</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: mount: cannot mount block device //172.19.165.205/d read-only</strong></p>
<p>Issues</p>
<pre class="brush: css; title: ; notranslate">
root@rkumar11-usa:~/data/share# sudo mount -t cifs //172.19.165.205/d /home/rkumar11/data/share --verbose -o user=rkumar11
mount: block device //172.19.165.205/d is write-protected, mounting read-only
mount: cannot mount block device //172.19.165.205/d read-only
</pre>
<p>Solution –</p>
<pre class="brush: css; title: ; notranslate">
sudo apt-get install cifs-utils
</pre>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/mount-cannot-mount-block-device-172-19-165-205-d-read-only/">Mount: cannot mount block device //172.19.165.205/d read-only</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/mount-cannot-mount-block-device-172-19-165-205-d-read-only/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to add new package to apt-get</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-add-new-package-to-apt-get/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-add-new-package-to-apt-get/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 10:19:54 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[Package]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2678</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: How to add new package to apt-get wget -q -O &#8211; pkg.jenkins-ci.org/debian/jenkins-ci.org.key &#124; sudo apt-key add [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-add-new-package-to-apt-get/">How to add new package to apt-get</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: How to add new package to apt-get</strong></p>
<p>wget -q -O &#8211; pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add &#8211;<br />
sudo sh -c &#8216;echo deb pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list&#8217;<br />
sudo apt-get update<br />
sudo apt-get install jenkins</p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-add-new-package-to-apt-get/">How to add new package to apt-get</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-add-new-package-to-apt-get/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Error: *** ln doesn&#8217;t support &#8211;relative ***</title>
		<link>https://www.scmgalaxy.com/tutorials/error-ln-doesnt-support-relative/</link>
					<comments>https://www.scmgalaxy.com/tutorials/error-ln-doesnt-support-relative/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 10:17:46 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[error]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2676</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: configure: error: *** ln doesn&#8217;t support &#8211;relative *** Error while doing ./configure during systemd-217 istall in [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/error-ln-doesnt-support-relative/">Error: *** ln doesn&#8217;t support &#8211;relative ***</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: configure: error: *** ln doesn&#8217;t support &#8211;relative ***</strong></p>
<pre class="brush: css; title: ; notranslate">
Error while doing ./configure during systemd-217 istall in RHEL 6.5

configure: error: *** ln doesn't support --relative ***
</pre>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ twitter.com/RajeshKumarIn</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/error-ln-doesnt-support-relative/">Error: *** ln doesn&#8217;t support &#8211;relative ***</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/error-ln-doesnt-support-relative/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Disable IPv6 and Enable IPv4 in Red Hat Linux</title>
		<link>https://www.scmgalaxy.com/tutorials/disable-ipv6-and-enable-ipv4-in-red-hat-linux/</link>
					<comments>https://www.scmgalaxy.com/tutorials/disable-ipv6-and-enable-ipv4-in-red-hat-linux/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 10:14:45 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2674</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Disable IPv6 and Enable IPv4 in Red Hat Linux Disable IPv6 and Enable IPv4 in Red [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/disable-ipv6-and-enable-ipv4-in-red-hat-linux/">Disable IPv6 and Enable IPv4 in Red Hat Linux</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Disable IPv6 and Enable IPv4 in Red Hat Linux</strong><br />
Disable IPv6 and Enable IPv4 in Red Hat Linux</p>
<p>check “disable_ipv6″ file to check if IPv6 is disabled,enter:<br />
[root@devops ~]# cat /proc/sys/net/ipv6/conf/all/disable_ipv6<br />
0<br />
if you get “0” value, it means that IPv6 is enabled and “1” means it is disabled.</p>
<p>How to Disable IPv6 in linux system?<br />
vim /etc/sysctl.conf</p>
<p>Adding the below lines into that file:</p>
<p>net.ipv6.conf.all.disable_ipv6 = 1<br />
net.ipv6.conf.default.disable_ipv6 = 1<br />
net.ipv6.conf.lo.disable_ipv6 = 1</p>
<p>Save and close that file, then restart sysctl with the following command:</p>
<p>[root@devops ~]# sysctl -p</p>
<p>Now you can rerun the “ifconfig” command to check if IPv6 lines have been removed.</p>
<p>To Enabled IPv4 </p>
<p>Edit &#8220;/etc/sysconfig/network-scripts/ifcfg-eth0&#8243; file, which is your defualt first NIC configuration file.</p>
<p>If you are using DHCP server to take IP then, edit it like this;</p>
<p>#vi /etc/sysconfig/network-scripts/ifcfg-eth0</p>
<p>ONBOOT=&#8221;yes&#8221;<br />
BOOTPROTO=&#8221;dhcp&#8221;</p>
<p>Save &#038; restart networking service,</p>
<p>#service network restart OR<br />
#/etc/init.d/network restart<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/disable-ipv6-and-enable-ipv4-in-red-hat-linux/">Disable IPv6 and Enable IPv4 in Red Hat Linux</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/disable-ipv6-and-enable-ipv4-in-red-hat-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Answer some of Linux admin questions&#8230;</title>
		<link>https://www.scmgalaxy.com/tutorials/answer-some-of-linux-admin-questions/</link>
					<comments>https://www.scmgalaxy.com/tutorials/answer-some-of-linux-admin-questions/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 10:12:46 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2672</guid>

					<description><![CDATA[<p>scmuser created the topic: Answer some of Linux admin questions&#8230; 1. How to send an email &#124; check email &#124; [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/answer-some-of-linux-admin-questions/">Answer some of Linux admin questions&#8230;</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: Answer some of Linux admin questions&#8230;</strong></p>
<p>1. How to send an email | check email | reply email attachment using command line??<br />
2. How do you connect to the internet in linux?<br />
4. How can i restrict a aceess of the file? (Add user, add group)</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/answer-some-of-linux-admin-questions/">Answer some of Linux admin questions&#8230;</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/answer-some-of-linux-admin-questions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Limit System Resources Using cgroups on CentOS 6</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-limit-system-resources-using-cgroups-on-centos-6/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-limit-system-resources-using-cgroups-on-centos-6/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 10:11:14 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2670</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: How to Limit System Resources Using cgroups on CentOS 6 How to Limit System Resources Using [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-limit-system-resources-using-cgroups-on-centos-6/">How to Limit System Resources Using cgroups on CentOS 6</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: How to Limit System Resources Using cgroups on CentOS 6</strong></p>
<p>How to Limit System Resources Using cgroups on CentOS 6?<br />
Answer &#8211; Control groups, or cgroups</p>
<p>Great aricles &#8211;<br />
<a href="http://www.digitalocean.com/community/tutorials...-cgroups-on-centos-6">www.digitalocean.com/community/tutorials&#8230;-cgroups-on-centos-6</a></p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ twitter.com/RajeshKumarIn</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-limit-system-resources-using-cgroups-on-centos-6/">How to Limit System Resources Using cgroups on CentOS 6</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-limit-system-resources-using-cgroups-on-centos-6/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Automatic stop and restart the Cloud server</title>
		<link>https://www.scmgalaxy.com/tutorials/automatic-stop-and-restart-the-cloud-server/</link>
					<comments>https://www.scmgalaxy.com/tutorials/automatic-stop-and-restart-the-cloud-server/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 10:03:01 +0000</pubDate>
				<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[Cloud]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2662</guid>

					<description><![CDATA[<p>pasupuleti2 created the topic: Automatic stop and restart the Cloud server How to scheduling an automatic stop and restart the [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/automatic-stop-and-restart-the-cloud-server/">Automatic stop and restart the Cloud server</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>pasupuleti2 created the topic: Automatic stop and restart the Cloud server</strong></p>
<p>How to scheduling an automatic stop and restart the Cloud server every Saturday. We are using Windows 2012 server</p>
<p>-Saritha</p>
<p><strong>rajeshkumar replied the topic: Automatic stop and restart the Cloud server</strong></p>
<p>Please use following tutorials to do that&#8230;.<br />
<a href="http://www.howtogeek.com/123393/how-to-automati...dows-task-scheduler/">www.howtogeek.com/123393/how-to-automati&#8230;dows-task-scheduler/ </a></p>
<p><a href="http://answers.microsoft.com/en-us/windows/foru...-375ce2647148?auth=1">answers.microsoft.com/en-us/windows/foru&#8230;-375ce2647148?auth=1</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/automatic-stop-and-restart-the-cloud-server/">Automatic stop and restart the Cloud server</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/automatic-stop-and-restart-the-cloud-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Configure Web Proxy on CentOS &#124; Tutorials &#124; scmGalaxy</title>
		<link>https://www.scmgalaxy.com/tutorials/configuring-web-proxy-on-centos/</link>
					<comments>https://www.scmgalaxy.com/tutorials/configuring-web-proxy-on-centos/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 17 Oct 2016 20:57:35 +0000</pubDate>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[CentOS Proxy configuration]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[Configure Web Proxy on CentOS]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Proxy on CentOS]]></category>
		<category><![CDATA[Web Proxy]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/10/17/configuring-web-proxy-on-centos/</guid>

					<description><![CDATA[<p>If your internet connection is behind a web proxy, you need to configure the following on your CentOS server: System-wide [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/configuring-web-proxy-on-centos/">How to Configure Web Proxy on CentOS | Tutorials | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="size-full wp-image-2953 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/10/configuring-web-proxy-on-ce.png" alt="web-proxy-on-centos" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/10/configuring-web-proxy-on-ce.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/10/configuring-web-proxy-on-ce-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>If your internet connection is behind a web proxy, you need to configure the following on your CentOS server:</p>
<p>System-wide proxy settings &#8211; add the following lines to your /etc/environment file:</p>
<p><code># vi /etc/environment</code></p>
<p>http_proxy=&#8221;http://proxysrv:8080/&#8221;<br />
https_proxy=&#8221;https://proxysrv:8080/&#8221;<br />
ftp_proxy=&#8221;ftp://proxysrv:8080/&#8221;<br />
no_proxy=&#8221;.mylan.local,.domain1.com,host1,host2&#8243;</p>
<p>To apply these settings without restarting the machine run the following commands on the bash shell:</p>
<p><code>export http_proxy="http://proxysrv:8080/"<br />
export https_proxy="https://proxysrv:8080/"<br />
export ftp_proxy="ftp://proxysrv:8080/"<br />
export no_proxy=".mylan.local,.domain1.com,host1,host2"</code></p>
<p>You also need to configure yum:</p>
<p># vi /etc/yum.conf</p>
<p>proxy=http://proxysrv:8080/</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/configuring-web-proxy-on-centos/">How to Configure Web Proxy on CentOS | Tutorials | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/configuring-web-proxy-on-centos/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Set or Configure Proxy in Linux and Windows System? &#8211; scmGalaxy</title>
		<link>https://www.scmgalaxy.com/tutorials/setting-the-proxy-configuratin-in-linux-and-windows/</link>
					<comments>https://www.scmgalaxy.com/tutorials/setting-the-proxy-configuratin-in-linux-and-windows/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 28 Jul 2016 05:54:56 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to configure proxy in Linux]]></category>
		<category><![CDATA[How to configure proxy in Windows]]></category>
		<category><![CDATA[How to set proxy in Linux]]></category>
		<category><![CDATA[How to set proxy in windows]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[Proxy configuration]]></category>
		<category><![CDATA[Proxy configuration in Linux]]></category>
		<category><![CDATA[Proxy configuration in Windows]]></category>
		<category><![CDATA[Proxy Setting]]></category>
		<category><![CDATA[Set]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/07/28/setting-the-proxy-configuratin-in-linux-and-windows/</guid>

					<description><![CDATA[<p>Setting the proxy configuration in Linux and Windows If you use a proxy server or firewall, you may need to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/setting-the-proxy-configuratin-in-linux-and-windows/">How to Set or Configure Proxy in Linux and Windows System? &#8211; scmGalaxy</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-3044 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/proxy-configuration-in-linu.png" alt="proxy-configuration-in-linux-and-windows" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/proxy-configuration-in-linu.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/proxy-configuration-in-linu-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div></div>
<div><strong>Setting the proxy configuration in Linux and Windows</strong></div>
<div></div>
<div>If you use a proxy server or firewall, you may need to set the http_proxy environment variable in order to access some url from command-line.</div>
<div></div>
<div><strong>Windows Command line</strong></div>
<div>set http_proxy=http://your_proxy:your_port</div>
<div>set http_proxy=http://username:password@your_proxy:your_port</div>
<div>set https_proxy=https://your_proxy:your_port</div>
<div>set https_proxy=https://username:password@your_proxy:your_port</div>
<div></div>
<div><strong>Windows GUI</strong></div>
<div>1. Open the Control Panel and click the System icon.The System Properties dialog is displayed.</div>
<div>2. On the Advanced tab, click on Environment Variables. The Environment Variables dialog is displayed.</div>
<div>3. Click New in the System variables panel. The New Sytem Variable dialog is displayed.</div>
<div>4. Add http_proxy with the appropriate proxy information</div>
<div></div>
<div><strong>Windows Registry</strong></div>
<div>IE can set username and password proxies, so maybe setting it there and import does work</div>
<div></div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyEnable /t REG_DWORD /d 1</div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyServer /t REG_SZ /d name:port</div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyUser /t REG_SZ /d username</div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyPass /t REG_SZ /d password</div>
<div>netsh winhttp import proxy source=ie</div>
<div></div>
<div><strong>Command to enable proxy usage:</strong></div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyEnable /t REG_DWORD /d 1 /f</div>
<div></div>
<div><strong>Command to disable proxy usage:</strong></div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyEnable /t REG_DWORD /d 0 /f</div>
<div></div>
<div><strong>Command to change the proxy address:</strong></div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyServer /t REG_SZ /d proxyserveraddress:proxyport /f</div>
<div></div>
<div><strong>Linux </strong></div>
<div>export http_proxy=http://your_proxy:your_port</div>
<div>export http_proxy=http://username:password@your_proxy:your_port</div>
<div>export https_proxy=https://your_proxy:your_port</div>
<div>export https_proxy=https://username:password@your_proxy:your_port</div>
<div>export https_proxy=https://%username%:%password%@your_proxy:your_port</div>
<div></div>
<div><strong>FAQ</strong></div>
<div>1. How to escape if password has a @ character</div>
<div>Ans &#8211; try %40 instead of @</div>
<div></div>
<div>2. What is the file name where it stroed the proxy in Ubantu</div>
<div>Ans &#8211; /etc/environment</div>
<div></div>
<div>3. How to set proxy inforamtin in Apt?</div>
<div>Ans &#8211; Adding following line to /etc/apt/apt.conf has solved the problem:</div>
<div>Acquire::http::proxy &#8220;http://10.1.3.1:8080/&#8221;;</div>
<div>If file does not exist, create it. Do not confuse it with apt.conf.d directory.</div>
<div></div>
<div>4. How to set proxy inforamtin in linux Profile?</div>
<div></div>
<div>5. Why manual export failed to affect apt-get with the proxy info?</div>
<div>Ans &#8211; The reason your manual export failed to affect apt-get is because sudo ignores that environment variable by default (i.e. it doesn&#8217;t pass it on to the command). For one-off runs, you could do sudo env http_proxy=http://10.1.3.1:8080 apt-get update. Otherwise, you could configure sudo to allow http_proxy to fall through.</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/setting-the-proxy-configuratin-in-linux-and-windows/">How to Set or Configure Proxy in Linux and Windows System? &#8211; scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/setting-the-proxy-configuratin-in-linux-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 #JRE8 - Package contains just the [&#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 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>20 mpstat Commands Examples in Linux / UNIX &#124; mpstat Commands Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/20-mpstat-command-examples-in-linux-unix/</link>
					<comments>https://www.scmgalaxy.com/tutorials/20-mpstat-command-examples-in-linux-unix/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 12 Dec 2015 12:01:34 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux mpstat Command]]></category>
		<category><![CDATA[mpstat]]></category>
		<category><![CDATA[mpstat Command]]></category>
		<category><![CDATA[mpstat Command Examples]]></category>
		<category><![CDATA[mpstat command line]]></category>
		<category><![CDATA[mpstat Commands Tutorials]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/12/12/20-mpstat-command-examples-in-linux-unix/</guid>

					<description><![CDATA[<p>If you are using SMP (Multiple CPU) system, use mpstat command to display the utilization of each CPU individually. mpstat [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-mpstat-command-examples-in-linux-unix/">20 mpstat Commands Examples in Linux / UNIX | mpstat Commands 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-3166 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/mpstat-command-examples-in-.png" alt="" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/mpstat-command-examples-in-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/mpstat-command-examples-in--300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div>If you are using SMP (Multiple CPU) system, use mpstat command to display the utilization of each CPU individually.</div>
<div></div>
<div>mpstat Report processors related statistics which includes Collecting and displays performance statistics for all logical processors in the system.. This display CPU statistics of individual CPU (or) Core.</div>
<div></div>
<div><strong>How to install mpstat?</strong></div>
<div>1. Ensure you are logged in as &#8216;root&#8217;</div>
<div>&#8216;mpstat&#8217; and &#8216;vmstat&#8217; are apart of the &#8216;sysstat&#8217; package and should be installed by default</div>
<div>2. Verify installation :</div>
<div># rpm -qa | grep -i sysstat</div>
<div>3. Installation, if needed :</div>
<div># rpm -ivh &lt;name&gt;</div>
<div>4. If you have connectivity to RHN or a Satellite Server:</div>
<div># yum install sysstat</div>
<div>5. If you are using Ubantu:</div>
<div># apt-get install sysstat</div>
<div></div>
<div>
<p><strong>Usage:</strong></p>
</div>
<div><strong>1. Using mpstat command without any option, will display the Global Average Activities by All CPUs.</strong></div>
<div>$ mpstat</div>
<div></div>
<div><strong>2. Using mpstat with option &#8216;-P&#8217; (Indicate Processor Number) and &#8216;ALL&#8217;, will display statistics about all CPUs one by one starting from 0. 0 will the first one.</strong></div>
<div>$ mpstat -P ALL</div>
<div></div>
<div><strong>3. To display the statistics for N number of iterations after n seconds interval with average of each cpu use the following command.</strong></div>
<div>$ mpstat -P ALL 2 5</div>
<div></div>
<div><strong>4. The option &#8216;I&#8217; will print total number of interrupt statistics about per processor.</strong></div>
<div>$ mpstat -I</div>
<div></div>
<div><strong>5. Get all the above information in one command i.e. equivalent to &#8220;-u -I ALL -p ALL&#8221;.</strong></div>
<div>$ mpstat -A</div>
<div></div>
<div><strong>Reference</strong></div>
<div><a href="http://linuxcommand.org/man_pages/mpstat1.html" target="_blank" rel="noopener">http://linuxcommand.org/man_pages/mpstat1.html</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-mpstat-command-examples-in-linux-unix/">20 mpstat Commands Examples in Linux / UNIX | mpstat Commands Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/20-mpstat-command-examples-in-linux-unix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>20 iostat Commands Examples in Linux / UNIX &#124; iostat Commands Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/20-iostat-commands-examples-in-linux-unix/</link>
					<comments>https://www.scmgalaxy.com/tutorials/20-iostat-commands-examples-in-linux-unix/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 12 Dec 2015 12:00:48 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[iostat]]></category>
		<category><![CDATA[iostat Command]]></category>
		<category><![CDATA[iostat Command Examples]]></category>
		<category><![CDATA[iostat command line]]></category>
		<category><![CDATA[iostat Commands Tutorials]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux iostat Command]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/12/12/20-iostat-commands-examples-in-linux-unix/</guid>

					<description><![CDATA[<p>iostat command is a command that used for monitoring system input/output device loading by observing the time the devices are [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-iostat-commands-examples-in-linux-unix/">20 iostat Commands Examples in Linux / UNIX | iostat Commands 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-3169 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/iostat-commands-examples-in.png" alt="" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/iostat-commands-examples-in.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/iostat-commands-examples-in-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div><strong>iostat</strong> command is a command that used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates. The iostat create reports that can be used to change system configuration to better balance the input/output between physical disks.</div>
<div></div>
<div>You can use iostat command which report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions. It can be use to find out your system’s average CPU utilization since the last reboot.</div>
<div></div>
<div>Reports Central Processing Unit (CPU) statistics, asynchronous input/output (AIO) and input/output statistics for the entire system, adapters, TTY devices, disks CD-ROMs, tapes and file systems.</div>
<div></div>
<div><strong>Note:</strong></div>
<div>iostat reports CPU, disk I/O, and NFS statistics.</div>
<div>vmstat reports virtual memory statistics.</div>
<div>mpstat reports processors statictics.</div>
<div></div>
<div><strong>How to install iostat?</strong></div>
<div>1. Ensure you are logged in as &#8216;root&#8217;</div>
<div>&#8216;iostat&#8217; and &#8216;vmstat&#8217; are apart of the &#8216;sysstat&#8217; package and should be installed by default</div>
<div>2. Verify installation :</div>
<div># rpm -qa | grep -i sysstat</div>
<div>3. Installation, if needed :</div>
<div># rpm -ivh &lt;name&gt;</div>
<div>4. If you have connectivity to RHN or a Satellite Server:</div>
<div># yum install sysstat</div>
<div>5. If you are using Ubantu:</div>
<div># apt-get install sysstat</div>
<div></div>
<div><strong>1. iostat – Basic example, Iostat without any argument displays information about the CPU usage, and I/O statistics about all the partitions on the system as shown below.</strong></div>
<div>$ iostat</div>
<div></div>
<div><strong>2. iostat – Display only cpu statistics. iostat option -c, displays only the CPU usage statistics as shown below.</strong></div>
<div>$ iostat -c</div>
<div></div>
<div><strong>3. iostat – Display only disk I/O statistics. iostat option -d, displays only the disk I/O statistics as shown below.</strong></div>
<div>$ iostat -d</div>
<div></div>
<div><strong>4. iostat – Display only network statistics. iostat option -n, displays only the device and NFS statistics as shown below.</strong></div>
<div>$ iostat -n</div>
<div></div>
<div><strong>5. iostat – Display I/O data in MB/second. By default iostat, displays the device I/O statistics in Blocks. To change it to MB, use -m as shown below.</strong></div>
<div>
<p>$ iostat -m</p>
</div>
<div><strong>6. iostat – Display I/O statistics only for a device. By default iostat displays I/O data for all the disks available in the system. To view statistics for a specific device (For example, /dev/sda), use the option -p as shown below.</strong></div>
<div>$ iostat -p sda</div>
<div></div>
<div><strong>7. iostat – Display timestamp information, By default iostat displays only the current date. To display the current time, use the option -t as shown below.</strong></div>
<div>$ $ iostat -t</div>
<div></div>
<div><strong>8. iostat – Display Extended status, Use option -x, which will displays extended disk I/O statistics information as shown below.</strong></div>
<div>$ iostat -x</div>
<div></div>
<div><strong>9. To display extended information for a specific partition (For example, /dev/sda1), do the following.</strong></div>
<div>$ iostat -x sda1</div>
<div></div>
<div><strong>10. iostat – Execute Every x seconds (for y number of times). To execute iostat every 2 seconds (until you press Ctl-C), do the following.</strong></div>
<div>$ iostat 2</div>
<div></div>
<div><strong>11.To execute every 2 seconds for a total of 3 times, do the following.</strong></div>
<div>$ iostat 2 3</div>
<div></div>
<div><strong>12. iostat – Display LVM statistic (and version)</strong></div>
<div>$ iostat -N</div>
<div></div>
<div><strong>13. To display the version of iostat, use -V. This will really display the version information of sysstat, as iostat is part of sysstat package.</strong></div>
<div>$ iostat -V</div>
<div></div>
<div><strong>Reference</strong></div>
<div>iostat use these files to create reports&#8230;</div>
<div>/proc/stat which contains system statistics</div>
<div>/proc/partitions which contains disk statistics (for pre 2.5 kernel that have been patched)</div>
<div>/proc/diskstats contains disks statistics (for post 2.5 kernel)</div>
<div>/sys which contains statistics for block devices (post 2.5 kernel)</div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-iostat-commands-examples-in-linux-unix/">20 iostat Commands Examples in Linux / UNIX | iostat Commands Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/20-iostat-commands-examples-in-linux-unix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>20 vmstat Commands Examples in Linux / UNIX &#124; vmstat Commands Tutorials</title>
		<link>https://www.scmgalaxy.com/tutorials/20-vmstat-commands-examples-in-linux-unix/</link>
					<comments>https://www.scmgalaxy.com/tutorials/20-vmstat-commands-examples-in-linux-unix/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 12 Dec 2015 11:51:04 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux vmstat Command]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[vmstat]]></category>
		<category><![CDATA[vmstat Command]]></category>
		<category><![CDATA[vmstat Command Examples]]></category>
		<category><![CDATA[vmstat command line]]></category>
		<category><![CDATA[vmstat Commands Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/12/12/20-vmstat-commands-examples-in-linux-unix/</guid>

					<description><![CDATA[<p>vmstat &#8211; Report virtual memory statistics. vmstat is a tool that collects and reports data about your system’s memory, swap, [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-vmstat-commands-examples-in-linux-unix/">20 vmstat Commands Examples in Linux / UNIX | vmstat Commands Tutorials</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-3171 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/20-vmstat-commands-examples.png" alt="vmstat-commands" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/20-vmstat-commands-examples.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/20-vmstat-commands-examples-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div>vmstat &#8211; Report virtual memory statistics. vmstat is a tool that collects and reports data about your system’s memory, swap, and processor resource utilization in real time. It can be used to determine the root cause of performance and issues related to memory use.</div>
<div></div>
<div>vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity. The first report produced gives averages since the last reboot. Additional reports give information on a sampling period of length delay. The process and memory reports are instantaneous in either case.</div>
<div></div>
<div><strong>Note:</strong></div>
<div>iostat reports CPU, disk I/O, and NFS statistics.</div>
<div>vmstat reports virtual memory statistics.</div>
<div>mpstat reports processors statictics.</div>
<div></div>
<div><strong>How to install vmstat?</strong></div>
<div>1. Ensure you are logged in as &#8216;root&#8217;</div>
<div>&#8216;iostat&#8217; and &#8216;vmstat&#8217; are apart of the &#8216;sysstat&#8217; package and should be installed by default</div>
<div>2. Verify installation :</div>
<div># rpm -qa | grep -i sysstat</div>
<div>3. Installation, if needed :</div>
<div># rpm -ivh &lt;name&gt;</div>
<div>4. If you have connectivity to RHN or a Satellite Server:</div>
<div># yum install sysstat</div>
<div>5. If you are using Ubantu:</div>
<div># apt-get install sysstat</div>
<div></div>
<div><strong>Example</strong></div>
<div><strong>1. The significant of the columns are explained in man page of vmstat in details. Most important fields are free under memory and si, so under swap column.</strong></div>
<div></div>
<div>[root@tecmint ~]# vmstat -a</div>
<div></div>
<div>procs &#8212;&#8212;&#8212;&#8211;memory&#8212;&#8212;&#8212;- &#8212;swap&#8211; &#8212;&#8211;io&#8212;- &#8211;system&#8211; &#8212;&#8211;cpu&#8212;&#8211;</div>
<div> r  b   swpd   free  inact active   si   so    bi    bo   in   cs us sy id wa st</div>
<div> 1  0      0 810420  97380  70628    0    0   115     4   89   79  1  6 90  3  0</div>
<div></div>
<div>Free – Amount of free/idle memory spaces.</div>
<div>si – Swaped in every second from disk in Kilo Bytes.</div>
<div>so – Swaped out every second to disk in Kilo Bytes.</div>
<div></div>
<div><strong>2. Execute vmstat ‘X’ seconds and (‘N’number of times). With this command, vmstat execute every two seconds and stop automatically after executing six intervals.</strong></div>
<div># vmstat 2 6</div>
<div></div>
<div><strong>3. Vmstat with timestamps. vmstat command with -t parameter shows timestamps with every line printed as shown below.</strong></div>
<div># vmstat -t 1 5</div>
<div></div>
<div><strong>4. Statistics of Various Counter, vmstat command and -s switch displays summary of various event counters and memory statistics.</strong></div>
<div>$ vmstat -s</div>
<div></div>
<div><strong>5. Disks Statistics, vmstat with -d option display all disks statistics.</strong></div>
<div>$ vmstat -d</div>
<div></div>
<div><strong>6. Display Statistics in Megabytes, The vmstat displays in Megabytes with parameters -S and M(Uppercase &amp; megabytes). By default vmstat displays statistics in kilobytes.</strong></div>
<div># vmstat -S M 1 5</div>
<div></div>
<div><strong>7. vmstat – Display number of forks since last boot, This displays all the fork system calls made by the system since the last boot. This displays all fork, vfork, and clone system call counts.</strong></div>
<div># vmstat -f</div>
<div></div>
<div><strong>8. vmstat – Display slab info, Use option -m, to display the slab info as shown below.</strong></div>
<div># vmstat -m</div>
<div></div>
<div><strong>Reference</strong></div>
<div>The output of vmstat is displayed in a number of columns. The following sections provide brief overviews of the data reported in each column.</div>
<div></div>
<div><strong>Procs</strong></div>
<div>The procs data reports the number of processing jobs waiting to run and allows you to determine if there are processes “blocking” your system from running smoothly.</div>
<div></div>
<div>The r column displays the total number of processes waiting for access to the processor. The b column displays the total number of processes in a “sleep” state.</div>
<div></div>
<div>These values are often 0.</div>
<div></div>
<div>r: The number of processes waiting for run time.</div>
<div>b: The number of processes in uninterruptible sleep.</div>
<div></div>
<div><strong>Memory</strong></div>
<div>The information displayed in the memory section provides the same data about memory usage as the command free -m.</div>
<div></div>
<div>The swapd or “swapped” column reports how much memory has been swapped out to a swap file or disk. The free column reports the amount of unallocated memory. The buff or “buffers” column reports the amount of allocated memory in use. The cache column reports the amount of allocated memory that could be swapped to disk or unallocated if the resources are needed for another task.</div>
<div></div>
<div>swpd: the amount of virtual memory used.</div>
<div>free: the amount of idle memory.</div>
<div>buff: the amount of memory used as buffers.</div>
<div>cache: the amount of memory used as cache.</div>
<div>inact: the amount of inactive memory. (-a option)</div>
<div>active: the amount of active memory. (-a option)</div>
<div></div>
<div><strong>Swap</strong></div>
<div>The swap section reports the rate that memory is sent to or retrieved from the swap system. By reporting “swapping” separately from total disk activity, vmstat allows you to determine how much disk activity is related to the swap system.</div>
<div></div>
<div>The si column reports the amount of memory that is moved from swap to “real” memory per second. The so column reports the amount of memory that is moved to swap from “real” memory per second.</div>
<div></div>
<div>si: Amount of memory swapped in from disk (/s).</div>
<div>so: Amount of memory swapped to disk (/s).</div>
<div></div>
<div><strong>I/O</strong></div>
<div>The io section reports the amount of input and output activity per second in terms of blocks read and blocks written.</div>
<div></div>
<div>The bi column reports the number of blocks received, or “blocks in”, from a disk per second. The bo column reports the number of blocks sent, or “blocks out”, to a disk per second.</div>
<div></div>
<div>bi: Blocks received from a block device (blocks/s).</div>
<div>bo: Blocks sent to a block device (blocks/s).</div>
<div></div>
<div><strong>System</strong></div>
<div>The system section reports data that reflects the number of system operations per second.</div>
<div></div>
<div>The in column reports the number of system interrupts per second, including interrupts from system clock. The cs column reports the number of context switches that the system makes in order to process all tasks.</div>
<div></div>
<div>in: The number of interrupts per second, including the clock.</div>
<div>cs: The number of context switches per second.</div>
<div></div>
<div><strong>CPU</strong></div>
<div>The cpu section reports on the use of the system’s CPU resources. The columns in this section always add to 100 and reflect “percentage of available time”.</div>
<div></div>
<div>The us column reports the amount of time that the processor spends on userland tasks, or all non-kernel processes. The sy column reports the amount of time that the processor spends on kernel related tasks. The id column reports the amount of time that the processor spends idle. The wa column reports the amount of time that the processor spends waiting for IO operations to complete before being able to continue processing tasks.</div>
<div></div>
<div>These are percentages of total CPU time.</div>
<div>us: Time spent running non-kernel code. (user time, including nice time)</div>
<div>sy: Time spent running kernel code. (system time)</div>
<div>id: Time spent idle. Prior to Linux 2.5.41, this includes IO-wait time.</div>
<div>wa: Time spent waiting for IO. Prior to Linux 2.5.41, included in idle.</div>
<div>st: Time stolen from a virtual machine. Prior to Linux 2.6.11, unknown.</div>
<div>Field Description For Disk Mode</div>
<div></div>
<div>Reads</div>
<div></div>
<div>total: Total reads completed successfully</div>
<div>merged: grouped reads (resulting in one I/O)</div>
<div>sectors: Sectors read successfully</div>
<div>ms: milliseconds spent reading</div>
<div>Writes</div>
<div></div>
<div>total: Total writes completed successfully</div>
<div>merged: grouped writes (resulting in one I/O)</div>
<div>sectors: Sectors written successfully</div>
<div>ms: milliseconds spent writing</div>
<div><strong>IO</strong></div>
<div></div>
<div>cur: I/O in progress</div>
<div>s: seconds spent for I/O</div>
<div>Field Description For Disk Partition Mode</div>
<div></div>
<div>reads: Total number of reads issued to this partition</div>
<div>read sectors: Total read sectors for partition</div>
<div>writes : Total number of writes issued to this partition</div>
<div>requested writes: Total number of write requests made for partition</div>
<div>Field Description For Slab Mode</div>
<div></div>
<div>cache: Cache name</div>
<div>num: Number of currently active objects</div>
<div>total: Total number of available objects</div>
<div>size: Size of each object</div>
<div>pages: Number of pages with at least one active object</div>
<div>totpages: Total number of allocated pages</div>
<div>pslab: Number of pages per slab</div>
<div></div>
<div><strong>Files</strong></div>
<div>/proc/meminfo</div>
<div>/proc/stat</div>
<div>/proc/*/stat</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-vmstat-commands-examples-in-linux-unix/">20 vmstat Commands Examples in Linux / UNIX | vmstat Commands Tutorials</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/20-vmstat-commands-examples-in-linux-unix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>20 Xargs Commands Examples in Linux / UNIX &#124; Xargs Commands Tutorials</title>
		<link>https://www.scmgalaxy.com/tutorials/20-xargs-commands-examples-in-linux-unix/</link>
					<comments>https://www.scmgalaxy.com/tutorials/20-xargs-commands-examples-in-linux-unix/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 12 Dec 2015 11:45:14 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Xargs Command]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[Xargs]]></category>
		<category><![CDATA[Xargs Command]]></category>
		<category><![CDATA[Xargs Command Examples]]></category>
		<category><![CDATA[Xargs command line]]></category>
		<category><![CDATA[Xargs Commands Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/12/12/20-xargs-commands-examples-in-linux-unix/</guid>

					<description><![CDATA[<p>Under Development The xargs command is extremely useful when we combine it with other commands.This tutorials explains the usage of [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-xargs-commands-examples-in-linux-unix/">20 Xargs Commands Examples in Linux / UNIX | Xargs Commands Tutorials</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-3174 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/xargs-commands-examples-in-.png" alt="xargs-commands" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/xargs-commands-examples-in-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/xargs-commands-examples-in--300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Under Development</p>
<div></div>
<div></div>
<div>The xargs command is extremely useful when we combine it with other commands.This tutorials explains the usage of xargs command using few simple examples.</div>
<div></div>
<div>1. Xargs Basic Example</div>
<div>The xargs command (by default) expects the input from stdin, and executes /bin/echo command over the input. When you execute xargs without any argument, or when you execute it without combining with any other commands. you get Welcome message</div>
<div></div>
<div>&gt; xargs</div>
<div>Hi,</div>
<div>Welcome to TGS.Hi, Welcome to TGS.</div>
<div>After you type something, press ctrl+d, which will echo the string back to you on stdout as shown below.</div>
<div></div>
<div>2. Specify Delimiter Using -d option</div>
<div>Delimiters can be applied so that each character in the input is taken literally using -d option in xargs.In the following example, when you use the -d\n, it will preserve newline delimiter in the output, and display the output exactly as it was typed.</div>
<div></div>
<div>&gt; xargs -d\n</div>
<div>Hi,</div>
<div>Welcome to TGS.</div>
<div></div>
<div>3. Limit Output Per Line Using -n Option</div>
<div></div>
<div>By default as explained earlier, xargs displays whatever comes to its stdin as shown below.</div>
<div></div>
<div>&gt; echo a b c d e f| xargs</div>
<div>a b c d e f</div>
<div></div>
<div>&gt; echo a b c d e f| xargs -n 3</div>
<div>a b c</div>
<div>d e f</div>
<div></div>
<div>In the following example, we used -n 3, which will display only 3 items per line in the xargs output.</div>
<div></div>
<div>4. Delete Files that has White-space in the Filename</div>
<div>&gt; find . -name &#8220;*.c&#8221; -print0 | xargs -0 rm -rf</div>
<div></div>
<div></div>
<div>Example</div>
<div># fild /usr/preserve –mtime +30 –exec rm –f {} \;</div>
<div>is equivalent to&#8230;.</div>
<div># find /usr/preserve –mtime +30 –print | xargs rm –f</div>
<div># find /usr/preserve –size +1024 –print | xargs –n20 rm –f</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-xargs-commands-examples-in-linux-unix/">20 Xargs Commands Examples in Linux / UNIX | Xargs Commands Tutorials</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/20-xargs-commands-examples-in-linux-unix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>20 Mount and Unmount Filesystem / Partition commands in Linux / UNIX</title>
		<link>https://www.scmgalaxy.com/tutorials/20-mount-and-unmount-filesystem-partition-commands-in-linux-unix/</link>
					<comments>https://www.scmgalaxy.com/tutorials/20-mount-and-unmount-filesystem-partition-commands-in-linux-unix/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 12 Dec 2015 11:32:45 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Filesystem]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux/UNIX]]></category>
		<category><![CDATA[Mount]]></category>
		<category><![CDATA[Mount command]]></category>
		<category><![CDATA[Mount Filesystem]]></category>
		<category><![CDATA[Partition]]></category>
		<category><![CDATA[Partition commands]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[Unmount]]></category>
		<category><![CDATA[Unmount Command]]></category>
		<category><![CDATA[Unmount Filesystem]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/12/12/20-mount-and-unmount-filesystem-partition-commands-in-linux-unix/</guid>

					<description><![CDATA[<p>Once you create a partition, you should use mount command to mount the partition into a mount point (a directory), [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-mount-and-unmount-filesystem-partition-commands-in-linux-unix/">20 Mount and Unmount Filesystem / Partition commands in Linux / UNIX</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-3177 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/mount-and-unmount-filesyste.png" alt="partition-commands-in-linux-unix" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/mount-and-unmount-filesyste.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/mount-and-unmount-filesyste-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div>Once you create a partition, you should use mount command to mount the partition into a mount point (a directory), to start using the filesystem.</div>
<div></div>
<div>You need to add the -t FILESYSTEMTYPE argument to the command, replacing FILESYSTEMTYPE with your filesystem type.valid filesystem types are:</div>
<div></div>
<div>auto &#8211; this is a special one. It will try to guess the fs type when you use this.</div>
<div>ext4 &#8211; this is probably the most common Linux fs type of the last few years</div>
<div>ext3 &#8211; this is the most common Linux fs type from a couple years back</div>
<div>ntfs &#8211; this is the most common Windows fs type or larger external hard drives</div>
<div>vfat &#8211; this is the most common fs type used for smaller external hard drives</div>
<div></div>
<div><strong>The general mount command syntax to mount a device:</strong></div>
<div>&gt; mount -t type device destination_dir</div>
<div></div>
<div><strong>Mount a CD-ROM</strong></div>
<div>&gt; mount -t iso9660 -o ro /dev/cdrom /mnt</div>
<div></div>
<div>In the above example, the option “-o ro” indicates that the cdrom should be mounted with read-only access. Also, make sure that the destination directory (in the above example, /mnt) exist before you execute the mount command.</div>
<div></div>
<div><strong>View All Mounts</strong></div>
<div>&gt; mount</div>
<div></div>
<div>You can also use df command to view all the mount points.</div>
<div></div>
<div><strong>Mount all the filesystem mentioned in /etc/fstab</strong></div>
<div>The filesystems listed in /etc/fstab gets mounted during booting process. After booting, system administrator may unmount some of the partitions for various reasons. If you want all the filesystems to be mounted as specified in /etc/fstab, use -a option with mount as shown below:</div>
<div></div>
<div>&gt; cat /etc/fstab</div>
<div>&gt; mount -a</div>
<div></div>
<div><strong>Access contents from new mount point</strong></div>
<div>&gt; mount -M /mydata /mnt/</div>
<div></div>
<div>Mount an iso image into a directory</div>
<div>&gt; mount -t iso9660 -o loop pdf_collections.iso /mnt</div>
<div></div>
<div><strong>Unmount</strong></div>
<div>
<p>The same -a option can be used with umount to unmount all the filesystems mentioned in /etc/mtab</p>
<p><strong>Example</strong></p>
<div># mount –t ext2 /dev/hda3 /oracle A empty directory must be made before mounting in linux</div>
<div># unmounts /oracle</div>
<div># unmounts /dev/hda3   Linux</div>
<div># mount –a   This run when system boot</div>
<div># unmont –a     This runs when shutdown sequence runs</div>
<div># mount –t vfat /dev/hda1 /windows     Windows Partition &#8211; Linux</div>
<div></div>
<div># mount configuration file &#8211; /etc/fstab</div>
<div># default file system for mount in Linux is ext2</div>
</div>
<div></div>
<div><strong>Reference</strong></div>
<div><a href="http://www.thegeekstuff.com/2013/01/mount-umount-examples/" target="_blank" rel="noopener">http://www.thegeekstuff.com/2013/01/mount-umount-examples/</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-mount-and-unmount-filesystem-partition-commands-in-linux-unix/">20 Mount and Unmount Filesystem / Partition commands in Linux / UNIX</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/20-mount-and-unmount-filesystem-partition-commands-in-linux-unix/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>gsh &#8211; Run linux commands on many other linux server at once</title>
		<link>https://www.scmgalaxy.com/tutorials/gsh-run-linux-commands-on-many-other-linux-server-at-once/</link>
					<comments>https://www.scmgalaxy.com/tutorials/gsh-run-linux-commands-on-many-other-linux-server-at-once/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 12 Aug 2015 14:42:16 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Execute]]></category>
		<category><![CDATA[gsh]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux command]]></category>
		<category><![CDATA[Linux server]]></category>
		<category><![CDATA[Multiple linux server]]></category>
		<category><![CDATA[Multiple servers]]></category>
		<category><![CDATA[Once]]></category>
		<category><![CDATA[Run]]></category>
		<category><![CDATA[server]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/08/12/gsh-run-linux-commands-on-many-other-linux-server-at-once/</guid>

					<description><![CDATA[<p>gsh &#8211; Run linux commands on many other linux server at once Group Shell (also called gsh) is a remote [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/gsh-run-linux-commands-on-many-other-linux-server-at-once/">gsh &#8211; Run linux commands on many other linux server at once</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-3453 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/08/gsh-run-linux-commands.png" alt="gsh-run-linux-commands" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/08/gsh-run-linux-commands.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/08/gsh-run-linux-commands-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>gsh &#8211; Run linux commands on many other linux server at once</strong></p>
<p>Group Shell (also called gsh) is a remote shell multiplexor. It lets you control many remote shells at once in a single shell. Unlike other commands dispatchers, it is interactive, so shells spawned on the remote hosts are persistent.</p>
<p>GSH is a pluggable version of DSH (Distributed Shell) written in Python. Both a module and a command-line tool for running a shell command over multiple machines are included. GSH can be extended by adding new host loaders as well as hooking into various stages of the runtime.</p>
<p>It requires only a SSH server on the remote hosts, or some other way to open a remote shell.<br />
gsh allows you to run commands on multiple hosts by adding tags to the gsh command.</p>
<p>e.g &gt; gsh tag &#8220;remote command&#8221;</p>
<p><strong>Important things to remember:</strong><br />
/etc/ghosts contains a list of all the servers and tags. gsh is a lot more fun once you’ve set up ssh keys to your servers</p>
<p><strong>gsh [OPTIONS] SYSTEMS CMD&#8230;</strong><br />
SYSTEMS is a combination of ghost macros. See ghosts(1).</p>
<p>CMD is the command to run<br />
-h, &#8211;help Display full help<br />
-d, &#8211;debug Turn on exeuction debugging reports<br />
-h, &#8211;no-host-prefix Does not prefix output lines with the host name<br />
-s, &#8211;show-commands Displays the command before the output report<br />
-n, &#8211;open-stdin Leaves stdin open when running (scary!)<br />
-l, &#8211;user USER SSH&#8217;s to the host as user USER<br />
-r, &#8211;run-locally Run commands locally (replaces $host with host)<br />
-o, &#8211;self-remote Run locally instead of over SSH for local host<br />
-V, &#8211;version Report the version and exit</p>
<p>You set up a /etc/ghosts file containing your servers in groups such as web, db, RHEL4, x86_64, or whatever (man ghosts) then you use that group when you call gsh.</p>
<p><strong>How to run the gsh?</strong><br />
&gt; gsh linux &#8220;cat /etc/redhat-release; uname -r&#8221;</p>
<p>You can also combine or split ghost groups, using cpanel+vps or web-RHEL4, for example.</p>
<pre>Here’s an example /etc/ghosts file:</pre>
<pre># Machines
 #
 # hostname OS-Version Hardware OS cp security
 linuxbrigade.com debian6 baremetal linux plesk iptables
 linuxbrigade.com centos5 vps linux cpanel csfcluster
 linuxbrigade.com debian7 baremetal linux plesk iptables
 linuxbrigade.com centos6 vps linux cpanel csfcluster
 linuxbrigade.com centos6 vps linux cpanel csfcluster
 linuxbrigade.com centos6 vps linux nocp denyhosts
 linuxbrigade.com debian6 baremetal linux plesk iptables
 linuxbrigade.com centos6 baremetal linux cpanel csf
 linuxbrigade.com centos5 vps linux cpanel csf</pre>
<p><strong>Reference url </strong></p>
<p><a href="http://www.linuxbrigade.com/run-the-same-command-on-many-linux-servers-at-once/" target="_blank" rel="noopener">http://www.linuxbrigade.com/run-the-same-command-on-many-linux-servers-at-once/</a><br />
<a href="http://linux.die.net/man/1/gsh" target="_blank" rel="noopener">http://linux.die.net/man/1/gsh</a><br />
<a href="https://github.com/gmjosack/gsh" target="_blank" rel="noopener">https://github.com/gmjosack/gsh</a><br />
<a href="http://outflux.net/unix/software/gsh/" target="_blank" rel="noopener">http://outflux.net/unix/software/gsh/</a><br />
<a href="http://outflux.net/unix/software/gsh/gsh.html" target="_blank" rel="noopener">http://outflux.net/unix/software/gsh/gsh.html</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/gsh-run-linux-commands-on-many-other-linux-server-at-once/">gsh &#8211; Run linux commands on many other linux server at once</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/gsh-run-linux-commands-on-many-other-linux-server-at-once/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
