<?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; Linux</title>
	<atom:link href="http://link2caro.net/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://link2caro.net</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 09:41:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Installing PHP on Debian without Apache</title>
		<link>http://link2caro.net/read/installing-php-on-debian-without-apache/</link>
		<comments>http://link2caro.net/read/installing-php-on-debian-without-apache/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 19:07:49 +0000</pubDate>
		<dc:creator>CA RO</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apt-Get]]></category>
		<category><![CDATA[Aptitude]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.link2caro.net/?p=740</guid>
		<description><![CDATA[If you need to install PHP without apache on a Debian machine, do not try the short way You need to install dependencies of php5 first and then install php5, like below]]></description>
			<content:encoded><![CDATA[<p>If you need to install PHP without apache on a Debian machine, do not try the short way</p>
<pre class="brush: bash; title: ; notranslate">
aptitude install php5
# or
apt-get install php5
</pre>
<p>You need to install dependencies of php5 first and then install php5, like below</p>
<pre class="brush: bash; title: ; notranslate">
aptitude install php5-common php5-cgi
aptitude install php5
</pre>
]]></content:encoded>
			<wfw:commentRss>http://link2caro.net/read/installing-php-on-debian-without-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>History of the name Samba</title>
		<link>http://link2caro.net/read/history-of-the-name-samba/</link>
		<comments>http://link2caro.net/read/history-of-the-name-samba/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 22:49:59 +0000</pubDate>
		<dc:creator>CA RO</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[dictionary]]></category>
		<category><![CDATA[egrep]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://link2caro.net/?p=658</guid>
		<description><![CDATA[Source: svn://svnanon.samba.org/samba/tags/release-2-2-12/docs/history It&#8217;s now October 1998. We just got back from the 3rd CIFS conference in SanJose. The Samba Team was the biggest contingent there. Samba 2.0 should be shipping in the next few weeks with much better domain controller support, GUI configuration, a new user space SMB filesystem and lots of other neat stuff. [...]]]></description>
			<content:encoded><![CDATA[<p>Source: svn://svnanon.samba.org/samba/tags/release-2-2-12/docs/history</p>
<blockquote><p>It&#8217;s now October 1998. We just got back from the 3rd CIFS conference<br />
in SanJose. The Samba Team was the biggest contingent there.</p>
<p>Samba 2.0 should be shipping in the next few weeks with much better<br />
domain controller support, GUI configuration, a new user space SMB<br />
filesystem and lots of other neat stuff. I&#8217;ve also noticed that a<br />
search of job ads in DejaNews turned up 3900 that mention Samba. Looks<br />
like we&#8217;ve created a small industry.</p>
<p>I&#8217;ve been asked again where the name Samba came from. I might as well<br />
put it down here for everyone to read. The code in Samba was first<br />
called just &#8220;server&#8221;, it then got renamed &#8220;smbserver&#8221; when I<br />
discovered that the protocol is called SMB. Then in April 1994 I got<br />
an email from Syntax, the makers of &#8220;TotalNet advanced Server&#8221;, a<br />
commercial SMB server. They told me that they had a trademark on the<br />
name SMBserver and I would have to change the name. I ran an egrep for<br />
words containing S, M, and B on /usr/dict/words and the name Samba<br />
looked like the best choice. Strangely enough when I repeat that now I<br />
notice that Samba isn&#8217;t in /usr/dict/words on my system anymore!</p></blockquote>
<p>As he did not mention the command he ran to get this word out of the built-in dictionary, I tried some regex and got this one which is most likely the command:</p>
<blockquote><p>egrep -i &#8220;^s[a-z]{0,1}m[a-z]{0,1}b[a-z]{0,1}$&#8221; /usr/share/dict/words</p>
<p>On CentOS:</p>
<p>samba<br />
Sambo<br />
sambo<br />
Simaba<br />
simba<br />
SMB<br />
Sumba</p>
<p>On Mac OS X 10.6.1</p>
<p>samba<br />
Sambo<br />
sambo<br />
Simaba</p></blockquote>
<p>( /usr/share/dict/words, because I ran this on CentOS, Mac )</p>
]]></content:encoded>
			<wfw:commentRss>http://link2caro.net/read/history-of-the-name-samba/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Note to self: MySQL error 28 and /tmp size</title>
		<link>http://link2caro.net/read/note-to-self-increment-of-tmpdsk-cpanel/</link>
		<comments>http://link2caro.net/read/note-to-self-increment-of-tmpdsk-cpanel/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 23:02:08 +0000</pubDate>
		<dc:creator>CA RO</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[tmp]]></category>

		<guid isPermaLink="false">http://link2caro.net/read/note-to-self-increment-of-tmpdsk-cpanel/</guid>
		<description><![CDATA[#1030 &#8211; Got error 28 from storage engine This means there is no space left on the drive, usually this means your /tmp If you use cPanel, your /tmp could be mounted from /usr/tmpDSK, this is a file. If you want to increase this file you can type these following commands, change count=512000 to any [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><span style="color: #ff0000;">#1030 &#8211; Got error 28 from storage engine</span></p>
</blockquote>
<p>This means there is no space left on the drive, usually this means your <span style="color: #ff6600;"><em>/tmp</em></span></p>
<p>If you use cPanel, your /tmp could be mounted from <span style="color: #ff6600;"><em>/usr/tmpDSK</em></span>, this is a file. If you want to increase this file you can type these following commands, change count=512000 to any number thats match your need.</p>
<p>The command <span style="color: #ff6600;"><em>dd if=/dev/zero of=/usr/tmpDSK bs=1024 count=512000</em></span> is used to create a file whose size is <span style="color: #ff6600;"><em>512000 x 1024</em></span> bytes (or approx. 512MB).</p>
<blockquote><p>service httpd stop</p>
<p>service mysql stop
</p>
<p>umount /tmp</p>
<p>umount /var/tmp</p>
<p>dd if=/dev/zero of=/usr/tmpDSK bs=1024 count=512000</p>
<p>mkfs.ext3 /usr/tmpDSK</p>
<p>press &#8216;y&#8217; to continue</p>
<p>mount -o loop,rw,noexec,nosuid /usr/tmpDSK /tmp</p>
<p>mount -o bind,rw,noexec,nosuid /tmp /var/tmp</p>
<p>service mysql start</p>
<p>service httpd start</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://link2caro.net/read/note-to-self-increment-of-tmpdsk-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Subversion on Ubuntu</title>
		<link>http://link2caro.net/read/install-subversion-ubuntu/</link>
		<comments>http://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://link2caro.net/read/install-subversion-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching 5/21 queries in 0.052 seconds using apc
Object Caching 526/574 objects using apc

Served from: link2caro.net @ 2012-02-08 23:11:51 -->
