<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Time goes by</title>
	<atom:link href="http://rohing.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rohing.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 11 Jan 2012 19:01:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rohing.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Time goes by</title>
		<link>http://rohing.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rohing.wordpress.com/osd.xml" title="Time goes by" />
	<atom:link rel='hub' href='http://rohing.wordpress.com/?pushpress=hub'/>
		<item>
		<title>generate excel using php</title>
		<link>http://rohing.wordpress.com/2008/10/16/generate-excel-using-php/</link>
		<comments>http://rohing.wordpress.com/2008/10/16/generate-excel-using-php/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 03:12:47 +0000</pubDate>
		<dc:creator>rohing</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://rohing.wordpress.com/?p=16</guid>
		<description><![CDATA[Piece of code for generating excel using PHP # header("Pragma: public"); # header("Cache-Control: no-store, no-cache, must-revalidate"); # header("Cache-Control: pre-check=0, post-check=0, max-age=0"); # header("Pragma: no-cache"); # header("Expires: 0"); # header("Content-Transfer-Encoding: none"); # header("Content-Type: application/vnd.ms-excel;"); # header("Content-type: application/x-msexcel"); # header("Content-Disposition: attachment; filename=report2_opendebitsummary".date(‘Ymd’).".xls"); # ?&#62; # # # # # # Employee ID # Employee Name # # [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=16&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Piece of code for generating excel using PHP<br />
<code><br />
#<br />
header("Pragma: public");<br />
#<br />
header("Cache-Control: no-store, no-cache, must-revalidate");<br />
#<br />
header("Cache-Control: pre-check=0, post-check=0, max-age=0");<br />
#<br />
header("Pragma: no-cache");<br />
#<br />
header("Expires: 0");<br />
#<br />
header("Content-Transfer-Encoding: none");<br />
#<br />
header("Content-Type: application/vnd.ms-excel;");<br />
#<br />
header("Content-type: application/x-msexcel");<br />
#<br />
header("Content-Disposition: attachment; filename=report2_opendebitsummary".date(‘Ymd’).".xls");<br />
#<br />
?&gt;<br />
#</p>
<p>#</p>
<p>#</p>
<p>#</p>
<table border="1">
#</p>
<tr>
#</p>
<th>Employee ID</th>
<p>#</p>
<th>Employee Name</th>
<p>#<br />
</tr>
<p>#</p>
<p>#</p>
<tr>
#</p>
<td></td>
<p>#</p>
<td></td>
<p>#<br />
</tr>
<p>#</p>
<p>#<br />
</table>
<p>#</p>
<p>#</p>
<p></code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rohing.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rohing.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rohing.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rohing.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rohing.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rohing.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rohing.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rohing.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rohing.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rohing.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rohing.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rohing.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rohing.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rohing.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=16&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rohing.wordpress.com/2008/10/16/generate-excel-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8de44b2f427627acdd366fa1e17c1699?s=96&#38;d=identicon" medium="image">
			<media:title type="html">rohing</media:title>
		</media:content>
	</item>
		<item>
		<title>Subversion on FreeBSD</title>
		<link>http://rohing.wordpress.com/2008/09/19/subversion-on-freebsd/</link>
		<comments>http://rohing.wordpress.com/2008/09/19/subversion-on-freebsd/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 13:43:16 +0000</pubDate>
		<dc:creator>rohing</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://rohing.wordpress.com/?p=12</guid>
		<description><![CDATA[General Information Subversion (SVN) is an alternative to using Concurrent Version System (CVS) for collaborative development, though it has other uses if you develop on more than one machine and wish to keep all your work in a central location.  This guide will show you how to setup Subversion with Webaccess via the Apache2 mod_dav svn [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=12&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="font-size:15px;color:#921212;"><strong>General Information</strong></p>
<p><a href="http://subversio.tigris.org/" target="_blank">Subversion (SVN)</a> is an alternative to using Concurrent Version System (CVS) for collaborative development, though it has other uses if you develop on more than one machine and wish to keep all your work in a central location.  This guide will show you how to setup Subversion with Webaccess via the Apache2 mod_dav svn module.  If you already use apache 1.3 you can continue to use that, just change the port that apache2 listens on in its httpd.conf file.</p>
<p><a href="http://svnbook.red-bean.com/" target="_blank">Subversion Book</a> is an excellent resource for information outside the scope of this guide.</p>
<p style="font-size:15px;color:#921212;"><strong>Requirements</strong></p>
<ol>
<li>Local root access on the box or be able to su to root.</li>
<li>A SSH client such as puTTy or SecureCRT (if you are setting it up remotely).</li>
<li>A plain text editor, I prefer nano</li>
</ol>
<p style="font-size:15px;color:#921212;"><strong>Installation</strong></p>
<p>We have to start out by building apache2.  Because we are building it with the intention of using Subversion with it, we must build it with Berkeley DB (sleepycat) support, as the Subversion filesystem is actually built as a sleepycat database.  It is this that allows for the versioning of files.</p>
<table class="console" style="height:34px;" border="0" width="615">
<tbody>
<tr>
<td width="11" valign="top">#<br />
#</td>
<td>cd /usr/ports/www/apache2<br />
make install WITH_BERKELEYDB=db42</td>
</tr>
</tbody>
</table>
<p>We make sure that the apache2 aprutil library is known, this file sometimes seems to get &#8220;lost&#8221;</p>
<table class="console" style="height:46px;" border="0" width="616">
<tbody>
<tr>
<td width="11" valign="top">#<br />
#<br />
#</td>
<td>ldconfig -m /usr/local/lib/apache2/<br />
echo &#8220;/usr/local/lib/apache2&#8243; &gt;&gt; /etc/ld.so.conf<br />
echo &#8220;/usr/local/lib/apache2&#8243; &gt;&gt; /etc/ld-elf.so.conf</td>
</tr>
</tbody>
</table>
<p>Instruct the Operating System to run apache2 at startup</p>
<table class="console" style="height:22px;" border="0" width="613">
<tbody>
<tr>
<td width="11" valign="top">#</td>
<td>echo &#8216;apache2_enable=&#8221;YES&#8221;&#8216; &gt;&gt; /etc/rc.conf</td>
</tr>
</tbody>
</table>
<p>Now to build Subversion</p>
<table class="console" style="height:34px;" border="0" width="610">
<tbody>
<tr>
<td width="11" valign="top">#<br />
#</td>
<td>cd /usr/ports/devel/subversion<br />
make install -DWITH_MOD_DAV_SVN</td>
</tr>
</tbody>
</table>
<p style="font-size:15px;color:#921212;"><strong>Configuration</strong></p>
<p>OK, subversion and apache with berkeley db support are now compiled and installed.  You have a choice of either creating a single huge repository for all of your projects, or individual repositories for each.  I will detail each now.</p>
<p><strong>General Setup</strong></p>
<p>Create Subversion Home folder</p>
<table class="console" style="height:22px;" border="0" width="617">
<tbody>
<tr>
<td width="11" valign="top">#</td>
<td>mkdir -p /usr/home/svn</td>
</tr>
</tbody>
</table>
<p>Create a generic repository format</p>
<table class="console" border="0">
<tbody>
<tr>
<td width="11" valign="top">#<br />
#<br />
#</td>
<td>mkdir -p /usr/home/svn/default/trunk<br />
mkdir /usr/home/svn/default/branches<br />
mkdir /usr/home/svn/default/tags</td>
</tr>
</tbody>
</table>
<p>Copy some files will need for the web interface</p>
<table class="console" border="0">
<tbody>
<tr>
<td width="11" valign="top">#</td>
<td>cp /usr/ports/devel/subversion/work/subversion-1.0.6/tools/xslt/* /usr/local/www/data-dist/</td>
</tr>
</tbody>
</table>
<p class="note"><strong>Note:</strong> The path to the tools/xslt will change with versions of subversion so change the &lt;em&gt;subversion-1.0.6&lt;/em&gt; to whatever it is for your version of subversion, ie subversion-1.0.7 or subversion-1.0.8 and so on.</p>
<p>Setup Blanket Access:  If you wish to enable htaccess style password login to the subversion repository then use this system. This is the basic access control system, which can be extended to enable per directory access control as well.</p>
<table class="console" style="height:34px;" border="0" width="571">
<tbody>
<tr>
<td width="11" valign="top">#<br />
#</td>
<td>mkdir /usr/home/svn/access<br />
touch /usr/home/svn/access/users</td>
</tr>
</tbody>
</table>
<p>Create the users using the htpasswd utility</p>
<table class="console" style="height:22px;" border="0" width="570">
<tbody>
<tr>
<td width="11" valign="top">#</td>
<td>htpasswd -mb /usr/home/svn/access/users &lt;em&gt;username&lt;/em&gt; &lt;em&gt;password&lt;/em&gt;</td>
</tr>
</tbody>
</table>
<p>Configuring Apache2 for Blanket Access control</p>
<table class="console" border="0">
<tbody>
<tr>
<td width="11" valign="top">#</td>
<td>nano -w /usr/local/etc/apache2/httpd.conf</td>
</tr>
</tbody>
</table>
<p>Add the following to the httpd.conf file, this can be at the bottom or wherever, it will create a http://www.myservername.com/svn/ URL which you can then access</p>
<table class="console" style="height:270px;" border="0" width="571">
<tbody>
<tr>
<td width="11" valign="top">## SVN WebDAV Repository Setup<br />
&lt;Location /svn&gt;<br />
DAV svn<br />
SVNParentPath /usr/home/svn/repos<br />
SVNIndexXSLT &#8220;http://www.myservername.com/svnindex.xsl&#8221;</p>
<p># anonymous first<br />
Satisfy Any<br />
Require valid-user</p>
<p># authenticating them valid ones<br />
AuthType Basic<br />
AuthName &#8220;Subversion Repositories&#8221;<br />
AuthUserFile /usr/home/svn/access/users<br />
&lt;/Location&gt;</td>
</tr>
</tbody>
</table>
<p>This can also be placed inside a virtual host directive</p>
<p>Extending the Blanket Access control to enable Per-Directory Access control</p>
<table class="console" style="height:22px;" border="0" width="563">
<tbody>
<tr>
<td width="11" valign="top">#</td>
<td>touch /usr/home/svn/access/control</td>
</tr>
</tbody>
</table>
<p>If you are going to use a single large repository with all your projects in and you wish to allow and deny some users access to certain parts of the repository, then you can setup the control file like this.  In this example I will use users with the names of admin, manager (a project manager), commiter, client.  The access rules are inheritted, but I will demonstrate how to override an inheritted value.  If someone is not mentioned at all within the tree, then they are denied access.</p>
<table class="console" style="height:266px;" border="0" width="564">
<tbody>
<tr>
<td width="11" valign="top">[/]<br />
admin = rw<br />
manager = r</p>
<p>[/bigproject]<br />
manager = rw<br />
commiter = r</p>
<p>[/bigproject/trunk]<br />
commiter = rw<br />
client = r</p>
<p>[/bigproject/branches]<br />
client = r</p>
<p>[/bigproject/trunk/manager_notes]<br />
client =<br />
commiter =</td>
</tr>
</tbody>
</table>
<p>In this file from the very start the admin has full rights to the whole repository, and the manager can read and see all of the projects, but he has full access to the whole of the bigproject folder and the commiter can read the whole of the bigproject folder, all the development is to be kept in trunk so the commiter has full access to that, and the clients might want to be able to get the latest builds of a project, so they can read it.  They might also want access to the stable branches, so they are allowed read access to that.  Finally, the project manager has some project notes which he doesn&#8217;t want anyone else to gain access to, so the client and commiter are set to empty permissions which denys them access to that folder.  You can also specify general access rights for all by using the &#8216;*&#8217; and assigning access rights to that.<br />
Now the same again, but using per directory access control on a multiple repository system</p>
<table class="console" style="height:196px;" border="0" width="563">
<tbody>
<tr>
<td width="11" valign="top">[bigproject:/]<br />
admin = rw<br />
manager = rw<br />
commiter = r</p>
<p>[bigproject:/trunk]<br />
commiter = rw<br />
client = r</p>
<p>[bigproject:/branches]<br />
client = r</p>
<p>[bigproject:/trunk/manager_notes]<br />
client =<br />
commiter =</td>
</tr>
</tbody>
</table>
<p>Edit the apache2 config file to use per-directory access control.  Find the Blanket Access control Location area and add the below lines just underneath the SVNIndexXSLT</p>
<table class="console" style="height:118px;" border="0" width="565">
<tbody>
<tr>
<td width="11" valign="top"># If we are using the Per-Directory Access Control then we leave this uncommented<br />
# Access Control<br />
AuthzSVNAccessFile /usr/home/svn/access/control</td>
</tr>
</tbody>
</table>
<p>It should look like this</p>
<table class="console" style="height:364px;" border="0" width="569">
<tbody>
<tr>
<td width="11" valign="top">## SVN WebDAV Repository Setup<br />
&lt;Location /svn&gt;<br />
DAV svn<br />
SVNParentPath /usr/home/svn/repos<br />
SVNIndexXSLT &#8220;http://www.myservername.com/svnindex.xsl&#8221;</p>
<p># If we are using the Per-Directory Access Control then we leave this uncommented<br />
# Access Control<br />
AuthzSVNAccessFile /usr/home/svn/access/control</p>
<p># anonymous first<br />
Satisfy Any<br />
Require valid-user</p>
<p># authenticating them valid ones<br />
AuthType Basic<br />
AuthName &#8220;Subversion Repositories&#8221;<br />
AuthUserFile /usr/home/svn/access/users<br />
&lt;/Location&gt;</td>
</tr>
</tbody>
</table>
<p><strong>Building a Single General Repository</strong></p>
<p>Create our single main repository</p>
<table class="console" border="0">
<tbody>
<tr>
<td width="11" valign="top">#<br />
#</td>
<td>svnadmin create /usr/home/svn/repos<br />
svn import /usr/home/svn/default file:///usr/home/svn/repos -m &#8220;initial import&#8221;</td>
</tr>
</tbody>
</table>
<p>Should you later want to divide this repository into project folders, you will need to checkout the whole repository and use the svn move, svn copy and so on commands, which can be found in the <a href="http://svnbook.red-bean.com/" target="_blank">Subversion Book</a></p>
<p><strong>Building a Multiple Project Repository</strong></p>
<p>Make a new repository</p>
<table class="console" border="0">
<tbody>
<tr>
<td width="11" valign="top">#<br />
#<br />
#</td>
<td>mkdir /usr/home/svn/repos<br />
svnadmin create /usr/home/svn/repos/&lt;em&gt;projectname&lt;/em&gt;<br />
svn import /usr/home/svn/default file:///usr/home/svn/repos/&lt;em&gt;projectname&lt;/em&gt; -m &#8220;Initial Import&#8221;</td>
</tr>
</tbody>
</table>
<p><strong>Final Setup</strong></p>
<p>Make sure that apache can read the svn repositories</p>
<table class="console" style="height:22px;" border="0" width="571">
<tbody>
<tr>
<td width="11" valign="top">#</td>
<td>chown -R www:www /usr/home/svn</td>
</tr>
</tbody>
</table>
<p>and make the access control and userlist readable only by apache.  All the contents are pretty much encrypted, but you don&#8217;t want other shell users peeking at them, though they could get through via a php script, but this is the best way to go about it.</p>
<table class="console" style="height:34px;" border="0" width="561">
<tbody>
<tr>
<td width="11" valign="top">#<br />
#</td>
<td>chmod 600 /usr/home/svn/access/control<br />
chmod 600 /usr/home/svn/access/users</td>
</tr>
</tbody>
</table>
<p>There, you now have a fully working Subversion Repository.  To checkout the contents of the trunk of a project in your repository via the command line tool</p>
<table class="console" border="0">
<tbody>
<tr>
<td width="11" valign="top">#</td>
<td>svn checkout http://www.mydomain.com/svn/&lt;em&gt;projectname&lt;/em&gt;/trunk &lt;em&gt;projectname&lt;/em&gt;</td>
</tr>
</tbody>
</table>
<p>this will make a folder called &#8220;projectname&#8221; in the current folder you are in when you run the command.</p>
<p>Once you have made changes to a project you can commit those changes by changing into the project folder then</p>
<table class="console" style="height:22px;" border="0" width="564">
<tbody>
<tr>
<td width="11" valign="top">#</td>
<td>svn commit -m &#8220;Notes regarding the changes&#8221;</td>
</tr>
</tbody>
</table>
<p>And finally to update your copy of the code from the repository, change into the project folder then</p>
<table class="console" style="height:22px;" border="0" width="570">
<tbody>
<tr>
<td width="11" valign="top">#</td>
<td>svn update</td>
</tr>
</tbody>
</table>
<p>These commands are all for the SVN Command line tool, which is installed as part of the devel/subversion port.  If you wish to use the command line tool and not create the files needed for running a repository with apache2, then use</p>
<table class="console" style="height:34px;" border="0" width="567">
<tbody>
<tr>
<td width="11" valign="top">#<br />
#</td>
<td>cd /usr/ports/devel/subversion<br />
make install clean</td>
</tr>
</tbody>
</table>
<p>and skip the remaining steps.</p>
<p>There is also a range of clients.  The best for Windows, in my opinion, is <a href="http://tortoisesvn.tigris.org/" target="_blank">TortoiseSVN</a>, a comprehensive list of other clients for SVN can be found <a href="http://subversion.tigris.org/project_links.html" target="_blank">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rohing.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rohing.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rohing.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rohing.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rohing.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rohing.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rohing.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rohing.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rohing.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rohing.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rohing.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rohing.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rohing.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rohing.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=12&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rohing.wordpress.com/2008/09/19/subversion-on-freebsd/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8de44b2f427627acdd366fa1e17c1699?s=96&#38;d=identicon" medium="image">
			<media:title type="html">rohing</media:title>
		</media:content>
	</item>
		<item>
		<title>subversion on windows</title>
		<link>http://rohing.wordpress.com/2008/09/17/subversion-on-windows/</link>
		<comments>http://rohing.wordpress.com/2008/09/17/subversion-on-windows/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 16:33:49 +0000</pubDate>
		<dc:creator>rohing</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://rohing.wordpress.com/?p=10</guid>
		<description><![CDATA[I came across this google search, but the page seemed to be deleted or moved away, so here is the original article on how to configure SVN using windows….the credit goes to the original author and not to me…I have just blogged it for reference purposes… Setting up a Subversion Server under Windows I talked [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=10&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I came across this google search, but the page seemed to be deleted or moved away, so here is the original article on how to configure SVN using windows….the credit goes to the original author and not to me…I have just blogged it for reference purposes…</p>
<div class="snap_preview">
<h2>Setting up a Subversion Server under Windows</h2>
<p>I talked a little bit about what Subversion is in <a href="http://blogs.vertigosoftware.com/teamsystem/archive/2006/01/16/1873.aspx">my  previous post</a>. Now, let’s get it set it up in Windows.</p>
<p>Luckily for us, Joe White has done most of the work already; he has a <a href="http://excastle.com/blog/archive/2005/05/31/1048.aspx">tremendously  helpful post</a> that documents how to set up Subversion. I’ll see if I can streamline his excellent post a bit further, and illustrate it with screenshots.</p>
<p><strong>A) Download Subversion</strong></p>
<p>You’ll need the latest version of..</p>
<ul>
<li>the <a href="http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91">Windows  binaries</a></li>
<li>the <a href="http://dark.clansoft.dk/%7Embn/svnservice/">“run Subversion as a  windows service” wrapper</a></li>
<li>the TortoiseSVN <a href="http://tortoisesvn.tigris.org/download.html">shell  integration utility</a></li>
</ul>
<p><strong>B) Install Subversion</strong></p>
<ol>
<li>Unzip the Windows binaries to a folder of your choice. I chose  <em>c:\program files\subversion\</em> as my path.</li>
<li>Now, add the subversion binaries to the path environment variable for the  machine. I used <em>%programfiles%\subversion\bin\</em><br />
<img src="http://blogs.vertigosoftware.com/photos/jatwood/images/1877/original.aspx" alt="" /></li>
<li>You’ll also need another environment variable, SVN_EDITOR, set to the text  editor of your choice. I used <em>c:\windows\notepad.exe</em><br />
<img src="http://blogs.vertigosoftware.com/photos/jatwood/images/1876/original.aspx" alt="" /></li>
</ol>
<p><strong>C) Create a Repository</strong></p>
<ol>
<li>Open a command prompt and type
<pre>svnadmin create "c:\Documents and Settings\Subversion Repository"</pre>
</li>
<li>Navigate to the folder we just created. Within that folder, uncomment the  following lines in the <em>/conf/svnserve.conf</em> file:
<pre>[general]
anon-access = read
auth-access = write
password-db = passwd</pre>
<p>Next, uncomment these lines in the <em>/conf/passwd</em> file:</p>
<pre>[users]
harry = harryssecret
sally = sallyssecret</pre>
</li>
</ol>
<p><strong>D) Verify that everything is working</strong></p>
<ol>
<li>Start the subversion server by issuing this command in the command window:
<pre>svnserve --daemon --root "C:\Documents and Settings\Subversion Repository"</pre>
</li>
<li>Create a project by opening a second command window and entering this  command:
<pre><strong>svn</strong> mkdir <strong>svn</strong>://localhost/myproject</pre>
<p>It’s a standard Subversion convention to have three folders at the root of a  project:</p>
<blockquote><p><em>/trunk</em><br />
<em>/branches</em><br />
<em>/tags</em></p></blockquote>
</li>
<li>At this point, Notepad should launch:<img src="http://blogs.vertigosoftware.com/photos/jatwood/images/1882/original.aspx" alt="" />Enter any comment you want at the top of the file, then save and exit.</li>
<li>You’ll now be prompted for credentials. In my case I was prompted for the  administrator credentials as well:
<pre>Authentication realm:  0f1a8b11-d50b-344d-9dc7-0d9ba12e22df
Password for 'Administrator': *********
Authentication realm:  0f1a8b11-d50b-344d-9dc7-0d9ba12e22df
Username: sally
Password for 'sally': ************

Committed revision 1.</pre>
<p>Congratulations! You just checked a change into Subversion!</li>
</ol>
<p><strong>E) Start the server as a service</strong></p>
<ol>
<li>Stop the existing command window that’s running svnserve by pressing  CTRL+C.</li>
<li>Copy the file <em>SVNService.exe</em> from the zip file of the same name to  the <em>subversion\bin</em> folder.</li>
<li>Install the service by issuing the following commands:
<pre>svnservice -install --daemon --root "C:\Documents and Settings\Subversion Repository"
sc config svnservice start= auto
net start svnservice</pre>
</li>
<li>Test the new service by listing all the files in the repository:
<pre><strong>svn</strong> ls <strong>svn</strong>://localhost/</pre>
<p>You should see the single project we created earlier, <em>myproject/ </em></li>
</ol>
<p><strong>F) Set up the shell extension</strong></p>
<ol>
<li>Run the TortoiseSVN installer. It will tell you to restart, but you don’t  need to.</li>
<li>Create a project folder somewhere on your hard drive. Right click in that  folder and select “<strong>SVN</strong> Checkout…”<img src="http://blogs.vertigosoftware.com/photos/jatwood/images/1892/original.aspx" alt="" />type  <em><strong>svn</strong>://localhost/myproject/</em> for the repository URL and click OK.
<p><img src="http://blogs.vertigosoftware.com/photos/jatwood/images/1891/original.aspx" alt="" /></li>
<li>Create a new file in that directory. Right click the file and select  “TortoiseSVN, Add”<img src="http://blogs.vertigosoftware.com/photos/jatwood/images/1893/original.aspx" alt="" /></li>
<li>The file hasn’t actually been checked in yet. Subversion batches any changes and commits them as one atomic operation. To send all your changes to the server, right click and select “<strong>SVN</strong> Commit”:<img src="http://blogs.vertigosoftware.com/photos/jatwood/images/1895/original.aspx" alt="" /></li>
</ol>
<p>And we’re done! <strong>You now have a networked Subversion server and client  set up on your machine</strong>. Note that the default port for svnserve is  3690.</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rohing.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rohing.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rohing.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rohing.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rohing.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rohing.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rohing.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rohing.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rohing.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rohing.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rohing.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rohing.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rohing.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rohing.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rohing.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rohing.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=10&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rohing.wordpress.com/2008/09/17/subversion-on-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8de44b2f427627acdd366fa1e17c1699?s=96&#38;d=identicon" medium="image">
			<media:title type="html">rohing</media:title>
		</media:content>

		<media:content url="http://blogs.vertigosoftware.com/photos/jatwood/images/1877/original.aspx" medium="image" />

		<media:content url="http://blogs.vertigosoftware.com/photos/jatwood/images/1876/original.aspx" medium="image" />

		<media:content url="http://blogs.vertigosoftware.com/photos/jatwood/images/1882/original.aspx" medium="image" />

		<media:content url="http://blogs.vertigosoftware.com/photos/jatwood/images/1892/original.aspx" medium="image" />

		<media:content url="http://blogs.vertigosoftware.com/photos/jatwood/images/1891/original.aspx" medium="image" />

		<media:content url="http://blogs.vertigosoftware.com/photos/jatwood/images/1893/original.aspx" medium="image" />

		<media:content url="http://blogs.vertigosoftware.com/photos/jatwood/images/1895/original.aspx" medium="image" />
	</item>
		<item>
		<title>installing and configuring mysql on freebsd</title>
		<link>http://rohing.wordpress.com/2008/09/17/installing-and-configuring-mysql-on-freebsd/</link>
		<comments>http://rohing.wordpress.com/2008/09/17/installing-and-configuring-mysql-on-freebsd/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 16:26:29 +0000</pubDate>
		<dc:creator>rohing</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://rohing.wordpress.com/?p=6</guid>
		<description><![CDATA[i just finished my mysql installation. Here the steps : cd /usr/ports/databases/mysql41-server/ make install clean /usr/local/bin/mysql_install_db chown -R mysql /var/db/mysql/ chgrp -R mysql /var/db/mysql/ /usr/local/bin/mysqld_safe –user=mysql &#38; /usr/local/bin/mysqladmin -u root password newpassword echo &#8216;mysql_enable=&#8221;YES&#8221;&#8216;&#62;&#62; /etc/rc.conf That&#8217;s all the steps for installing and configuring mysql in freebsd..so easy is it?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=6&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>i just finished my mysql installation. Here the steps :</p>
<p>cd /usr/ports/databases/mysql41-server/<br />
make install clean<br />
/usr/local/bin/mysql_install_db<br />
chown -R mysql /var/db/mysql/<br />
chgrp -R mysql /var/db/mysql/<br />
/usr/local/bin/mysqld_safe –user=mysql &amp;<br />
/usr/local/bin/mysqladmin -u root password newpassword<br />
echo &#8216;mysql_enable=&#8221;YES&#8221;&#8216;&gt;&gt; /etc/rc.conf</p>
<p>That&#8217;s all the steps for installing and configuring mysql in freebsd..so easy is it?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rohing.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rohing.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rohing.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rohing.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rohing.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rohing.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rohing.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rohing.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rohing.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rohing.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rohing.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rohing.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rohing.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rohing.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rohing.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rohing.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=6&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rohing.wordpress.com/2008/09/17/installing-and-configuring-mysql-on-freebsd/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8de44b2f427627acdd366fa1e17c1699?s=96&#38;d=identicon" medium="image">
			<media:title type="html">rohing</media:title>
		</media:content>
	</item>
		<item>
		<title>my new blog world</title>
		<link>http://rohing.wordpress.com/2008/09/17/my-new-blog-world/</link>
		<comments>http://rohing.wordpress.com/2008/09/17/my-new-blog-world/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 16:20:14 +0000</pubDate>
		<dc:creator>rohing</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rohing.wordpress.com/?p=3</guid>
		<description><![CDATA[i registered my new blog&#8230;@wordpress..<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=3&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>i registered my new blog&#8230;@wordpress..</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rohing.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rohing.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rohing.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rohing.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rohing.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rohing.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rohing.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rohing.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rohing.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rohing.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rohing.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rohing.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rohing.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rohing.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rohing.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rohing.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=3&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rohing.wordpress.com/2008/09/17/my-new-blog-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8de44b2f427627acdd366fa1e17c1699?s=96&#38;d=identicon" medium="image">
			<media:title type="html">rohing</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://rohing.wordpress.com/2006/03/23/hello-world/</link>
		<comments>http://rohing.wordpress.com/2006/03/23/hello-world/#comments</comments>
		<pubDate>Thu, 23 Mar 2006 04:44:56 +0000</pubDate>
		<dc:creator>rohing</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=1&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rohing.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rohing.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rohing.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rohing.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rohing.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rohing.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rohing.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rohing.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rohing.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rohing.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rohing.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rohing.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rohing.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rohing.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rohing.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rohing.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rohing.wordpress.com&amp;blog=162336&amp;post=1&amp;subd=rohing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rohing.wordpress.com/2006/03/23/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8de44b2f427627acdd366fa1e17c1699?s=96&#38;d=identicon" medium="image">
			<media:title type="html">rohing</media:title>
		</media:content>
	</item>
	</channel>
</rss>
