<?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>RahulSoni.Me &#187; linux</title>
	<atom:link href="http://rahulsoni.me/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://rahulsoni.me</link>
	<description>Linux and Stuff...</description>
	<lastBuildDate>Mon, 21 Nov 2011 13:48:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Install subversion SVN 1.7 from source on Centos Redhat 64 Bit</title>
		<link>http://rahulsoni.me/2011/11/install-subversion-svn-from-source-on-centos-redhat-64-bit/</link>
		<comments>http://rahulsoni.me/2011/11/install-subversion-svn-from-source-on-centos-redhat-64-bit/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 16:50:51 +0000</pubDate>
		<dc:creator>Rahul</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[1.7]]></category>
		<category><![CDATA[1.7.1]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[CVS]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[version control system]]></category>

		<guid isPermaLink="false">http://rahulsoni.me/?p=108</guid>
		<description><![CDATA[Following on my previous tutorial regarding installation of Red5 i believe its also best to post installation steps of subversion.

<strong>Throw some light on subversion first shall we ?</strong>

Subversion is a open-source version control system. Subversion manage files and directories, and the changes made to them, over time. This allows you to recover older versions of your data, or examine the history of how your data changed. Many people think of a version control system as a sort of “time machine”.]]></description>
			<content:encoded><![CDATA[<p>Following on my previous tutorial regarding installation of Red5 i believe its also best to post installation steps of subversion.</p>
<p><strong>Throw some light on subversion first shall we ?</strong></p>
<p>Subversion is a open-source version control system. Subversion manage files and directories, and the changes made to them, over time. This allows you to recover older versions of your data, or examine the history of how your data changed. Many people think of a version control system as a sort of “time machine”.</p>
<p>Subversion can operate across networks, which allows it to be used by people on different computers. At some level, the ability for various people to modify and manage the same set of data from their respective locations fosters collaboration. Progress can occur more quickly without a single conduit through which all modifications must occur.</p>
<p><strong>Installation of subversion on Centos and Redhat distribution.</strong></p>
<p>This can be done simply with yum command<br />
1) SSH to your server as root<br />
2) Execute<br />
<code>yum install subversion</code></p>
<p>Problem is that Yum will most probably give you version 1.6 while latest release is 1.7.</p>
<p>Its best to do it from source.</p>
<p><strong>Installing Subversion 1.7 from Source</strong></p>
<p>1) SSH to your server as root and remove old version if installed from yum<br />
<code> yum remove subversion</code><br />
2) Goto /ust/local/src<br />
<code>cd /usr/local/src</code><br />
3) Download source from</p>
<p>http://subversion.apache.org/download/</p>
<p><code>wget http://mirror.nyi.net/apache/subversion/subversion-1.7.1.tar.gz<br />
tar zxf subversion-1.7.1.tar.gz<br />
</code><br />
Again if download link don&#8217;t work get the correct one from http://subversion.apache.org/download/</p>
<p>4) Enter extracted source directory and download apache apr and apr-util before compiling subversion<br />
<code>cd /usr/local/src/subversion-1.7.1<br />
wget http://rahulsoni.me/files/apr-util-1.3.12.tar.gz<br />
wget http://rahulsoni.me/files/apr-1.4.5.tar.gz<br />
tar zxf apr-util-1.3.12.tar.gz<br />
tar zxf apr-1.4.5.tar.gz<br />
./configure<br />
make<br />
make install<br />
</code></p>
<p>You are set and svn can be accessed from /usr/local/bin/svn or simply svn<br />
To check the version and see if everything is good run<br />
<code><br />
/usr/local/bin/svn --version<code></p>
<p>Result would be.<br />
svn, version 1.7.1 (r1186859)</p>
<p>Please feel free to post comment if you face problems with installation.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Install+subversion+SVN+1.7+from+source+on+Centos+Redhat+64+Bit+http%3A%2F%2Frahulsoni.me%2F%3Fp%3D108" title="Post to Twitter"><img class="nothumb" src="http://rahulsoni.me/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big1.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://rahulsoni.me/2011/11/install-subversion-svn-from-source-on-centos-redhat-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red5 server installation on Redhat CentOs Linux</title>
		<link>http://rahulsoni.me/2009/11/red5-server-installation-on-redhat-centos-linux/</link>
		<comments>http://rahulsoni.me/2009/11/red5-server-installation-on-redhat-centos-linux/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 15:52:25 +0000</pubDate>
		<dc:creator>Rahul</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[flash media server]]></category>
		<category><![CDATA[fms alternative]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[red5 centos install]]></category>
		<category><![CDATA[red5 installation]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://rahulsoni.in/?p=63</guid>
		<description><![CDATA[If you reach this page then you probably cannot afford Adobe FMS but Red5 open source flash server is an here to save your day. I have been working with red5 since version 0.6.2 and in this post we will go through the installation of 0.8.0. 
Red5 support streaming video/audio content( flv, aac and mp3), recording streams in flv and live publishing. I am doing Red5 installation on CentOs 5 machine here and instructions would be same for Redhat Enterprise]]></description>
			<content:encoded><![CDATA[<p>If you reach this page then you probably cannot afford Adobe FMS but Red5 open source flash server is here to save your day. I have been working with red5 since version 0.6.2 and in this post we will go through the installation of 1.0 SVN.<br />
Red5 support streaming video/audio content( flv, aac and mp3), recording streams in flv and live publishing. I am doing Red5 installation on CentOs 5 machine here and instructions would be same for Redhat Enterprise</p>
<p>1) Installation of Java<br />
Login to server as root and goto<br />
<code>cd /usr/local/src</code></p>
<p>Download jdk 7 linux rpm package from sun<br />
<code>http://java.sun.com/javase/downloads/index.jsp</code><br />
Select 32 Bit or 64 Bit package as per your OS.</p>
<p>We will be taking example of 64 Bit here<br />
<code>wget http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-x64.rpm -O jdk-7u1-linux-x64.rpm<br />
chmod 777 jdk-6u7-linux-i586-rpm.bin<br />
rpm -ivh jdk-7u1-linux-x64.rpm</code></p>
<p>URL in wget link can be different and if it does not work get the correct URL from</p>
<p>http://www.oracle.com/technetwork/java/javase/downloads/index.html</p>
<p>once completed setup the java home path</p>
<p><code>export JAVA_HOME=/usr/java/latest</code></p>
<p>2) Installation of apache ant</p>
<p><code>cd /usr/local</code><br />
download latest apache ant tar.gz from http://ant.apache.org/bindownload.cgi<br />
or<br />
<code>wget http://apache.mirrors.redwire.net/ant/binaries/apache-ant-1.7.1-bin.tar.gz<br />
tar zxf apache-ant-1.7.1-bin.tar.gz<br />
mv apache-ant-1.7.1 ant<br />
rm -Rf apache-ant-1.7.1-bin.tar.gz</code></p>
<p>Export apache ant home<br />
<code>export ANT_HOME=/usr/local/ant</code></p>
<p>create symbolic link<br />
<code>ln -s /usr/local/ant/bin/ant /usr/bin/ant</code></p>
<p>3) Red5 installation<br />
You can download latest build Red5 from google code<br />
<code>http://code.google.com/p/red5/</code></p>
<p>Get it from Source SVN as their download packages will not work 90% of the time giving all sort of errors. If you don&#8217;t have subversion install it with<br />
<code>yum install subversion</code></p>
<p>Login to your server via SSH as root and run:<br />
<code>mkdir red5<br />
svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5<br />
cd red5/<br />
make<br />
cp -r dist/conf .<br />
sh red5.sh<br />
</code></p>
<p>just a point don&#8217;t miss dot(.) end of cp -r dist/conf command above, It specifies copying folder from /dist to current directory. Sometimes people miss this while copy pasting command.</p>
<p>If everything is ok then you will see something like this:<br />
<code>[INFO] [Launcher:/installer] org.red5.server.service.Installer - Installer service created</code></p>
<p>Press ctrl+c to exit and run red5 server as a daemon:<br />
<code>./red5.sh >/dev/null 2>&#038;1 &#038;<br />
or<br />
nohup sh red5.sh &#038;</code></p>
<p>Red5 http service run on port 5080 and rtmp on port 1935.</p>
<p>First thing you can do is visit http://your_server_ip:5080 and install red5 demo apps, example apps like oflademo can be used to stream media straight out of the box.</p>
<p>Feel free to update here if you are struck at installation or red5 is not starting and i will be glad to assist.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Red5+server+installation+on+Redhat+CentOs+Linux+http%3A%2F%2Frahulsoni.me%2F%3Fp%3D63" title="Post to Twitter"><img class="nothumb" src="http://rahulsoni.me/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big1.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://rahulsoni.me/2009/11/red5-server-installation-on-redhat-centos-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Running Linux SCP and Rsync commands in background</title>
		<link>http://rahulsoni.me/2009/09/running-linux-scp-and-rsync-commands-in-background/</link>
		<comments>http://rahulsoni.me/2009/09/running-linux-scp-and-rsync-commands-in-background/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 16:35:31 +0000</pubDate>
		<dc:creator>Rahul</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[SCP]]></category>
		<category><![CDATA[transfer]]></category>

		<guid isPermaLink="false">http://rahulsoni.in/?p=51</guid>
		<description><![CDATA[I am using this alot these days to copy terabytes of data from one server to another which require running scp and rsync in background. This can be handy if you do not want to create password less connection between 2 machine which require setting up public/private keys.
It will send the SCP Rsync process in background once you have authenticated the session so that you don't need to keep the terminal active while data is being moved.]]></description>
			<content:encoded><![CDATA[<p>I am using this alot these days to copy terabytes of data from one server to another which require running scp and rsync in background. This can be handy if you do not want to create password less connection between 2 machine which require setting up public/private keys.<br />
It will send the SCP Rsync process in background once you have authenticated the session so that you don&#8217;t need to keep the terminal active while data is being moved.</p>
<p>Please follow these steps and i will be using SCP in the example</p>
<p>1) SSH into server<br />
2) Execute the SCP command to transfer files on remote machine<br />
For example to copy the folder named &#8220;data&#8221; i would be</p>
<p><code>scp -r data root@machine2.com:/home</code></p>
<p>It will ask you for root password of machine2.com, After authentication the process should start</p>
<p>3) Stop the process by using ctrl + z</p>
<p>4) Now run the bg command<br />
<code>root@localhost [~]# bg</code></p>
<p>bg will start the previous SCP process you killed in background</p>
<p>5) Confirm if the process is running by using jobs command<br />
<code>root@localhost [~]# jobs</code></p>
<p>If everything is ok kill the terminal with &#8220;exit&#8221; command and fetch a cup of cofee.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Running+Linux+SCP+and+Rsync+commands+in+background+http%3A%2F%2Frahulsoni.me%2F%3Fp%3D51" title="Post to Twitter"><img class="nothumb" src="http://rahulsoni.me/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big1.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://rahulsoni.me/2009/09/running-linux-scp-and-rsync-commands-in-background/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

