<?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>link2caro &#187; Tutorial</title>
	<atom:link href="http://blog.link2caro.net/it/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.link2caro.net</link>
	<description>I&#039;m just flesh &#039;n bones, but with you I feel I&#039;m flyin&#039; - Superman</description>
	<lastBuildDate>Thu, 24 Jun 2010 12:14:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Static IP Configuration (Debian or Red Hat)</title>
		<link>http://blog.link2caro.net/read/static-ip-linux/</link>
		<comments>http://blog.link2caro.net/read/static-ip-linux/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 14:21:54 +0000</pubDate>
		<dc:creator>CA RO</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.link2caro.net/?p=688</guid>
		<description><![CDATA[For Debian Modify /etc/network/interfaces # /etc/network/interfaces &#8212; configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # The first network card &#8211; this entry was created during the Debian installation # (network, broadcast and gateway are optional) auto eth0 iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 network 192.168.1.0 [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>For Debian<br />
<code>Modify /etc/network/interfaces</code></p>
<p># /etc/network/interfaces &#8212; configuration file for ifup(8),  ifdown(8)</p>
<p>#  The loopback interface<br />
auto lo<br />
iface lo inet loopback</p>
<p>#  The first network card &#8211; this entry was created during the Debian   installation<br />
# (network, broadcast and gateway are optional)<br />
auto  eth0</p>
<p>iface eth0 inet static<br />
address 192.168.1.10<br />
netmask 255.255.255.0<br />
network 192.168.1.0<br />
broadcast 192.168.1.255<br />
gateway 192.168.1.1</li>
<li>For Red Hat<br />
<code>Modify /etc/sysconfig/network-scripts/ifcfg-eth*</code></p>
<p>DEVICE=eth0<br />
BOOTPROTO=static<br />
ONBOOT=yes<br />
IPADDR=192.168.1.10<br />
NETMASK=255.255.255.0<br />
GATEWAY=192.168.1.1</li>
</ul>
<p>Run /etc/init.d/networking restart to apply these changes</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.link2caro.net/read/static-ip-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Subversion on Ubuntu</title>
		<link>http://blog.link2caro.net/read/install-subversion-ubuntu/</link>
		<comments>http://blog.link2caro.net/read/install-subversion-ubuntu/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 14:32:05 +0000</pubDate>
		<dc:creator>CA RO</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web&Dev]]></category>

		<guid isPermaLink="false">http://blog.link2caro.net/ubuntu/</guid>
		<description><![CDATA[Assuming that apache is installed! Install packages apt-get install subversion libapache2-svn libapache-mod-dav Enable SSL a2enmod Add &#8220;Listen 443&#8243; into httpd.conf if needed. Install SSL apt-get install ssl-cert mkdir /etc/apache2/ssl /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/site-name.crt Adding Basic Authentication: htpasswd2 -c -m /home/path-to/svn/project/.htpasswd username Configure site cp /etc/apache2/sites-available/default /etc/apache2/sites-available/site-name nano /etc/apache2/sites-available/site-name &#60;VirtualHost IP_ADDRESS:443&#62; ServerName hostname DocumentRoot /home/path-to/svn SSLEngine on [...]]]></description>
			<content:encoded><![CDATA[<p>Assuming that apache is installed!</p>
<ol>
<li><span style="color: #800000;"><strong>Install packages</strong></span><br />
apt-get install subversion libapache2-svn libapache-mod-dav</li>
<li><span style="color: #800000;"><strong>Enable SSL</strong></span><br />
a2enmod<br />
Add &#8220;Listen 443&#8243; into httpd.conf if needed.</li>
<li><span style="color: #800000;"><strong>Install SSL</strong></span><br />
apt-get install ssl-cert<br />
mkdir /etc/apache2/ssl<br />
/usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/<strong>site-name.crt</strong></li>
<li><span style="color: #800000;"><strong>Adding Basic Authentication:</strong></span><br />
htpasswd2 -c -m /home/path-to/svn/project/.htpasswd <strong><em>username</em></strong></li>
<li><span style="color: #800000;"><strong>Configure site</strong></span><br />
cp /etc/apache2/sites-available/default /etc/apache2/sites-available/<strong>site-name</strong><br />
nano /etc/apache2/sites-available/site-name</p>
<blockquote><p>&lt;VirtualHost IP_ADDRESS:443&gt;<br />
ServerName <strong>hostname</strong><br />
DocumentRoot /home/path-to/svn</p>
<p>SSLEngine on<br />
SSLCertificateFile /etc/apache2/ssl/<strong>site-name.crt</strong><br />
SSLProtocol all<br />
SSLCipherSuite HIGH:MEDIUM</p>
<p>&lt;Directory &#8220;/home/path-to/svn&#8221;&gt;<br />
Options FollowSymLinks MultiViews<br />
AllowOverride All<br />
Order allow,deny<br />
Allow from All<br />
SSLRequireSSL<br />
&lt;/Directory&gt;</p>
<p>### project<br />
&lt;Location &#8220;/svn/project&#8221;&gt;<br />
AuthType Basic<br />
AuthName &#8220;Subversion Login&#8221;<br />
AuthUserFile /home/path-to/svn/project/<strong>.htpasswd</strong><br />
Require valid-user<br />
&lt;/Location&gt;<br />
&lt;/VirtualHost&gt;</p></blockquote>
<p><code>a2ensite <em>$SITENAME</em><br />
/etc/init.d/apache2 restart</code></li>
<li><span style="color: #800000;"><strong>Adding repository</strong></span><br />
mkdir /home/path-to/svn<br />
svnadmin create /home/path-to/svn/repos<br />
chown -R www-data:www-data /home/path-to/svn/repos<br />
chmod -R g+ws /home/path-to/svn/repos</li>
<li><span style="color: #800000;"><strong>Enabling SVN</strong></span><br />
Edit /etc/apache2/mods-available/dav_svn.conf<br />
<code>DAV svn<br />
SVNParentPath /home/path-to/svn (for multi repositories)<br />
SVNPath /home/path-to/svn (for single repository)</code>For non-anonymous access comment out:<br />
<code>#&lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt;<br />
#&lt;/LimitExcept&gt;</code></li>
<li><span style="color: #800000;"><strong>Finalization</strong></span><br />
<code>/etc/init.d/apache2 restart</code></li>
<li><span style="color: #800000;"><strong>Initial Import and Checkout</strong></span><code><br />
svn import --username <em><strong>username</strong> <strong>files</strong></em> https://hostname/svn/<em>repos</em>/testdir -m “Testing”</code><code><br />
svn co --username <em><strong>username</strong> </em>https://hostname/svn<em>/repos</em></code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.link2caro.net/read/install-subversion-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Tunneling</title>
		<link>http://blog.link2caro.net/read/ssh-tunneling/</link>
		<comments>http://blog.link2caro.net/read/ssh-tunneling/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 01:52:32 +0000</pubDate>
		<dc:creator>CA RO</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.link2caro.net/?p=296</guid>
		<description><![CDATA[If you are behind a firewall which forbids you to use some useful ports, and if you can create an SSH outside, to the &#8220;internet cloud&#8221;, here is your solution. Tunnel Part On Windows: On Unix-like: ssh -D &#60;tunnel-entrance port&#62; username@server-ssh.com (to be verify these options) Application Configuration Part In IE or in Firefox (preferrable [...]]]></description>
			<content:encoded><![CDATA[<p>If you are behind a firewall which forbids you to use some useful ports, and if you can create an SSH outside, to the &#8220;internet cloud&#8221;, here is your solution.</p>
<ul>
<li><span id="more-296"></span> <strong>Tunnel Part</strong></li>
</ul>
<ul></ul>
<p><em>On Windows:</em></p>
<p style="text-align: center;"><a href="http://files.link2caro.net/2008/11/ssh-tunnel.jpg"><img class="aligncenter size-medium wp-image-295" title="ssh-tunnel" src="http://files.link2caro.net/2008/11/ssh-tunnel.jpg" alt="ssh-tunnel" width="500" /></a></p>
<p style="text-align: left;"><em>On Unix-like:</em></p>
<p style="text-align: left;">ssh -D &lt;tunnel-entrance port&gt; username@server-ssh.com (to be verify these options)</p>
<ul>
<li><strong>Application Configuration Part</strong></li>
</ul>
<p style="text-align: left;">In IE or in Firefox (preferrable to configure with IE, because some other apps use the conf of IE), set Socks: localhost and the port is the port you set for the tunnel, in the photo on the right.</p>
<p style="text-align: left;">In Yahoo! Messenger as well as other apps such as µtorrent, you choose Socks 5 as proxy and localhost:&lt;tunnel-entrance port&gt;</p>
<p style="text-align: left;"><span style="text-decoration: underline;">@ To whom at INSA de Rennes</span>, the port 995 as well as 21 and some other common ports but not 22 do not necessite the proxy of INSA. (I will verified this method this Wednesday, what I wrote here is based on theory only :p )</p>
<p style="text-align: left;">Brief Explanation: After opening an SSH connection, Putty will listen on any defined Source Port (which I call Local Port) and it acts as a local proxy pass all connection through the SSH server, the SSH server then forward to other servers with the appropriate ports, this is enabled by the AllowTcpFowarding option of OpenSSH.</p>
<p style="text-align: left;">Further Info:</p>
<pre>pop3s           995/tcp    pop3 protocol over TLS/SSL (was spop3)
pop3s           995/udp    pop3 protocol over TLS/SSL (was spop3)</pre>
<p style="text-align: center;"><a href="http://files.link2caro.net/2008/11/yahoo.jpg"><img class="aligncenter size-full wp-image-298" title="yahoo" src="http://files.link2caro.net/2008/11/yahoo.jpg" alt="yahoo" width="500" /></a><a href="http://files.link2caro.net/2008/11/utorrent.jpg"><img class="aligncenter size-full wp-image-297" title="utorrent" src="http://files.link2caro.net/2008/11/utorrent.jpg" alt="utorrent" width="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.link2caro.net/read/ssh-tunneling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
