<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
   <channel>
      <title>China Doll</title>
      <link>http://www.hollymolly.net/</link>
      <description>a night writer pondering inside a urine-stained basement flat in Shanghai</description>
      <language>en</language>
      <copyright>Copyright 2011</copyright>
      <lastBuildDate>Sun, 21 Mar 2010 23:12:41 +0000</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=3.2</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>Time</title>
         <description><![CDATA[<p>Time. It&#39;s nearly 4 months into 2010. I cannot write like I used to any more. Memory is gone.</p>]]></description>
         <link>http://www.hollymolly.net/ca/2010/03/time_1.php</link>
         <guid>http://www.hollymolly.net/ca/2010/03/time_1.php</guid>
         <category>Life</category>
         <pubDate>Sun, 21 Mar 2010 23:12:41 +0000</pubDate>
      </item>
            <item>
         <title>It&apos;s Been Awhile</title>
         <description><![CDATA[<p>It was 600 years&#39; ago since we last sent a <a href="http://news.xinhuanet.com/english/2008-12/26/content_10562510.htm">navy ship</a> far from our coastline. The last time we did was in the Ming Dynasty when <a title="Zheng He" href="http://en.wikipedia.org/wiki/Zheng_He">Zheng He</a> led a large armada in the early 15th century to the Eastern African region for goodwill port calls.</p>  <p>This was then.</p>  <p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="265" alt="ChengHoTreasureBoat" src="http://www.hollymolly.net/WindowsLiveWriter/ItsBeenAwhile_BFE8/ChengHoTreasureBoat_thumb.jpg" width="404" border="0" /></p>  <p>And this is now.</p>  <p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="271" alt="convoy" src="http://www.hollymolly.net/WindowsLiveWriter/ItsBeenAwhile_BFE8/convoy_thumb.jpg" width="404" border="0" /></p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/12/its_been_awhile.php</link>
         <guid>http://www.hollymolly.net/ca/2008/12/its_been_awhile.php</guid>
         <category>General</category>
         <pubDate>Fri, 26 Dec 2008 13:39:00 +0000</pubDate>
      </item>
            <item>
         <title>The Money Master</title>
         <description><![CDATA[<p>This is a long video but should help us gain some understanding of the current finanical crisis:</p>

<p><embed id="VideoPlayback" src="http://video.google.com/googleplayer.swf?docid=-515319560256183936&amp;hl=en&amp;fs=true" style="width:400px;height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash"> </embed></p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/09/the_money_master.php</link>
         <guid>http://www.hollymolly.net/ca/2008/09/the_money_master.php</guid>
         <category>General</category>
         <pubDate>Thu, 18 Sep 2008 21:29:13 +0000</pubDate>
      </item>
            <item>
         <title>A Proud Nation</title>
         <description><![CDATA[<p><img alt="24375518.jpg" src="http://www.hollymolly.net/ca/img/24375518-thumb.jpg" width="400" height="267" /></p>

<p>Beijing Olympic 2008</p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/08/a_proud_nation.php</link>
         <guid>http://www.hollymolly.net/ca/2008/08/a_proud_nation.php</guid>
         <category>General</category>
         <pubDate>Sat, 09 Aug 2008 12:41:52 +0000</pubDate>
      </item>
            <item>
         <title>Friday Night / Saturday Morning</title>
         <description><![CDATA[<p>Friday used to be a busy night but business has apparently taken a nose dive this year. I would be doing no more than 2 hours&#39; real work on an 8-hr shift. Tonight no special guests after the night club and I&#39;m now updating this blog which has been neglected for some time.</p>

<p>Moving house in about 2 weeks&#39; time. Already dumped over 20 bags of used clothing and still have probably 10 more bags to go.  Smaller house, cheaper rent, all good.</p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/07/friday_night_saturday_morning.php</link>
         <guid>http://www.hollymolly.net/ca/2008/07/friday_night_saturday_morning.php</guid>
         <category>General</category>
         <pubDate>Sat, 12 Jul 2008 03:45:56 +0000</pubDate>
      </item>
            <item>
         <title>What Hi-fi</title>
         <description><![CDATA[<p>I used to be one of those people who would spend hundred of dollars for a few feet of speaker cable, hundreds for a moving coil <a title="ortofon" href="http://stereophile.com/phonocartridges/508ort/">phono cartridge</a> which couldn&#8217;t output a strong enough signal to directly feed into a pre-amp, hundreds for a pair of <a title="Valve" href="http://www.vacuumtube.com/tubes.htm">vintage valves</a> which was nothing more than a high-resistance light bulb, several hundreds for a <a title="ensemble audio" href="http://www.ensembleaudio.com/fonobrio.htm">pre-pre amp</a> which served no useful purposes other than stepping up the output of a MC cartridge, a couple of thousands for a pre-amp, a couple of thousands for a pair of speakers and several thousands for a power amp. After roughly <span class="caps">USD6,000 </span>and yet still could not get a single sound byte out of it because to complete the setup, it needed at least another thousand for a belt-drive turntable (excluding the arm, by the way).</p>  <p>Feeling excited (deservedly so after emptying over <span class="caps">USD7,000 </span>from my pocket) for the set-up, I&#39;d invite my &#39;friends&#39; home to showcase my toy but only to find out that my set of equipment could hardly be classified as &#39;audiophile&#39; - <span class="caps">USD7,000 </span>was barely enough to buy an &#8216;audiophile&#8217; power amp. Not for a single piece of equipment? No, not for a <a title="McIntosh" href="http://www.mcintoshlabs.com/products/Power-Amplifiers.asp">McIntosh</a>.</p>  <p>Embarrassed, dejected, I went on in pursuit of the true and sweetest sound for the next 15 years until one day I had to flee the country (stupid me again) and dumped everything I owned behind.</p>  <p>I have been playing through a pair of <span class="caps">USD50 </span>desktop speakers for the last few years now although I still have a set of so-called &#39;hi-fi&#39; which I bought in a 2nd hand shop. At first, I was still trying to find a way to play music from my computer and stream it to my hi-fi because I thought the sound would be better and more realistic and for the simple fact that it&#8217;s not easy for an old woman like me to get up every 40 minutes to switch a <span class="caps">CD.</span> The simplest way to stream music from a computer to a hi-fi is to buy a Slimcenter which I couldn&#8217;t afford. I did, however, manage to find a software <a title="Slim Center" href="http://www.hollymolly.net/ca/2008/04/streaming_music_pc_to_hifi.php">alternative</a> to do the streaming after some hard googling. Having played with the streaming for a few days, I discovered that I actually didn&#39;t enjoy the sound of my hi-fi. I went straight back using my <span class="caps">USD50 </span>desktop speakers.</p>  <p>It&#8217;s not that my hearing is nearly gone. I can still hear if the notes are being played by the left hand or the right hand in <a title="Beethoven" href="http://www.last.fm/music/Ludwig+van+Beethoven/_/F%C3%BCr+Elise">F&#252;r Elise</a> or <a title="Arctic Monkeys" href="http://www.last.fm/music/Arctic+Monkeys/_/A+Certain+Romance">A Certain Romance</a> when a CD is played from my hi-fi. The problem, I believe, is the medium.</p>  <p>The delivery of Music has changed so much from my &#8216;audiophile&#8217; days when people were still arguing if a belt-drive turntable was reproducing more realistic sound than a CD player. Those days when I would be willing to play a 30% premium for a <a title="Audiophile CD" href="http://www.chesky.com/">Chesky CD</a> were long gone. What we have nowadays are m4p, m4a, mp3 and wma (a few flac maybe but I&#8217;m not sure). Very few of us would mind when playing <a title="elton john classic" href="http://www.last.fm/music/Elton+John/_/Candle+in+the+Wind">&#8216;Candle in the Wind&#8217;</a> in an iPod, Elton John would actually appear standing on top of the piano instead of sitting in front of it. The extra <span class="caps">USD20,000 </span>an &#39;audiophile&#39; spent is to get: Sound Stage (simply translated - Elton John should be sitting in front of the piano, not on top or 5 feet away from it.) and accurate Sound Imaging (simply translated &#8211; <a title="john bonham" href="http://www.last.fm/music/John+Bonham">John Bonham</a> should be playing in the middle of the stage behind Jimmy Page and stayed there for an entire song instead of shifting his position sometimes 5 feet to his left and sometimes 3 feet to his right in the space of 5 minutes or the 1st and 2nd violin doesn&#39;t switch place in the middle of a concerto).</p>  <p>It is physically impossible to talk of these qualities in a flattened audio image. What was not immediate apparent to me, however, was the fact that the deficiencies of these popular audio formats tend to be hidden from a set of low-fi equipment. It&#8217;s crappy but sounds pleasant enough. A set of &#8216;hi-fi&#8217;, on the other hand, will lay bare the inadequacy of a lossy audio format and at times, to the point of becoming irritating. In this low-fi age, we should be happy as long as John Bonham doesn&#39;t appear to be drumming with a pair of chopsticks.</p>  <p>Here is my current setup and I&#8217;m fairly pleased with it.</p>  <p><img src="http://farm4.static.flickr.com/3066/2573039032_f6ac3ff47a_m.jpg" /> <img src="http://farm4.static.flickr.com/3260/2572214941_8fe1b22227_m.jpg" /> </p>  <p>These are no longer useful. Email me if you are interested to buy.</p>  <p><img src="http://farm4.static.flickr.com/3003/2572215063_73452eb61c_m.jpg" /> <img src="http://farm4.static.flickr.com/3282/2573118976_61abb3d7ab_m.jpg" /> </p>  <p><img src="http://farm4.static.flickr.com/3109/2572421119_bb3887c474_m.jpg" /></p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/06/what_hifi.php</link>
         <guid>http://www.hollymolly.net/ca/2008/06/what_hifi.php</guid>
         <category>General</category>
         <pubDate>Thu, 12 Jun 2008 14:37:55 +0000</pubDate>
      </item>
            <item>
         <title>Live Search</title>
         <description><![CDATA[<p>Here is a search engine using <a title="Seach Ubuntu" href="http://search.live.com/macros/mamafanfan%2fubuntu">Live Search</a> for everything Ubuntu.</p>  <p>Check it out.</p>  <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:61495f5c-2a1d-4f2d-8018-62f2cbbb884e" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/ubuntu" rel="tag">ubuntu</a>,<a href="http://technorati.com/tags/linux" rel="tag">linux</a>,<a href="http://technorati.com/tags/search" rel="tag">search</a></div>]]></description>
         <link>http://www.hollymolly.net/ca/2008/06/live_search.php</link>
         <guid>http://www.hollymolly.net/ca/2008/06/live_search.php</guid>
         <category>Web</category>
         <pubDate>Sun, 08 Jun 2008 16:25:22 +0000</pubDate>
      </item>
            <item>
         <title>Behind the Warm Handshakes</title>
         <description><![CDATA[<p>A series of letters from <a title="Eric Sommer" href="http://chinaletters.coolforums.org/viewtopic.php?t=7">Eric Sommer</a>. Please read them if you want to find out more about what lies behind those warm handshakes. </p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/06/behind_the_warm_handshakes.php</link>
         <guid>http://www.hollymolly.net/ca/2008/06/behind_the_warm_handshakes.php</guid>
         <category>General</category>
         <pubDate>Sat, 07 Jun 2008 18:13:42 +0000</pubDate>
      </item>
            <item>
         <title>Live Writer</title>
         <description><![CDATA[<p>My first test with Windows <a title="Live Writer" href="http://get.live.com/writer/overview">Live Writer</a>. First impression - Smart!</p>  <p>I have never been a fan of Microsoft because most of the things they did were Windows related and typically could not or did not interact very well with the outside world. Live Writer, at least, seems to be working seamlessly with my MT blog. It has taken Microsoft awhile to recognize that we, as customers of a machine bundled with XP or Vista, do have a choice to use non-Windows stuff.</p>  <p>Will do a test on my Wordpress <a title="China Doll" href="http://www.usphere.net/wp/">blog</a> and a diary in my <a href="http://localhost/desk">localhost</a> after this.</p>  <p>Cheers!</p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/06/live_writer.php</link>
         <guid>http://www.hollymolly.net/ca/2008/06/live_writer.php</guid>
         <category>Web</category>
         <pubDate>Sat, 07 Jun 2008 12:59:12 +0000</pubDate>
      </item>
            <item>
         <title>Streaming Music (PC to Hi-fi)</title>
         <description><![CDATA[<p>I have always wanted to own a <a href="http://www.slimdevices.com/pi_squeezebox.html">Squeezbox</a> so that I can stream my iTune collection to my Conrad Johnson tube amp for some quality playback while working/playing in front of my computer. As I have got used to using iTune, there is less and less incentive to switch on my hi-fi because I hate the idea to get up every so often to switch CDs. And of course, my Conrad Johnson cannot play or scrobble to <a href="http://www.last.fm/dashboard/">last.fm</a> &#8211; an excellent community for music fans and a top class personalized radio station.</p>

<p>You may call the setup laid out below as &#8216;The Poor Man&#8217;s Squeezbox&#8217; as it would be ideal for people who cannot afford a Squeezebox but still want to stream their music from a computer to their hi-fi or home-theatre sound system and to control the stream from any computers that have been hooked up to the home network (or internet if you want to make it accessible to the public at large).</p>

<p>First, my existing setup:</p>

<p>I have one desktop PC (let&#8217;s call it Bobby) and 3 laptops (let&#8217;s call them J, K &amp; E) for my 3 girls. They are all connected to a wireless home network thro&#8217; a Philips wireless router. We can play each other&#8217;s music collection simply by sharing the iTune library but control of song selections and playback remain with iTune itself, ie, if I hook up J to my hi-fi, I still have to get up and use the iTune (or whatever media player fancied) in J to select my song list, stop, pause or change its volume. It takes care of sharing but doesn&#8217;t get me any further in gaining control over what and how I would play my music. (just a side note here, Remote Desktop is possibly the simplest option but it tends to be an overkill because it takes over J completely and no one can use J once Remote Desktop takes over.)</p>

<p>Now, the &#8216;almost perfect&#8217; setup using <a href="http://www.slimdevices.com/pi_features.html">SqueezeCenter</a>:</p>

<p>Requirements: </p>

<p>1. a server (I use Apache which imho is far superior and easier to configure than <span class="caps">IIS </span>that comes with my XP Pro)<br />
2. perl<br />
3. MySQL<br />
4. SqueezeCenter<br />
5. A media player (I use iTune. Winamp, Windows Media or the default player incorporated in SqueezeCenter will all work equally well.)</p>

<p>The main task is to get a server, perl and MySQL installed. If you are using Linux or like me who already have Apache, Perl and MySQL setup, you are nearly 80% done. The setup of Apache, Perl and MySQL are very well documented elsewhere and there are many excellent <a href="http://www.ricocheting.com/server/">tutorials</a> to help you get them up and running in a Windows box with minimum fuss.</p>

<p>(SqueezeCenter will have its own instance of MySQL installed. This is one big improvement as <span class="caps">SQL</span>ite or any file base database will have a hard time storing a large music collection. For example, I have about 40,000+ songs and if I run <a href="http://amarok.kde.org/">amarok</a> (the top favourite player in Linux) with <span class="caps">SQL</span>ite, it will crash when importing my music library. It, however, works perfectly smooth when I use it with MySQL.)</p>

<p>Test to make sure that you can connect to localhost and run some perl scripts before installing SqueezeCenter.</p>

<p>SqueezeCenter is a daemon (or a media server if you like). It allows other computer to connect to it thro&#8217; a web interface. I install it in my desktop, Bobby for the reason that my main music collection is stored in several local harddisks there and it will make importing my iTune library a little faster. In practice, it does not really matter whether I install SqueezeCenter in Bobby, J, K or E. All I need is one SqueezeCenter installed in any one of the computers in the network.</p>

<p>My local <span class="caps">LAN </span>address of Bobby is 192.168.1.88, J is 192.168.1.89, K is 192.168.1.90 and E is 192.168.1.99. After SqueezeCenter is installed, open up your favourite browser and enter the address http://192.168.1.88:9000 if I am at Bobby or enter http://192.168.1.99:9000 if I am at E (you get the idea).</p>

<p>SqueezeCenter web interface will warn you that it cannot detect any player, you have 3 options (to be exact):</p>

<p>1. Buy a Squeezebox<br />
2. Use the default player (Read the entire warning message on the right pane if you are using the latest version of SqueezeCenter ver 7) and click on &#8216;SoftSqueeze&#8217; &#8211;  it will automatically install itself for you and is actually quite fun to play with as it emulates the actual Squeezebox using java. (Try this first as it saves you the trouble to open up a stream using your favourite media player. Once this is working, you can always switch to iTune or whatever.)<br />
3. Use iTune (or any other media players) to open up a stream http://192.168.1.88:9000/stream.mp3 at Bobby or similarly http://192.168.1.90:9000/stream.mp3 at K.</p>

<p>After Squeezebox is installed and the music library imported under &#8216;Settings&#8217; -&gt; &#8216;itune&#8217; in SqueezeCenter (bottom right corner), use the &#8216;select&#8217; button at the top right hand corner of SqueezeCenter to select a player. Assuming I have launched a player in Bobby, J, K and E, I should see 4 players appearing in the dropdown menu. I will have to select the one I will be using (This can be done in any one of the computers.)</p>

<p><a href="http://www.hollymolly.net/ca/img/squeezebox.JPG"><img alt="squeezebox.JPG" src="http://www.hollymolly.net/ca/img/squeezebox-thumb.JPG" width="420" height="336" /></a></p>

<p>Say, if I hook up K to my hi-fi, I&#8217;d select &#8216;itune at 192.168.1.90&#8217; from the dropdown menu, create a playlist or simply play any songs shown on the left pane. If one of my daughters wants to play some music thro&#8217; her laptop speaker using J in another room, she would select &#8216;itune at 192.168.1.89&#8217; from the dropdown menu.<br />
You can expand what SqueezeCenter can do using <a href="http://wiki.slimdevices.com/index.cgi?SlimServerPlugins">plugins</a>. Ver 7 is already budded with last.fm scrobbler and will scrobble to last.fm with minimum effort. Go to &#8216;Settings&#8217; -&gt; &#8216;Plugins&#8217; and enter your last.fm details there. It also allows using multiple identities. I installed only one plugin - <a href="http://open-net.vm.bytemark.co.uk/slimlyrics.html">Lyrics</a> is a handy tool to grab and display the lyrics of the current playing song in the left pane.</p>

<p>Finally, always take a look at &#8216;Settings&#8217; -&gt; &#8216;Players&#8217;. Here you will choose which last.fm identity you will use for a particular player and more importantly, the quality of audio stream. I use &#8216;highest&#8217; in my wireless <span class="caps">LAN </span>environment and have found no skipping. If connection is made over the Internet, this may have to be lowered or maintained at the default level (which is at 9, lowest).</p>

<p>There is a lot more you can play with Squeezebox. If I want to play my home music collection while I am at work (assuming no one is at home to launch my SqueezeCenter for me), I will need <span class="caps">SSH </span>server and client. But if I just want to share my collection to the world while I&#8217;m playing at home, I can do so by simply replacing my <span class="caps">LAN </span>address with my <span class="caps">WAN </span>address (or using <a href="http://www.dyndns.com/">dynamic dns</a>) and opening up the relevant port in my router. </p>

<p>Try this <a href="http://lastfm.mamafanfan.com:9000/">http://lastfm.mamafanfan.com:9000</a>. If I&#8217;m online, you should be able to see and play my music collection. First, remember not to mess with other players in the drop down menu. Choose your own player to configure (your player will assoicate with an IP address of yours) . Secondly, as I have limited bandwidth, if it gets too busy or I suspect abuses of the system, I will have to close down the server. Good luck and enjoy!</p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/04/streaming_music_pc_to_hifi.php</link>
         <guid>http://www.hollymolly.net/ca/2008/04/streaming_music_pc_to_hifi.php</guid>
         <category>Web</category>
         <pubDate>Tue, 08 Apr 2008 18:04:17 +0000</pubDate>
      </item>
            <item>
         <title>Moving a Web Host to New Location</title>
         <description><![CDATA[<p>I have just completed relocating my web host account. It involved a number of blogs using <a href="http://www.movabletype.org/">Movabletype</a> (ver 3.2)., a photo gallery (<a href="http://gallery.menalto.com/">Gallery 1.5</a>), and a personal diary (<a href="http://wordpress.org/">Wordpress</a> 2.0) residing on my home server but making use of the <a href="http://www.mysql.com/">MySQL</a> server in my former web host.</p>

<p>The entire process was made easier as both my new and former hosts allowed shell access which enabled direct transfer of files from host to host. If I did not have shell access,  it would have taken me at least 3 times longer to complete the transfer involving an extra step in downloading/uploading to and from my computer.</p>

<p>This is to document the steps I took for the relocation. It is not only for my own reference but may also help those who are contemplating a similar move.</p>

<p>1. First, make a note of the following:</p>

<p>Existing Web Server (this can usually be found in the web host control panel  and is required because after the domain transfer becomes effective, it will no longer be possible to ftp using the domain name): web.old.com</p>

<p>Existing Web server: web.old.com</p>

<p>Existing MySQL server: mysql.old.com</p>

<p>Existing MySQL databases: db_1, db_2  &#8230;  etc</p>

<p>Existing MySQL users: user1, user2 &#8230;.  etc</p>

<p>New Web Server: web1.new.com</p>

<p>New MySQL server: mysql.new.com</p>

<p>2. Create domains in your new host. Note down the new <span class="caps">DNS </span>server.</p>

<p>These new domains will not become effective until changes are made in the Register. For example, hollymolly.com is registered in www.register365.ie. I will go to the register and update the <span class="caps">DNS </span>(typically in the form of ns1.xxxx.com, ns2.xxx.com).</p>

<p>It makes no difference whether to effect the change in <span class="caps">DNS </span>now or later after the entire transfer process is complete. If yours a busy site, do it after so that your site will remain accessible during the entire transfer process. Mine is not and I prefer to doing it right away as the change will take a few hours to propagate and my site will be up and running by the time the transfer is complete.</p>

<p>Doing it now will also enable logging onto MT control panel (in the new host) to make a few necessary adjustments by the time the transfer is done.</p>

3. Create databases in the new MySQL server using the same db names as per existing.<br />
<blockquote>
# mysql -u root -p<br />
mysql&gt; create database db_1;<br />
</blockquote>
4. Create the same set of MySQL users with corresponding privileges.<br />
<blockquote>
mysql&gt; grant all previleges to db_1 to user@yourhost identified by &#39;password&#39;;<br />
mysql&gt; flush previleges;<br />
mysql&gt; quit;<br />
</blockquote>
(if using phpMyAdmin, it can be configured to handle both your new and old MySQL servers from the same interface saving the trouble using two instances of phpMyAdmin, one for mysql.old.com and the other for mysql.new.com.  Just add $i++ with specific server configurations in config.inc.php.)

<p>5. Backup the existing databases.</p>

Logon to the existing shell web.old.com (<a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">PuTTy</a> is an excellent <span class="caps">SSH </span>client to do this) .<br />
<blockquote>
mysqldump &#8212;all-databases -u root -p &gt; ~/db_backup.sql<br />
</blockquote>
This will create a text file db_backup.sql in your home directory. Leave this where it is for the moment.

<p>(it is possible to do the above thro&#39; phpMyAdmin but take note of the size limitation imposed by it. The shell command is a lot easier.)</p>

<p>6. Backup the existing domain</p>

While still in the old shell account<br />
<blockquote>
tar -cvf domain1.tar ~/domain1.com<br />
</blockquote>

<p>This will compressed the entire content in domain1.com into a tar file domain1.tar. This file will be in your home directory. </p>

Repeat this with other domains as follow (replace domainXXX.com with the actual domain name):<br />
<blockquote>
tar -cvf domainXXX.tar ~/domainXXX.com<br />
</blockquote>

<p>7. Transfer and Uncompress the files</p>

<p>Logon to the new host web1.new.com</p>

At the shell:<br />
<blockquote>
ftp web.old.com  <br />
(use sftp user_name@web.old.com if possible. It is more secure. Many hosts are now phasing out ftp)<br />
</blockquote>

Enter user name and password as required.<br />
Make sure you are at the $HOME directory:<br />
<blockquote>
ls -l<br />
</blockquote>

Then<br />
<blockquote>
get db_backup.sql<br />
get domainXXX.tar<br />
</blockquote>
These will transfer all your backup files from the old host to the new host.<br />
<blockquote>
mysql -u root -p &lt; ~/db_backup.sql<br />
</blockquote>
This will import all your existing databases to the new MySQL server.<br />
<blockquote>
tar -xvf domainXXX.tar ~/domainXXX.com<br />
</blockquote>

<p>This will copy all the content in domainXXX.com to your new host (repeat for other existing domains as required).</p>

<p>Almost there. </p>

<p>There is no need to delete the backup files. Move them to a backup directory as they provide a valuable snapshot of your web sites at the time of the transfer.</p>

At shell,<br />
<blockquote>
cd ~/<br />
mkdir backup<br />
mv db_backup.sql ./backup<br />
mv domainXXX.tar ./backup<br />
</blockquote>
8. The following adjustments are Software Specific.

<p>a. Wordpress</p>

<p>Go to wordpress root directory (where you logon to wordpress) and edit wp-config.php using your favourite editor,</p>

The only line that need change is <br />
<blockquote>
define(&#39;DB_HOST&#39;, &#39;mysql.old.com&#39;);<br />
</blockquote>
Change this to <br />
<blockquote>
define(&#39;DB_HOST&#39;, &#39;mysql.new.com&#39;);<br />
</blockquote>
Databases name and user name remain the same as we have made them to be previously in step 3 &amp; 4.

<p>b. Movable Type</p>

<p>Edit mt-config.cgi</p>

Change<br />
<blockquote>
<span class="caps">DBH</span>ost mysql.old.com<br />
</blockquote>
To <br />
<blockquote>
<span class="caps">DBH</span>ost mysql.new.com<br />
</blockquote>

Change<br />
<blockquote>
TemplatePath /home/old path to your mt tmpl/mt/tmpl<br />
</blockquote>
To <br />
<blockquote>
TemplatePath /new path to your mt tmpl/mt/tmpl<br />
</blockquote>
** If using StaticWebPath for images, it needs attention as well to reflect the new filesystem path. 

<p>Logon to MT control panel (after <span class="caps">DNS </span>change became effective) and adjust the new site path under &#8220;Settings&#8221;.</p>

<p>c. Gallery</p>

<p>I took the opportunity to upgrade from Gallery 1.5 to the latest version 2.2.4.</p>

<p>Note down the albums directory. Install Gallery 2.2.4 in a new directory.</p>

<p>Towards the end of the Gallery 2.2.4 installation, there is an option to import existing albums. Importing existing albums by pointing to the albums directory.</p>

<p>Remap the old gallery url http://domainXXXX.com/gallery to point to the path of the new gallery 2.2.4 installation so that users accessing my old gallery 1.5 will automatically see the new gallery 2.2.4</p>

<p>d. Others</p>

<p>Some software may require a different version of php to run (for example, php4.4 instead of php5.0) or its own php.ini. Using a different version of php than the one provided by your web host or using a specific php.ini can be done:</p>

<p>Make a cgi-bin directory in the web-root directory if it does not already exist.</p>

<p>Copy  php5.cgi or php4.cgi to cgi-bin<br />
Copy php.ini to cgi-bin</p>

Add .htaccess to root:<br />
<blockquote>
Options ExecCGI<br />
AddHandler php-cgi .php<br />
Action php-cgi /cgi-bin/php.cgi<br />
</blockquote>

Change permission:<br />
<blockquote>
chmod 644 $HOME/domainXXX.com/.htaccess<br />
chmod 755 $HOME/domainXXX.com/cgi-bin<br />
chmod 750 $HOME/domainXXX.com/cgi-bin/php.cgi<br />
chmod 644 $HOME/domainXXX.com/cgi-bin/php.ini<br />
</blockquote>]]></description>
         <link>http://www.hollymolly.net/ca/2008/04/moving_a_web_host_to_new_location.php</link>
         <guid>http://www.hollymolly.net/ca/2008/04/moving_a_web_host_to_new_location.php</guid>
         <category>Web</category>
         <pubDate>Thu, 03 Apr 2008 17:11:45 +0000</pubDate>
      </item>
            <item>
         <title>Divine Performing Arts</title>
         <description><![CDATA[<p>People do not often <a href="http://en.epochtimes.com/news/8-1-17/64247.html">cry</a> when they attend a show. <a href="http://divineperformingarts.org/sy/">Divine Performing Arts</a> has staged a marvelous performance combining ballet and classical chinese dance - a showcase of humanity&#39;s true cultural heritage.</p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/01/divine_performi.php</link>
         <guid>http://www.hollymolly.net/ca/2008/01/divine_performi.php</guid>
         <category>General</category>
         <pubDate>Fri, 18 Jan 2008 13:34:07 +0000</pubDate>
      </item>
            <item>
         <title>Oh No They Did It Again</title>
         <description><![CDATA[<p>Stitching video and sound together is not something terribly difficult to do. This is a good example:</p>

<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/tmYNSVVjmsE&amp;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/tmYNSVVjmsE&amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>

<p>Whether it&#39;s due to a lack of professionalism or sheer incompetence, they <a href="http://www.guardian.co.uk/iran/story/0,,2239119,00.html">screwed it up</a> again by choosing the wrong sound. And this is the <a href="http://abcnews.go.com/Blotter/story?id=4115702&amp;page=1">official reply</a> from the Pentagon:</p>

<p>&#8220;We&#39;re saying that we cannot make a direct connection to the boats there. It could have come from the shore, from another ship passing by. However, it happened in the middle of all the very unusual activity, so as we assess the information and situation, we still put it in the total aggregate of what happened Sunday morning. I guess we&#39;re not saying that it absolutely came from the boats, but we&#39;re not saying it absolutely didn&#39;t.&#8221; </p>

<p>The movie production department in Pentagon seems to have made little progress since <a href="http://edition.cnn.com/2005/WORLD/meast/08/19/powell.un/">Colin Powell&#39;s presentation</a> in the UN some five years&#39; ago. A lack of budget?</p>

<p>Perhaps, neither the warship nor the 5 speed boats are more threatening than a <a href="http://www.last.fm/music/The+National/+videos/+1-0DVyRs6sKxk">Fake Empire</a>.</p>

<p style="color:#666666">Stay out super late tonight picking apples, making pies<br />
put a little something in our lemonade and take it with us<br />
we&#8217;re half-awake in a fake empire<br />
we&#8217;re half-awake in a fake empire</p>

<p style="color:#666666">Tiptoe through our shiny city with our diamond slippers on<br />
Do our gay ballet on ice<br />
bluebirds on our shoulders<br />
we&#8217;re half-awake in a fake empire<br />
we&#8217;re half-awake in a fake empire</p>

<p style="color:#666666">Turn the light out say goodnight<br />
no thinking for a little while<br />
lets not try to figure out everything it wants<br />
It&#8217;s hard to keep track of you falling through the sky<br />
we&#8217;re half-awake in a fake empire<br />
we&#8217;re half-awake in a fake empire</p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/01/oh_no_they_did.php</link>
         <guid>http://www.hollymolly.net/ca/2008/01/oh_no_they_did.php</guid>
         <category>General</category>
         <pubDate>Fri, 11 Jan 2008 09:58:49 +0000</pubDate>
      </item>
            <item>
         <title>Album Art</title>
         <description><![CDATA[<p>I love album art - it used to be a significant element in an artist&#39;s album release. It gives the artist an identity and is often used to convey ideas as to what may be found inside the album cover. But as the size of LP shrinks to CD and from CD reduced to thumbnails that come with the online download, album art has perhaps slowly but surely been losing its importance. The size reduction is also affecting album art as a art form as what apparently looks good in a LP size image may turn out to be terrible when it is zoomed out to 50&#215;50 pixels or a 160&#215;160 thumbnails. Here are some album art images for your enjoyment:</p>

<p>My all-time Top 5:</p>

<p>1. A Perfect Circle - Thirteenth Step   <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B0000AZJXQ"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
2. The Doors - The Best   <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B000002H22"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
3. Derek &amp; The Dominos - Layla &amp; Assorted Love Songs   <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B000002G87"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
4. David Bowie - Aladdin Sane   <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B00001OH7Q"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
5. Elton John - Goodbye Yellow Brick Road    <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B000001DQI"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon></p>

<p>My top 5 which I am not supposed to like but I do:</p>

<p>1. Kylie Minogue - 2 Hearts    <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B000W4HM32"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
2. The Black Crows - Amorica <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B000009QP6"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
3. The Car - Candy-O    <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B000002GWX"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
4. Paula Cole - Courage    <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B000NO39EC"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
5. Madonna - True Blue    <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B00005J6T0"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon></p>

<p>Top 5 Most Significant in my life:</p>

<p>1. Pink Floyd - Dark Side of the Moon    <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B000002U82"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
2. James Taylor - Mud Slide Slim and the Blue Horizon    <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B000002KDM"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
3. Fleetwood Mac - Rumours    <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B000002KGT"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
4. Carole King - Tapestry    <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B00000J2PH"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" border="0"></a></MTAmazon><br />
5. Bob Dylan - Highway 61 Revisited    <br />
<MTAmazon associateid="chinadoll-20" method="Asin" search="B0000C8AVR"><a href="<MTAmazonLink>"><img src="<MTAmazonMediumImage />" title="Highway 61 Revisited" border="0"></a></MTAmazon></p>

<p>Apart from Amazon, <a href="http://www.albumartexchange.com/covers.php">Album Exchange</a> is a good place to look for album covers.</p>]]></description>
         <link>http://www.hollymolly.net/ca/2008/01/album_art.php</link>
         <guid>http://www.hollymolly.net/ca/2008/01/album_art.php</guid>
         <category>General</category>
         <pubDate>Thu, 10 Jan 2008 14:27:04 +0000</pubDate>
      </item>
            <item>
         <title>Hallelujah</title>
         <description><![CDATA[<p><img alt="change1.jpg" src="http://www.hollymolly.net/ca/img/change1.jpg" width="475" height="341" /></p>

<p><a href="http://www.guardian.co.uk/china/story/0,,2198178,00.html">Chang&#39;e 1</a> and the moon mission.</p>]]></description>
         <link>http://www.hollymolly.net/ca/2007/10/hallelujah.php</link>
         <guid>http://www.hollymolly.net/ca/2007/10/hallelujah.php</guid>
         <category>General</category>
         <pubDate>Wed, 24 Oct 2007 14:26:54 +0000</pubDate>
      </item>
      
   </channel>
</rss>

