<?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"
	>

<channel>
	<title>ckunte.com &#187; Server side</title>
	<atom:link href="http://ckunte.com/archives/category/geekspeak/server-side/feed" rel="self" type="application/rss+xml" />
	<link>http://ckunte.com</link>
	<description>Life, dreams, technology, perfection, rhythm and melody.</description>
	<pubDate>Sat, 11 Oct 2008 19:02:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Backup a webserver</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fbackup-a-webserver&amp;seed_title=Backup+a+webserver</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fbackup-a-webserver&amp;seed_title=Backup+a+webserver#comments</comments>
		<pubDate>Mon, 04 Aug 2008 17:43:20 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Asides]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[rsync]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://ckunte.com/?p=1964</guid>
		<description><![CDATA[Webmonkey: &#8220;Back up a web server.&#8221;
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webmonkey.com/tutorial/Back_Up_a_Web_Server">Webmonkey</a>: &#8220;Back up a web server.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fbackup-a-webserver&amp;seed_title=Backup+a+webserver/feed</wfw:commentRss>
		</item>
		<item>
		<title>Run WordPress locally on your Ubuntu powered computer</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fwordpress-on-ubuntu&amp;seed_title=Run+WordPress+locally+on+your+Ubuntu+powered+computer</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fwordpress-on-ubuntu&amp;seed_title=Run+WordPress+locally+on+your+Ubuntu+powered+computer#comments</comments>
		<pubDate>Tue, 25 Mar 2008 17:02:07 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Noteworthy]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[Web apps]]></category>

		<category><![CDATA[svn]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ckunte.com/?p=1772</guid>
		<description><![CDATA[
Install Apache: sudo apt-get install apache2
Install PHP: sudo apt-get install php5 libapache2-mod-php5
Intall MySQL: sudo apt-get install mysql-server (The new MySQL now guides you to set a root password during this process&#8212;no need to run mysql -u root separately. It also now allows you to set a bind-address to your IP&#8212;instead of 127.0.0.1)
The folder /var/www is [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Install Apache: <code>sudo apt-get install apache2</code></li>
<li>Install PHP: <code>sudo apt-get install php5 libapache2-mod-php5</code></li>
<li>Intall MySQL: <code>sudo apt-get install mysql-server</code> (The new MySQL now guides you to set a root password during this process&#8212;no need to run <code>mysql -u root</code> separately. It also now allows you to set a bind-address to your IP&#8212;instead of 127.0.0.1)</li>
<li>The folder <code>/var/www</code> is now the webserver root. Own it first: <code>chown -R <i>username</i><sup>1</sup> /var/www</code>. www folder is now writable.</li>
<li>Load up <code>http://localhost/phpmyadmin</code> and create database (prompts for MySQL root password.)</li>
<li>Navigate to <code>/var/www</code> and download <a href="http://wordpress.org/">WordPress</a>: <code>svn co http://svn.automattic.com/wordpress/tags/2.3.3/ .</code></li>
<li>Rename <code>wp-config-sample.php</code> to <code>wp-config.php</code> and edit it to enter database information. Optionally, increase PHP memory to, say, 96MB: <code>define('WP_MEMORY_LIMIT', '96MB');</code>. Enable caching, if you like&#8212;add this line: <code>define('WP_CACHE', true);</code> in it.</li>
</ul>
<p>Now I have a local web server running on my Ubuntu powered desktop&#8212;complete with a local version of my site, and proudly powered by <a href="http://wordpress.org/">WordPress</a>.</p>
<p><strong>Update:</strong> You&#8217;ll need to set <code>/var/www</code> folder writable by server: <code>sudo chmod -R 755 www</code>.</p>
<p><strong>Credits:</strong> Much of the <acronym title="Linux, Apache, MySQL and Perl/Python/PHP">LAMP</acronym> installation part was referred from <a href="http://howtoforge.com/ubuntu_lamp_for_newbies">this simple and excellent Howto Forge article</a>. I&#8217;ve skipped tasks that are now automated; and added those that weren&#8217;t covered in the referred article.
<ol class="footnotes">
<li id="footnote_0_1772" class="footnote">Here, <code><i>username</i></code> is your login name on the computer; typically <code><i>username@computer</i></code> that you see when you open a Terminal window.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fwordpress-on-ubuntu&amp;seed_title=Run+WordPress+locally+on+your+Ubuntu+powered+computer/feed</wfw:commentRss>
		</item>
		<item>
		<title>Using sftp over ssh, and tar</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsftp-tar&amp;seed_title=Using+sftp+over+ssh%2C+and+tar</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsftp-tar&amp;seed_title=Using+sftp+over+ssh%2C+and+tar#comments</comments>
		<pubDate>Mon, 24 Mar 2008 12:08:36 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Server side]]></category>

		<category><![CDATA[sftp]]></category>

		<category><![CDATA[ssh]]></category>

		<category><![CDATA[tar]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ckunte.com/?p=1768</guid>
		<description><![CDATA[As a WordPress user, most stuff I add or update towards my site content&#8212;pictures, themes, plugins&#8212;typically gets stored in wp-content; so this is a mighty important folder when it comes to backing-up. Here&#8217;s how I backup wp-content (as an alternative to rsync):
I login to my site via ssh, and navigate to the root of my [...]]]></description>
			<content:encoded><![CDATA[<p>As a <a href="http://wordpress.org/">WordPress</a> user, most stuff I add or update towards my site content&#8212;pictures, themes, plugins&#8212;typically gets stored in <code>wp-content</code>; so this is a mighty important folder when it comes to backing-up. Here&#8217;s how I backup <code>wp-content</code> (as an alternative to <a href="http://ckunte.com/archives/site-backup-rsync">rsync</a>):</p>
<p>I login to my site via ssh, and navigate to the root of my WordPress installation, and run <code><a href="http://en.wikipedia.org/wiki/Tar_(file_format)">tar</a></code> to archive (zip) the entire <code>wp-content</code> folder:</p>
<p>$ <code>tar -zcvf allwpcontent.tar.gz wp-content/</code></p>
<p>This above creates a file named <code>allwpcontent.tar.gz</code>.</p>
<p>Now still over <a href="http://en.wikipedia.org/wiki/Secure_Shell">ssh</a>, I start <a href="http://en.wikipedia.org/wiki/SSH_file_transfer_protocol">sftp</a> and navigate to the root of my WordPress installation (again). From there, I download the zipped file:</p>
<p>sftp> <code>get allwpcontent.tar.gz</code></p>
<p>Downloading the entire <code>wp-content</code> by zipping (or tarring) first is so much quicker than downloading the entire folder&#8212;file by file; and easy too.</p>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsftp-tar&amp;seed_title=Using+sftp+over+ssh%2C+and+tar/feed</wfw:commentRss>
		</item>
		<item>
		<title>Upgrading WordPress with svn</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fupgrading-wordpress-with-svn&amp;seed_title=Upgrading+WordPress+with+svn</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fupgrading-wordpress-with-svn&amp;seed_title=Upgrading+WordPress+with+svn#comments</comments>
		<pubDate>Sun, 23 Mar 2008 17:18:03 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Noteworthy]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[ssh]]></category>

		<category><![CDATA[svn]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ckunte.com/?p=1766</guid>
		<description><![CDATA[Pre-requisites: You&#8217;ll need secure shell access to your host, and your host should have enabled svn client.1
All bets are off if you don&#8217;t backup everything&#8212;every file, every customization, as well as your database&#8212;first. As an added insurance, go to the WordPress admin Dashboard › Manage › Export, and dump an XML export file. Also, deactivate [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Pre-requisites:</strong> You&#8217;ll need <a href="http://en.wikipedia.org/wiki/Secure_Shell">secure shell</a> access to your host, and your host should have enabled <a href="http://subversion.tigris.org/">svn</a> client.<sup>1</sup></p>
<p>All bets are off if you don&#8217;t <strong>backup everything</strong>&#8212;every file, every customization, as well as your database&#8212;first. As an added insurance, go to the <a href="http://wordpress.org/">WordPress</a> admin <em>Dashboard › Manage › Export</em>, and dump an XML export file. Also, deactivate all plugins. I&#8217;m saying this because you won&#8217;t regret if things go wrong.</p>
<h4>Preparing for svn magic (the first time.)</h4>
<p>Login to your host like this<sup>2</sup>:</p>
<p>$ <code>ssh <em>userid</em>@<em>website.com</em></code></p>
<p>You&#8217;ll be prompted for the password. Key it in and press enter. If you were able to login, then you&#8217;d be in the root of your host. This will typically be like the following or something similar:</p>
<p><code>/home/<em>userid</em></code></p>
<p>Type <code>pwd</code> to know where you are. In most cases, you&#8217;ll see a path like the above. Navigate to the folder <code>public_html</code>:</p>
<p>$ <code>cd /home/<em>userid</em>/public_html</code></p>
<p>In some cases, instead of <code>public_html</code>, you&#8217;ll see <code>www</code> or <code>html</code> folder. Let us assume in this case, we have a folder called <code>public_html</code>. List the contents of the folder:</p>
<p>$ <code>ls -al</code></p>
<p>If you see your wordpress installed files and folders here, then this folder is the root of your wordpress installation.</p>
<p>(If you have it installed in a sub-folder like <code>blog</code>&#8212;for example, then further navigate to that folder: $ <code>cd /home/<em>userid</em>/public_html/blog</code>)</p>
<p>Copy entire contents of your WordPress installation root into a folder, say, backup&#8212;like this at the prompt:</p>
<p>$ <code>mkdir backup</code><br />
$ <code>cp -R wp* *.html *.txt *.php .htaccess backup/.</code></p>
<p>Now in WordPress installation root, run this to remove all the existing wordpress files and folders:</p>
<p>$ <code>rm -R wp* index.php xmlrpc.php readme.html license.txt</code></p>
<h4>Installing a new copy of WordPress using Subversion</h4>
<p>Now type this command and hit enter<sup>3</sup><sup>4</sup>:</p>
<p>$ <code>svn co http://svn.automattic.com/wordpress/tags/2.3.3/ .</code> </p>
<p>This command &#8220;checks out&#8221; the release 2.3.3 from WordPress stable repository on to your host.<sup>5</sup></p>
<p>Now, add all your custom plugins, themes from the <code>backup</code> folder into this checked out release&#8217;s <code>wp-content</code> folder. Copy back <code>wp-config.php</code> and <code>robots.txt</code> files from <code>backup</code> folder into the root of your wordpress installation. <em>Note: All this you&#8217;ll need to do only once ever.</em></p>
<h4 id="svn-up">Upgrading to the latest version</h4>
<p>To update your installation, run the following command:</p>
<p>$ <code>svn up</code></p>
<p>To switch to a newer release, say 2.5 for example&#8212;whenever it becomes available in the near future, you&#8217;ll only need to run this command&#8212;in the root of your wordpress installation&#8212;and your WordPress installation will be updated instantly:</p>
<p>$ <code>svn sw http://svn.automattic.com/wordpress/tags/2.5/</code></p>
<p>To complete the upgrade, run the following in browser&#8217;s address bar:</p>
<p><code>http://<em>yourblogaddress</em>/wp-admin/upgrade.php</code></p>
<p>Replace <code><em>yourblogaddress</em></code> with your actual site address, and your WordPress installation will be updated to the latest release. You may now enable all your plugins back again.</p>
<p>Once you have an svn based install, you&#8217;ll only need to <a href="http://ckunte.com/archives/upgrading-wordpress-with-svn#svn-up">the last two steps</a> to upgrade to future latest releases; and it upgrades in seconds!<sup>6</sup></p>
<p>There are other posts about installing upgrading WordPress via svn&#8212;you might want to refer to, notably these two:</p>
<ul>
<li><a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">Updating WordPress with Subversion</a>.</li>
<li><a href="http://redmonk.com/sogrady/2007/03/06/itreport_wordpress_updating/">Automated WordPress Updating</a>.</li>
</ul>
<p>svn rocks. Learn it. Use it. Love it.<sup>7</sup>
<ol class="footnotes">
<li id="footnote_0_1766" class="footnote">If you have shell access to your web host, you can check this by typing the following at the prompt and enter: <code>svn --help</code>. If it spits meaningful information, then you&#8217;re good to go. Dump those sad hosts that don&#8217;t provide you with these basic features.</li>
<li id="footnote_1_1766" class="footnote"><em>userid</em> and <em>password</em> would be same as those you&#8217;d use while using FTP; Replace <em>userid</em> and <em>website.com</em> with your actual userid and your website address.</li>
<li id="footnote_2_1766" class="footnote">The period at the end is mighty important, or else you&#8217;ll end up downloading all the files at a folder named 2.3.3. Presumably you wouldn&#8217;t want this.</li>
<li id="footnote_3_1766" class="footnote">If you prefer the latest &#8220;bleeding edge&#8221; version, then use the trunk address instead: <code>svn co http://svn.automattic.com/wordpress/trunk/ .</code></li>
<li id="footnote_4_1766" class="footnote">Think <code>co</code> as in checking out your shopping cart at a free counter. <code>up</code> and <code>sw</code> are like the store home-delivering you product improvements&#8212;again for free.</li>
<li id="footnote_5_1766" class="footnote">Notice that in this entire process, we have barely used three commands that are needed to upgrade your actual installation, while much of rest is first-time preparation, and a couple of precautionary measures. Once you get the process, you can see how dumb, and disturbingly simple this is in installing/upgrading WordPress!</li>
<li id="footnote_6_1766" class="footnote">With apologies to <a href="http://diveintomark.org/">Mark Pilgrim</a>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fupgrading-wordpress-with-svn&amp;seed_title=Upgrading+WordPress+with+svn/feed</wfw:commentRss>
		</item>
		<item>
		<title>Site backup using rsync over ssh</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsite-backup-rsync&amp;seed_title=Site+backup+using+rsync+over+ssh</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsite-backup-rsync&amp;seed_title=Site+backup+using+rsync+over+ssh#comments</comments>
		<pubDate>Wed, 30 Jan 2008 20:49:20 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[restore]]></category>

		<category><![CDATA[rsync]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://ckunte.com/archives/site-backup-rsync</guid>
		<description><![CDATA[I use rsync over ssh to backup files&#8212;including my entire WordPress installation&#8212;from my site to my local machine (and back). Having these tools natively in Ubuntu makes it a lot easier&#8212;not to mention similar file paths on both local machine as well as on my webhost. Here&#8217;s how I do it. 
This to backup1 all [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://samba.anu.edu.au/rsync/">rsync</a> over <a href="http://www.openssh.com/">ssh</a> to backup files&#8212;including my entire WordPress installation&#8212;from my site to my local machine (and back). Having these tools natively in Ubuntu makes it a lot easier&#8212;not to mention similar file paths on both local machine as well as on my webhost. Here&#8217;s how I do it. <span id="more-1727"></span></p>
<p>This to backup<sup>1</sup> all files from my site to my local machine:</p>
<p><code>rsync -avz -e ssh remoteuserid@mysite.com:<em>remotepath</em> <em>localpath</em></code></p>
<p>And from my local machine to my site:</p>
<p><code>rsync -avz -e ssh <em>localpath</em> remoteuserid@mysite.com:<em>remotepath</em></code></p>
<p><em>remotepath</em> would be something like this: <code>/home/remoteuserid/public_html</code>, and <em>localpath</em> would be like this: <code>/home/localuserid/backup/public_html</code>.</p>
<p>Damn it&#8217;s fast.
<ol class="footnotes">
<li id="footnote_0_1727" class="footnote">I don&#8217;t do a cron job of a file backup and restore&#8212;I get knots in my stomach. Call it personal preference, but I prefer it manual; and this is mostly because of my file-scatter, and the state of my files, which are usually in various levels of edit&#8212;at any given point of time.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fsite-backup-rsync&amp;seed_title=Site+backup+using+rsync+over+ssh/feed</wfw:commentRss>
		</item>
		<item>
		<title>Personalize db errors now with Wordpress 2.3.2</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fpersonalize-db-errors-now-with-wordpress-232&amp;seed_title=Personalize+db+errors+now+with+Wordpress+2.3.2</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fpersonalize-db-errors-now-with-wordpress-232&amp;seed_title=Personalize+db+errors+now+with+Wordpress+2.3.2#comments</comments>
		<pubDate>Mon, 31 Dec 2007 03:04:15 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[Weblog]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ckunte.com/archives/personalize-db-errors-now-with-wordpress-232</guid>
		<description><![CDATA[Personalizing database down error for Wordpress powered sites was one of the suggestions I offered humbly to the Wordpress team back in August 2007. Happy to note that it&#8217;s now in place in the latest Wordpress update (version 2.3.2), as Ryan notes:
As a little bonus, [version] 2.3.2 allows you to define a custom DB error [...]]]></description>
			<content:encoded><![CDATA[<p>Personalizing database down error for Wordpress powered sites was one of the <a href="http://comox.textdrive.com/pipermail/wp-hackers/2007-August/013828.html">suggestions I offered</a> humbly to the Wordpress team back in August 2007. Happy to note that it&#8217;s now in place in the latest Wordpress update (version 2.3.2), as <a href="http://wordpress.org/development/2007/12/wordpress-232/">Ryan notes</a>:</p>
<blockquote cite="http://wordpress.org/development/2007/12/wordpress-232/" title="Ryan Boren: Wordpress 2.3.2"><p>As a little bonus, [version] 2.3.2 allows you to define a custom DB error page. Place your custom template at wp-content/db-error.php. If WP has a problem connecting to your database, this page will [be] displayed rather than the default error message.</p></blockquote>
<p>It is important to note that the custom db error page file is not under the theme folder, but rather in <code>wp-content</code> folder. Also, it is important to avoid using any template tag (in <code>db-error.php</code>)<sup>1</sup> that queries the database for stored information; because when the database is down, you cannot get a reply back from the database to show the queried info on the error page. Obvious, but if it wasn&#8217;t to you, then you know now.</p>
<p>As always, Wordpress team listens&#8212;that&#8217;s something I really like about them. It doesn&#8217;t matter who you are, your suggestions are always considered. That&#8217;s the strength of the community.</p>
<ol class="footnotes">
<li id="footnote_0_1701" class="footnote">I use plain html/php coded content in my <code>db-error.php</code> file.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fpersonalize-db-errors-now-with-wordpress-232&amp;seed_title=Personalize+db+errors+now+with+Wordpress+2.3.2/feed</wfw:commentRss>
		</item>
		<item>
		<title>To hell and back</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fto-hell-and-back&amp;seed_title=To+hell+and+back</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fto-hell-and-back&amp;seed_title=To+hell+and+back#comments</comments>
		<pubDate>Wed, 06 Jun 2007 08:29:54 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Noteworthy]]></category>

		<category><![CDATA[Server side]]></category>

		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://ckunte.com/archives/to-hell-and-back</guid>
		<description><![CDATA[Dave Shea sees hell like I have in the past. Here&#8217;s my account of: I got cracked and how. This incident forced me to look at security that&#8212;I thought previously&#8212;wasn&#8217;t my job. I almost hung my boots up in the process. 
Following this, I wrote a few connected posts: Why phishing works, Clarity of links [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://mezzoblue.com/archives/2007/06/05/unsettling/">Dave Shea sees hell</a> like I have in the past. Here&#8217;s my account of: <a href="http://ckunte.com/archives/i-got-cracked">I got cracked</a> and <a href="http://ckunte.com/archives/how-did-it-happen">how</a>. This incident forced me to look at security that&#8212;I thought previously&#8212;wasn&#8217;t my job. <a href="http://ckunte.com/archives/hanging-up-goodbye-from-ckuntecom">I almost hung my boots up</a> in the process. <span id="more-1486"></span></p>
<p>Following this, I wrote a few connected posts: <a href="http://ckunte.com/archives/why-phishing-works">Why phishing works</a>, <a href="http://ckunte.com/archives/clarity-of-links">Clarity of links</a> and <a href="http://ckunte.com/archives/pharming-on-the-web-using-blogs">Pharming on the web using blogs</a>. The point is&#8212;if you make publishing online your business, then there are no excuses for not making its security your business too. </p>
<p>Here&#8217;s what I do to ensure my site&#8217;s relative security:</p>
<ul>
<li>I choose a host, first based on recommendation, good track record.</li>
<li>I keep my (blogging, content management) software up to date.</li>
<li>I use sFTP (in passive mode) and SSH to connect to my site for uploading, downloading and modifying things there.</li>
<li>I use file permissions with care.</li>
<li>I take weekly backups&#8212;all files (at least the modified ones) and databases.</li>
<li>I avoid inserting unknown scripts (of any kind, particularly javascripts) in my pages. (They pose security threats&#8212;open back doors to your site on your server.)</li>
<li>I pay attention to server logs. (They often have a story to tell. Note: server logs and stat services aren&#8217;t one and the same. Usually stat services are unaware of happenings on your server.)</li>
<li>I pay special attention to modified files on server.</li>
<li>I hear warning bells when people, security consultants tell me that my site is acting like Paypal&#8217;s or some bank&#8217;s login. (This is when shit has already hit the fan; and I&#8217;ve been there once before.)</li>
</ul>
<p>Any additional site security tips are most welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fto-hell-and-back&amp;seed_title=To+hell+and+back/feed</wfw:commentRss>
		</item>
		<item>
		<title>On searching intranets</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fon-searching-intranets&amp;seed_title=On+searching+intranets</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fon-searching-intranets&amp;seed_title=On+searching+intranets#comments</comments>
		<pubDate>Fri, 11 May 2007 05:34:07 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[KM]]></category>

		<category><![CDATA[Server side]]></category>

		<guid isPermaLink="false">http://ckunte.com/archives/on-searching-intranets</guid>
		<description><![CDATA[I simply fail to understand why intranets don&#8217;t make search the focal point for everything they host. Isn&#8217;t that how internet primarily works? I can&#8217;t say I haven&#8217;t tried. In fact, I like it so good that I miss it in every local portal I probe. 
Open up your corporate portal and try that search [...]]]></description>
			<content:encoded><![CDATA[<p>I simply fail to understand why <a href="http://ckunte.com/index.php?s=intranet">intranets</a> don&#8217;t make search <em>the</em> focal point for everything they host. Isn&#8217;t that how internet primarily works? <a href="http://ckunte.com/archives/power-up-those-intranets">I can&#8217;t say I haven&#8217;t tried</a>. In fact, <a href="http://ckunte.com/archives/gateway-2">I like it</a> so good that I miss it in every local portal I probe. <span id="more-1303"></span></p>
<p>Open up your corporate portal and try that search bar for something, anything. And tell me, if all you get is a puke of raw incomprehensible text<sup>1</sup> listing.</p>
<p>The only plausible conclusion I can draw is that people involved in design are either incapable of understanding that their portals are most usable when combined with an effective<sup>2</sup> search or, are incapable of implementing such a thing. Or may be both.</p>
<p><strong>How should it be?</strong> &#8212; For starters, how about a readable title followed by a decent two-line summary, list of categories associated (for further narrowing down on similar / related items), date created or updated, targeted for specific groups, department, etc if any.
<ol class="footnotes">
<li id="footnote_0_1303" class="footnote">If you don&#8217;t, then I&#8217;d say you&#8217;re truly blessed.</li>
<li id="footnote_1_1303" class="footnote">I&#8217;d say effective, because there are tons of crappy options (as in software, services) that only give you a search bar and no results; or give you a myriad of options, as filters, that you don&#8217;t want or don&#8217;t know how to choose from, for the fear of not finding anything.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fon-searching-intranets&amp;seed_title=On+searching+intranets/feed</wfw:commentRss>
		</item>
		<item>
		<title>Upgrading Wordpress over a dial-up</title>
		<link>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fupgrading-wordpress-over-a-dial-up&amp;seed_title=Upgrading+Wordpress+over+a+dial-up</link>
		<comments>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fupgrading-wordpress-over-a-dial-up&amp;seed_title=Upgrading+Wordpress+over+a+dial-up#comments</comments>
		<pubDate>Sun, 29 Oct 2006 15:17:43 +0000</pubDate>
		<dc:creator>Chyetanya Kunte</dc:creator>
		
		<category><![CDATA[Server side]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ckunte.com/archives/2006/10/29/upgrading-wordpress-over-a-dial-up</guid>
		<description><![CDATA[One of the things I hate about transferring files over sftp is that it&#8217;s awfully slow. Trying a Wordpress upgrade file by file, from a dial-up line, using sftp, can be a very foolish thing to do. At least, as far as the amount of time and effort, this task takes (read timeouts, multiple sessions, [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I hate about transferring files over sftp is that it&#8217;s awfully slow. Trying a Wordpress upgrade file by file, from a dial-up line, using sftp, can be a very foolish thing to do. At least, as far as the amount of time and effort, this task takes (read timeouts, multiple sessions, et al).</p>
<p>If you&#8217;re on a dial-up (or even connecting via a decent broadband), then the best and painless way to upgrade is via <a href="http://en.wikipedia.org/wiki/Secure_Shell">SSH</a>. (Subversion is a far cooler method, but your domain server needs to be set-up for this.)</p>
<p>I use a combination of <a href="http://www.smartftp.com/">Smartftp</a> and <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a> (the SSH client).  SmartFtp to upload the tar file to a temporary folder on my host. PuTTY for extracting the tar.gz file archive and writing over old <a href="http://wordpress.org/download/">wordpress</a> files. <a href="http://codex.wordpress.org/Upgrading_WordPress">Detailed instructions</a> on howto do this are on <a href="http://codex.wordpress.org/">Codex</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ckunte.com/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fckunte.com%2Farchives%2Fupgrading-wordpress-over-a-dial-up&amp;seed_title=Upgrading+Wordpress+over+a+dial-up/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
