<?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>Richy&#039;s Random Ramblings &#187; Net: Techy: Linux</title>
	<atom:link href="http://blog.rac.me.uk/category/net-techy-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rac.me.uk</link>
	<description>Random ramblings and ravings of Richy C</description>
	<lastBuildDate>Mon, 16 Jan 2012 12:16:14 +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>Bye Bye Mangahigh &#8211; hello Bairwell!</title>
		<link>http://blog.rac.me.uk/2011/11/28/bye-bye-mangahigh-hello-bairwell/</link>
		<comments>http://blog.rac.me.uk/2011/11/28/bye-bye-mangahigh-hello-bairwell/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 14:06:11 +0000</pubDate>
		<dc:creator>Richy C.</dc:creator>
				<category><![CDATA[Life: Contracting]]></category>
		<category><![CDATA[Life: Work and Techy]]></category>
		<category><![CDATA[Net: Techy: Linux]]></category>
		<category><![CDATA[Net: Techy: PHP]]></category>

		<guid isPermaLink="false">http://blog.rac.me.uk/?p=1821</guid>
		<description><![CDATA[After just over 3 years working at Blue Duck Education Ltd as the Lead Developer/Systems Architect with Toby Rowland and other very talented people (too numerous to name here) building the Mangahigh Maths Games educational resource which we built from a brand new site to being one of the fastest growing educational games sites &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>After just over 3 years working at Blue Duck Education Ltd as the Lead Developer/Systems Architect with Toby Rowland and other very talented people (too numerous to name here) building the <a href="http://www.mangahigh.com/">Mangahigh Maths Games</a> educational resource which we built from a brand new site to being one of the fastest growing educational games sites &#8211; I&#8217;m now leaving for pastures new.</p>
<p>So where am I going?</p>
<p>Well, <a href="http://www.whatkatydid.org/">my fiancée</a> and I will be starting, on the 3rd of January, a new company called <a href="http://www.bairwell.com/">Bairwell Web Development</a> to combine our two talents. Bairwell will be offering WordPress, Perch and LAMP (Linux, Apache, MySQL, PHP 5 : also some Varnish, PostgreSQL, Memcache, Perl and Systems administration) development consultancy services &#8211; so if you want a well designed (Katy), scalable and responsive (me) website: then please get in touch with us via our <a href="http://www.biarwell.com/" class="broken_link">web development site</a> (Katy is still working on it at this time of writing), <a href="http://twitter.com/bairwell">Twitter</a> or <a href="http://facebook.com/bairwell">Facebook</a>.</p>
<p>Fingers crossed!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rac.me.uk/2011/11/28/bye-bye-mangahigh-hello-bairwell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Varnish: Unable to start: SHMFILE owned by running&#8230;</title>
		<link>http://blog.rac.me.uk/2011/09/15/varnish-unable-to-start-shmfile-owned-by-running/</link>
		<comments>http://blog.rac.me.uk/2011/09/15/varnish-unable-to-start-shmfile-owned-by-running/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 10:26:05 +0000</pubDate>
		<dc:creator>Richy C.</dc:creator>
				<category><![CDATA[Life: Work and Techy]]></category>
		<category><![CDATA[Net: Techy: Linux]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://blog.rac.me.uk/?p=1750</guid>
		<description><![CDATA[If, when trying to start the Varnish reverse proxy server, you receive an error message such as: [root@internet634.fbi.gov ]#/usr/sbin/varnishd -d -f /etc/varnish/default.vcl GeoIP plugin loaded successfully. storage_file: filename: ./varnish.8QhQpI size 4208 MB. SHMFILE owned by running varnishd master (pid=2451) (Use unique -n arguments if you want multiple instances.) but &#8220;ps auxwww &#124; grep 2451&#8243; doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>If, when trying to start the Varnish reverse proxy server, you receive an error message such as:<br />
<code>[root@internet634.fbi.gov ]#/usr/sbin/varnishd -d -f /etc/varnish/default.vcl<br />
GeoIP plugin loaded successfully.<br />
storage_file: filename: ./varnish.8QhQpI size 4208 MB.<br />
SHMFILE owned by running varnishd master (pid=2451)<br />
(Use unique -n arguments if you want multiple instances.)</code></p>
<p>but &#8220;ps auxwww | grep 2451&#8243; doesn&#8217;t show Varnish (in my case, it was dkim-milter on that pid) and &#8220;ps auxwww | grep varnish&#8221; shows nothing, then you need to manually reset Varnish&#8217;s SHMFILE settings.</p>
<p>This is easier done than said! Just go into /var/lib/varnish/[hostname] and delete all the files in there (such as varnish.8QhQPI and _.vsl). Restarting varnish should then be successful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rac.me.uk/2011/09/15/varnish-unable-to-start-shmfile-owned-by-running/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Funny: Funny Linux Commands</title>
		<link>http://blog.rac.me.uk/2010/03/10/funny-linux-commands/</link>
		<comments>http://blog.rac.me.uk/2010/03/10/funny-linux-commands/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 11:30:41 +0000</pubDate>
		<dc:creator>Richy C.</dc:creator>
				<category><![CDATA[Net: Fun]]></category>
		<category><![CDATA[Net: Techy: Linux]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[jokes]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.rac.me.uk/?p=1617</guid>
		<description><![CDATA[Shamelessly stolen from Frank Mash (or, as UK news organisations will probably argue, &#8220;this orphaned content found was at &#8230;&#8221;): % cat &#8220;food in cans&#8221; cat: can&#8217;t open food in cans % nice man woman No manual entry for woman. % &#8220;How would you rate Quayle&#8217;s incompetence? Unmatched &#8220;. % Unmatched &#8220;. Unmatched &#8220;. % [...]]]></description>
			<content:encoded><![CDATA[<p>Shamelessly stolen from <a href="http://frankmash.blogspot.com/2006/03/linux-commands-funny-linux-commands.html">Frank Mash</a> (or, as UK news organisations will probably argue, &#8220;this orphaned content found was at &#8230;&#8221;):</p>
<blockquote><p>% cat &#8220;food in cans&#8221;<br />
cat: can&#8217;t open food in cans</p>
<p>% nice man woman<br />
No manual entry for woman.</p>
<p>% &#8220;How would you rate Quayle&#8217;s incompetence?<br />
Unmatched &#8220;.</p>
<p>% Unmatched &#8220;.<br />
Unmatched &#8220;.</p>
<p>% [Where is Jimmy Hoffa?<br />
Missing ].</p>
<p>% ^How did the sex change operation go?^<br />
Modifier failed.</p>
<p>% If I had a ( for every $ the Congress spent, what would I have?<br />
Too many (&#8216;s.</p>
<p>% make love<br />
Make: Don&#8217;t know how to make love. Stop.</p>
<p>% sleep with me<br />
bad character</p>
<p>% got a light?<br />
No match.</p>
<p>% man: why did you get a divorce?<br />
man:: Too many arguments.</p>
<p>% !:say, what is saccharine?<br />
Bad substitute.</p>
<p>% %blow<br />
%blow: No such job.</p>
<p>% \(-<br />
(-: Command not found.</p>
<p>$ PATH=pretending! /usr/ucb/which sense<br />
no sense in pretending!</p>
<p>$ drink matter<br />
matter: cannot create</p>
<p>$ ddate<br />
Today is Prickle-Prickle, the 69th day of Chaos in the YOLD 3176
</p></blockquote>
<p>and of course:</p>
<blockquote><p>
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ;  more ; yes ; umount ; sleep
</p></blockquote>
<p>Some of these work, some of these don&#8217;t &#8211; it all depends on your OS version. ddate does work on Centos.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rac.me.uk/2010/03/10/funny-linux-commands/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux: Handy Varnish commands</title>
		<link>http://blog.rac.me.uk/2009/11/29/linux-handy-varnish-commands/</link>
		<comments>http://blog.rac.me.uk/2009/11/29/linux-handy-varnish-commands/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 13:53:48 +0000</pubDate>
		<dc:creator>Richy C.</dc:creator>
				<category><![CDATA[Net: Techy: Linux]]></category>

		<guid isPermaLink="false">http://blog.rac.me.uk/?p=1572</guid>
		<description><![CDATA[If you are running the Varnish reverse proxy cache system on your website (yep, this is a techy post!), you might find the following command line tools useful. Varnish is a very powerful and useful cache tool which sits in front of your website and helps reduce the load on Apache/PHP &#8211; but there&#8217;s very [...]]]></description>
			<content:encoded><![CDATA[<p>If you are running the <a href="http://varnish.projects.linpro.no/">Varnish reverse proxy cache</a> system on your website (yep, this is a techy post!), you might find the following command line tools useful. Varnish is a very powerful and useful cache tool which sits in front of your website and helps reduce the load on Apache/PHP &#8211; but there&#8217;s very little information about how to use it available. Hopefully this is the first of many posts about perfecting a varnish configuration. But first, let&#8217;s get an idea of some of the information that can be reported from varnish:</p>
<p><strong>varnishlog</strong><br />
See what Varnish is currently processing.</p>
<p><strong>varnishtop -i RxHeader -I \^Referer</strong><br />
Show the referer (sic) header for requests.</p>
<p><strong>varnishtop -b -i TxURL</strong><br />
Shows requests made to the backend (-b) where the line matches (-i) the transmit URL (TxURL). Basically, shows you what is being passed to the backend and isn&#8217;t being cached. It will list all requests going to a backend, grouped by URL and sorted by a decaying average of frequency. Basically the number on the left should be single-digit and preferably all 1s or less (a higher number means the backend request is taking place frequently). [Technically, you don't even need the "-b" as the TxURL is only set when making requests to the backend anyway]</p>
<p><strong>varnishhist</strong><br />
Shows a histogram chart of the last 1,000 requests (by default) to the Varnish proxy showing &#8220;|&#8221; as a &#8220;hit&#8221; on the cache and &#8220;#&#8221; as a miss. The more &#8220;|&#8221; to the left of the chart, the better. The scale on the bottom is in seconds with 1e0 being &#8220;1&#8243; second and 1e-6 being 0.000001seconds (1e-1 being 0.1seconds). The vertical scale is shown in the top left hand corner.</p>
<p><strong>varnishstat</strong><br />
Shows various information about varnish &#8211; I&#8217;m sure I&#8217;ll figure out what they mean in time&#8230;</p>
<p><strong>Use varnishreload</strong><br />
From <a href="http://kristian.blog.linpro.no/2009/02/18/easy-reloading-of-varnish-vcl/">http://kristian.blog.linpro.no/2009/02/18/easy-reloading-of-varnish-vcl/</a> , this is a very handy script you can use to reload varnish&#8217;s configuration without having to restart the proxy server:<br />
<code>#!/bin/bash<br />
# Reload a varnish config<br />
# Author: Kristian Lyngstol<br />
FILE="/etc/varnish/default.vcl"<br />
# Hostname and management port<br />
# (defined in /etc/default/varnish or on startup)<br />
HOSTPORT="localhost:6082"<br />
NOW=`date +%s`<br />
error()<br />
{<br />
    echo 1>&#038;2 "Failed to reload $FILE."<br />
    exit 1<br />
}<br />
varnishadm -T $HOSTPORT vcl.load reload$NOW $FILE || error<br />
varnishadm -T $HOSTPORT vcl.use reload$NOW || error<br />
echo Current configs:<br />
varnishadm -T $HOSTPORT vcl.list</code></p>
<p><strong>Show what caused recent 503 errors</strong><br />
 varnishlog -d -c -o TxStatus 503</p>
<p><strong>Clear stale cache by host name</strong><br />
purge req.http.host ~ example.com</p>
<p><strong>See what status codes are being commonly hit by your users (ideally lots of 200 and few 5xxx)</strong><br />
varnishtop -i TxStatus<br />
See also: <a href="http://www.slideshare.net/schoefmax/caching-with-varnish-1642989">http://www.slideshare.net/schoefmax/caching-with-varnish-1642989</a>,<br />
<a href="http://blogs.osuosl.org/gchaix/2009/10/12/pressflow-varnish-and-caching/">http://blogs.osuosl.org/gchaix/2009/10/12/pressflow-varnish-and-caching/</a> and <a href="http://letsgetdugg.com/2009/12/04/random-varnish-tips-n-tricks/">http://letsgetdugg.com/2009/12/04/random-varnish-tips-n-tricks/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rac.me.uk/2009/11/29/linux-handy-varnish-commands/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Techy: Find and replace on Linux excluding SVN folders</title>
		<link>http://blog.rac.me.uk/2009/09/07/techy-find-and-replace-on-linux-excluding-svn-folders/</link>
		<comments>http://blog.rac.me.uk/2009/09/07/techy-find-and-replace-on-linux-excluding-svn-folders/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 16:40:53 +0000</pubDate>
		<dc:creator>Richy C.</dc:creator>
				<category><![CDATA[Net: Techy: Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://blog.rac.me.uk/?p=1547</guid>
		<description><![CDATA[Just another snippet aid to memory, this find and replace (using perl) uses Linux&#8217;s find&#8217;s &#8220;prune&#8221; syntax to &#8220;prune&#8221; the path before it to avoid doing and search and replace on .svn folders: find -path '*/.svn' -prune -o -type f -exec /usr/bin/perl -pi -e "s/ORIGINAL/NEW/g" {} \;]]></description>
			<content:encoded><![CDATA[<p>Just another snippet aid to memory, this find and replace (using perl) uses Linux&#8217;s find&#8217;s &#8220;prune&#8221; syntax to &#8220;prune&#8221; the path before it to avoid doing and search and replace on .svn folders:</p>
<p><code>find -path '*/.svn' -prune -o -type f -exec /usr/bin/perl -pi -e "s/ORIGINAL/NEW/g" {} \;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rac.me.uk/2009/09/07/techy-find-and-replace-on-linux-excluding-svn-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cPanel: Error: Package system can not be repaired automatically</title>
		<link>http://blog.rac.me.uk/2009/06/07/cpanel-error-package-system-can-not-be-repaired-automatically/</link>
		<comments>http://blog.rac.me.uk/2009/06/07/cpanel-error-package-system-can-not-be-repaired-automatically/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 15:04:58 +0000</pubDate>
		<dc:creator>Richy C.</dc:creator>
				<category><![CDATA[Net: Techy: cPanel]]></category>
		<category><![CDATA[Net: Techy: Linux]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[package system]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://blog.rac.me.uk/?p=1516</guid>
		<description><![CDATA[If, like myself, you have recently upgraded the cPanel control panel system on your Red Hat Enterprise Linux 5.2 server and received the error message &#8220;Error: Package system can not be repaired automatically&#8221; when upgrading Apache, then it&#8217;s probably caused by a problem with either the RedHat Package Manager (RPM) or YUM. To fix it, [...]]]></description>
			<content:encoded><![CDATA[<p>If, like myself, you have recently upgraded the cPanel control panel system on your Red Hat Enterprise Linux 5.2 server and received the error message &#8220;Error: Package system can not be repaired automatically&#8221; when upgrading Apache, then it&#8217;s probably caused by a problem with either the RedHat Package Manager (RPM) or YUM. To fix it, first ensure that no RPM or yum updates are running:<br />
<code>ps auxwww | grep yum<br />
ps auxwww | grep rpm</code><br />
If any are running, find out why and kill -9 them if they are zombie processes. Now you just need to rebuild the RPM database:<br />
<code> rm /var/lib/rpm/__db.* -rf<br />
rpm --rebuilddb</code><br />
This process may take some time (between 1 and 30 minutes depending on your server speed and the number of packages installed). Once it&#8217;s completed, you should be able to upgrade without problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rac.me.uk/2009/06/07/cpanel-error-package-system-can-not-be-repaired-automatically/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Techy: 10 Absolute Nos! For Freelancers</title>
		<link>http://blog.rac.me.uk/2007/12/20/techy-10-absolute-nos-for-freelancers/</link>
		<comments>http://blog.rac.me.uk/2007/12/20/techy-10-absolute-nos-for-freelancers/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 16:17:31 +0000</pubDate>
		<dc:creator>Richy C.</dc:creator>
				<category><![CDATA[Net: Techy: Linux]]></category>
		<category><![CDATA[Net: Techy: PHP]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[freelancing]]></category>
		<category><![CDATA[hints]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[techy]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.rac.me.uk/2007/12/20/techy-10-absolute-nos-for-freelancers/</guid>
		<description><![CDATA[Wake Up Later has a list of 10 Absolute &#8220;Nos!&#8221; for Freelances which include (with my comments): Can you show me a mock-up to help us choose a designer/developer? When I worked for a web hosting company, we did waste a lot of time doing web site designs for people as &#8220;mock ups&#8221; and a [...]]]></description>
			<content:encoded><![CDATA[<p>Wake Up Later has a list of <a href="http://www.wakeuplater.com/freelance-lessons/10-absolute-nos-for-freelancers.aspx">10 Absolute &#8220;Nos!&#8221; for Freelances</a> which include (with my comments):</p>
<ol>
<li>Can you show me a mock-up to help us choose a designer/developer?<br />
When I worked for a web hosting company, we did waste a lot of time doing web site designs for people as &#8220;mock ups&#8221; and a few times we did see the ideas &#8220;recycled&#8221; in their finished design even though they hadn&#8217;t paid us. The percentage of &#8220;mock ups to completed projects&#8221; was quite low as well &#8211; meaning wasted time. Oh &#8211; and the number of people that said &#8220;I don&#8217;t like that mock up, can you do another&#8221;&#8230; Grrr&#8230; On the plus side, I&#8217;ve just realised that an insurance company that I wrote the billing system for nearly a year ago whilst at my previous employer is still in use, despite the pet insurance company having very little (if anything) to do with my previous employer now. Go me!</li>
<li>Can you give us a discount rate?<br />
Am I the only person in the world that thinks &#8220;The price you see is the price you pay&#8221;? You don&#8217;t expect Tescos or Sainsburys to &#8220;haggle&#8221; the price of your food do you? Well, don&#8217;t expect web designers, programmers, hosting companies etc to do the same!</li>
<li>Will you register and host my site?<br />
I slightly disagree with this one &#8211; the designer will be able to register the domain name and host it with a third party: but as long as they make it totally clear they are just performing the &#8220;payment side&#8221; of things and the client needs to contact the appropriate company if there is any &#8220;non-design/code&#8221; issues then it should be ok.</li>
<li>Can you copy this site?<br />
Straight coping is a &#8220;no-no&#8221;, but trying to get a &#8220;similar look&#8221; to a site isn&#8217;t too bad. I.e. if you are doing a shopping cart: do you like the look of Amazon, Tesco, Play will help speed the design work along.</li>
<li>Can I pay for my e-commerce site from my website sales?<br />
A big no from me here as well! If the designer/<a href="http://www.amazon.co.uk/gp/redirect.html%3FASIN=0764553690%26tag=richcsblog-21%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0764553690%253FSubscriptionId=1N9AHEAQ2F6SVD97BE02">freelancer </a> says to the customer &#8220;I&#8217;ll do it cheaper if you&#8217;ll split the sales&#8221; that means the designer/freelancer thinks the customer has a very good ideas. However, if the customers asks for it &#8211; then the customer must think it&#8217;s not such a good idea and hence doesn&#8217;t really want to risk their money.</li>
<li>I have a great idea. Do you want to&#8230;?<br />
To me, this&#8217;ll depend on the circumstances. If they came to me (as a programmer) and said they&#8217;d like to partner for me and they can supply the design and backend content, and I&#8217;ve got to figure out how to get the content online and handle the promotion of it &#8211; then I may do. However, if it&#8217;s a case of &#8220;I want a shop to sell books via Amazon. I can design the site, can you do the back end&#8230;&#8221; then IMHO they won&#8217;t be contributing that much to the project. If they added their own book reviews then that&#8217;s another kettle of fish.</li>
<li>Do you have an IM account?<br />
I&#8217;ve practically given up on IM clients (such as Yahoo, AOL, MSN Messenger and ICQ) mainly because of the Spam (Yahoo especially) and the fact that when I am logged in I&#8217;m not always available to chat (away from the machine) or I&#8217;m busy working on something. I tend to have my PC on a &#8220;always ready&#8221; state (i.e. text edit, browsers etc already loaded and positioned) so opening and closing Trillian (which I used to use to log me into all the different networks) will be an extra thing to remember&#8230;</li>
<li>Can I just pay the whole amount when it&#8217;s done?</li>
<li>Is there any way you could get this done tonight or this weekend?</li>
<li>Can I be sure you won&#8217;t use this work in anything else? <br />
I tend to do the same as Samuel (the other of the original post) in that &#8220;(1) their code has utilized code from other projects which I haven&#8217;t charged them for, and (2) I will probably use code from their project on other projects, and (3) they own the code and implementation of the project (finished website), but not the actual code pieces (login system, image uploader, etc.). I pride myself in productivity and speed, and I need to use other code all the time to accomplish this.&#8221;. However, in most circumstances I do &#8220;copy my own code&#8221; but in a slightly different manner &#8211; so the &#8220;jist&#8221; of the code may be the same, it&#8217;ll be slightly different for each implmentation.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.rac.me.uk/2007/12/20/techy-10-absolute-nos-for-freelancers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Techy: Find All Symlinks (Symbolic Links) on a Linux System</title>
		<link>http://blog.rac.me.uk/2007/07/19/techy-find-all-symlinks-symbolic-links-on-a-linux-system/</link>
		<comments>http://blog.rac.me.uk/2007/07/19/techy-find-all-symlinks-symbolic-links-on-a-linux-system/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 08:30:29 +0000</pubDate>
		<dc:creator>Richy C.</dc:creator>
				<category><![CDATA[Net: Techy: Linux]]></category>

		<guid isPermaLink="false">http://blog.rac.me.uk/2007/07/19/techy-find-all-symlinks-symbolic-links-on-a-linux-system/</guid>
		<description><![CDATA[I&#8217;ve just needed to try and find all symbolic links (symlinks) on a RedHat Enterprise Linux server so I can replicate the setup of the server (for some reason, the config files and other settings are in &#8220;non-standard&#8221; places and are symlinked from the original location). To find all the sym links, just run this [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just needed to try and find all symbolic links (symlinks) on a RedHat Enterprise Linux server so I can replicate the setup of the server (for some reason, the config files and other settings are in &#8220;non-standard&#8221; places and are symlinked from the original location).</p>
<p>To find all the sym links, just run this simple Linux command line option:<br />
<code>find / -type l -exec ls -l {} \; </code></p>
<p>(and, if you would prefer all the symlinks to be stored in a file &#8211; as there will be a very large number of them &#8211; use the command <code>find / -type l -exec ls -l {} \;  > /home/admin/symlinks.txt</code>).</p>
<p>I hope this helps somebody else who has to work with undocumented strangely configured Linux machines.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rac.me.uk/2007/07/19/techy-find-all-symlinks-symbolic-links-on-a-linux-system/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Techy: Setting up Private Key Authentication in Linux for Rsync</title>
		<link>http://blog.rac.me.uk/2007/07/13/techy-setting-up-private-key-authentication-in-linux-for-rsync/</link>
		<comments>http://blog.rac.me.uk/2007/07/13/techy-setting-up-private-key-authentication-in-linux-for-rsync/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 09:42:45 +0000</pubDate>
		<dc:creator>Richy C.</dc:creator>
				<category><![CDATA[Net: Techy: Linux]]></category>

		<guid isPermaLink="false">http://blog.rac.me.uk/2007/07/13/techy-setting-up-private-key-authentication-in-linux-for-rsync/</guid>
		<description><![CDATA[If you wish to be able to automatically log in from one (server a) to another (server b), or you wish to setup rsync so that you can automatically send your backups from &#8220;server a&#8221; to the remote backup server &#8220;server b&#8221;, then the following steps should help in the configuration of this: Login to [...]]]></description>
			<content:encoded><![CDATA[<p>If you wish to be able to automatically log in from one (server a) to another (server b), or you wish to setup rsync so that you can automatically send your backups from &#8220;server a&#8221; to the remote backup server &#8220;server b&#8221;, then the following steps should help in the configuration of this:</p>
<ul>
<li>Login to server &#8220;A&#8221; via SSH as root</li>
<li>See if an RSA encryption key already exists by typing the following command:<br /><code>cat ~/.ssh/id_rsa.pub</code><br />If the key does NOT exist (i.e. you do not receive any output or the system reports &#8220;No such file or directory&#8221;), then you&#8217;ll need to generate an RSA encryption key using the command:<br /><code>ssh-keygen -t rsa -N ''</code><br />(note: those are two single quotes and NOT a double quote)<br />You&#8217;ll then be prompted where to save the key (it should auto-suggest something like /root/.ssh/id_rsa which you should accept)</li>
<li>Now you&#8217;ll need to copy the RSA encryption key to the remote server (server B). Still via SSH on server A&#8221;, enter the following commands (replacing serverb.example.com with the name/IP address of server B, and entering server B&#8217;s password where prompted):<br />
<code>ssh serverb.example.com<br />
mkdir .ssh<br />
exit<br />
scp ~/.ssh/id_rsa.pub root@serverb.example.com:/root/.ssh/remotekey<br />
ssh root@serverb.example.com<br />
cd .ssh<br />
cat remotekey &gt;&gt; authorized_keys</p>
<p>exit<br />
</code></li>
<li>Now typing &#8220;ssh root@serverb.example.com&#8221; from server A should automatically log you in.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.rac.me.uk/2007/07/13/techy-setting-up-private-key-authentication-in-linux-for-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Argument list too long when using rm ?</title>
		<link>http://blog.rac.me.uk/2006/08/06/argument-list-too-long-when-using-rm/</link>
		<comments>http://blog.rac.me.uk/2006/08/06/argument-list-too-long-when-using-rm/#comments</comments>
		<pubDate>Sun, 06 Aug 2006 14:09:36 +0000</pubDate>
		<dc:creator>Richy C.</dc:creator>
				<category><![CDATA[Net: Techy: Linux]]></category>

		<guid isPermaLink="false">http://blog.rac.me.uk/2006/08/06/argument-list-too-long-when-using-rm/</guid>
		<description><![CDATA[Ever needed to delete a lot (and I mean several thousand) files from a directory in Linux? Then you may have encountered the &#8220;Argument list too long&#8221; error message which occurs when using &#8220;rm *&#8221; on the folder. This problem occurs because the list of files exceeds the 128K buffer which the kernel uses to [...]]]></description>
			<content:encoded><![CDATA[<p>Ever needed to delete a lot (and I mean several thousand) files from a directory in Linux? Then you may have encountered the &#8220;Argument list too long&#8221; error message which occurs when using &#8220;rm *&#8221; on the folder. This problem occurs because the list of files exceeds the 128K buffer which the kernel uses to pass the list of files to rm .</p>
<p>So how to defeat this problem?</p>
<p>Simple, use:<br />
<code>find . -name "*" -print | xargs rm</code><br />
or, if you just want to delete the files starting &#8220;unwantedMail&#8221;, then use:<br />
<code>find . -name "unwantedMail*" -print | xargs rm</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rac.me.uk/2006/08/06/argument-list-too-long-when-using-rm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

