<?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>www.kmeckstein.com</title>
	<atom:link href="http://www.kmeckstein.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kmeckstein.com</link>
	<description>Keeping IT simple - Low Budget Fault Tolerant IT for Human Beings</description>
	<lastBuildDate>Fri, 21 Jan 2011 04:00:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Speeding up the internet with pdnsd and squid</title>
		<link>http://www.kmeckstein.com/linux/speeding-up-the-internet-with-pdnsd-and-squid/</link>
		<comments>http://www.kmeckstein.com/linux/speeding-up-the-internet-with-pdnsd-and-squid/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 04:00:04 +0000</pubDate>
		<dc:creator>Keith Eckstein</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.kmeckstein.com/?p=368</guid>
		<description><![CDATA[Living, as I do, in rural France, I suffer from rather slow internet connectivity.
My normal line speed is only 512Kbs and sometimes I struggle to achieve even this.
My solution is to use an Internet Acceleration Appliance, the building and configuration of which is detailed at&#8230;.
www.InternetAccelerationAppliance.com
Now, whilst that works very well, the server that it runs [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.kmeckstein.com/wp-content/uploads/2011/01/020225_1336_0519_lslp.jpg"><img class="alignleft size-medium wp-image-373" style="margin-right: 10px;" title="020225_1336_0519_lslp" src="http://www.kmeckstein.com/wp-content/uploads/2011/01/020225_1336_0519_lslp-300x205.jpg" alt="" width="300" height="205" /></a>Living, as I do, in rural France, I suffer from rather slow internet connectivity.</p>
<p style="text-align: justify;">My normal line speed is only 512Kbs and sometimes I struggle to achieve even this.</p>
<p style="text-align: justify;">My solution is to use an Internet Acceleration Appliance, the building and configuration of which is detailed at&#8230;.</p>
<p style="text-align: justify;"><a href="http://www.internetaccelerationappliance.com/" target="_blank">www.InternetAccelerationAppliance.com</a></p>
<p style="text-align: justify;">Now, whilst that works very well, the server that it runs on needs an upgrade (I&#8217;m going to add some more memory and another couple of SCSI disks) and will then be used for a number crunching/data processing project that I am about to embark on.</p>
<p style="text-align: justify;">Now, I was resigned to losing the speed increase that the server gave me but today, over a cup of coffee in a little bar in the nearest village, I wondered to myself whether I could just install the functionality of the server onto my local PC.</p>
<p style="text-align: justify;">I couldn&#8217;t see any reason why not and, less than an hour later, it was done.</p>
<p><!--********** Start of midpost **********--><br />
<span id="more-368"></span></p>
<table>
<tbody>
<tr>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 01 */
google_ad_slot = "4295986251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 02 */
google_ad_slot = "5416387699";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</tbody>
</table>
<p><!--********** End of midpost **********--></p>
<h2 style="text-align: justify;">Caching DNS Proxy Server</h2>
<p style="text-align: justify;">I started off by installing PDNSD as a local caching DNS server.</p>
<p style="text-align: justify;">The instructions and reasons for doing this are detailed at <a href="http://www.internetaccelerationappliance.com/installing-pdnsd.html" target="_blank">www.internetaccelerationappliance.com &#8211; installing pdnsd</a> so I&#8217;ll just offer a brief recap here&#8230;.</p>
<h3 style="text-align: justify;">What is DNS?</h3>
<p style="text-align: justify;">Imagine, if you will, that you want to send a letter to your friend Joe Bloggs. If you were just to address that letter to Joe Bloggs, it would almost certainly never arrive.</p>
<p style="text-align: justify;">If, however, you were to address that letter to Joe&#8217;s address&#8230; <em>24 Staunton Court, Streatham, London, England</em> then, sooner or later, it will be delivered.</p>
<p style="text-align: justify;">The internet is similar. We know sites by their names (i.e. www.google.com) but the delivery service needs the address (in this case the IP address &#8211; 74.125.77.104)</p>
<p style="text-align: justify;">When we type <em>www.google.com</em> into our browser, that information goes up the line to our Service Provider (in my case Orange.fr)</p>
<p style="text-align: justify;">Now, the server(s) at Orange don&#8217;t know who Google.com is so they have to look up an address for it. For this, they request the information from their DNS servers. These are basically just servers that contain lists of names and their associated IP addresses. A bit like telephone directories except there can only be one Google.com whereas in a telephone directory there may be many entries for Joe Bloggs.</p>
<p style="text-align: justify;">If the local DNS servers at Orange.fr don&#8217;t have an address, then the request is forwarded to the national DNS servers and then, finally, the root DNS servers (which, for .COM addresses are in Singapore.)</p>
<p style="text-align: justify;">All this can take time. What we are going to do here is make this process local so that every time we get an IP address from the Service Provider, it is going to be noted here in a local caching DNS server so that the next time we want to visit Google.com we don&#8217;t have to wait for Orange.fr to supply the address &#8211; we&#8217;ll already have it.</p>
<p style="text-align: justify;">Hopefully this will speed up my effective internet speed.</p>
<h3 style="text-align: justify;">pdnsd installation</h3>
<p style="text-align: justify;">1).  On my Debian system the installation was simple&#8230;.</p>
<p style="text-align: justify;"><em>apt-get install pdnsd dnsutils</em></p>
<p style="text-align: justify;">2). Once this is complete we need to edit one file&#8230;</p>
<p style="text-align: justify;"><em>nano /etc/default/pdnsd</em> and press Enter. This will load the file in the <strong>nano</strong> text editor.</p>
<p style="text-align: justify;">Change line 2 so that it reads&#8230; <em>START_DAEMON=yes</em></p>
<p style="text-align: justify;">Ctrl &amp; O &#8211; to save file and press Enter</p>
<p style="text-align: justify;">3).  Now we need to edit the pdnsd configuration file (/etc/psdnd.conf)</p>
<p style="text-align: justify;">My /etc/pdnsd.conf now looks like this&#8230;.<br />
<small><br />
<em>global {</em><br />
<em>perm_cache=1024;</em><br />
<em>cache_dir=&#8221;/var/cache/pdnsd&#8221;;</em><br />
<em>run_as=&#8221;pdnsd&#8221;;</em><br />
<em>server_ip = 127.0.0.1;</em><br />
<em>server_port=53;</em><br />
<em>status_ctl = on;</em><br />
<em>paranoid=on;</em><br />
<em>query_method=udp_tcp;</em><br />
<em>max_ttl=1w; # One week.</em><br />
<em>timeout=10;</em><br />
<em>}</em><br />
<em>server {</em><br />
<em>label=OpenDNS;</em><br />
<em>ip=208.67.222.222;</em><br />
<em>ip=208.67.220.220;</em><br />
<em>timeout=30;</em><br />
<em>uptest=ping;</em><br />
<em>interval=30;</em><br />
<em>ping_timeout=300;</em><br />
<em>purge_cache=off;</em><br />
<em>caching=on;</em><br />
<em>preset=off;</em><br />
<em>}</em><br />
<em>source {</em><br />
<em>owner=localhost;</em><br />
<em>serve_aliases=on;</em><br />
<em>file=&#8221;/etc/hosts&#8221;;</em><br />
<em>}</em><br />
<em>rr {</em><br />
<em>name=localhost;</em><br />
<em>reverse=on;</em><br />
<em>a=127.0.0.1;</em><br />
<em>owner=localhost;</em><br />
<em>soa=localhost,root.localhost,42,86400,900,86400,86400;</em><br />
<em>}</em><br />
<em>global {perm_cache=1024;cache_dir=&#8221;/var/cache/pdnsd&#8221;;run_as=&#8221;pdnsd&#8221;; server_ip = 127.0.0.1; server_port=53;status_ctl = on;paranoid=on; query_method=udp_tcp;max_ttl=1w; # One week.timeout=10; }server {label=OpenDNS;ip=208.67.222.222;ip=208.67.220.220;timeout=30;uptest=ping;interval=30; ping_timeout=300;purge_cache=off;caching=on;preset=off;}<br />
source {owner=localhost;serve_aliases=on;file=&#8221;/etc/hosts&#8221;;}<br />
rr {name=localhost;reverse=on;a=127.0.0.1;owner=localhost; soa=localhost,root.localhost,42,86400,900,86400,86400;}</em><br />
</small></p>
<p style="text-align: justify;">4). Now we must resolv.conf - <em>nano /etc/resolv.conf</em> and press Enter</p>
<p style="line-height: 27px; text-align: justify;">Change the file so that it contains just one line which reads exactly as follows&#8230;.. <em>nameserver	127.0.0.1</em></p>
<p style="text-align: justify;">5). Because my machine already used a fixed IP address I didn&#8217;t have to do the following, you may have to if you use DHCP&#8230;</p>
<p style="text-align: justify;">Edit dhclient.conf - <em>nano /etc/dhcp3/dhclient.conf</em> and press Enter</p>
<p style="line-height: 27px; text-align: justify;">Find the line that starts #prepend domain-name-servers (about 20 lines down) and remove the # so that the line reads as follows&#8230; prepend domain-name-servers 127.0.0.1;</p>
<p style="line-height: 27px; text-align: justify;">Ctrl &amp; O &#8211; to save file and press Enter</p>
<p style="line-height: 27px; text-align: justify;">Ctrl &amp; X &#8211; to quit nano</p>
<p style="text-align: justify;">6).  Finally, Edit interfaces - <em>nano /etc/network/interfaces</em></p>
<p style="line-height: 27px; text-align: justify;">Edit the line that starts&#8230; dns-nameservers so that it reads&#8230;.. dns-nameservers 192.168.1.2</p>
<p style="line-height: 27px; text-align: justify;">Ctrl &amp; O &#8211; to save file and press Enter</p>
<p style="line-height: 27px; text-align: justify;">Ctrl &amp; X &#8211; to quit nano</p>
<p style="line-height: 27px; text-align: justify;">Reboot the machine.</p>
<p style="line-height: 27px; text-align: justify;">7). Log into the rebooted machine, open a terminal and type in the command&#8230;</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;"><em>dig Google.com</em></p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">Note the Query time: (this is the time spent to retrieve Google&#8217;s IP address from the OpenDNS servers) &#8211; on my machine it was 316 msec.</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">Now run the same command again (arrow up will redisplay the last command.)</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">Note the Query time: (the address should be resolved locally by pdnsd) &#8211; it should now be about 3 msec.</p>
<h2 style="font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; line-height: normal; text-align: justify;">Squid Caching Proxy Server</h2>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">Now it&#8217;s time to install the squid caching proxy server &#8211; this is even easier!</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;"><span style="line-height: normal;"> </span></p>
<h3>What is a caching Proxy Server?</h3>
<p style="line-height: 27px; text-align: justify;">Now that <strong>pdnsd</strong> knows the IP Address of Google, we are saving some time everytime we wish to visit Google (by not having to look up the IP Address at Orange.fr&#8217;s DNS servers.)</p>
<p style="line-height: 27px; text-align: justify;">But, we are still downloading <em>logo.gif</em> (the Google logo) from the site and even at only 8Kb large, it is using up some of our bandwidth.</p>
<p style="line-height: 27px; text-align: justify;">What our caching proxy server does is keep a copy of that logo (and a whole hosts of other <em>HTTP Objects</em>) and, according to a complex set of rules, doesn&#8217;t bother going to the originating site the next time the object is requested &#8211; it delivers it from its local cache.</p>
<p style="line-height: 27px; text-align: justify;">This can dramatically reduce bandwidth.</p>
<p style="line-height: 27px; text-align: justify;">Now, Google is a well designed site with a minimum of logos and graphics to download &#8211; not all sites are as austere as Google. Over a period of time, a store of HTTP objects (graphics/webpages etc.) will be built up in the cache and these will be served to any machines on the network that are accessing the cache.</p>
<h3>Squid installation</h3>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">1).  Start off by installing Squid.  On my Debian system all I have to do was type <em>apt-get install squid</em>.</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">2).  Now we need to stop squid - <em>/etc/init.d/squid stop</em> and press Enter</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">3).  We need to edit /etc/squid/squid.conf</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">This is my squid.conf</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">
<p style="text-align: justify;"><small><br />
# Access Control Lists<br />
acl all src all<br />
acl manager proto cache_object<br />
acl localhost src 127.0.0.1/32<br />
acl to_localhost dst 127.0.0.0/8<br />
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network<br />
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network<br />
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network<br />
acl SSL_ports port 443 # https<br />
acl SSL_ports port 563 # snews<br />
acl SSL_ports port 873 # rsync<br />
acl Safe_ports port 80 # http<br />
acl Safe_ports port 21 # ftp<br />
acl Safe_ports port 443 # https<br />
acl Safe_ports port 70 # gopher<br />
acl Safe_ports port 210 # wais<br />
acl Safe_ports port 1025-65535 # unregistered ports<br />
acl Safe_ports port 280 # http-mgmt<br />
acl Safe_ports port 488 # gss-http<br />
acl Safe_ports port 591 # filemaker<br />
acl Safe_ports port 777 # multiling http<br />
acl Safe_ports port 631 # cups<br />
acl Safe_ports port 873 # rsync<br />
acl Safe_ports port 901 # SWAT<br />
acl apache rep_header Server ^Apache<br />
acl mydomain src 192.168.1.1-192.168.1.24/255.255.255.255<br />
acl purge method PURGE<br />
acl CONNECT method CONNECT</small></p>
<p style="text-align: justify;"><small># Refresh patterns<br />
refresh_pattern ^ftp: 1440 20% 10080<br />
refresh_pattern ^gopher: 1440 0% 1440<br />
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0<br />
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880<br />
refresh_pattern . 0 50% 40320<br />
refresh_pattern -i \.jpg$ 3600 90% 40320 override-expire override-lastmod reload-into-ims ignore-reload<br />
refresh_pattern -i \.jpeg$ 3600 90% 40320 override-expire override-lastmod reload-into-ims ignore-reload<br />
refresh_pattern -i \.gif$ 3600 90% 40320 override-expire override-lastmod reload-into-ims ignore-reload<br />
refresh_pattern -i \.html 300 50% 10 ignore-reload<br />
http_access allow manager localhost<br />
http_access deny manager<br />
http_access allow purge localhost<br />
http_access deny purge<br />
http_access deny !Safe_ports<br />
http_access deny CONNECT !SSL_ports<br />
http_access allow localhost<br />
http_access allow mydomain<br />
http_access deny all</small></p>
<p style="text-align: justify;"><small> </small></p>
<p style="text-align: justify;"><small># Denying non-necessary access<br />
icp_access allow localnet<br />
icp_access deny all<br />
htcp_access allow localnet<br />
htcp_access deny all</small></p>
<p style="text-align: justify;"><small> </small></p>
<p style="text-align: justify;"><small># Stopping stuff we don&#8217;t need<br />
log_fqdn off<br />
log_icp_queries off<br />
buffered_logs on<br />
emulate_httpd_log off<br />
client_db off<br />
cache_store_log none<br />
memory_pools off<br />
forwarded_for off</small></p>
<p style="text-align: justify;"><small> </small></p>
<p style="text-align: justify;"><small>#General config stuff<br />
http_port 3128<br />
visible_hostname brahms-squid<br />
hierarchy_stoplist cgi-bin ?<br />
coredump_dir /var/spool/squid<br />
cache_mgr squid@brahms.com<br />
access_log /var/log/squid/access.log squid</small></p>
<p style="text-align: justify;"><small># Caching stuff<br />
cache_mem 64 MB<br />
cache_dir diskd /var/spool/squid 4000 16 256<br />
maximum_object_size_in_memory 32 KB<br />
maximum_object_size 128 MB<br />
request_body_max_size 8 MB</small></p>
<p style="text-align: justify;"><small> </small></p>
<p style="text-align: justify;"><small></small></p>
<p style="text-align: justify;"><small># DNS Stuff<br />
hosts_file /etc/hosts<br />
dns_testnames 127.0.0.1<br />
dns_nameservers 127.0.0.1<br />
</small></p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">4). Now we only need to restart squid by typing <em>/etc/squid/squid start</em> and then forcing it to re-read the config file by typing squid -k reconfigure</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">5).  You will need to set up your browser to use the local proxy server.</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">To do this just find the configuration screen (this will vary from one browser to another) and set the broser to access the internet via a proxy server.  Use an IP address of 127.0.0.1 and a port of 3128.  Now tick the box that says Use this proxy server for all protocols and click on the OK button.</p>
<h2>Conclusion</h2>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">It&#8217;s difficult to tell how much this has speeded up my internet access as I was using a separate caching proxy server before.</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">I know that it&#8217;s very rare for me to wait for a website to be found (a function of the DNS server) and once I have visited a site once, the following time the graphics just snap into place (no waiting at all!)</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">Overall, this has proven to be an extremely simple way to improve my internet access without resorting to additional hardware.</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">My pdnsd.conf and squid.conf files are available at <small><a href="http://www.kmeckstein.com/data/pdnsd.conf">http://www.kmeckstein.com/data/pdnsd.conf</a></small> and <small><a href="http://www.kmeckstein.com/data/squid.conf">http://www.kmeckstein.com/data/squid.conf</a></small></p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">To download them you just need to use&#8230;</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">wget http://www.kmeckstein.com/data/pdnsd.conf and</p>
<p style="line-height: 27px; font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; font-size: 15px; text-align: justify;">wget http://www.kmeckstein.com/data/squid.conf</p>
<p><!-- *************** End of Post *************** --></p>
<p style="text-align: justify;">All the best</p>
<p style="text-align: justify;"><em><a href="http://www.kmeckstein.com" target="_new"><img style="border: 0 !important; background: transparent;" src="http://signatures.mylivesignature.com/54487/361/05B2F3AEF0716A04BB82635774EBAEE8.png" alt="" /></a></em></p>
<p><a name="fb_share" type="button" href="http://www.facebook.com/sharer.php">If you liked this article, why not share it with your friends on Facebook</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>
<p><!-- Social bookmarking starts --></p>
<p class="meta"><a class="reddit" href="http://www.reddit.com/submit?url=http://www.kmeckstein.com/index.html" target="_blank"><small>Reddit</small></a> <a class="twitter" title="Click to send this page to Twitter!" href="http://twitter.com/home?status=Currently reading about kmeckstein: http://www.kmeckstein.com/index.html" target="_blank"><small>Twitter</small></a> <a class="digg" href="http://digg.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=kmeckstein&amp;bodytext=kmeckstein&amp;media=MEDIA&amp;topic=France" target="_new"><small>Digg</small></a> <a class="facebook" title="Share on Facebooks" href="http://www.facebook.com/share.php?u=http://www.kmeckstein.com" target="_new"><small>Share on Facebook</small></a> <a class="stumble" title="Add this article to StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=www.kmeckstein.com - Home" target="_new"><small>Stumble</small></a> <a class="bookmark" title="Bookmark this page." href="javascript:bookmarksite('kmeckstein', 'http://www.kmeckstein.com/index.html')"><small>Bookmark</small></a> <a class="email" title="Email this page to a friend." href="javascript:mailpage()"><small>Email this page to a friend</small></a></p>
<p><!-- *************** End of Post *************** --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kmeckstein.com/linux/speeding-up-the-internet-with-pdnsd-and-squid/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Wordpress SEO Optimisation</title>
		<link>http://www.kmeckstein.com/software/wordpress-seo-optimisation/</link>
		<comments>http://www.kmeckstein.com/software/wordpress-seo-optimisation/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 05:00:33 +0000</pubDate>
		<dc:creator>Keith Eckstein</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.kmeckstein.com/?p=347</guid>
		<description><![CDATA[I&#8217;ve recently being looking at the Google Page Rank of one of my sites.
A Taste of Garlic is a blog review site where I review, on a daily basis, blogs by people who have moved to France.  It gets between 1,200 and 1,600 visitors a day but remains with a Google Page Rank of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.kmeckstein.com/wp-content/uploads/2011/01/010507_0742_0293_lslp.jpg"><img  style="float:right;margin-left:10px;" title="010507_0742_0293_lslp" src="http://www.kmeckstein.com/wp-content/uploads/2011/01/010507_0742_0293_lslp-260x300.jpg" alt="" width="260" height="300" /></a>I&#8217;ve recently being looking at the Google Page Rank of one of my sites.</p>
<p style="text-align: justify;"><a href="http://www.atasteofgarlic.com" target="_blank">A Taste of Garlic</a> is a blog review site where I review, on a daily basis, blogs by people who have moved to France.  It gets between 1,200 and 1,600 visitors a day but remains with a Google Page Rank of 3, the same it had when it was only getting half that number of unique visits.</p>
<p style="text-align: justify;">I was reading around the subject and noticed that many SEO advisors suggested that it was vitally important that the <em>&lt;title&gt;Title&lt;/title&gt;</em> change for every post/page.</p>
<p style="text-align: justify;">That caused me some concern!</p>
<p style="text-align: justify;">Here&#8217;s why&#8230;.</p>
<p style="text-align: justify;">A few months ago I did some work to speed up <a href="http://www.atasteofgarlic.com" target="_blank">A Taste of Garlic</a> &#8211; I wrote about it here &#8211; <a href="http://www.kmeckstein.com/software/speeding-up-wordpress/" target="_blank">Six ways to speed up Wordpress</a>.</p>
<p><!--********** Start of midpost **********--><br />
<span id="more-347"></span></p>
<table>
<tbody>
<tr>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 01 */
google_ad_slot = "4295986251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 02 */
google_ad_slot = "5416387699";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</tbody>
</table>
<p><!--********** End of midpost **********--></p>
<p style="text-align: justify;">One of the things I did was to rewrite the code in the header file (Header.php) that produces the Title.</p>
<p style="text-align: justify;">Originally it was like this&#8230;.<br />
<small><span style="color: #0000ff;">&lt;title&gt;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt; &lt;?php wp_title(); ?&gt;&lt;/title&gt;</span></small></p>
<p style="text-align: justify;">and I changed it to&#8230;</p>
<p style="text-align: justify;"><em>&lt;title&gt;A Taste of Garlic&lt;/title&gt;</em></p>
<p style="text-align: justify;">Well, that saved a php/mySQL lookup &#8211; surely that&#8217;s a good thing?</p>
<p style="text-align: justify;">Maybe, but it also meant that every page/post would have a title tag of <em>A Taste of Garlic</em> &#8211; not so good!</p>
<p style="text-align: justify;">I quickly opened up header.php and changed the offending line to the following&#8230;</p>
<p style="text-align: justify;"><small><span style="color: #0000ff;">&lt;title&gt;&lt;?php the_title(); ?&gt; &#8211; A Taste of Garlic &#8211; Life &amp; Living in France Blogs &#8211; &lt;?php $category = get_the_category(); echo $category[0]-&gt;cat_name;?&gt;&lt;/title&gt;</span></small></p>
<p style="text-align: justify;">which gives this as a title (for a typical post)&#8230;</p>
<p style="text-align: justify;"><span style="color: #000000;"><em>&lt;title&gt;Baguettes and Roses &#8211; A Taste of Garlic &#8211; Life &amp; Living in France Blogs &#8211; Poitou-Charentes&lt;/title&gt;</em></span></p>
<p style="text-align: justify;">That&#8217;s more like it.</p>
<p style="text-align: justify;">Now I know that Google only displays the first 65 characters of the title (as compare to Yahoo who display 120 characters) but there seems no clear understanding if they index more than 65 characters of the title tag.  I think that I&#8217;ve now got a title tag with relevant keywords that is still humanly readable and, more importantly, helpful to the casual visitor.</p>
<p style="text-align: justify;">Whilst I was at it, I edited index.php and single.php and changed this&#8230;.</p>
<p style="text-align: justify;"><small><span style="color: #0000ff;">&lt;?php if (have_posts()) : ?&gt;</span></small><br />
<small><span style="color: #0000ff;">&lt;?php while (have_posts()) : the_post(); ?&gt;</span></small><br />
<small><span style="color: #0000ff;"> </span><span style="color: #0000ff;">&lt;div class=&#8221;post&#8221; id=&#8221;post-&lt;?php the_ID(); ?&gt;&#8221;&gt;</span><br />
<span style="color: #0000ff;">&lt;h2&gt;&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &lt;?php the_title(); ?&gt;&#8221;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;</span><br />
<span style="color: #0000ff;">&lt;div class=&#8221;entry&#8221;&gt;</span><br />
<span style="color: #0000ff;">&lt;?php the_content(&#8220;Read more about&#8230; &#8221; . get_the_title(&#8221;, &#8221;, false)); ?&gt;</span><br />
<span style="color: #0000ff;">&lt;/div&gt;</span><br />
</small></p>
<div style="text-align: justify;">to this&#8230;</div>
<p style="text-align: justify;"><small><br />
<span style="color: #0000ff;">&lt;?php if (have_posts()) : ?&gt;</span></small><br />
<small><span style="color: #0000ff;">&lt;?php while (have_posts()) : the_post(); ?&gt;</span></small><br />
<small><span style="color: #0000ff;"> </span><span style="color: #0000ff;">&lt;div class=&#8221;post&#8221; id=&#8221;post-&lt;?php the_ID(); ?&gt;&#8221;&gt;</span><br />
<span style="color: #0000ff;">&lt;h1&gt;&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Link to &lt;?php the_title(); ?&gt; &#8211; Life in France blogs all about living in France as an expat &#8211; &lt;?php $category = get_the_category(); echo $category[0]-&gt;cat_name;?&gt;&#8221;&gt;&lt;?php the_title(); ?&gt;</span><br />
<span style="color: #0000ff;">&lt;?php $category = get_the_category();</span><br />
<span style="color: #0000ff;">If ($category[0]-&gt;cat_name==&#8221;General&#8221;){}</span><br />
<span style="color: #0000ff;">Elseif ($category[0]-&gt;cat_name==&#8221;Blogiversary&#8221;){}</span><br />
<span style="color: #0000ff;">Elseif ($category[0]-&gt;cat_name==&#8221;That was the week&#8230;.&#8221;){}</span><br />
<span style="color: #0000ff;">Elseif ($category[0]-&gt;cat_name==&#8221;French Links&#8221;){}</span><br />
<span style="color: #0000ff;">Elseif ($category[0]-&gt;cat_name==&#8221;Hints and Tips&#8221;){}</span><br />
<span style="color: #0000ff;">Elseif ($category[0]-&gt;cat_name==&#8221;Recipes from France&#8221;){}</span><br />
<span style="color: #0000ff;">Elseif ($category[0]-&gt;cat_name==&#8221;Saturday Sites&#8221;){}</span><br />
<span style="color: #0000ff;">Elseif ($category[0]-&gt;cat_name==&#8221;UK Shopping in France&#8221;){}</span><br />
<span style="color: #0000ff;">else{echo &#8221; &#8211; &#8221; . $category[0]-&gt;cat_name;}?&gt;</span><br />
<span style="color: #0000ff;">&lt;/a&gt;&lt;/h1&gt;</span><br />
<span style="color: #0000ff;">&lt;div class=&#8221;entry&#8221;&gt;</span><br />
<span style="color: #0000ff;">&lt;?php the_content(&#8220;Read more about&#8230; &#8221; . get_the_title(&#8221;, &#8221;, false)); ?&gt;</span><br />
<span style="color: #0000ff;">&lt;/div&gt;</span><br />
</small></p>
<p style="text-align: justify;">This might not be the prettiest php code in the world but it does the job for the moment.</p>
<p style="text-align: justify;">Basically, the post title gets changed from a &lt;h2&gt; tag to a &lt;h1&gt; tag.  I adjusted the display sizes of both tags so that they looked right on screen.</p>
<p style="text-align: justify;">The post title now also gets followed by the category name (almost always the Region of France that the blog I&#8217;m reviewing is based in) unless it&#8217;s one of a select few categories that wouldn&#8217;t make sense to display.</p>
<p style="text-align: justify;">Whether this will make any difference to my page rank for <a href="http://www.atasteofgarlic.com" target="_blank">A Taste of Garlic</a> I have absolutely no idea &#8211; but it certainly can&#8217;t hurt.</p>
<p style="text-align: justify;">Now I need to do something similar with my other blogs&#8230;.</p>
<p style="text-align: justify;">And sort out that horrible php code!</p>
<p><!-- *************** End of Post *************** --></p>
<p style="text-align: justify;">All the best</p>
<p style="text-align: justify;"><em><a href="http://www.kmeckstein.com" target="_new"><img style="border: 0 !important; background: transparent;" src="http://signatures.mylivesignature.com/54487/361/05B2F3AEF0716A04BB82635774EBAEE8.png" alt="" /></a></em></p>
<p><a name="fb_share" type="button" href="http://www.facebook.com/sharer.php">If you liked this article, why not share it with your friends on Facebook</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>
<p><!-- Social bookmarking starts --></p>
<p class="meta"><a class="reddit" href="http://www.reddit.com/submit?url=http://www.kmeckstein.com/index.html" target="_blank"><small>Reddit</small></a> <a class="twitter" title="Click to send this page to Twitter!" href="http://twitter.com/home?status=Currently reading about kmeckstein: http://www.kmeckstein.com/index.html" target="_blank"><small>Twitter</small></a> <a class="digg" href="http://digg.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=kmeckstein&amp;bodytext=kmeckstein&amp;media=MEDIA&amp;topic=France" target="_new"><small>Digg</small></a> <a class="facebook" title="Share on Facebooks" href="http://www.facebook.com/share.php?u=http://www.kmeckstein.com" target="_new"><small>Share on Facebook</small></a> <a class="stumble" title="Add this article to StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=www.kmeckstein.com - Home" target="_new"><small>Stumble</small></a> <a class="bookmark" title="Bookmark this page." href="javascript:bookmarksite('kmeckstein', 'http://www.kmeckstein.com/index.html')"><small>Bookmark</small></a> <a class="email" title="Email this page to a friend." href="javascript:mailpage()"><small>Email this page to a friend</small></a></p>
<p><!-- *************** End of Post *************** --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kmeckstein.com/software/wordpress-seo-optimisation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A useful tip &#8211; speeding up your web browser!</title>
		<link>http://www.kmeckstein.com/uncategorized/a-useful-tip-speeding-up-your-web-browser/</link>
		<comments>http://www.kmeckstein.com/uncategorized/a-useful-tip-speeding-up-your-web-browser/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 19:28:33 +0000</pubDate>
		<dc:creator>Keith Eckstein</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kmeckstein.com/?p=331</guid>
		<description><![CDATA[I came across this little tip on Cods Place and thought I&#8217;d try it out.
The Codfather (how cool a name is that?  I wish my parents had given me a cool name like that rather than Keith!) explains Speeding up your Linux browser using a ramdisk.
I&#8217;m going to copy the basic instructions but you should [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.kmeckstein.com/wp-content/uploads/2011/01/970801_4755_1047_oslp.jpg"><img src="http://www.kmeckstein.com/wp-content/uploads/2011/01/970801_4755_1047_oslp-300x176.jpg" alt="" title="970801_4755_1047_oslp" width="300" height="176" margin-right="10" class="alignleft size-medium wp-image-332" /></a>I came across this little tip on <a href="http://codsplaice.blogspot.com/2010/11/speeding-up-your-linux-browser-using.html" target="_blank">Cods Place</a> and thought I&#8217;d try it out.</p>
<p style="text-align: justify;">The Codfather (how cool a name is that?  I wish my parents had given me a cool name like that rather than Keith!) explains <a href="http://codsplaice.blogspot.com/2010/11/speeding-up-your-linux-browser-using.html" target="_blank">Speeding up your Linux browser using a ramdisk</a>.</p>
<p style="text-align: justify;">I&#8217;m going to copy the basic instructions but you should really check out <a href="http://codsplaice.blogspot.com/2010/11/speeding-up-your-linux-browser-using.html" target="_blank">Cods Place</a> &#8211; it&#8217;s full of interesting little tips and news &#8211; mainly about Linux!</p>
<p><!--********** Start of midpost **********--><br />
<span id="more-331"></span></p>
<table>
<tbody>
<tr>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 01 */
google_ad_slot = "4295986251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 02 */
google_ad_slot = "5416387699";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</tbody>
</table>
<p><!--********** End of midpost **********--></p>
<p style="text-align: justify;">On the site there are instructions for doing this for Chrome and for Firefox.</p>
<p style="text-align: justify;">I&#8217;m only going to show the Chrome instructions as that&#8217;s what I use.</p>
<p style="text-align: justify;">1) create the directoty <em>- sudo mkdir /var/ramdisk</em></p>
<p style="text-align: justify;">2) then edit this file and add the following line at the end <em>- gksudo gedit /etc/fstab</em></p>
<p style="text-align: justify;"><em>/var/ramdisk /var/ramdisk tmpfs size=512m 0 0</em></p>
<p style="text-align: justify;">3) Now mount this new ramdisk to test <em>- sudo mount /var/ramdisk</em></p>
<p style="text-align: justify;">We now have our ramdisk, and we can add this to the start options for Chromium.</p>
<p style="text-align: justify;">Add <em>&#8211;disk-cache-dir=/var/ramdisk</em> to the command/icon that you use to start Chrome.</p>
<p style="text-align: justify;">I&#8217;ve been using this for a couple of weeks now &#8211; I&#8217;m not sure how much it has speeded up Chrome because it was pretty damn fast to start with.</p>
<p style="text-align: justify;">It certainly hasn&#8217;t slowed it down &#8211; that&#8217;s for sure!</p>
<p><!-- *************** End of Post *************** --></p>
<p style="text-align: justify;">All the best</p>
<p style="text-align: justify;"><em><a href="http://www.kmeckstein.com" target="_new"><img style="border: 0 !important; background: transparent;" src="http://signatures.mylivesignature.com/54487/361/05B2F3AEF0716A04BB82635774EBAEE8.png" alt="" /></a></em></p>
<p><a name="fb_share" type="button" href="http://www.facebook.com/sharer.php">If you liked this article, why not share it with your friends on Facebook</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>
<p><!-- Social bookmarking starts --></p>
<p class="meta"><a class="reddit" href="http://www.reddit.com/submit?url=http://www.kmeckstein.com/index.html" target="_blank"><small>Reddit</small></a> <a class="twitter" title="Click to send this page to Twitter!" href="http://twitter.com/home?status=Currently reading about kmeckstein: http://www.kmeckstein.com/index.html" target="_blank"><small>Twitter</small></a> <a class="digg" href="http://digg.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=kmeckstein&amp;bodytext=kmeckstein&amp;media=MEDIA&amp;topic=France" target="_new"><small>Digg</small></a> <a class="facebook" title="Share on Facebooks" href="http://www.facebook.com/share.php?u=http://www.kmeckstein.com" target="_new"><small>Share on Facebook</small></a> <a class="stumble" title="Add this article to StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=www.kmeckstein.com - Home" target="_new"><small>Stumble</small></a> <a class="bookmark" title="Bookmark this page." href="javascript:bookmarksite('kmeckstein', 'http://www.kmeckstein.com/index.html')"><small>Bookmark</small></a> <a class="email" title="Email this page to a friend." href="javascript:mailpage()"><small>Email this page to a friend</small></a></p>
<p><!-- *************** End of Post *************** --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kmeckstein.com/uncategorized/a-useful-tip-speeding-up-your-web-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A cautionary tale&#8230;.</title>
		<link>http://www.kmeckstein.com/linux/a-cautionary-tale/</link>
		<comments>http://www.kmeckstein.com/linux/a-cautionary-tale/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 03:00:24 +0000</pubDate>
		<dc:creator>Keith Eckstein</dc:creator>
				<category><![CDATA[Backups]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.kmeckstein.com/?p=318</guid>
		<description><![CDATA[Earlier this week I was busy rebuilding an old machine to use as a dedicated writing machine.
I going to blog all about that at TheFridayBlog (my writing blog) tomorrow!
One thing that I won&#8217;t mention there is the minor setback that occurred due to my stupidity and lack of thought.
The problem was rsync!
I decided (quite rightly) [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.kmeckstein.com/wp-content/uploads/2011/01/rsync.jpg"><img class="alignright size-medium wp-image-323" style="margin-left: 10px;" title="rsync" src="http://www.kmeckstein.com/wp-content/uploads/2011/01/rsync-300x199.jpg" alt="" width="300" height="199" /></a>Earlier this week I was busy rebuilding an old machine to use as a dedicated writing machine.</p>
<p style="text-align: justify;">I going to blog all about that at <a href="http://thefridayblog.com" target="_blank">TheFridayBlog</a> (my writing blog) tomorrow!</p>
<p style="text-align: justify;">One thing that I won&#8217;t mention there is the minor setback that occurred due to my stupidity and lack of thought.</p>
<p style="text-align: justify;">The problem was rsync!</p>
<p style="text-align: justify;">I decided (quite rightly) that it would be rather sensible to back up the writing machine not only to gmail (my normal process) and to an external USB drive (I just happened to have a spare one available) but also to my server.</p>
<p><!--********** Start of midpost **********--><br />
<span id="more-318"></span></p>
<table>
<tbody>
<tr>
<td><script type="text/javascript">// <![CDATA[
 google_ad_client = "pub-9637700727717648"; /* kmeckstein - 300x250 - 01 */ google_ad_slot = "4295986251"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></td>
<td><script type="text/javascript">// <![CDATA[
 google_ad_client = "pub-9637700727717648"; /* kmeckstein - 300x250 - 02 */ google_ad_slot = "5416387699"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></td>
</tr>
</tbody>
</table>
<p><!--********** End of midpost **********--></p>
<p style="text-align: justify;">Rather than write a backup script from scratch I decided to use an old one and just change the locations.</p>
<p style="text-align: justify;">The edited script (this is just an extract &#8211; the bit that did the damage!) that I used was as follows&#8230;.</p>
<p><small><em># And then back Elgar up to Mozart&#8230;.</em></small><br />
<small><em>rsync -av &#8211;progress &#8211;delete &#8211;log-file=/home/keckstein/Backup/$(date +%d%m%Y)_Elgar_backup.log /home/keckstein/ /media/Mozart</em></small></p>
<p style="text-align: justify;">And what&#8217;s wrong with that, I hear you ask?</p>
<p style="text-align: justify;">Yes, it looked OK to me at first glance.</p>
<p style="text-align: justify;">There are (as I later found to my cost) two problems&#8230;</p>
<p style="text-align: justify;">1).  I should have been rsyncing the data to it&#8217;s own directory on Mozart (rather than the root of the share) and</p>
<p style="text-align: justify;">2). I really should have thought harder about that <em>&#8211;delete</em> parameter!</p>
<p style="text-align: justify;">Normally I like to use the <em>&#8211;delete</em> parameter for disk  to disc backup copy jobs.</p>
<p style="text-align: justify;">What happens is this; if you delete a file on the source drive (the drive that you are backing up), rsync will also delete that file from the destination drive (the drive you are backing up to.)</p>
<p style="text-align: justify;">All well and good.  The destination drive is a mirror copy of the source drive.  That&#8217;s what we want, isn&#8217;t it?</p>
<p style="text-align: justify;">What happened the first time I ran the backup script (it contained a lot more than just that one line but, that one line was more than enough to cause me a whole pile of grief!) was that the files were copied from Chatwin to Mozart &#8211; no problem there.</p>
<p style="text-align: justify;">Then <em>rsync</em> deleted every file on Mozart that didn&#8217;t exist on Chatwin!</p>
<p style="text-align: justify;">Oops!</p>
<p style="text-align: justify;">The main data share on Mozart contains all of our photos, our ebook library, our day to day financial and business data and other important stuff like that!</p>
<p style="text-align: justify;">Luckily, we automatically back the main drive on Mozart up to an archive drive in the same box;  that&#8217;s where I leave customer backups when I rebuild their machines &#8211; when I start running out of space they get deleted in date order.</p>
<p style="text-align: justify;">A quick check showed me that the previous night&#8217;s backup had worked (one of the reasons I like <em>rsync</em> to write a logfile every time I invoke it) and a quick copy job  restored the data.</p>
<p style="text-align: justify;">So, not such a disaster but it could have been so, so much worse.</p>
<p style="text-align: justify;">I suppose that the lessons learned here are&#8230;.</p>
<p style="text-align: justify;">1).  Treat <em>rsync</em> with a bit of respect.  It WILL do exactly what you tell it to!</p>
<p style="text-align: justify;">2).  Always do a dummy run first!</p>
<p style="text-align: justify;">3).  Always think twice about that <em>&#8211;delete</em> parameter!</p>
<p style="text-align: justify;">4).  Always think twice about reusing old scripts.  It might have done the job that you wanted it to but will they do the job that you  now want it to?</p>
<p style="text-align: justify;">There&#8217;s a great resource on <em>rsync</em> <a href="http://ss64.com/bash/rsync.html" target="_blank">here</a> and <a href="http://ss64.com/bash/rsync_options.html" target="_blank">here</a>.</p>
<p style="text-align: justify;">Of course, the wiser amongst you might have wondered what would have happened if the overnight script to backup Mozart also used the <em>&#8211;delete</em> parameter and if I hadn&#8217;t noticed the problem with the first script until the next day?</p>
<p style="text-align: justify;">I believe that <em>Oh shit!</em> would have been the kindest of all the many things that I would have had to say!</p>
<p><!-- *************** End of Post *************** --></p>
<p style="text-align: justify;">All the best</p>
<p style="text-align: justify;"><em><a href="http://www.kmeckstein.com" target="_new"><img style="border: 0 !important; background: transparent;" src="http://signatures.mylivesignature.com/54487/361/05B2F3AEF0716A04BB82635774EBAEE8.png" alt="" /></a></em></p>
<p><a name="fb_share" type="button" href="http://www.facebook.com/sharer.php">If you liked this article, why not share it with your friends on Facebook</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>
<p><!-- Social bookmarking starts --></p>
<p class="meta"><a class="reddit" href="http://www.reddit.com/submit?url=http://www.kmeckstein.com/index.html" target="_blank"><small>Reddit</small></a> <a class="twitter" title="Click to send this page to Twitter!" href="http://twitter.com/home?status=Currently reading about kmeckstein: http://www.kmeckstein.com/index.html" target="_blank"><small>Twitter</small></a> <a class="digg" href="http://digg.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=kmeckstein&amp;bodytext=kmeckstein&amp;media=MEDIA&amp;topic=France" target="_new"><small>Digg</small></a> <a class="facebook" title="Share on Facebooks" href="http://www.facebook.com/share.php?u=http://www.kmeckstein.com" target="_new"><small>Share on Facebook</small></a> <a class="stumble" title="Add this article to StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=www.kmeckstein.com - Home" target="_new"><small>Stumble</small></a> <a class="bookmark" title="Bookmark this page." href="javascript:bookmarksite('kmeckstein', 'http://www.kmeckstein.com/index.html')"><small>Bookmark</small></a> <a class="email" title="Email this page to a friend." href="javascript:mailpage()"><small>Email this page to a friend</small></a></p>
<p><!-- *************** End of Post *************** --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kmeckstein.com/linux/a-cautionary-tale/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Six ways to speed up WordPress</title>
		<link>http://www.kmeckstein.com/software/speeding-up-wordpress/</link>
		<comments>http://www.kmeckstein.com/software/speeding-up-wordpress/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 08:00:35 +0000</pubDate>
		<dc:creator>Keith Eckstein</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.kmeckstein.com/?p=260</guid>
		<description><![CDATA[




Introduction
Recently I have noticed that one of my sites,  A Taste of Garlic seemed to be loading slower than before.
I determined to do something about speeding it up.
Starting with some of the hints and tips found on Computing Unleashed I had a delve around to see what I could do.
Normally I connect to the internet via [...]]]></description>
			<content:encoded><![CDATA[<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/09/wordpress.jpg"><img class="alignleft size-medium wp-image-269" title="wordpress" src="http://www.kmeckstein.com/wp-content/uploads/2010/09/wordpress-235x300.jpg" alt="" width="235" height="300" /></a></td>
<td valign="top">
<h3 style="text-align: justify;">Introduction</h3>
<p style="text-align: justify;">Recently I have noticed that one of my sites,  <a href="http://www.atasteofgarlic.com" target="_blank">A Taste of Garlic</a> seemed to be loading slower than before.</p>
<p style="text-align: justify;">I determined to do something about speeding it up.</p>
<p style="text-align: justify;">Starting with some of the hints and tips found on <a href="http://www.computingunleashed.com/speed-up-wordpress-ultimate-guide-to-make-sites-super-fast.html">Computing Unleashed</a> I had a delve around to see what I could do.</p>
<p style="text-align: justify;">Normally I connect to the internet via a caching proxy server &#8211; for the purposes of this experiment I configured Chrome to connect direct.</p>
<p style="text-align: justify;">To measure any changes in website performance I used the excellent tools at <a href="http://tools.pingdom.com">http://tools.pingdom.com</a></p>
</td>
</tr>
</tbody>
</table>
<p><!--********** Start of midpost **********--><br />
<span id="more-260"></span></p>
<table>
<tbody>
<tr>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 01 */
google_ad_slot = "4295986251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 02 */
google_ad_slot = "5416387699";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</tbody>
</table>
<p><!--********** End of midpost **********--></p>
<h3 style="text-align: justify;">The Starting Point</h3>
<table style="text-align: justify;">
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping01.png"><img class="alignleft size-full wp-image-265" title="ping01" src="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping01.png" alt="" width="300" /></a></td>
<td valign="top">
<p style="text-align: justify;">These are the results of the first Pingdom.com test. At this point I don&#8217;t know where the problem is but I do know that a site load time of 4.7 seconds is way too long!</p>
<p><a href="http://www.atasteofgarlic.com" target="_blank">A Taste of Garlic</a> is a Wordpress based site and runs on a leased server at 1and1.fr</p>
<p>The server runs the following&#8230; Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0</p>
<p style="text-align: justify;">
</td>
</tr>
</tbody>
</table>
<h3>Step One: Reduce PHP Queries</h3>
<p style="text-align: justify;">I started off by opening every one of the PHP files that go to make up the site in a text editor and hard coding the file locations rather than using the normal PHP database queries.</p>
<p style="text-align: justify;">This example (404.php) shows what I did&#8230;</p>
<p><small><code>&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/images/header.jpg" alt="Taste of Garlic" width="650" height="170" /&gt;</code></small></p>
<p style="text-align: justify;">gets changed to&#8230;</p>
<p><small><code>&lt;img src="http://www.atasteofgarlic.com/wp-content/themes/mediterranean/images/header.jpg" alt="Taste of Garlic" width="650" height="170" /&gt;</code></small></p>
<table style="text-align: justify;">
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">I did this for all the PHP files; basically just trying to remove every PHP database query for anything that could be hardcoded.</p>
<p style="text-align: justify;">To find out the static locations that I used to replace to PHP lookups, I just loaded the PHP file in Chrome and then <em>viewed the source</em>.</p>
<p style="text-align: justify;">I then tested the site load speed&#8230;..</p>
<p style="text-align: justify;">The load time had decreased slightly (by 0.7 seconds) which represents a 15% increase in speed.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping03.png"><img class="alignright size-medium wp-image-282" style="margin-left: 10px;" title="ping03" src="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping03-286x300.jpg" alt="" width="286" height="300" /></a></td>
</tr>
</tbody>
</table>
<p>A good start but I get the feeling that there are many more issues to be looked at.</p>
<h3>Step Two: Remove Redundant Plugins</h3>
<table style="text-align: justify;">
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping04.png"><img class="alignleft size-medium wp-image-285" style="margin-right: 10px;" title="ping04" src="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping04-285x300.jpg" alt="" width="285" height="300" /></a></td>
<td valign="top">
<p style="text-align: justify;">I decided to remove All in one SEO Pack, SEO Friendly Images and Sociable.</p>
<p style="text-align: justify;">This left just Askimet, Feedburner Feedsmith and Google XML Sitemaps.</p>
<p style="text-align: justify;">Another test  and the result was. even better.</p>
<p style="text-align: justify;">I had no idea that the plugins had so much effect.</p>
<p style="text-align: justify;">As well as deactivating the plugins, I made a point of deleting the directories as well.</p>
</td>
</tr>
</tbody>
</table>
<h3>Step Three: Database Maintenance</h3>
<p style="text-align: justify;">The next step was to try and tidy up the back-end database that hadn&#8217;t had much attention since the site was launched about 9 months ago.</p>
<p style="text-align: justify;">I started off by pruning old revisions from the Wordpress database.</p>
<p style="text-align: justify;">To start with wp_posts had 3653 rows.</p>
<p style="text-align: justify;">I ran (in phpMyAdmin) the following phrase&#8230;.</p>
<p style="text-align: justify;"><em>DELETE FROM wp_posts WHERE post_type = &#8220;revision&#8221;;</em></p>
<p style="text-align: justify;">That reduced the row count by 2673 rows!</p>
<p style="text-align: justify;">Surely it&#8217;s going to be faster to find an entry out of a table with only 980 rows (rather than the 3653 it had before?)</p>
<p style="text-align: justify;">Then, to tidy things up, I selected (once again, in phpMyAdmin), all the tables and ran a REPAIR followed by an OPTIMISE.</p>
<p style="text-align: justify;">Moment of truth time&#8230;.</p>
<p style="text-align: justify;">And this, I&#8217;m afraid to say, made absolutely no difference at all!</p>
<p style="text-align: justify;">I don&#8217;t think that it was the wrong thing to do &#8211; perhaps it just doesn&#8217;t have any effect on loading the home page?</p>
<h3>Step Four: Optimise Images</h3>
<p style="text-align: justify;"><a href="http://atasteofgarlic.com">A Taste of Garlic</a> is image heavy.</p>
<p style="text-align: justify;">Every post will have an image of a screenshot of the site that I am reviewing.</p>
<table style="text-align: justify;">
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">Nothing that I could do about that.</p>
<p style="text-align: justify;">But I could ensure that the images displayed were as small as possible.</p>
<p style="text-align: justify;">To do this, I SSH&#8217;d into the server and went to the wp-content/uploads/2010/09 directory and ran <em>mogrify -quality 75 *jpg</em></p>
<p style="text-align: justify;">I repeated this for every directory under wp-content/uploads.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping05.png"><img src="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping05-284x300.png" alt="" title="ping05" width="284" height="300" class="alignleft size-medium wp-image-296" /></a></td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">On average this reduced image size by 44% without reducing the visual quality to any noticeable amount. </p>
<p style="text-align: justify;">A further speed increase &#8211; I&#8217;m starting to enjoy this!</p>
<h3>Step Five: Install Caching</h3>
<table style="text-align: justify;">
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">The next step was to install caching.  I decided to use the <strong>W3 Total Cache</strong> plugin as it seemed to offer the most options.</p>
<p style="text-align: justify;">For ages it didn&#8217;t seem to make any difference but then, all of a sudden I got some decent results.</p>
<p style="text-align: justify;">The load time has been varying over the last few hours &#8211; I&#8217;m guessing that this must be due to visitors to Garlic and all the other sites on the server?</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping06.png"><img src="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping06-287x300.png" alt="" title="ping06" width="287" height="300" class="alignright size-medium wp-image-302" /></a></td>
</tr>
</tbody>
</table>
<h3>Step Six: A Final Tidy Up</h3>
<p style="text-align: justify;">The excellent metrics shown by <a href="http://tools.pingdom.com">http://tools.pingdom.com</a> allowed me to see where the other bottlenecks lay.</p>
<p><a href="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping02.jpg"><img src="http://www.kmeckstein.com/wp-content/uploads/2010/09/ping02.jpg" alt="" title="ping02" width="650" height="803" class="aligncenter size-full wp-image-306" /></a></p>
<p style="text-align: justify;">I decided to remove Google Analytics as I never looked at the results.  At the same time, I also removed some social networking and visitor counter javascript code.</p>
<p style="text-align: justify;">There were a couple of images files that weren&#8217;t in place so I copied them over.</p>
<p style="text-align: justify;">I reduced the number of posts on the host page to 15.  I could go lower than this but the whole point of <a href="http://www.atasteofgarlic.com">A Taste of Garlic</a> is that it is a blog review site and the links to the blogs that I have reviewed appear in the sidebar.</p>
<p style="text-align: justify;">Thus, until I redesign the site, the sidebar is going to stay rather long (and get longer every week.)</p>
<h3>Conclusion</h3>
<p style="text-align: justify;">I&#8217;m happy with the speedup I&#8217;ve managed to produce so far.  Certainly, the site seems faster that it was.  The next step will be thinking about the 20 or so graphics that are on the main page &#8211; if there were some way of caching these into server memory, that may make a difference to load times.</p>
<p style="text-align: justify;">I hope that you&#8217;ve found this useful.  I&#8217;ve still got some more work to do and will report on the results of the next set of performance improvements in about a month or so.</p>
<p style="text-align: justify;">Of course, if you know of anything I should be trying, please let me know.</p>
<p><!-- *************** End of Post *************** --></p>
<p style="text-align: justify;">All the best</p>
<p style="text-align: justify;"><em><a href="http://www.kmeckstein.com" target="_new"><img style="border: 0 !important; background: transparent;" src="http://signatures.mylivesignature.com/54487/361/05B2F3AEF0716A04BB82635774EBAEE8.png" alt="" /></a></em></p>
<p><a name="fb_share" type="button" href="http://www.facebook.com/sharer.php">If you liked this article, why not share it with your friends on Facebook</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>
<p><!-- Social bookmarking starts --></p>
<p class="meta"><a class="reddit" href="http://www.reddit.com/submit?url=http://www.kmeckstein.com/index.html" target="_blank"><small>Reddit</small></a> <a class="twitter" title="Click to send this page to Twitter!" href="http://twitter.com/home?status=Currently reading about kmeckstein: http://www.kmeckstein.com/index.html" target="_blank"><small>Twitter</small></a> <a class="digg" href="http://digg.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=kmeckstein&amp;bodytext=kmeckstein&amp;media=MEDIA&amp;topic=France" target="_new"><small>Digg</small></a> <a class="facebook" title="Share on Facebooks" href="http://www.facebook.com/share.php?u=http://www.kmeckstein.com" target="_new"><small>Share on Facebook</small></a> <a class="stumble" title="Add this article to StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=www.kmeckstein.com - Home" target="_new"><small>Stumble</small></a> <a class="bookmark" title="Bookmark this page." href="javascript:bookmarksite('kmeckstein', 'http://www.kmeckstein.com/index.html')"><small>Bookmark</small></a> <a class="email" title="Email this page to a friend." href="javascript:mailpage()"><small>Email this page to a friend</small></a></p>
<p><!-- *************** End of Post *************** --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kmeckstein.com/software/speeding-up-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>10 reasons to love Puppy Linux</title>
		<link>http://www.kmeckstein.com/linux/10-reasons-to-love-puppy-linux/</link>
		<comments>http://www.kmeckstein.com/linux/10-reasons-to-love-puppy-linux/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 03:00:01 +0000</pubDate>
		<dc:creator>Keith Eckstein</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.kmeckstein.com/linux/216/</guid>
		<description><![CDATA[Following on from last week&#8217;s look at Puppy Linux, I thought that I&#8217;d go into a little more depth about this undeservedly underused operating system.
I&#8217;m grateful for all the comments on last week&#8217;s post (it seems that many other people are also passionate about Puppy Linux) and I am going to take them into account [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/07/puppy-linux.jpg"><img class="alignright size-full wp-image-225" title="chihuahua in the basket" src="http://www.kmeckstein.com/wp-content/uploads/2010/07/puppy-linux.jpg" alt="" width="380" height="445" /></a>Following on from last week&#8217;s look at Puppy Linux, I thought that I&#8217;d go into a little more depth about this undeservedly underused operating system.</p>
<p style="text-align: justify;">I&#8217;m grateful for all the comments on last week&#8217;s post (it seems that many other people are also passionate about Puppy Linux) and I am going to take them into account within this post.</p>
<p style="text-align: justify;">I should start off by saying that I posted the wrong link last week&#8230;..</p>
<p style="text-align: justify;">My link was to Puppy 5.0; there is a newer (and better) version (5.01) available at <a rel="nofollow" href="http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.0.1/lupu-501.iso">http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.0.1/lupu-501.iso</a> (thanks; <a rel="external nofollow" href="http://tubeguy.org">Joe Plaziak</a> for that heads up!)</p>
<p style="text-align: justify;">ICPUG suggested that I should be showing a link to&#8230;.</p>
<p style="text-align: justify;"><a rel="nofollow" href="http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.0.1">http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.0.1</a> as this would show the distribution directory and allow you to download the MD5 file to be able to check the download.  As he said&#8230; <em>&#8220;Nothing worse than having users say Puppy doesn’t work but in reality they got a bad download or burnt the CD incorrectly!&#8221;</em></p>
<p style="text-align: justify;">Quite right too!</p>
<p><!--********** Start of midpost **********--><br />
<span id="more-216"></span></p>
<table>
<tbody>
<tr>
<td><script type="text/javascript">// <![CDATA[
 google_ad_client = "pub-9637700727717648"; /* kmeckstein - 300x250 - 01 */ google_ad_slot = "4295986251"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></td>
<td><script type="text/javascript">// <![CDATA[
 google_ad_client = "pub-9637700727717648"; /* kmeckstein - 300x250 - 02 */ google_ad_slot = "5416387699"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></td>
</tr>
</tbody>
</table>
<p><!--********** End of midpost **********--></p>
<p style="text-align: justify;">There were many other comments about last week&#8217;s post and you can read all of them at <a href="http://www.kmeckstein.com/linux/and-they-call-it-puppy-love/#comments">http://www.kmeckstein.com/linux/and-they-call-it-puppy-love/#comments</a></p>
<p style="text-align: justify;"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/07/Pc.jpg"><img class="alignleft size-full wp-image-229" style="margin-right: 10px;" title="Pc" src="http://www.kmeckstein.com/wp-content/uploads/2010/07/Pc.jpg" alt="" width="142" height="97" /></a>Before I get started I will mention that, when I have to take clients&#8217; machines away to be backed up and rebuilt, I leave a small loan machine in its place.</p>
<p style="text-align: justify;">These small machines are small format 600 MHz Celerons with an 8GB hard drive and 256MB of RAM.  The clients, without exception, have no problems doing their normal day to day work (or pleasure) using Puppy &#8211; the only adjustment for them is to use Pigeon rather than MSN for their instant messaging.</p>
<p style="text-align: justify;">My clients love these machines but what they really love is Puppy.  <em>&#8220;So fast&#8221;, &#8220;So easy to use&#8221;, &#8220;So quick to boot up&#8230;&#8221;</em> (mostly I&#8217;ve taken their machines away to back them up and re-install Windows XP because of boot times in excess of 5 minutes!) &#8211; these are the sort of comments that I hear!</p>
<p style="text-align: justify;">So, what is it that makes Puppy so special?</p>
<h2 style="text-align: justify;">10 Reasons to love Puppy Linux</h2>
<h3 style="text-align: justify;">1). Speed :  Puppy is fast; no two ways about it!</h3>
<p style="text-align: justify;">By that I mean the speed with which applications load and the ensuing responsiveness.</p>
<p style="text-align: justify;">Often, even when running Puppy in a virtual machine or on an old 600MHz Celeron with 256MB of Ram, I find myself considering reducing the sensisivity of the mouse.</p>
<p style="text-align: justify;">I wonder how often Windows users ask themselves &#8220;How do I slow this machine down?&#8221;</p>
<p style="text-align: justify;">Now, I know that fast modern machines are becoming very affordable and the machine that you can buy in your local supermarket for a few hundred euros will run pretty much any operating system but&#8230;.</p>
<p style="text-align: justify;">Because Puppy runs so well on older systems, we don&#8217;t need to spend money upgrading.  Also, Puppy makes it possible to run some of the new, energy efficient small format systems such as Netbooks and Net-tops.  The cost savings (in terms of energy consumption) and the reduction in desk space and noise make this an attractive proposition.</p>
<p style="text-align: justify;">I&#8217;ll just say one last thing about the speed of Puppy; on my virtualised copy of Puppy 5.01, AbiWord, Gnumeric and Inkscape all load in about a second!</p>
<h3>2).  Ease of use :  Puppy has got to be the easiest system to install since DOS 3.3</h3>
<p style="text-align: justify;">If anything, it&#8217;s got to be even easier to install than DOS!</p>
<p style="text-align: justify;">Once installed, a simple wizard sets up networking and then, when you click on the <strong>Browse</strong> icon (for web browsing), you are offered a choice of browsers to install&#8230;..  Firefox, SeaMonkey, Chromium, Opera or Dillo.</p>
<p style="text-align: justify;">That&#8217;s clever; that&#8217;s democratic, that&#8217;s sweet!</p>
<p style="text-align: justify;">The icons are all labelled according to functionality rather than program name.  And, whilst that might not make any difference to experienced users, it&#8217;s got to help &#8220;Great Aunt Edna&#8221; who may have come rather late in life to home computing.</p>
<h3>3). Software : Just what you need&#8230;..</h3>
<p>Earlier versions of Puppy (prior to 5.0 Lucid Puppy) came with a restricted set of installed and installable applictions.</p>
<p style="text-align: justify;">I think that this was largely to ensure that those applications matched the Puppy ethos; small, fast and simple.  Obviously, with a small team porting applications to the Puppy install format, these sorts of applications are going to take priority.</p>
<p style="text-align: justify;">Now, however, (from the current version &#8211; Lucid Puppy) with the Ubuntu repository (or a subset of it &#8211; I haven&#8217;t quite been able to work that out yet) behing Puppy, there is a far larger range of tried and tested applications available.</p>
<p style="text-align: justify;">The software available from the QuickPet installation icon on the desktop covers most bases though&#8230;.</p>
<p style="text-align: justify;">Amongst the applications available are Gimp, Songbird, Thunderbird, Dia and Foxit.  That pretty much covers all bases for me, or rather, my clients.</p>
<h3>4).  Stability :</h3>
<p style="text-align: justify;">I&#8217;ve been using Puppy (one version or another) since 2006.  I&#8217;ve lent machines running Puppy to clients when I&#8217;va had to take their own PCs away for repair and I&#8217;ve installed Puppy on friends&#8217; machines when they wanted a lightweight system just to do the basics.  On my own machines I&#8217;ve had Puppy running for months without a reboot.</p>
<p style="text-align: justify;">More often than not, I&#8217;ve had trouble getting my loan machines back; the clients are so impressed with the speed and functionality.</p>
<p style="text-align: justify;">I&#8217;ve never had to respond to a support call on any of the loan machines or the systems I&#8217;ve installed on friends&#8217; PCs.</p>
<p style="text-align: justify;">Whatever I&#8217;ve thrown at it, I&#8217;ve never had Puppy lock up or let me down.</p>
<p style="text-align: justify;">This is how an operating system should be!  This puts many other operating systems (including some flavours of Linux, I&#8217;m sad to say) to shame.</p>
<h3>5).  Cost :</h3>
<p style="text-align: justify;">Obviously, Puppy, like all other Linuxes, is free.</p>
<p style="text-align: justify;">The applications that come with it are also free.  No news there.</p>
<p style="text-align: justify;">Where Puppy really shows a cost saving is that it&#8217;s minimal hardware requirements allow one to reuse old equipment that would struggle with pretty much every other common operating system.</p>
<p style="text-align: justify;">I&#8217;m running Pupppy on a 600MHz Celeron with 256 MB of Ram.  These days I&#8217;d find it hard to buy a machine that slow. If I could find one, it&#8217;d only cost pennies!</p>
<p style="text-align: justify;">I&#8217;ve started looking at very small Intel Atom powered desktop machines (commonly known as Net-tops, I believe) as a possible replacement for my server (I don&#8217;t really need a Xeon powered SCSI based machine that is realistically coming to the end of its life.)</p>
<p style="text-align: justify;">If I get one, before installing a minimal Debian server configuration, I&#8217;ll certainly have a play around with Puppy on it.  I guess that Puppy will fly on a dual core atom with 1GB of Ram!</p>
<h3>6).  Interface :</h3>
<p style="text-align: justify;">Puppy has a menu where most Windows users would expect to find one; in the bottom left hand corner.  The same menu is also accessible by right-clicking the mouse anywhere on the desktop.  The large and clearly marked icons are well chosen to describe their function to people who prefer to launch their applictations that way.</p>
<p style="text-align: justify;">The setup wizards assume no technical ability from the user; in this they far exceed those found on Microsoft systems.</p>
<p style="text-align: justify;">The only changes to the loaner systems (that I lend to clients) that I make are to rename the hard drive from sda1 to Hard Drive; I can&#8217;t expect my clients to understand Linux drive naming conventions.</p>
<p style="text-align: justify;">I also delete some of the icons for things like Mount, Install and Setup &#8211; I don&#8217;t really want my clients to be playing around with these things; why should they?</p>
<p style="text-align: justify;">Finally, I create a desktop link to My Documents &#8211; that saves the clients from having to hunt around an unfamiliar file system to find their saved documents.</p>
<h3>7).  Customisation :</h3>
<p style="text-align: justify;">Which, I suppose, brings me to customisation.  Even using the standard desktop (which uses the JWM Window Manager), there are 4 different sets of icons that can be used (although I like the standard icons well enough) and six different themes.  Once again, the standard theme works fine for me.</p>
<p style="text-align: justify;">For further customisation there are other window managers that can be installed; a quick look at the list shows LDXE, Gnome and KDE, amongst others, althogh I haven&#8217;t tried them yet.</p>
<h3>8).  Community :</h3>
<p>There&#8217;s a lively and active Puppy forum at <a href="http://www.murga-linux.com/puppy/">http://www.murga-linux.com/puppy/</a> and most questions that you may have should have been already answered there.  A good place for a browse and to participate.</p>
<p>Another great resource is <a href="http://puppylinuxfaq.org/">http://puppylinuxfaq.org/</a> where you can find answers to questions you hadn&#8217;t even thought about asking!</p>
<p><a href="http://puppylinux.org/news/index.php">http://puppylinux.org/news/index.php</a> is full of decent information and well worth a visit.</p>
<p>And finally, there is Barry Kauler&#8217;s website at <a href="http://www.puppylinux.com/">http://www.puppylinux.com/</a> Barry created Puppy and deserves a visit.</p>
<p>Overall, the Puppy community is helpful and friendly.  There seems to be little or no snobby behaviour and even when certifiably stupid people like me ask silly questions, a friendly hand points them in the right direction.</p>
<p>Puppy fans tend to be very enthusiastic about their choice of operating system.  And, although I don&#8217;t use Puppy for my main operating system, I am happy to consider myself part of the Puppy community.</p>
<h3>9).  Simplicity :</h3>
<p style="text-align: justify;">In that <em>it just works</em> without any faffing around, Puppy is simplicity itself.</p>
<p style="text-align: justify;">The few queries that I&#8217;ve had have been easy to resolve.</p>
<p style="text-align: justify;">That my clients never have to ask me <em>&#8220;how do I do this?&#8221;</em> type questions says it all!</p>
<h3>10).  Fun :</h3>
<p style="text-align: justify;">I&#8217;ve got to admit that I always have a smile on my face when I use Puppy.</p>
<p style="text-align: justify;">It&#8217;s partly because of the default desktop background with its large friendly icons but also because I know that everything is just going to work.</p>
<p style="text-align: justify;">Puppy even comes with some games!  I&#8217;m not sure that this is a good idea (my copy of Mint 8.0 doesn&#8217;t have games pre-installed and I think I like this?)</p>
<p style="text-align: justify;">I suppose that it is the lack of pretentiousness that&#8217;s part of the reason for that big smile on my face?</p>
<h2>Summary</h2>
<p style="text-align: justify;">Looking back at what I&#8217;ve writting it does, I have to say, sound a little bit gushing.</p>
<p style="text-align: justify;">But, I can&#8217;t apologise for that!</p>
<p style="text-align: justify;">Puppy does exactly what it says on the tin; it is a simple, extraordinarily fast operating system that works perfectly as a live CD but is also quite happy to be installed onto your hard disk.</p>
<p style="text-align: justify;">The standard installed applications do pretty much what most people need.</p>
<p style="text-align: justify;">Should AbiWord not be man enough, Open Office Writer can be installed.  Should you not like Sypheed as an email client, it is simplicity to install Thunderbird in its place.</p>
<p style="text-align: justify;">So, you have a rock sold operating system that asks little in the way of hardware specifications; you have a system with an interface so simple that your <em>Great Aunt Edna</em> will be able to use it and with enough power that you&#8217;ll be able to catch up on work when you go and spend a weekend with the aforementioned great aunt!</p>
<p style="text-align: justify;">Personally, I think that if Puppy were packaged in  an austere manner with confusingly named icons, us geeks would probably love it even more!</p>
<p style="text-align: justify;">Perhaps that&#8217;s why Puppy isn&#8217;t installed on as many machines as it should be?</p>
<p style="text-align: justify;">The people who don&#8217;t read the techie sites don&#8217;t know about it and the people who  are geeky enough to know about Puppy are probably put off by its simplicity and ease of use?</p>
<p style="text-align: justify;">After all, what&#8217;s the point of being a geek if the operating system works fine, out of the box, and there&#8217;s no need to be geeky about anything?</p>
<p><!-- *************** End of Post *************** --></p>
<p style="text-align: justify;">All the best</p>
<p style="text-align: justify;"><em><a href="http://www.kmeckstein.com" target="_new"><img style="border: 0 !important; background: transparent;" src="http://signatures.mylivesignature.com/54487/361/05B2F3AEF0716A04BB82635774EBAEE8.png" alt="" /></a></em></p>
<p><a name="fb_share"></a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>
<p><!-- Social bookmarking starts --></p>
<p class="meta"><a class="reddit" href="http://www.reddit.com/submit?url=http://www.kmeckstein.com/index.html" target="_blank"><small>Reddit</small></a> <a class="twitter" title="Click to send this page to Twitter!" href="http://twitter.com/home?status=Currently reading about kmeckstein: http://www.kmeckstein.com/index.html" target="_blank"><small>Twitter</small></a> <a class="digg" href="http://digg.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=kmeckstein&amp;bodytext=kmeckstein&amp;media=MEDIA&amp;topic=France" target="_new"><small>Digg</small></a> <a class="facebook" title="Share on Facebooks" href="http://www.facebook.com/share.php?u=http://www.kmeckstein.com" target="_new"><small>Share on Facebook</small></a> <a class="stumble" title="Add this article to StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=www.kmeckstein.com - Home" target="_new"><small>Stumble</small></a> <a class="bookmark" title="Bookmark this page." href="javascript:bookmarksite('kmeckstein', 'http://www.kmeckstein.com/index.html')"><small>Bookmark</small></a> <a class="email" title="Email this page to a friend." href="javascript:mailpage()"><small>Email this page to a friend</small></a></p>
<p><!-- *************** End of Post *************** --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kmeckstein.com/linux/10-reasons-to-love-puppy-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>And they call it Puppy Love&#8230;</title>
		<link>http://www.kmeckstein.com/linux/and-they-call-it-puppy-love/</link>
		<comments>http://www.kmeckstein.com/linux/and-they-call-it-puppy-love/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 08:00:58 +0000</pubDate>
		<dc:creator>Keith Eckstein</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.kmeckstein.com/?p=123</guid>
		<description><![CDATA[In the beginning.  Part 1&#8230;
A couple of years ago, I was looking for an operating system for Chatwin and, after trying many others, came across Puppy Linux.
At first I thought that it was a joke, but then I investigated and found that that it wasn&#8217;t &#8211; far from it.
I&#8217;ll try to explain. Chatwin is a [...]]]></description>
			<content:encoded><![CDATA[<h2>In the beginning.  Part 1&#8230;<a href="http://www.kmeckstein.com/wp-content/uploads/2010/07/puppy.jpg"><img class="alignleft size-full wp-image-195" style="margin-right: 10px;" title="puppy" src="http://www.kmeckstein.com/wp-content/uploads/2010/07/puppy.jpg" alt="" width="382" height="300" /></a></h2>
<p style="text-align: justify;">A couple of years ago, I was looking for an operating system for Chatwin and, after trying many others, came across Puppy Linux.</p>
<p style="text-align: justify;">At first I thought that it was a joke, but then I investigated and found that that it wasn&#8217;t &#8211; far from it.</p>
<p style="text-align: justify;">I&#8217;ll try to explain. Chatwin is a secondhand HP e-Vectra with a 600MHz processor and 256MB of RAM. She cost me all of 70 euros.</p>
<p style="text-align: justify;">Nowadays, I wouldn&#8217;t be able to buy a machine with such a low spec but, if one did turn up in a yard sale, car boot sale or vide greniers (what we call a yard sale in France), I&#8217;d probably fork out 20 euros for one; 30 max!</p>
<p style="text-align: justify;">In other words, she&#8217;s not a powerhouse. I bought her just so that I&#8217;d have another machine to do my writing on &#8211; a machine that didn&#8217;t have email and internet on, so I wouldn&#8217;t be distracted.</p>
<p><!--********** Start of midpost **********--><br />
<span id="more-123"></span></p>
<table>
<tbody>
<tr>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 01 */
google_ad_slot = "4295986251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 02 */
google_ad_slot = "5416387699";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</tbody>
</table>
<p><!--********** End of midpost **********--></p>
<p style="text-align: justify;">I realised that with her low spec, she wouldn&#8217;t be a screamer but I was also aware that there were a number of cutdown versions of Linux that I could try.</p>
<p style="text-align: justify;">If all else failed, I had an old copy of Windows 98 which would work (although I really didn&#8217;t want to have to admit failure and use that).</p>
<p style="text-align: justify;">I started off by downloading DSL-N. This is a larger version of Damn Small Linux which many people have raved about &#8211; sadly, I&#8217;m not one of them. It just didn&#8217;t deliver the goods for me.</p>
<p style="text-align: justify;">I then tried a number of live distros but these all used KDE as a window manager and that took up too much of the limited memory.</p>
<p style="text-align: justify;">I even installed Free BSD but had trouble getting a window manager to work &#8211; perhaps I should have persevered but&#8230;.  life&#8217;s too short!</p>
<p style="text-align: justify;">Finally, I downloaded a copy of the basic Debian distribution &#8211; I knew that I could make this work. It would have worked, as well, had I not been distracted by something that I stumbled upon on the internet &#8211; a review of Puppy Linux.</p>
<h3>Puppy Linux is it!</h3>
<p style="text-align: justify;">I downloaded the CD image &#8211; it came to 72MB.</p>
<p style="text-align: justify;">That&#8217;s right, an operating system with all the applications you are ever going to need for a basic home PC in 72MB. I cut a CD and booted Chatwin up. I couldn&#8217;t believe it &#8211; even running from a liveCD, Chatwin had been transformed from the 6 year old, 70 euro secondhand machine to the fastest machine that I had ever used (or seen).</p>
<p style="text-align: justify;">I started looking round at what you get with Puppy.</p>
<p style="text-align: justify;">Abiword &#8211; the word processor that, at the time,  I used out of preference<br />
Gnumeric &#8211; a useable spreadsheet<br />
SeaMonkey &#8211; the Mozilla internet suite that handles browsing, email, newsgroups and web design. It also has an address book<br />
Geany &#8211; a powerful text editor that I tried to learn to like (or, at least, learn to use)</p>
<p style="text-align: justify;">And a host of small applications to provide internet connectivity, network connectivity, drawing, playing music and videos and loads of other stuff that I just never got round to playing with.</p>
<p style="text-align: justify;">In other words, everything that I needed.</p>
<p style="text-align: justify;">It also had a set of wizards that were so simple, I couldn&#8217;t believe that they were working.</p>
<p style="text-align: justify;">They were though, and I set up my soundcard and network connectivity faster and easier than any other operating system that I have ever used.</p>
<h3>How Puppy works</h3>
<p style="text-align: justify;">When you boot up off the CD, Puppy loads itself into RAM.</p>
<p style="text-align: justify;">That&#8217;s why it&#8217;s do fast! It stores any changes you make in RAM until you log out. Then you are prompted to save to a file on your hard disk.</p>
<p style="text-align: justify;">As long as you have space, it doesn&#8217;t matter what Operating System you are using (I believe that there are some difficulties with NTFS but there are workarounds as well.</p>
<p style="text-align: justify;">Running Puppy off a CD is the standard way of doing things &#8211; even the developer works this way.</p>
<p style="text-align: justify;">However, I decided to install it to my hard disk. It installed in about 5 minutes &#8211; compare that with Windows 98 (don&#8217;t even think about XP). It took another few minutes to set up networking and getting the soundcard working. After that, it has worked without any problems at all.</p>
<p style="text-align: justify;">All the questions it asks when installing (or booting up from the CD) are simple to answer &#8211; even for a newcomer to PCs.</p>
<p style="text-align: justify;">Its wizards and clear interface make it the ideal operating system for the most nervous of users.</p>
<p style="text-align: justify;">What is interesting, though, is that so many power users are getting interested in it, as well. It&#8217;s the speed, you see.</p>
<h3>What don&#8217;t I like about Puppy Linux</h3>
<h3><span style="font-weight: normal; font-size: 13px;">Umm&#8230;. I&#8217;m going to have to think about that &#8211; there must be something.</span></h3>
<p style="text-align: justify;"><strong>The interface</strong></p>
<p style="text-align: justify;">The interface is very clear and sensible. Thus, nice big icons which are sensibly labelled &#8211; Email is just that, not Outlook or Thunderbird; Wordprocessing is Write, not Abiword.</p>
<p style="text-align: justify;">This has got to help new users. I, however, am not a new user and I prefer a more austere desktop. No problem there, there are other window managers that I can download and use. There are other icon sets, as well.</p>
<p style="text-align: justify;">Even if it doesn&#8217;t suit me, I do have to say that the standard interface is better than anything Microsoft has ever created.</p>
<p style="text-align: justify;"><strong>Running as root</strong></p>
<p style="text-align: justify;">With Linux (and Unix) systems, there is a privilleged user known as root. Root has power to do anything. Normally it is not a good idea to run as root.</p>
<p style="text-align: justify;">With Puppy Linux, you don&#8217;t have any choice. However, having thought about this, I understand why.</p>
<p style="text-align: justify;">If you are running off a live CD, you can&#8217;t delete any system files &#8211; they&#8217;re on the CD.</p>
<p style="text-align: justify;">By not having multiple logins, Puppy doesn&#8217;t carry the weight of other systems and is thus, so fast.</p>
<p style="text-align: justify;">Nothing major, it just goes against the grain to run as root &#8211; for me, at least.</p>
<p style="text-align: justify;"><strong>It&#8217;s so fast!</strong></p>
<p style="text-align: justify;">Yes, I&#8217;m bitter about this. I&#8217;m bitter that I spent so much money on Mozart (my main machine) only to see it being trounced in speed stakes by something that cost a tenth of the price.</p>
<p style="text-align: justify;">I bet that Microsoft are bitter, as well. I believe that, if someone brought out a supported version of Puppy Linux, they would clean up as all those Windows XP, non-power users are forced to upgrade both hardware and software, just so they can run Vista or Win7.</p>
<h2><a href="http://www.kmeckstein.com/wp-content/uploads/2010/07/puppy1.jpg"><img class="alignright size-medium wp-image-210" style="margin-left: 10px;" title="puppy" src="http://www.kmeckstein.com/wp-content/uploads/2010/07/puppy1-300x224.jpg" alt="" width="300" height="224" /></a>To the present day. Part 2&#8230;.</h2>
<p style="text-align: justify;">I&#8217;ve persevered with Puppy since that very first day: I worked my way through various flavours from version 2.0 right up to the current 5.0 Lucid Puppy.</p>
<p style="text-align: justify;">They&#8217;ve all worked find.</p>
<p style="text-align: justify;"><strong>Puppy 5.0 however, is the icing on the cake!</strong></p>
<p style="text-align: justify;">Apart from all the great features that have present for the last four years, the Ubuntu Lucid repository (or maybe part of it?) is available for application downloads. I&#8217;m not sure if the whole repository is available because although I was able to install Nautilus and Gedit, I couldn&#8217;t find any reference to PyRoom.</p>
<p style="text-align: justify;">More investigation on my part is required there.</p>
<p style="text-align: justify;">Thunderbird, however, installed fine from the QuickPet application installer.</p>
<p style="text-align: justify;"><strong>Summary</strong></p>
<p style="text-align: justify;">Puppy will run upon pretty much anything out there.</p>
<p style="text-align: justify;">It gives you a blisteringly fast machine with a sensible selection of pre-installed applications.</p>
<p style="text-align: justify;">If you need more choice of applications, it&#8217;s there with the integration of the Ubuntu repository.</p>
<p style="text-align: justify;">You can run it perfectly well from the CD; perhaps using a USB key to hold your data files and to back up your configuration (when you log out, you&#8217;ll be asked if you want your configuration saved.)</p>
<p style="text-align: justify;">This makes it the perfect machine independent Linux distribution that will run on any machine you can find.</p>
<p style="text-align: justify;">You can, as I do, install to the hard drive,  this doesn&#8217;t really improve performance; it just seems a tidier way for me to do things.</p>
<p style="text-align: justify;">I&#8217;m going to write some more (maybe next week) about the <strong>10 Reasons to Love Puppy</strong> but I hope that this little introduction has been interesting enough for you to try a download of <a href="http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.0/lupu-500.iso">Lucid Puppy 5.0</a> and give it a go.</p>
<p><!-- *************** End of Post *************** --></p>
<p style="text-align: justify;">All the best</p>
<p style="text-align: justify;"><em><a href="http://www.kmeckstein.com" target="_new"><img style="border: 0 !important; background: transparent;" src="http://signatures.mylivesignature.com/54487/361/05B2F3AEF0716A04BB82635774EBAEE8.png" alt="" /></a></em></p>
<p><!-- Social bookmarking starts --></p>
<p class="meta"><a class="reddit" href="http://www.reddit.com/submit?url=http://www.kmeckstein.com/index.html" target="_blank"><small>Reddit</small></a> <a class="twitter" title="Click to send this page to Twitter!" href="http://twitter.com/home?status=Currently reading about kmeckstein: http://www.kmeckstein.com/index.html" target="_blank"><small>Twitter</small></a> <a class="digg" href="http://digg.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=kmeckstein&amp;bodytext=kmeckstein&amp;media=MEDIA&amp;topic=France" target="_new"><small>Digg</small></a> <a class="facebook" title="Share on Facebooks" href="http://www.facebook.com/share.php?u=http://www.kmeckstein.com" target="_new"><small>Share on Facebook</small></a> <a class="stumble" title="Add this article to StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=www.kmeckstein.com - Home" target="_new"><small>Stumble</small></a> <a class="bookmark" title="Bookmark this page." href="javascript:bookmarksite('kmeckstein', 'http://www.kmeckstein.com/index.html')"><small>Bookmark</small></a> <a class="email" title="Email this page to a friend." href="javascript:mailpage()"><small>Email this page to a friend</small></a></p>
<p><!-- *************** End of Post *************** --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kmeckstein.com/linux/and-they-call-it-puppy-love/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Is Chrome the new Firefox?</title>
		<link>http://www.kmeckstein.com/software/is-chrome-the-new-firefox/</link>
		<comments>http://www.kmeckstein.com/software/is-chrome-the-new-firefox/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 23:00:29 +0000</pubDate>
		<dc:creator>Keith Eckstein</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.kmeckstein.com/?p=126</guid>
		<description><![CDATA[



A History Trip&#8230;.
Can you remember way back in the depths of time when Firefox was version 1.5 and was really the only alternative to Internet Explorer apart from Opera (which would have been moving from the advert displaying version to the non-advert displaying version at around about that time if my memory is not misleading [...]]]></description>
			<content:encoded><![CDATA[<table>
<tbody>
<tr>
<td valign="top">
<h3 style="text-align: justify;">A History Trip&#8230;.</h3>
<p style="text-align: justify;">Can you remember way back in the depths of time when Firefox was version 1.5 and was really the only alternative to Internet Explorer apart from Opera (which would have been moving from the advert displaying version to the non-advert displaying version at around about that time if my memory is not misleading me) and Ubuntu hadn&#8217;t taken off and Netbooks didn&#8217;t exist unless, like me, you were sad enough to remember the Toshiba Libretto (great machine, by the way!)</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/07/chrome-icon.jpg"><img class="alignright size-full wp-image-181" style="margin-left: 10px;" title="chrome-icon" src="http://www.kmeckstein.com/wp-content/uploads/2010/07/chrome-icon.jpg" alt="" width="320" height="320" /></a></td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">I guess we&#8217;re talking about the back-end of 2005 because it was then that I was given an old laptop and my three years of not owning a PC came to an end.</p>
<p><!--********** Start of midpost **********--><br />
<span id="more-126"></span></p>
<table>
<tbody>
<tr>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 01 */
google_ad_slot = "4295986251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 02 */
google_ad_slot = "5416387699";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</tbody>
</table>
<p><!--********** End of midpost **********--></p>
<p style="text-align: justify;">I ran Windows NT on that laptop &#8211; I think it only had 128MB of ram so I was limited in my OS choice.   I&#8217;d have loved to run Linux but the internal modem wouldn&#8217;t work with any of the distributions that I tried and so, unhappily, I gave up.  Internet Explorer ran like a pig on the laptop and I used a combination of Opera and Firefox depending on my whim.</p>
<p style="text-align: justify;">In February 2006 I bought a &#8220;proper computer&#8221; and immediately wiped the French installation of XP and installed Suse Linux.   I imagine that Firefox was the default browser with Suse; to be honest, I can&#8217;t remember.  I do know that since then, the only times I have used Internet Explorer have been on client&#8217;s machines (and I always try to encourage that they see the light and change to FireFox) or on the virtualised test environments that I need to maintain purely for website testing purposes.</p>
<h3>Four Things that were good about Firefox.</h3>
<p style="text-align: justify;">1).  It was nice to feel smug about having a more secure browser.  I&#8217;ll admit it, I enjoyed being able to be smug when in the presence of IE users.</p>
<p style="text-align: justify;">2).  The extensions.  You could customise your Firefox just as you might customise a car or re-decorate a house.  But, it cost you nothing!</p>
<p style="text-align: justify;">3).  Tabbed browsing!  How did we ever cope before tabbed browsing.  Actually, I do have one memory of being at work in London and having 20 or so instances of IE loaded and spending weeks (perhaps I exaggerate slightly) trying to find the right one.</p>
<p style="text-align: justify;">4).  It was also nice to know that Microsoft (or any other evil empire, for that matter) wasn&#8217;t getting any money for the browser you were running.</p>
<h3>Five things that went wrong with Firefox.</h3>
<p>1).  Code bloat?  I&#8217;ve not actually looked at the code that goes to make up Firefox but I&#8217;ll be my bottom dollar (not that I have any dollars, bottom or top) that it&#8217;s grown exponentially since those early days.  It&#8217;s a sad fact that code bases do get out of control.  In fact, wasn&#8217;t that what happened to Netscape&#8217;s Mozilla Suite that got transformed into Firefox?  Or am I getting my history wrong?</p>
<p>2).  Too many extensions?  I know that we don&#8217;t have to install them all but, the sheer range of extensions was a great temptation, wasn&#8217;t it?</p>
<p>3).  Resources hog?  Sort of ties in with code bloat; I&#8217;d see Firefox use up to 500 MB of RAM on my machine.  Just so it could display some HTML, display a few images and perhaps run some javascript or flash?</p>
<p>4). Speed?  Sorry but if I have to wait for the program to load; if it takes time to change focus from one tab to another, I&#8217;m going to get annoyed.  By the time I changed from Firefox to Chrome I was getting annoyed an awful lot of the time.</p>
<p>5). Screen area.  Just switching from Chrome to Firefox during a working session shows how much larger Chrome feels.</p>
<p style="text-align: justify;">
<h3 style="text-align: justify;">Too good, to start with!</h3>
<p style="text-align: justify;">Of course, when Chrome came along I wasn&#8217;t too impressed.  I had to run it on a Windows machine, it had a strange minimalistic interface and, worst of all, it would display all the errors in my html!</p>
<p style="text-align: justify;">Back then I was hand coding my sites (they were all static; I&#8217;d yet to discover WordPress!) and on one site I had about 100 pages, all copied from the same template &#8211; a template where every &lt;h2&gt; was terminated with a &lt;/h3&gt;!</p>
<p style="text-align: justify;">Unfortunately there were valid &lt;h3&gt;&lt;/h3&gt; pairings so I couldn&#8217;t just do a global search and replace.</p>
<p style="text-align: justify;">The work involved in sorting out my own silly mistake made me dislike Chrome intensely!</p>
<p style="text-align: justify;">However, if I&#8217;d coded properly in the first place&#8230;&#8230;</p>
<p style="text-align: justify;">And what was Firefox and IE doing letting me get away with badly coded HTML?</p>
<p style="text-align: justify;">I kept reading about how fast it was and, at the same time, started to realise how slow my Firefox installation was becoming.</p>
<p style="text-align: justify;">I do have to admit that I was running about ten million extensions (perhaps I exaggerate slightly) which can&#8217;t have helped.</p>
<p style="text-align: justify;">It was in November 2009 that I realised that I&#8217;d have to do something.</p>
<p style="text-align: justify;">I&#8217;d just started <a href="http://www.atasteofgarlic.com" target="_blank">A Taste of Garlic</a> (a blog review site) and the way I work when I&#8217;m writing posts for that site is to have lots (and I mean lots) of tabs open at the same time.  This would cause FireFox to grind to a halt.</p>
<p style="text-align: justify;">I bit the bullet and, as soon as the Beta version for Linux was announced in December 2009, I installed it and started using it for 90% of my web development tasks.</p>
<h3 style="text-align: justify;">Extensions</h3>
<p style="text-align: justify;">Of course, I still needed Firefox for the functionality that wasn&#8217;t available in Chrome at the time.  I&#8217;m mainly thinking screenshots here.  Thus I would keep a copy of Firefox running so that I could use the Screengrab extension.  Also, I use Photoxpress.com for their free photo stock (you can get 10 photos a day free of charge) but the <em>&#8220;I have read the terms and conditions&#8221;</em> button didn&#8217;t show up in Chrome until 5.0.</p>
<p style="text-align: justify;">But, a few months ago, with the release of version 5.0 of Chrome, I found that all the really must have extensions were available for me to install.</p>
<p style="text-align: justify;">Please bear in mind that I now no longer consider that it is vital to have an extension to show me my adsense earnings or to display my IP address.  I can always find those things out, if I want to know.</p>
<p style="text-align: justify;">I also have learned to live without coloured tabs.  I&#8217;m not too sure how I ever managed to cope without tab pinning though &#8211; that really has changed the way I work!</p>
<p style="text-align: justify;">With Firefox you can get pinned tabs but you need to install an extension to get them.  With Chrome, they&#8217;re there by default.</p>
<p style="text-align: justify;">I also prefer the way that Chrome handles history but, I&#8217;m buggered if I can explain why?  I should mention that I didn&#8217;t like it at first but it now seems natural.  Perhaps I&#8217;ve adjusted or perhaps it is the right way and I was just slow to see it?</p>
<h3>The extensions that I do use are as follows&#8230;.</h3>
<p style="text-align: justify;">Awesome Screenshot: Capture &amp; Annotate - Version: 1.2.4</p>
<p style="text-align: justify;">Color Pick - Version: 0.0.1.16</p>
<p style="text-align: justify;">MeasureIt! - Version: 1.1.2</p>
<p style="text-align: justify;">Pendule - Version: 0.0.10</p>
<p style="text-align: justify;">RGB/HEX Color Generator - Version: 1.0.1</p>
<p style="text-align: justify;">Of those I could probably lose Color Pick and RGB/HEX Color Generator as I have other tools that can do that for me.</p>
<p style="text-align: justify;">So, not very many extensions.  Is that because I actually didn&#8217;t really need all the extensions that I used to run under Firefox or is it because Chrome just does so many things right, out of the box?</p>
<h3 style="text-align: justify;">Conclusion&#8230;</h3>
<p style="text-align: justify;">For me, I&#8217;m as happy as I was back in the day when I moved from Internet Explorer to FireFox.  I&#8217;m determined not to install the <em>Must Have</em> extensions as I did with FireFox.</p>
<p style="text-align: justify;">There are still some things that annoy me but these are so minor that I&#8217;m probably just being picky?</p>
<p style="text-align: justify;">For example, I don&#8217;t like the bar that appears at the bottom of the screen when you download a file.  That can&#8217;t be changed.  I know when I download something and would prefer to have an additional dialogue box that I could load should I need to check on the progress of the download.</p>
<p style="text-align: justify;">I also find that occasionally, I lose the icon graphics whilst working in WordPress.  This doesn&#8217;t matter a great deal as I know what each icon does (and I do most of my WordPress work separately in a text editor anyway) but, it&#8217;s a little niggle.  It only happens after a long session with loads of tabs open anyway and the answer is to close Chrome and start again.</p>
<p style="text-align: justify;">I could also use a way of bookmarking all open tabs; that may be possible but, if it is, I haven&#8217;t found out how to do  it yet.</p>
<p style="text-align: justify;">But, over all, I&#8217;m happy with Chrome.</p>
<p style="text-align: justify;">I tend to use a web browser for upwards of 10 hours a day; for work, for work, for work and, occasionally, for pleasure.</p>
<p style="text-align: justify;">It&#8217;s vital to me that the browser works well and in the way that I want it to work.</p>
<p style="text-align: justify;">For me, Chrome does just that, for most of the time.</p>
<p style="text-align: justify;">I prefer the interface (now that I&#8217;m used to it) and Firefox now seems clunky and overburdened with menus by comparison.</p>
<p style="text-align: justify;">I find that, just as I was a Firefox evangelist a few short years ago, I&#8217;m now encouraging people to change to Chrome.</p>
<p style="text-align: justify;">I&#8217;m pretty sure that I&#8217;ll stick with Chrome, until, of course, something better comes along &#8211; perhaps FireFox light?  Perhaps Safari?  I&#8217;m not sure.  What I do know is that we have moved on from those days when most of us could only run IE6 or Firefox 1.5.</p>
<p style="text-align: justify;">Is Chrome is the new Firefox?  Maybe?</p>
<p style="text-align: justify;">Are Browsers are now better than ever before?  Definitely!</p>
<p><!-- *************** End of Post *************** --></p>
<p style="text-align: justify;">All the best</p>
<p style="text-align: justify;"><em><a href="http://www.kmeckstein.com" target="_new"><img style="border: 0 !important; background: transparent;" src="http://signatures.mylivesignature.com/54487/361/05B2F3AEF0716A04BB82635774EBAEE8.png" alt="" /></a></em></p>
<p><!-- Social bookmarking starts --></p>
<p class="meta"><a class="reddit" href="http://www.reddit.com/submit?url=http://www.kmeckstein.com/index.html" target="_blank"><small>Reddit</small></a> <a class="twitter" title="Click to send this page to Twitter!" href="http://twitter.com/home?status=Currently reading about kmeckstein: http://www.kmeckstein.com/index.html" target="_blank"><small>Twitter</small></a> <a class="digg" href="http://digg.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=kmeckstein&amp;bodytext=kmeckstein&amp;media=MEDIA&amp;topic=France" target="_new"><small>Digg</small></a> <a class="facebook" title="Share on Facebooks" href="http://www.facebook.com/share.php?u=http://www.kmeckstein.com" target="_new"><small>Share on Facebook</small></a> <a class="stumble" title="Add this article to StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=www.kmeckstein.com - Home" target="_new"><small>Stumble</small></a> <a class="bookmark" title="Bookmark this page." href="javascript:bookmarksite('kmeckstein', 'http://www.kmeckstein.com/index.html')"><small>Bookmark</small></a> <a class="email" title="Email this page to a friend." href="javascript:mailpage()"><small>Email this page to a friend</small></a></p>
<p><!-- *************** End of Post *************** --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kmeckstein.com/software/is-chrome-the-new-firefox/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Backup or Die!</title>
		<link>http://www.kmeckstein.com/backups/why-backup/</link>
		<comments>http://www.kmeckstein.com/backups/why-backup/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 03:00:54 +0000</pubDate>
		<dc:creator>Keith Eckstein</dc:creator>
				<category><![CDATA[Backups]]></category>

		<guid isPermaLink="false">http://www.kmeckstein.com/?p=119</guid>
		<description><![CDATA[Back up or die!
If your business relies on your access to email and the internet, think how devastated you&#8217;d be should that access be removed.
With this article I shall attempt to identify the risks and suggest possible strategies to minimise any risk to your data or your ability to continue with your business without interruption [...]]]></description>
			<content:encoded><![CDATA[<h2><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/image10.jpg"><img class="alignleft size-full wp-image-139" style="margin-right: 10px;" title="image10" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/image10.jpg" alt="" width="300" height="209" /></a>Back up or die!</h2>
<p style="text-align: justify;">If your business relies on your access to email and the internet, think how devastated you&#8217;d be should that access be removed.</p>
<p style="text-align: justify;">With this article I shall attempt to identify the risks and suggest possible strategies to minimise any risk to your data or your ability to continue with your business without interruption or inconvenience to you or your clients.</p>
<h2>What are the risks?</h2>
<h3>Hardware failure</h3>
<p style="text-align: justify;">Let me tell you a secret. Every hard disk that has ever been built is going to fail! Every single one. The hard disk in the machine that you are using now is going to fail one day (hopefully, not today!) The hard disks in the servers at your bank are going to fail (don&#8217;t worry, your bank&#8217;s IT department also knows that and they have taken precautions &#8211; I hope).</p>
<p><!--********** Start of midpost **********--><br />
<span id="more-119"></span></p>
<table>
<tbody>
<tr>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 01 */
google_ad_slot = "4295986251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9637700727717648";
/* kmeckstein - 300x250 - 02 */
google_ad_slot = "5416387699";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</tbody>
</table>
<p><!--********** End of midpost **********--></p>
<p style="text-align: justify;">Modern hard disks are very reliable but anything that contains disks spinning at 7,200 RPM (or faster) is going to have problems, sooner or later. Every time you switch off your PC, it cools down. Every time you switch it on, it heats up. If you heat metal and then cool it, repeatedly, it changes.</p>
<p style="text-align: justify;">You may be lucky, I hope you are. You may never suffer a hard disk failure but please be aware that it is something that is just waiting to happen.</p>
<p style="text-align: justify;">In the corporate environment, hard disk failures are taken into account. Big companies (and many small ones, as well) use Raid arrays of multiple hard disks so that if one fails, no data gets lost and the users are not aware of the problem.</p>
<p style="text-align: justify;">Take it from me &#8211; one day your hard drive will fail and all the data on it will be lost.</p>
<p style="text-align: justify;">But hey, even if you never see any problems with your hard drive, your PC is still at risk from Power Supply failure, keyboard failure (and who hasn&#8217;t spilt a cup of coffee over their keyboard &#8211; or am I just clumsy?).</p>
<h4>How would you cope with hardware failure?</h4>
<h3>Software failure</h3>
<p style="text-align: justify;">Modern software does an incredible job. However, the complexity that makes it so useful to us, comes at its own price.</p>
<p style="text-align: justify;">We require our Operating Systems to seamlessly allow us to surf the net, play games, watch videos from YouTube and still be reliable enough to manage our accounts systems.</p>
<p style="text-align: justify;">Our always on internet connectivity puts us at risk from Virus infection, Trojans and SpamBots.</p>
<p style="text-align: justify;">Yet, even with the amazing reliability of modern software &#8211; it sometimes goes wrong.</p>
<h4>If your software crashes and mangles all the data on your hard drive, could you go back to the un-mangled software that existed 1 hour ago?</h4>
<h3>Human error</h3>
<p style="text-align: justify;">Yes, we&#8217;re human, we make mistakes. We sometimes delete a file that we don&#8217;t mean to. We sometimes amend a file and then find out that was a mistake.</p>
<p style="text-align: justify;">I write fiction. Often I find that I have done something that, later, turns out to be a mistake. Let&#8217;s say, for example, I kill off Joe (one of my characters) and then, a week later, decide that I need him to rescue Jenny (another character) at the last minute from almost certain death &#8211; I&#8217;ll need to resurrect Joe. I&#8217;ll need to go back and find that old copy of the manuscript (you know, the one where Joe was still breathing and hadn&#8217;t yet been killed off). If I haven&#8217;t backed up &#8211; that&#8217;ll be difficult to do.</p>
<h4>If you delete or overwrite an important file, could you recover it?</h4>
<h3>Theft</h3>
<p style="text-align: justify;">One day, and I hope that day never comes, you may lose your PC. How? Well, in the best case, Billy the Burglar may pay you a visit. He might take a fancy to your PC. If that is the case, you not only lose all your data but, someone else has your data, as well. Data security is another story but if, like me, you have all your life on your PC, how would you feel is you lose it?</p>
<p style="text-align: justify;">It&#8217;s all very well to back up to an external hard drive but wouldn&#8217;t Billy the Burglar take that as well?</p>
<h4>Could you survive a visit from BILLY THE BURGLAR?</h4>
<h3>Fire, Flood and Other Disasters</h3>
<p style="text-align: justify;">Of course, even if your hard drive doesn&#8217;t die on you, if your software doesn&#8217;t crash and destroy all your data, if you don&#8217;t make some silly mistake and wipe your vital documents and if Billy the Burglar doesn&#8217;t steal your computer &#8211; there&#8217;s always fire, flood and alien abduction to take into account!</p>
<p style="text-align: justify;">Seriously; a burst water main, a small kitchen fire, a ceiling falling in (all of the preceding occurring with out any harm being suffered by anyone!), could ruin your computer.</p>
<h4>What would you do if aliens abduct your computer?</h4>
<p style="text-align: justify;"><strong>So, stop with the pessimism!</strong></p>
<p style="text-align: justify;">Perhaps it seems that I&#8217;m being over pessimistic &#8211; after all, the data on your computer might not be important to you. Being able to continue trading after an disaster might not be of any interest. Hey, if you lose clients (current or future) because of an IT problem, there&#8217;s always unemployment benefits and social security payments to look forward to. Isn&#8217;t that right?</p>
<p style="text-align: justify;">If your business relies on your access to email and the internet, think how devastated you&#8217;d be should that access be removed.</p>
<p style="text-align: justify;">I&#8217;m going to take a quick look at possible solutions to a number of Disaster scenarios &#8211; perhaps one or more may be useful to you?</p>
<h2>What are the solutions?</h2>
<h3>Hardware failure</h3>
<p style="text-align: justify;">Starting with hard disk failure, the obvious solution is to back up to second hard drive. This could be internal, external or in a different machine. I shall take a quick look at the benefits and drawbacks of each of these options.</p>
<p style="text-align: justify;"><strong>1). Installing a second hard drive in your Computer :- This is probably the cheapest option.</strong></p>
<p style="text-align: justify;">You would need to set up a regular copy job to sync data from Drive 1 to Drive 2.</p>
<p style="text-align: justify;">The easiest way to do this would be to use RSYNC &#8211; for details on how to use this utility, take a look at <a href="www.mikerubel.org/computers/rsync_snapshots/">www.mikerubel.org/computers/rsync_snapshots/</a></p>
<p style="text-align: justify;">Windows users should take a look here&#8230; <a href="http://www.gaztronics.net/rsync.php">http://www.gaztronics.net/rsync.php</a></p>
<p style="text-align: justify;">This would be the fastest (in terms of data transfer rates for backup and restores) but recovering from a failed primary hard drive would still require replacement/repair of the original hard drive with possibily a re-installation of the operating system.</p>
<p style="text-align: justify;">This solution would not protect against hardware failure of other components (such as power supply/memory.)</p>
<p style="text-align: justify;">My advice would be to re-use that spare old hard drive in this way (rather than leave it to get dusty in that box on the top of the cupboard) but, this should not be the mainstay of your Business Continuity planning.</p>
<p style="text-align: justify;"><strong>2). Backing up to an external USB Drive :- This is probably the easiest option.</strong></p>
<p style="text-align: justify;">I use this as part of my backup strategy (for more details, please take a look at www.kmeckstein.com &#8211; my personal IT site where I explain my philosophy of keeping IT simple.)</p>
<p style="text-align: justify;">Although data transfer rates are not particularly high, this is a simple solution to backing up the data portion of your hard drive. A catastophic hard disk failure will require replacement and/or repair of your hard drive prior to the re-installation of your applications and data; as with option 1). this should be considered a Disaster Recovery strategy rather than a Business Contiuity one.</p>
<p style="text-align: justify;"><strong>3). Backing up to a Server :- This option shares much in common with option 2.</strong></p>
<p style="text-align: justify;">I am using this as part of my Business Continuity/Disaster Recovery planning. I back my workstations up to a server and then back the server up to an external USB drive. Please not that, whilst this might seem to be the ideal solution, it does not protect from natural disaster (such as fire or flood) or un-natural disaster (such as a visit from Billy the Burglar.)</p>
<p style="text-align: justify;"><strong>4). Backing up to a Web Server :- This option seems to be the ideal solution.</strong></p>
<p style="text-align: justify;">However, although I use this option in various forms, bandwidth restrictions reduce it&#8217;s usefulness to me. This one might work for you is you are sitting at the end of a high speed internet connection.</p>
<p style="text-align: justify;"><strong>5). Backing up to CD/DVD :- This option should be part of your regular backup process.</strong></p>
<p style="text-align: justify;">Even a weekly backup to DVD won&#8217;t cost too much &#8211; the trick is to identify your vital data and get into the habit of backing it up on a regular basis.</p>
<h3><strong>My advice&#8230;</strong></h3>
<p style="text-align: justify;">To be absolutely honest, none of the above will provide you with complete Business Continuity should you suffer a hardware failure.</p>
<p style="text-align: justify;">My advice would be to use whichever of the above is appropriate in conjuction with&#8230;..</p>
<p style="text-align: justify;"><strong>6). Backing up to another live PC :- This option is the obvious one (at least to my jaded eyes!)</strong></p>
<p style="text-align: justify;">Not only do you have a copy of your data in another place, if that data is on another working PC (with all your applications already installed), and your main PC dies; all you need to do is cross the room and sit down at the live spare machine.</p>
<p style="text-align: justify;">You can be up and running in minutes, if not seconds. Now, that&#8217;s what I call real Business Continuity!</p>
<p style="text-align: justify;">What do you need to implement this strategy? Just a spare PC, configured with all your vital apps, connected to your network and a backup script that copies over your data from your main PC overnight and also, during the day, should you require an interim backup (perhaps during lunchbreak after a hard morning&#8217;s work?)</p>
<h3>Software failure</h3>
<p style="text-align: justify;">If your software crashes and mangles all the data on your hard drive, could you go back to the un-mangled software that existed 1 hour ago?</p>
<p style="text-align: justify;">As long as you are backing up your data, you stand a chance of recovering from a fatal software error.</p>
<p style="text-align: justify;">By having a replacement machine, pre-configured with all your software and waiting in the corner of the office, the amount of time that you spend recovering from a major software error is minimised.</p>
<p style="text-align: justify;">You should consider what software you are using for each specific task and then, ask yourself if that software is appropriate. Whilst I&#8217;m not going to tell you that Spreadsheets are evil!, I have seen, so many many times, spreadsheets being used to perform the tasks that should really be managed by databases or financial recording packages. If you are using the right software for the job, it is less likely to go wrong and let you down!</p>
<p style="text-align: justify;">You should also ask yourself whether it is the time to change your software to free Open Source software such as Open Office/GnuCash/MySQL?</p>
<p style="text-align: justify;">Open Source software is free, so there are no cost restraints to having that spare PC hidden under the desk.</p>
<h3>Human error</h3>
<p style="text-align: justify;">If you delete or overwrite an important file, could you recover it?</p>
<p style="text-align: justify;">As with recovering from software errors, a strong backup policy will also get you out of trouble if you tosh things up yourself.</p>
<h3>Theft</h3>
<p style="text-align: justify;">Could you survive a visit from BILLY THE BURGLAR?</p>
<p style="text-align: justify;">So, you gone back to the UK to visit some relatives; you&#8217;ve told half the world on Facebook and Billy the Burglar comes to visit.</p>
<p style="text-align: justify;">Now, Billy is really only interested in high value items so; yes, he takes your TV, he takes your Hi-Fi and yes, he&#8217;s going to love your computers.</p>
<p style="text-align: justify;">Even if you&#8217;ve backed them up to an external USB drive, the odds are that Billy will want to take that as well!</p>
<h3>Fire, Flood and Other Disasters</h3>
<p style="text-align: justify;">What would you do if aliens abduct your computer?</p>
<p style="text-align: justify;">Well, I think that we can discount the alien threat but, we should all bear in mind the risks of fire and water damage.</p>
<p style="text-align: justify;">This is where having a decent offsite Disaster Recovery strategy comes in handy.</p>
<h3>OK, I&#8217;m convinced &#8211; what do I do?</h3>
<p style="text-align: justify;">OK &#8211; you&#8217;re either convinced that it&#8217;ll never happen to you, you&#8217;re actually not that interested in ensure that you can continue trading following an IT problem (in which case you&#8217;re probably not even reading this but&#8230; I&#8217;ll buy you a coffee the next time I&#8217;m passing the Job Centre.)</p>
<p style="text-align: justify;">If you&#8217;ve made it this far and are starting to wonder how much you&#8217;d lose by</p>
<p style="text-align: justify;">(i) not being able to confirm that Gite booking before the potential client goes elsewhere,<br />
(ii) not responding to that email enquiry (and thus, potential client figures you&#8217;re not very motivating and decides to give the contract to your competitor), or<br />
(iii) not being able to bill those people who&#8217;s work details you&#8217;ve been logging on a spreadsheet on that PC that&#8217;s just crashed/blownup/been nicked/been abducted by aliens!</p>
<h3>So, now that we&#8217;ve looked at what can go wrong and what we can to survive an IT outage, what are the next steps?</h3>
<p style="text-align: justify;">Not all of what I detail on these pages will be relevant to everyone. What I shall attempt to do is to look at some of the ways that we can protect ourselves against what I am going to call&#8230; Business Loss. Why Business Loss? Well, we should be looking at IT failure as just that; a loss of trading ability, an opportunity for our competitors to beat us to new business or a chance to embarrass ourselves in front of current or potential clients.</p>
<p style="text-align: justify;"><strong>Putting things into perspective.</strong></p>
<p style="text-align: justify;">If you are a Gardener and your lawnmower breaks down, gets stolen, bursts into flames or gets abducted by aliens &#8211; YOU ARE NOT GOING TO BE BE TO CUT LAWNS!</p>
<p style="text-align: justify;">Unless, or course, you have a spare lawnmower.</p>
<p style="text-align: justify;">It&#8217;s the same if your IT fails.</p>
<p style="text-align: justify;">This is where we build a spare lawnmower.</p>
<h4>How do we protect against business loss?</h4>
<h3>Identify your data</h3>
<p style="text-align: justify;">Well, the first thing is to decide what data is important to you and where it lives. I don&#8217;t like to think of the people I&#8217;ve visited in order to help them recover from PC problems only to find that their backups weren&#8217;t happening, or worse, the data they were backing up wasn&#8217;t the data they needed to back up.</p>
<p style="text-align: justify;"><strong>1). Email</strong></p>
<p style="text-align: justify;">If your mail comes via Gmail or Hotmail, it is on a server on the internet (in fact it is on a number of servers on the internet), and you don&#8217;t need to back it up &#8211; right?</p>
<p style="text-align: justify;">Sure&#8230;</p>
<p style="text-align: justify;">• If you can trust your mail supplier never to have a glitch (they all do, even the mighty Gmail!)<br />
• If you can trust yourself not to accidently delete that mail that you realise you actually need &#8211; the next day (we&#8217;ve all done it &#8211; we&#8217;re human and humans make errors!)<br />
• If you can be sure that your internet connection is always going to work (God bless France Telecom!)</p>
<p style="text-align: justify;">Better be safe &#8211; better make sure &#8211; hey?</p>
<p style="text-align: justify;"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/Email.jpg"><img class="alignleft size-full wp-image-147" style="margin-right: 10px;" title="Email" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/Email.jpg" alt="" width="283" height="255" /></a>This diagram shows what basically happens for me.</p>
<p style="text-align: justify;">• POP3 (webmail) gets downloaded every 10 minutes from my accounts at Gmail, Hotmail, Yahoo etc. to the Thunderbird mail client on my PC. Thunderbird is a free, Open Source mail client that handles multiple accounts without any problem and is easy to backup and manage &#8211; it&#8217;s easy to use, as well!</p>
<p style="text-align: justify;">• At 2am every day, my PC (all of my PCs get backed up in the same manner), gets backed up to my server. My server is just an old PC that runs a simplified version of the Linux software that I use on my main machine. It has a screen and keyboard but it doesn&#8217;t really need one.</p>
<p style="text-align: justify;">• At 3am every day, the Server itself gets backed up to the USB drive and also to A-Drive (an online free backup facility.)</p>
<p style="text-align: justify;">• What the diagram doesn&#8217;t show are the weekly backups to DVD.</p>
<p style="text-align: justify;">• What also isn&#8217;t shwon is the actual mechanics of the backup process. I have written a script that maintains the last 10 days copies of my mail on my hard disk (and, of course, backed up toi the server), so that if I realise I now need a copy of a mail I deleted 3 days ago, I can easily get to it by looking at the relevant backup.</p>
<p style="text-align: justify;"><strong>2). Web</strong></p>
<p style="text-align: justify;">I don&#8217;t know about you but, my installation of Firefox is very personal to me. I have bookmarks set up just so and the right (for me), mixture of extensions and addons. I&#8217;d hate to lose it all. Thus, my Firefox configuration gets backed up every night, in exactly the same way as my email.</p>
<p style="text-align: justify;"><strong>3). Financials</strong></p>
<p style="text-align: justify;">My static financial data mainly consists of a number of spreadsheets on my main PC (the live data lives on a LAMP server which is backed up to my data server every night.)</p>
<p style="text-align: justify;">This gets backed up in the same way as my mail, with one major difference&#8230;. It also gets zipped up and automatically emailed to a Gmail account (the address is a secret but think of something like financial.keckstein@gmail.com)</p>
<p style="text-align: justify;"><strong>4). Business</strong></p>
<p style="text-align: justify;">In exactly the same way as my financial data, my business data is backed up to the server (just as my email is) and also zipped and emailed to a Gmail account.</p>
<p style="text-align: justify;"><strong>5). Personal</strong></p>
<p style="text-align: justify;">My personal stuff gets backed up but, to be honest, if I lost it all I could still continue to work &#8211; so, is it that important?</p>
<p style="text-align: justify;">I&#8217;m talking of things like photos, music, videos. If I lose them, they can always be replaced. They don&#8217;t get backed up to the A-Drive offsite server.</p>
<p style="text-align: justify;">Instead I rely on the weekly backup DVDs to do the trick.</p>
<p style="text-align: justify;">For personal photos, you can always use the services of Photobucket (or similar) to put a copy online.</p>
<h3>Putting it into practise</h3>
<p style="text-align: justify;"><strong> 1). Backup your data to another machine on a daily basis.</strong></p>
<p style="text-align: justify;">Use that old PC as a backup server. Make sure that it can also operate as a workstation so that when your PC dies, you can move to the server and carry on working.</p>
<p style="text-align: justify;">If you haven&#8217;t got an old PC lying around, buy a second hand one &#8211; decent kit can be had for pennies these days.</p>
<p style="text-align: justify;"><strong>2). Now backup your server to a USB drive on a daily basis.</strong></p>
<p style="text-align: justify;">If you need to get to yesterday&#8217;s data, better make sure that data is backed up as well. A decent sized USB hard drive costs about 100€ now &#8211; how much would a lost job/contract cost?</p>
<p style="text-align: justify;"><strong>3). Backup the core data to an offline server on a daily basis.</strong></p>
<p style="text-align: justify;">You can use A-Drive (or similar) for this, or you can create an account at Gmail and use them. Why not do what I do and use both?</p>
<p style="text-align: justify;"><strong>4). Ensure that you have installation CDs for your software.</strong></p>
<p style="text-align: justify;">Don&#8217;t rely on being able to download the software you need from the internet &#8211; if you can&#8217;t re-install your operating system following a crash, how are you going to get on the internet?</p>
<p style="text-align: justify;"><strong>5). Backup everything to DVD once a week.</strong></p>
<p style="text-align: justify;">Ensure that you don&#8217;t lose your personal data by backing it up to DVD once a week and keeping those DVDs somewhere safe.</p>
<p style="text-align: justify;">Make sure that your photos are stored online on a service like Photobucket.</p>
<h4>OK, I&#8217;m convinced &#8211; what do I do?</h4>
<p style="text-align: justify;">If you would like to discuss how to put any of this into action, please feel free to get in touch with me. Although I earn a living by doing this computer stuff, there&#8217;s no charge for a chat (phone or email.)</p>
<p style="text-align: justify;">If you want me to take a look at how I can help you implement a complete Disaster Recover and Business Continuity Plan, by all means, give me a call. I bet it&#8217;ll cost less that the real cost of losing your IT.</p>
<p style="text-align: justify;">My contact details can be found here&#8230; <a href="http://www.kmeckstein.com/contact/">http://www.kmeckstein.com/contact</a></p>
<p><!-- *************** End of Post *************** --></p>
<p style="text-align: justify;">All the best</p>
<p style="text-align: justify;"><em><a href="http://www.kmeckstein.com" target="_new"><img style="border: 0 !important; background: transparent;" src="http://signatures.mylivesignature.com/54487/361/05B2F3AEF0716A04BB82635774EBAEE8.png" alt="" /></a></em></p>
<p><!-- Social bookmarking starts --></p>
<p class="meta"><a class="reddit" href="http://www.reddit.com/submit?url=http://www.kmeckstein.com/index.html" target="_blank"><small>Reddit</small></a> <a class="twitter" title="Click to send this page to Twitter!" href="http://twitter.com/home?status=Currently reading about kmeckstein: http://www.kmeckstein.com/index.html" target="_blank"><small>Twitter</small></a> <a class="digg" href="http://digg.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=kmeckstein&amp;bodytext=kmeckstein&amp;media=MEDIA&amp;topic=France" target="_new"><small>Digg</small></a> <a class="facebook" title="Share on Facebooks" href="http://www.facebook.com/share.php?u=http://www.kmeckstein.com" target="_new"><small>Share on Facebook</small></a> <a class="stumble" title="Add this article to StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=www.kmeckstein.com - Home" target="_new"><small>Stumble</small></a> <a class="bookmark" title="Bookmark this page." href="javascript:bookmarksite('kmeckstein', 'http://www.kmeckstein.com/index.html')"><small>Bookmark</small></a> <a class="email" title="Email this page to a friend." href="javascript:mailpage()"><small>Email this page to a friend</small></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kmeckstein.com/backups/why-backup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Server With X Appeal!</title>
		<link>http://www.kmeckstein.com/linux/a-server-with-x-appeal/</link>
		<comments>http://www.kmeckstein.com/linux/a-server-with-x-appeal/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 03:00:56 +0000</pubDate>
		<dc:creator>Keith Eckstein</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.kmeckstein.com/?p=51</guid>
		<description><![CDATA[When building a server, my preference is to install Debian Stable and leave it at that.
However, for contingency&#8217;s sake, it is sometimes nice to have a graphical environment; I&#8217;ll explain why later on.
The following article is to detail how I build the base server using Debian Linux.
I don&#8217;t intend it to be a comprehensive quide to [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/image21.jpg"><img class="alignright size-medium wp-image-137" style="margin-left: 10px;" title="image21" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/image21-199x300.jpg" alt="" width="199" height="300" /></a>When building a server, my preference is to install Debian Stable and leave it at that.</p>
<p style="text-align: justify;">However, for contingency&#8217;s sake, it is sometimes nice to have a graphical environment; I&#8217;ll explain why later on.</p>
<p style="text-align: justify;">The following article is to detail how I build the base server using Debian Linux.</p>
<p style="text-align: justify;">I don&#8217;t intend it to be a comprehensive quide to installing a Linux server &#8211; it&#8217;s just an explanation of how I choose to do it.</p>
<p style="text-align: justify;">If you feel that I&#8217;m doing something wrong (or missing out something that might help me), please free to let me know.</p>
<h2 style="text-align: justify;">Hardware</h2>
<p style="text-align: justify;">I have tested the installation of Debian on a number of machines ranging from a 600Mhz Celeron with 256Mb of Ram and a 9Gb IDE hard drive upto a 2.8Ghz Xeon with 2Gb of Ram and a 72Gb SCSI hard drive.</p>
<p style="text-align: justify;">The only vital component of the installation machine is that it has a working network card/interface and a CD Drive. You will need a keyboard and screen for the installation process but, once the machine is up and running, these are not required.</p>
<p><!--********** Start of midpost **********--><br />
<span id="more-51"></span></p>
<table>
<tbody>
<tr>
<td><script type="text/javascript">// <![CDATA[
   google_ad_client = "pub-9637700727717648"; /* kmeckstein - 300x250 - 01 */ google_ad_slot = "4295986251"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></td>
<td><script type="text/javascript">// <![CDATA[
   google_ad_client = "pub-9637700727717648"; /* kmeckstein - 300x250 - 02 */ google_ad_slot = "5416387699"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></td>
</tr>
</tbody>
</table>
<p><!--********** End of midpost **********--></p>
<h2 style="text-align: justify;">Installation</h2>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation01.jpg"><img class="alignleft size-medium wp-image-55" title="debian-server-installation01" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation01-300x224.jpg" alt="" width="300" height="224" /></a></td>
<td valign="top">
<p style="text-align: justify;">(1). You need to start off by getting a Debian <em><strong>netinst</strong></em> CD. This can be downloaded from here&#8230; <a title="Debian Netinst CD" href="http://cdimage.debian.org/debian-cd/5.0.3/i386/iso-cd/debian-503-i386-netinst.iso ">debian &#8211; 5.0 &#8211; netinst</a>-  this image is 150MB and will work on all Intel or AMD machines. For other versions you will have to visit <a title="www.Debian.org" href="http://debian.org">www.debian.org</a></p>
<p style="text-align: justify;">Once you have burnt a copy of the CD, pop it into the installation machine and reboot that machine. Once the machine has booted up from the CD it will display this screen &#8211; I suggest that you choose the default option of Install &#8211; the non-graphical installer really isn&#8217;t that frightening and getting used to a non-windowed environment be good practise anyway.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(2). Then choose your language. For obvious reasons, I choose English.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation03.jpg"><img class="alignright size-medium wp-image-57" title="debian-server-installation03" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation03-300x225.jpg" alt="" width="300" height="225" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation04.jpg"><img class="alignleft size-medium wp-image-59" title="debian-server-installation04" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation04-300x223.jpg" alt="" width="300" height="223" /></a></td>
<td valign="top">
<p style="text-align: justify;">(3). When it comes to localisation details, I choose United Kingdom (I should really chose France as that&#8217;s where I now live but, France is not on the initial menu and thus, it doesn&#8217;t get my vote &#8211; how lazy is that?)</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(4). Choose the keyboard layout that matches your keyboard.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation05.jpg"><img class="alignright size-medium wp-image-60" title="debian-server-installation05" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation05-300x223.jpg" alt="" width="300" height="223" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation06.jpg"><img class="alignleft size-medium wp-image-61" title="debian-server-installation06" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation06-300x223.jpg" alt="" width="300" height="223" /></a></td>
<td valign="top">
<p style="text-align: justify;">(5). The PC will whirl away for a few moments whilst the hardware is being scanned.</p>
<p style="text-align: justify;">The network card will be found and if you have a DHCP server (an ADSL modem generally works as a DHCP server), will assign an IP address to it.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(6). And then you will be asked for the hostname (the name that you are going to give the machine.)</p>
<p style="text-align: justify;">At this point we need to go back a stage as we really don&#8217;t want a DHCP assigned IP address for this machine. Tab twice and press Enter.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation07.jpg"><img class="alignright size-medium wp-image-62" title="debian-server-installation07" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation07-300x224.jpg" alt="" width="300" height="224" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation08.jpg"><img class="alignleft size-medium wp-image-63" title="debian-server-installation08" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation08-300x224.jpg" alt="" width="300" height="224" /></a></td>
<td valign="top">
<p style="text-align: justify;">(7). Choose to Configure Network Manually (it should be the default) and press Enter.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(8). Now we are going to enter the IP address manually. All the ADSL modems that I have seen (LiveBox, DLink, NetGear &amp; Linksys) use a default internal IP address of 192.168.1.1 &#8211; thus we are going to take the next available address &#8211; 192.168.1.2</p>
<p style="text-align: justify;">If your ADSL modem/router uses a different IP address or 192.168.1.2 is already taken, you will need to specify a different IP address here. The important thing is that we need a fixed IP address in the same range as the one that your ADSL modem uses (i.e. for a modem using 192.168.1.1 we should use a fixed IP address between 192.168.1.2 and 192.168.1.254)</p>
<p style="text-align: justify;">Type this into the space provided and press Enter.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation09.jpg"><img class="alignright size-medium wp-image-64" title="debian-server-installation09" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation09-300x225.jpg" alt="" width="300" height="225" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation10.jpg"><img class="alignleft size-medium wp-image-65" title="debian-server-installation10" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation10-300x224.jpg" alt="" width="300" height="224" /></a></td>
<td valign="top">
<p style="text-align: justify;">(9). The installation program will work out the best network mask for you so just press Enter here.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(10). The installation program will guess that the Network Gatway has an IP address of 192.168.1.1 (the address of your ADSL modem &#8211; effectively your Gateway to the internet) so, if this is right, just press Enter here.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation11.jpg"><img class="alignright size-medium wp-image-66" title="debian-server-installation11" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation11-300x223.jpg" alt="" width="300" height="223" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation12.jpg"><img class="alignleft size-medium wp-image-67" title="debian-server-installation12" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation12-300x224.jpg" alt="" width="300" height="224" /></a></td>
<td valign="top">
<p style="text-align: justify;">(11). Like above, the installation program guesses that your Gateway is either your Name server or has the address of it so, if this is right, just press Enter.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(12). Now we can name the machine. I am naming my machine <strong>server01</strong>.</p>
<p style="text-align: justify;">You can name your machine whatever you like.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation13.jpg"><img class="alignright size-medium wp-image-68" title="debian-server-installation13" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation13-300x222.jpg" alt="" width="300" height="222" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation14.jpg"><img class="alignleft size-medium wp-image-69" title="debian-server-installation14" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation14-300x225.jpg" alt="" width="300" height="225" /></a></td>
<td valign="top">
<p style="text-align: justify;">(13). Now you should enter the domain name.</p>
<p style="text-align: justify;">Unless you are building a machine to insert in an existing domain you may use any name.</p>
<p style="text-align: justify;">It probably makes sense to name the domain something like <strong>mydomain</strong> as I do.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(14). The machine will chug away for a little bit.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation15.jpg"><img class="alignright size-medium wp-image-70" title="debian-server-installation15" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation15-300x221.jpg" alt="" width="300" height="221" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation16.jpg"><img class="alignleft size-medium wp-image-71" title="debian-server-installation16" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation16-300x225.jpg" alt="" width="300" height="225" /></a></td>
<td valign="top">
<p style="text-align: justify;">(15). As this machine is going to be a dedicated server, I am going to use the whole hard disk.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(16). There&#8217;s only one disk in the machine so I select it.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation17.jpg"><img class="alignright size-medium wp-image-72" title="debian-server-installation17" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation17-300x222.jpg" alt="" width="300" height="222" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation18.jpg"><img class="alignleft size-medium wp-image-73" title="debian-server-installation18" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation18-300x223.jpg" alt="" width="300" height="223" /></a></td>
<td valign="top">
<p style="text-align: justify;">(17). I&#8217;m going to allow the disk to be partitioned with all files in one partition.</p>
<p style="text-align: justify;">For this machine there really isn&#8217;t much point in doing otherwise.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(18). The installation program decides to create an 8.2Gb root partition and a 419 Mb swap partition.</p>
<p style="text-align: justify;">This is fine so I just press Enter to allow the system to Finish Partitioning and Write Changes to Disk.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation19.jpg"><img class="alignright size-medium wp-image-74" title="debian-server-installation19" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation19-300x222.jpg" alt="" width="300" height="222" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation20.jpg"><img class="alignleft size-medium wp-image-75" title="debian-server-installation20" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation20-300x223.jpg" alt="" width="300" height="223" /></a></td>
<td valign="top">
<p style="text-align: justify;">(19). Backspace to choose Yes if you&#8217;re are really sure.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(20). The installation process now creates the partitions on your hard drive.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation21.jpg"><img class="alignright size-medium wp-image-76" title="debian-server-installation21" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation21-300x224.jpg" alt="" width="300" height="224" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation22.jpg"><img class="alignleft size-medium wp-image-77" title="debian-server-installation22" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation22-300x222.jpg" alt="" width="300" height="222" /></a></td>
<td valign="top">
<p style="text-align: justify;">(21). And starts installing packages from the CD Rom.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(22). When it has done this you will be asked for a password for the system administrative account.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation23.jpg"><img class="alignright size-medium wp-image-78" title="debian-server-installation23" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation23-300x223.jpg" alt="" width="300" height="223" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation24.jpg"><img class="alignleft size-medium wp-image-79" title="debian-server-installation24" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation24-300x224.jpg" alt="" width="300" height="224" /></a></td>
<td valign="top">
<p style="text-align: justify;">(23). And you will be asked to repeat it.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(24). You will now be asked for the name of a user.</p>
<p style="text-align: justify;">As this machine is going to be a server without any regular user, I am going to create a user called <em>administrator</em>.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation25.jpg"><img class="alignright size-medium wp-image-80" title="debian-server-installation25" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation25-300x220.jpg" alt="" width="300" height="220" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation26.jpg"><img class="alignleft size-medium wp-image-81" title="debian-server-installation26" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation26-300x225.jpg" alt="" width="300" height="225" /></a></td>
<td valign="top">
<p style="text-align: justify;">(25). Whatever name you have typed in, it may get altered &#8211; in this case it didn&#8217;t.</p>
<p style="text-align: justify;">Press Enter to accept the new user account name.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(26). You will be asked for a password for the new account.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation27.jpg"><img class="alignright size-medium wp-image-82" title="debian-server-installation27" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation27-300x223.jpg" alt="" width="300" height="223" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation28.jpg"><img class="alignleft size-medium wp-image-83" title="debian-server-installation28" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation28-300x227.jpg" alt="" width="300" height="227" /></a></td>
<td valign="top">
<p style="text-align: justify;">(27). And asked to repeat it.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(28). Once again, you will be asked where you are.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation29.jpg"><img class="alignright size-medium wp-image-84" title="debian-server-installation29" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation29-300x226.jpg" alt="" width="300" height="226" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation30.jpg"><img class="alignleft size-medium wp-image-85" title="debian-server-installation30" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation30-300x223.jpg" alt="" width="300" height="223" /></a></td>
<td valign="top">
<p style="text-align: justify;">(29). And you&#8217;ll be asked to choose a Debian Archive Mirror.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(30). And finally, you&#8217;ll be asked if you are behind a HTTP proxy and if so, what the addresss of it is.</p>
<p style="text-align: justify;">Leave this blank unless you are sure you are behind a HTTP proxy and press Enter.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation31.jpg"><img class="alignright size-medium wp-image-86" title="debian-server-installation31" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation31-300x226.jpg" alt="" width="300" height="226" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation32.jpg"><img class="alignleft size-medium wp-image-87" title="debian-server-installation32" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation32-300x225.jpg" alt="" width="300" height="225" /></a></td>
<td valign="top">
<p style="text-align: justify;">(31). This part of the installation takes about 20 minutes for me.</p>
<p style="text-align: justify;">It may be quicker for you (or longer, even), depending on the speed of your internet connection and the specification of your machine.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(32). There are some points where it looks as if it has got stuck.</p>
<p style="text-align: justify;">But, if you leave it alone, eventually it will carry on.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation33.jpg"><img class="alignright size-medium wp-image-88" title="debian-server-installation33" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation33-300x222.jpg" alt="" width="300" height="222" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation34.jpg"><img class="alignleft size-medium wp-image-89" title="debian-server-installation34" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation34-300x226.jpg" alt="" width="300" height="226" /></a></td>
<td valign="top">
<p style="text-align: justify;">(33). You will be asked if you wish to <em>Participate in a popularity contest?</em> I generally answer no.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(34). You will be asked to <em>Choose software to install</em></p>
<p style="text-align: justify;">Deselect all, highlight Continue and press Enter</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation351.jpg"><img class="alignright size-medium wp-image-91" title="debian-server-installation35" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation351-300x225.jpg" alt="" width="300" height="225" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation36.jpg"><img class="alignleft size-medium wp-image-92" title="debian-server-installation36" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation36-300x224.jpg" alt="" width="300" height="224" /></a></td>
<td valign="top">
<p style="text-align: justify;">(35). Next, the installation process asks if we want to<em>Install Grub to Master Boot Record</em> &#8211; Yes, we most certainly do.</p>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top">
<p style="text-align: justify;">(36). The installation chugs away a little bit longer.</p>
</td>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation37.jpg"><img class="alignright size-medium wp-image-93" title="debian-server-installation37" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation37-300x227.jpg" alt="" width="300" height="227" /></a></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td valign="top"><a href="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation38.jpg"><img class="alignleft size-medium wp-image-94" title="debian-server-installation38" src="http://www.kmeckstein.com/wp-content/uploads/2010/06/debian-server-installation38-300x225.jpg" alt="" width="300" height="225" /></a></td>
<td valign="top">
<p style="text-align: justify;">(37). And then the CD gets ejected and the machine will reboot.</p>
<p style="text-align: justify;">Type <strong>su</strong> and press Enter.</p>
<p style="text-align: justify;">Supply the <em>root</em> password when prompted and then type <em>apt-get install openssh-server</em> &#8211; and answer yes when prompted.</p>
<p style="text-align: justify;">Don&#8217;t forget to log yourself out of the machine by typing <em>exit</em> (twice)</p>
</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;">A Graphical Interface</h2>
<p style="text-align: justify;">I install <strong>xfce</strong> once I have finished my standard server install of&#8230; Debian (with no options) and SSH.</p>
<p style="text-align: justify;">The XFCE install is fairly trivial.</p>
<p style="text-align: justify;">su</p>
<p style="text-align: justify;">apt-get install xorg</p>
<p style="text-align: justify;">apt-get install xfce4</p>
<p style="text-align: justify;">apt-get install xfce4-goodies</p>
<h2 style="text-align: justify;">Why a Graphical Interface?</h2>
<p style="text-align: justify;">Now, putting a desktop on two of my servers might make me a bit of a wimp but there are good reasons for it.</p>
<p style="text-align: justify;">Firstly, if I am out and about on my Computer Repair business - <a title="www.KeithEckstein.com" href="http://www.KeithEckstein.com">www.KeithEckstein.com</a> and I need something done on one of the servers, I could phone home and talk Jill through doing it if they have an environment that she is used to.</p>
<p style="text-align: justify;">I hate to think how painful it would be trying to explain all the command line stuff when, to be honest, I need to type <strong>man</strong> for help at least once a day!</p>
<p style="text-align: justify;">Also,  the server acts as a backup data server for the network.</p>
<p style="text-align: justify;">If any machine on the network goes down, it is quite trivial to install ThunderBird or Firefox and thus, continue working without interruption.</p>
<p style="text-align: justify;">The edict that <em>&#8220;Thou shalt not have X Windows on a server&#8221;</em> is all very well for older (or more stressed) kit or, outside of a home network (for security reasons).</p>
<p style="text-align: justify;">The three things that have occurred to me during the process are&#8230;.<br />
1). Backups are one thing &#8211; Business Continuity is far more important!<br />
2). A minimal XFCE install over Debian Server makes for a very fast machine and&#8230;<br />
3). A combination of Webmin and SSH means that we can switch off those monitors, save space and save electricity as well!</p>
<p style="text-align: justify;">A machine of the same sort of specification as, with a screen, would cost me about 100 euros from a local PC refurbisher.</p>
<p style="text-align: justify;">About what a 500GB USB hard drive would cost. Now my server only has an 72GB hard drive but, she is a machine in her own right &#8211; perhaps we should start thinking less about backing up our data and more about continuing to use that data when things go wrong?</p>
<p style="text-align: justify;">Perhaps we should all have a server like mine chugging away under our desks, being backed up to every night and just waiting for the day when our main machine decides to go wrong &#8211; at least that way, we could get onto the web and email an order in for kit to replace what has died?</p>
<p style="text-align: justify;">All the best</p>
<p style="text-align: justify;"><em><a href="http://www.kmeckstein.com" target="_new"><img style="border: 0 !important; background: transparent;" src="http://signatures.mylivesignature.com/54487/361/05B2F3AEF0716A04BB82635774EBAEE8.png" alt="" /></a></em></p>
<p><!-- Social bookmarking starts --></p>
<p class="meta"><a class="reddit" href="http://www.reddit.com/submit?url=http://www.kmeckstein.com/index.html" target="_blank"><small>Reddit</small></a> <a class="twitter" title="Click to send this page to Twitter!" href="http://twitter.com/home?status=Currently reading about kmeckstein: http://www.kmeckstein.com/index.html" target="_blank"><small>Twitter</small></a> <a class="digg" href="http://digg.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=kmeckstein&amp;bodytext=kmeckstein&amp;media=MEDIA&amp;topic=France" target="_new"><small>Digg</small></a> <a class="facebook" title="Share on Facebooks" href="http://www.facebook.com/share.php?u=http://www.kmeckstein.com" target="_new"><small>Share on Facebook</small></a> <a class="stumble" title="Add this article to StumbleUpon" href="http://www.stumbleupon.com/submit?url=http://www.kmeckstein.com/index.html&amp;title=www.kmeckstein.com - Home" target="_new"><small>Stumble</small></a> <a class="bookmark" title="Bookmark this page." href="javascript:bookmarksite('kmeckstein', 'http://www.kmeckstein.com/index.html')"><small>Bookmark</small></a> <a class="email" title="Email this page to a friend." href="javascript:mailpage()"><small>Email this page to a friend</small></a></p>
<p><!-- *************** End of Post *************** -->
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.kmeckstein.com/linux/a-server-with-x-appeal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

