<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>arun@arunnsblog [~]$</title>
	
	<link>http://arunnsblog.com</link>
	<description>Arun's Technical blog, about linux and related technologies</description>
	<lastBuildDate>Fri, 03 May 2013 20:42:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Arunnsblogcom" /><feedburner:info uri="arunnsblogcom" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Arunnsblogcom</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Configure apache solr with tomcat</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/537LqUHaCEM/</link>
		<comments>http://arunnsblog.com/2013/05/03/configure-apache-solr-with-tomcat/#comments</comments>
		<pubDate>Fri, 03 May 2013 20:42:58 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[apache solr]]></category>
		<category><![CDATA[apache solr tomcat 6]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=755</guid>
		<description><![CDATA[Install tomcat $ sudo yum install tomcat6 Download and extract apache solr : http://lucene.apache.org/solr/ $ cp apache-solr-3.6.2.war /var/lib/tomcat6/webapps/solr.war $ cp -r /data/apache-solr-3.6.2/example/solr /var/lib/tomcat6/ $ cat /etc/tomcat6/Catalina/localhost/solr.xml $ chown -R tomcat: /var/lib/tomcat6/solr/ $ sudo service tomcat6 restart Access url : http://&#60;server_name/ip&#62;:8080/solr/admin]]></description>
				<content:encoded><![CDATA[<p>Install tomcat</p>
<blockquote><p>$ sudo yum install tomcat6</p></blockquote>
<p>Download and extract apache solr : http://lucene.apache.org/solr/</p>
<blockquote><p>
$ cp apache-solr-3.6.2.war /var/lib/tomcat6/webapps/solr.war<br />
$ cp -r /data/apache-solr-3.6.2/example/solr /var/lib/tomcat6/</p>
<p>$ cat /etc/tomcat6/Catalina/localhost/solr.xml<br />
$ chown -R tomcat: /var/lib/tomcat6/solr/<br />
$ sudo service tomcat6 restart</p></blockquote>
<p>Access url : http://&lt;server_name/ip&gt;:8080/solr/admin</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/537LqUHaCEM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/05/03/configure-apache-solr-with-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/05/03/configure-apache-solr-with-tomcat/</feedburner:origLink></item>
		<item>
		<title>Virus scanning for file uploads with clamav/php</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/n2cWOCnPBz0/</link>
		<comments>http://arunnsblog.com/2013/04/20/virus-scanning-for-file-uploads-with-clamavphp/#comments</comments>
		<pubDate>Sat, 20 Apr 2013 12:29:44 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[clamav]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[integrate antivirus with uploads]]></category>
		<category><![CDATA[LibClamAV Error: cl_load(): Can't get status of /var/lib/clamav]]></category>
		<category><![CDATA[php-clamav]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=751</guid>
		<description><![CDATA[Download and install the following packages, in case your repository has those package just use the management tool to install. Ubuntu/Debian/Mint # apt-get install clamav clamav-db clamd clamav-devel php-devel Redhat # yum install php-devel # wget http://pkgs.repoforge.org/clamav/clamav-0.97.7-1.el5.rf.i386.rpm # wget http://pkgs.repoforge.org/clamav/clamav-db-0.97.7-1.el5.rf.i386.rpm # wget http://pkgs.repoforge.org/clamav/clamd-0.97.7-1.el5.rf.i386.rpm # wget http://pkgs.repoforge.org/clamav/clamav-devel-0.97.7-1.el5.rf.i386.rpm # rpm -Uvh clam* # freshclam # service clamd [...]]]></description>
				<content:encoded><![CDATA[<p>Download and install the following packages, in case your repository has those package just use the management tool to install.</p>
<p>Ubuntu/Debian/Mint</p>
<blockquote><p># apt-get install clamav clamav-db clamd clamav-devel php-devel</p></blockquote>
<p>Redhat</p>
<blockquote><p># yum install php-devel<br />
# wget http://pkgs.repoforge.org/clamav/clamav-0.97.7-1.el5.rf.i386.rpm<br />
# wget http://pkgs.repoforge.org/clamav/clamav-db-0.97.7-1.el5.rf.i386.rpm<br />
# wget http://pkgs.repoforge.org/clamav/clamd-0.97.7-1.el5.rf.i386.rpm<br />
# wget http://pkgs.repoforge.org/clamav/clamav-devel-0.97.7-1.el5.rf.i386.rpm<br />
# rpm -Uvh clam*<br />
# freshclam<br />
# service clamd start</p></blockquote>
<p><strong>Configure php-clamav</strong></p>
<p>Download php-clamav from from sf.net</p>
<blockquote><p># wget http://downloads.sourceforge.net/project/php-clamav/0.15/php-clamav_0.15.7.tar.gz<br />
# tar xvzf php-clamav_0.15.7.tar.gz<br />
# cd php-clamav-0.15.7/<br />
# phpize<br />
#./configure &#8211;with-clamav<br />
# make<br />
# cp modules/clamav.so /usr/lib/php/modules/</p></blockquote>
<p>Add the modules to php.ini if required.</p>
<blockquote><p>extension=clamav.so</p></blockquote>
<p>Make sure the module is loaded</p>
<blockquote><p># php -i | grep -i clam<br />
clamav</p></blockquote>
<p>Incase you see the following error create a symlink to clamav path<br />
LibClamAV Error: cl_load(): Can&#8217;t get status of /var/lib/clamav</p>
<blockquote><p># ln -s /var/clamav /var/lib/clamav</p></blockquote>
<p>Test script<br />
Get the testing virus file from http://www.eicar.org/86-0-Intended-use.html and save it on a file (eg: /tmp/virus.txt)</p>
<p>Create a php script:<br />
cat &gt; check_virus.php<br />
<!--?php $file = '/tmp/virus.txt'; $retcode = cl_scanfile($file, $virusname); if ($retcode == CL_VIRUS) { echo ."Virus found name : ".$virusname; } else { echo .cl_pretcode($retcode); } ?--></p>
<blockquote><p>&lt;?php<br />
$file = &#8216;/tmp/testing.txt&#8217;;<br />
$retcode = cl_scanfile($file, $virusname);<br />
if ($retcode == CL_VIRUS) {<br />
echo .&#8221;Virus found name : &#8220;.$virusname;<br />
} else {<br />
echo .cl_pretcode($retcode);<br />
}<br />
?&gt;</p>
<p>$ php check_virus.php<br />
Virus found name : Eicar-Test-Signature</p></blockquote>
<p>./arun</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/n2cWOCnPBz0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/04/20/virus-scanning-for-file-uploads-with-clamavphp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/04/20/virus-scanning-for-file-uploads-with-clamavphp/</feedburner:origLink></item>
		<item>
		<title>Create CSR and implement in apache</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/UyeWJ1qfvxM/</link>
		<comments>http://arunnsblog.com/2013/04/03/creating-csr-and-implement-in-apache/#comments</comments>
		<pubDate>Wed, 03 Apr 2013 19:56:21 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Creating CSR and implement in apache]]></category>
		<category><![CDATA[CSR]]></category>
		<category><![CDATA[generate CSR]]></category>
		<category><![CDATA[implement verisign certificate in apache]]></category>
		<category><![CDATA[intermediate certificate]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=746</guid>
		<description><![CDATA[These steps are used to generate a CSR to get the SSL certificate signed with verisign. The filenames used are just examples. $ /usr/bin/openssl genrsa -rand /dev/urandom -out &#60;web_root&#62;/domain_name.key 2048 $ /usr/bin/openssl req -new -key &#60;web_root&#62;/domain_name.key -out &#60;web_root&#62;/domain_name.csr Country Name (2 letter code) [GB]: State or Province Name (full name) [Berkshire]: Locality Name (eg, city) [...]]]></description>
				<content:encoded><![CDATA[<p>These steps are used to generate a CSR to get the SSL certificate signed with verisign. The filenames used are just examples.</p>
<blockquote><p>$ /usr/bin/openssl genrsa -rand /dev/urandom -out &lt;web_root&gt;/domain_name.key 2048<br />
$ /usr/bin/openssl req -new -key &lt;web_root&gt;/domain_name.key -out &lt;web_root&gt;/domain_name.csr</p>
<p>Country Name (2 letter code) [GB]:<br />
State or Province Name (full name) [Berkshire]:<br />
Locality Name (eg, city) [Newbury]:<br />
Organization Name (eg, company) [My Company Ltd]:<br />
Organizational Unit Name (eg, section) []:<br />
Common Name (eg, your name or your server&#8217;s hostname) []:&lt;make sure it matches exactly with your domain&gt;<br />
Email Address []:</p></blockquote>
<p>Create the certificate without passphrase if you dont want passphrase to be prompted for every webserver restart.</p>
<p>Upload the CSR to the Certificate Authority and get the signed certificate and save it as domain_name.crt. If it is from verisign get both intermediate certificates and add it to a file (eg: intermediate.ca.crt)</p>
<p>In virtual host configuration</p>
<blockquote><p>SSLEngine on</p>
<p>SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:+EXP:!EXP-EDH-RSA-DES-CBC-SHA:!EXP-DES-CBC-SHA!EXP-RC2-CBC-MD5!EXP-RC4-MD5</p>
<p>SSLCertificateFile &lt;web_root&gt;/domain_name.crt</p>
<p>SSLCertificateKeyFile &lt;web_root&gt;/domain_name.key</p>
<p>SSLCACertificateFile &lt;web_root&gt;/intermediate.ca.crt</p></blockquote>
<p>Restart webservice and verify the certificate, you may use the verisign cert checker (https://ssl-tools.verisign.com/#certChecker)</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/UyeWJ1qfvxM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/04/03/creating-csr-and-implement-in-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/04/03/creating-csr-and-implement-in-apache/</feedburner:origLink></item>
		<item>
		<title>Install rich text editor in mediawiki</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/u0s6xJThWvw/</link>
		<comments>http://arunnsblog.com/2013/04/03/install-rich-text-editor-in-mediawiki/#comments</comments>
		<pubDate>Wed, 03 Apr 2013 19:43:26 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Install rich text editor in mediawiki]]></category>
		<category><![CDATA[mediawiki]]></category>
		<category><![CDATA[WYSIWYG mediawiki]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=743</guid>
		<description><![CDATA[The WYSIWYG extension enables a more intuitive editing of pages on a MediaWiki-based site Download the package suitable for your mediawiki version http://www.mediawiki.org/wiki/Extension:WYSIWYG#Download $ unzip WYSIWYG.zip $ cp -prf WYSIWYG $media_wiki/extensions/ $ vi LocalSettings.php added require_once(&#8220;$IP/extensions/WYSIWYG/WYSIWYG.php&#8221;); $wgGroupPermissions['*']['wysiwyg']=true; $wgGroupPermissions['registered_users']['wysiwyg']=true; define permissions as per your requirements.]]></description>
				<content:encoded><![CDATA[<p>The WYSIWYG extension enables a more intuitive editing of pages on a MediaWiki-based site</p>
<p>Download the package suitable for your mediawiki version</p>
<blockquote><p>http://www.mediawiki.org/wiki/Extension:WYSIWYG#Download</p>
<p>$ unzip WYSIWYG.zip</p>
<p>$ cp -prf WYSIWYG</p>
<p>$media_wiki/extensions/</p>
<p>$ vi LocalSettings.php added</p>
<p>require_once(&#8220;$IP/extensions/WYSIWYG/WYSIWYG.php&#8221;);</p>
<p>$wgGroupPermissions['*']['wysiwyg']=true;</p>
<p>$wgGroupPermissions['registered_users']['wysiwyg']=true;</p></blockquote>
<p>define permissions as per your requirements.</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/u0s6xJThWvw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/04/03/install-rich-text-editor-in-mediawiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/04/03/install-rich-text-editor-in-mediawiki/</feedburner:origLink></item>
		<item>
		<title>Install multiple python in Linux</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/mMCYHacgPBQ/</link>
		<comments>http://arunnsblog.com/2013/03/25/install-multiple-python-in-linux/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 12:39:23 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Install python2.7 on Redhat]]></category>
		<category><![CDATA[multiple python in linux]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=734</guid>
		<description><![CDATA[$ wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz $ tar xvzf Python-2.7.3.tgz $ cd Python-2.7.3 $ ./configure $ make $ sudo make altinstall // do not use make install it might break the // system python dependent packages, otherwise use a different prefix // during compile.]]></description>
				<content:encoded><![CDATA[<pre>$ wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz
$ tar xvzf Python-2.7.3.tgz
$ cd Python-2.7.3
$ ./configure
$ make 
$ sudo make altinstall 
// do not use make install it might break the 
// system python dependent packages, otherwise use a different prefix
// during compile.</pre>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/mMCYHacgPBQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/03/25/install-multiple-python-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/03/25/install-multiple-python-in-linux/</feedburner:origLink></item>
		<item>
		<title>Upgrade php to 5.3 – directadmin</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/2HUnQg-BSy8/</link>
		<comments>http://arunnsblog.com/2013/02/24/upgrade-php-to-5-3-in-with-direct-admin/#comments</comments>
		<pubDate>Sun, 24 Feb 2013 09:18:32 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[DirectAdmin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[requires the ionCube PHP Loader]]></category>
		<category><![CDATA[Upgrade php in direct admin]]></category>
		<category><![CDATA[upgrade php to 5.3]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=729</guid>
		<description><![CDATA[# cd /usr/local/directadmin/custombuild # ./build set php5_ver 5.3 # ./build update # ./build php n # /etc/init.d/httpd restart This may break your softaculous, if it cannot load the correct ioncube. Site error: the file /usr/local/directadmin/plugins/softaculous/images/inc.php requires the ionCube PHP Loader ioncube_loader_lin_5.3.so to be installed by the site administrator. Edit your php.ini to fix it # [...]]]></description>
				<content:encoded><![CDATA[<pre># cd /usr/local/directadmin/custombuild
# ./build set php5_ver 5.3
# ./build update
# ./build php n</pre>
<pre># /etc/init.d/httpd restart</pre>
<p>This may break your softaculous, if it cannot load the correct ioncube.</p>
<address>Site error: the file /usr/local/directadmin/plugins/softaculous/images/inc.php requires the ionCube PHP Loader ioncube_loader_lin_5.3.so to be installed by the site administrator.</address>
<p>Edit your php.ini to fix it</p>
<pre># vi /usr/local/directadmin/plugins/softaculous/php.ini</pre>
<pre>zend_extension = "/usr/local/ioncube/ioncube_loader_lin_5.3.so" // replace it with correct path</pre>
<pre># /etc/init.d/httpd restart</pre>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/2HUnQg-BSy8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/02/24/upgrade-php-to-5-3-in-with-direct-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/02/24/upgrade-php-to-5-3-in-with-direct-admin/</feedburner:origLink></item>
		<item>
		<title>Install Raspbmc media center on RaspberryPi</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/pyVRVLo1HBw/</link>
		<comments>http://arunnsblog.com/2013/02/19/install-raspbmc-media-center-on-raspberrypi/#comments</comments>
		<pubDate>Tue, 19 Feb 2013 18:47:08 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[Raspbian and XBMC.]]></category>
		<category><![CDATA[Raspbmc install from MAC OS X]]></category>
		<category><![CDATA[XBMC on RaspberryPi]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=718</guid>
		<description><![CDATA[Eventhoug I am happy with xbian , was just trying Raspbmc as well Raspbmc  media center for the Raspberry Pi and is based on Raspbian and XBMC. All credits go to Sam Nazarko, Thanks for excellent work. Reference: http://www.raspbmc.com/, You may use XPi Installer instead of the following method, http://www.xbmchub.com/blog/2012/11/02/installing-xbian-to-raspberry-pi-from-mac/ Install raspbmc on SDcard from [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_719" class="wp-caption aligncenter" style="width: 235px"><a href="http://arunnsblog.com/2013/02/19/install-raspbmc-media-center-on-raspberrypi/20130219_214205/" rel="attachment wp-att-719"><img class="size-medium wp-image-719" alt="RASPBMC" src="http://arunnsblog.com/wp-content/uploads/2013/02/20130219_214205-e1361299522755-225x300.jpg" width="225" height="300" /></a><p class="wp-caption-text">RASPBMC</p></div>
<p>Eventhoug I am happy with <a href="http://xbian.org/" target="_blank">xbian </a> , was just trying Raspbmc as well <img src='http://arunnsblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Raspbmc  media center for the Raspberry Pi and is based on <a title="Raspbian" href="http://en.wikipedia.org/wiki/Raspbian">Raspbian</a> and <a title="XBMC" href="http://en.wikipedia.org/wiki/XBMC">XBMC</a>.</p>
<p>All credits go to Sam Nazarko, Thanks for excellent work.</p>
<p>Reference: <a href="http://www.raspbmc.com/" target="_blank">http://www.raspbmc.com/, </a></p>
<p>You may use XPi Installer instead of the following method, http://www.xbmchub.com/blog/2012/11/02/installing-xbian-to-raspberry-pi-from-mac/</p>
<p>Install raspbmc on SDcard from MAC OSX / Linux / Windows ,</p>
<p>Download the raspbmc, change permission and execute. Make sure that you select the correct disk ( verify the info from disk utilities in MAC OS X)</p>
<pre>$ curl -O http://svn.stmlabs.com/svn/raspbmc/testing/installers/python/install.py
$ chmod u+x install.py
$ sudo python install.py 
Raspbmc installer for Linux and OS X

http://raspbmc.com

----------------------------------------
Please ensure you've inserted your SD card, and press Enter to continue.
Enter the 'IDENTIFIER' of the device you would like imaged:
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *120.0 GB   disk0
   0:      GUID_partition_scheme                        *500.1 GB   disk1
   0:                  Apple_HFS Macintosh HD           *118.7 GB   disk2
   0:     Apple_partition_scheme                        *17.4 MB    disk3
   0:     FDisk_partition_scheme                        *15.9 GB    disk4
Enter your choice here (e.g. 'disk1', 'disk2'): disk4
It is your own responsibility to ensure there is no data loss! Please backup your system before imaging
You should also ensure you agree with the Raspbmc License Agreeement
Are you sure you want to install Raspbmc to '/dev/disk4' and accept the license agreement? [y/N] y
Downloading, please be patient...
Downloaded 16.35 of 16.35 MiB (100.00%)
Unmounting all partitions...
Unmount of all volumes on disk4 was successful
Please wait while Raspbmc is installed to your SD card...
This may take some time and no progress will be reported until it has finished.
0+1173 records in
0+1173 records out
76800000 bytes transferred in 14.809589 secs (5185829 bytes/sec)
Installation complete.
Would you like to setup your post-installation settings [ADVANCED]? [y/N]N</pre>
<ul>
<li>Once the installation is completed, eject it from the system.</li>
<li>Insert the sdcard to RaspberryPi.</li>
<li>Connect the RaspberryPi using Ethernet cable, continue with the post installation steps.</li>
</ul>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/pyVRVLo1HBw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/02/19/install-raspbmc-media-center-on-raspberrypi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/02/19/install-raspbmc-media-center-on-raspberrypi/</feedburner:origLink></item>
		<item>
		<title>Create NAS/SAN storage with openfiler, work with VMware ESXi as shared storage</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/sWbXY7nputw/</link>
		<comments>http://arunnsblog.com/2013/02/18/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/#comments</comments>
		<pubDate>Mon, 18 Feb 2013 20:39:45 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Create NAS/SAN storage with openfiler]]></category>
		<category><![CDATA[openfiler]]></category>
		<category><![CDATA[work with VMware ESXi as shared storage]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=674</guid>
		<description><![CDATA[- Download the openfiler installation ISO , download link I have downloaded the Installation ISO image (x86/64). Basically we need to create open filer as a virtual machine with say 20 GB thin provisioning, and attach another disk/datastore to the virtual machine to configure it as SAN. - Download and install  the Installation ISO image [...]]]></description>
				<content:encoded><![CDATA[<p>- Download the openfiler installation ISO , <a href="http://www.openfiler.com/community/download/" target="_blank">download link</a></p>
<p>I have downloaded the Installation ISO image (x86/64).</p>
<p>Basically we need to create open filer as a virtual machine with say 20 GB thin provisioning, and attach another disk/datastore to the virtual machine to configure it as SAN.</p>
<p>- Download and install  the Installation ISO image (x86/64) as a virtual machine, noting fancy here just do a normal installation.</p>
<p>- Once rebooted you get a web interface to login on port 446, https://&lt; ip &gt; :446/</p>
<p>- Login with username: <strong>openfiler</strong>, and password: <strong>password</strong></p>
<p><strong>Network access configuration:</strong></p>
<p>set up network access configuration, enter the Network/Host , who are allowed to access.</p>
<p>System &#8211;&gt; Network Access Configuration</p>
<div id="attachment_683" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-24-00-pm/" rel="attachment wp-att-683"><img class="size-medium wp-image-683" alt="Network Access Config" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.24.00-PM-300x101.png" width="300" height="101" /></a><p class="wp-caption-text">Network Access Config</p></div>
<div id="attachment_682" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-24-10-pm/" rel="attachment wp-att-682"><img class="size-medium wp-image-682" alt="Network Access Config" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.24.10-PM-300x132.png" width="300" height="132" /></a><p class="wp-caption-text">Network Access Config</p></div>
<p><strong>Create a new physical volume</strong></p>
<p>Volumes &#8211;&gt; Block devices</p>
<div id="attachment_684" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-25-11-pm/" rel="attachment wp-att-684"><img class="size-medium wp-image-684" alt="Create Physical Volume" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.25.11-PM-300x92.png" width="300" height="92" /></a><p class="wp-caption-text">Create Physical Volume</p></div>
<p>Click on Edit devices on the hard disk where we going to create new physical volume, this is the extra hard drive we added to the virtual machine at the beginning. (/dev/sdb)</p>
<p>&nbsp;</p>
<div id="attachment_685" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-25-34-pm/" rel="attachment wp-att-685"><img class="size-medium wp-image-685" alt="Create Physical Volume" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.25.34-PM-300x45.png" width="300" height="45" /></a><p class="wp-caption-text">Create Physical Volume</p></div>
<p>Select Physical volume as your partition type ( assuming that you are not using RAID), and set the mode to Primary, click create.</p>
<div id="attachment_686" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-25-56-pm/" rel="attachment wp-att-686"><img class="size-medium wp-image-686" alt="Create Physical Volume" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.25.56-PM-300x162.png" width="300" height="162" /></a><p class="wp-caption-text">Create Physical Volume</p></div>
<p><strong>Create new Volume Group</strong></p>
<p>Let us create a volume group for the physical volumes</p>
<p>Volumes &#8211;&gt; Volume groups , enter a group name and select the physical drive and click Add volume</p>
<div id="attachment_687" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-27-01-pm/" rel="attachment wp-att-687"><img class="size-medium wp-image-687" alt="Create volume group" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.27.01-PM-300x216.png" width="300" height="216" /></a><p class="wp-caption-text">Create volume group</p></div>
<p>&nbsp;</p>
<div id="attachment_688" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-27-14-pm/" rel="attachment wp-att-688"><img class="size-medium wp-image-688" alt="Create volume group" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.27.14-PM-300x63.png" width="300" height="63" /></a><p class="wp-caption-text">Create volume group</p></div>
<p><strong>Create the Volume</strong></p>
<p>Volume &#8211;&gt; Add Volume</p>
<p>Enter Volume Name , Description, required space and select File System block.</p>
<div id="attachment_689" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-28-09-pm/" rel="attachment wp-att-689"><img class="size-medium wp-image-689" alt="Create Volume" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.28.09-PM-300x147.png" width="300" height="147" /></a><p class="wp-caption-text">Create Volume</p></div>
<div id="attachment_690" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-28-17-pm/" rel="attachment wp-att-690"><img class="size-medium wp-image-690" alt="Create Volume" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.28.17-PM-300x52.png" width="300" height="52" /></a><p class="wp-caption-text">Create Volume</p></div>
<p>Now Enable and Add  iSCSI Target</p>
<p>Services &#8211;&gt; iSCSI Target Enable, Start</p>
<div id="attachment_691" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-28-46-pm/" rel="attachment wp-att-691"><img class="size-medium wp-image-691" alt="Start iSCSI target" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.28.46-PM-300x22.png" width="300" height="22" /></a><p class="wp-caption-text">Start iSCSI target</p></div>
<p>Volumes &#8211;&gt; iSCSI Targets &#8211;&gt; Target Configuration &#8211;&gt; Add new iSCSI Target</p>
<div id="attachment_703" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-29-26-pm/" rel="attachment wp-att-703"><img class="size-medium wp-image-703" alt="Add new iSCSI target" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.29.26-PM-300x109.png" width="300" height="109" /></a><p class="wp-caption-text">Add new iSCSI target</p></div>
<p>Setup the LUN Mapping and allow access to iSCSI target</p>
<div id="attachment_704" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-29-51-pm/" rel="attachment wp-att-704"><img class="size-medium wp-image-704" alt="Setup LUN Mapping" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.29.51-PM-300x62.png" width="300" height="62" /></a><p class="wp-caption-text">Setup LUN Mapping</p></div>
<p>&nbsp;</p>
<div id="attachment_705" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-30-10-pm/" rel="attachment wp-att-705"><img class="size-medium wp-image-705" alt="Allow access to iSCSI target" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.30.10-PM-300x102.png" width="300" height="102" /></a><p class="wp-caption-text">Allow access to iSCSI target</p></div>
<p>Now the open filer is ready to use.</p>
<p>In VMware ESXi</p>
<p>Create new VMKernel network adapter to use for iSCSI connection</p>
<div id="attachment_706" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-43-34-pm/" rel="attachment wp-att-706"><img class="size-medium wp-image-706" alt="VMKernel Adapter" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.43.34-PM-300x142.png" width="300" height="142" /></a><p class="wp-caption-text">VMKernel Adapter</p></div>
<div id="attachment_707" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-10-at-7-43-54-pm/" rel="attachment wp-att-707"><img class="size-medium wp-image-707" alt="VMKernel Adapter" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-10-at-7.43.54-PM-300x170.png" width="300" height="170" /></a><p class="wp-caption-text">VMKernel Adapter</p></div>
<div id="attachment_709" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-18-at-11-33-50-pm/" rel="attachment wp-att-709"><img class="size-medium wp-image-709" alt="VMKernel Adapter" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-18-at-11.33.50-PM-300x203.png" width="300" height="203" /></a><p class="wp-caption-text">VMKernel Adapter</p></div>
<p>Click on storage adapter &#8211;&gt; Add new</p>
<div id="attachment_710" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-18-at-11-35-00-pm/" rel="attachment wp-att-710"><img class="size-medium wp-image-710" alt="Add storage adapter" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-18-at-11.35.00-PM-300x150.png" width="300" height="150" /></a><p class="wp-caption-text">Add storage adapter</p></div>
<p>Click on properties, add the VMkernel switch and the discover the iSCSI target.</p>
<div id="attachment_711" class="wp-caption alignnone" style="width: 266px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-18-at-11-35-32-pm/" rel="attachment wp-att-711"><img class="size-medium wp-image-711" alt="Add VMKernel to iSCSI adapter" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-18-at-11.35.32-PM-256x300.png" width="256" height="300" /></a><p class="wp-caption-text">Add VMKernel to iSCSI adapter</p></div>
<div id="attachment_712" class="wp-caption alignnone" style="width: 266px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-18-at-11-35-44-pm/" rel="attachment wp-att-712"><img class="size-medium wp-image-712" alt="Dynamic discovery" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-18-at-11.35.44-PM-256x300.png" width="256" height="300" /></a><p class="wp-caption-text">Dynamic discovery</p></div>
<p>Now your ESXi will show the openfiler as a datastore <img src='http://arunnsblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_713" class="wp-caption alignnone" style="width: 310px"><a href="http://arunnsblog.com/2013/02/12/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/screen-shot-2013-02-18-at-11-40-29-pm/" rel="attachment wp-att-713"><img class="size-medium wp-image-713" alt="Openfiler datastore" src="http://arunnsblog.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-18-at-11.40.29-PM-300x221.png" width="300" height="221" /></a><p class="wp-caption-text">Openfiler datastore</p></div>
<p>More information about Openfiler:</p>
<p>http://www.openfiler.com/products</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/sWbXY7nputw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/02/18/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/02/18/create-nassan-storage-with-openfiler-work-with-vmware-esxi-as-shared-storage/</feedburner:origLink></item>
		<item>
		<title>Configure static IP on Raspberry Pi</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/UaGJQ0DBg4g/</link>
		<comments>http://arunnsblog.com/2013/02/18/configure-static-ip-on-raspberry-pi/#comments</comments>
		<pubDate>Mon, 18 Feb 2013 12:32:21 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[Configure static IP raspberrypi]]></category>
		<category><![CDATA[configure static ip wlan0]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=693</guid>
		<description><![CDATA[Some access points does not deliver DHCP to the raspberrypi. You could assign the IP statically as follows: Edit the /etc/network/interfaces file Comment out the following lines. &#62; #allow-hotplug wlan0 &#62; #wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf &#62; #iface eth0 inet manual Add following configs. auto lo iface eth0 inet dhcp auto wlan0 iface wlan0 inet static address x.x.x.x [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_694" class="wp-caption aligncenter" style="width: 310px"><a href="http://arunnsblog.com/2013/02/18/configure-static-ip-on-raspberry-pi/20130218_103243/" rel="attachment wp-att-694"><img class="size-medium wp-image-694" alt="RaspberryPi" src="http://arunnsblog.com/wp-content/uploads/2013/02/20130218_103243-300x225.jpg" width="300" height="225" /></a><p class="wp-caption-text">RaspberryPi</p></div>
<p>Some access points does not deliver DHCP to the raspberrypi. You could assign the IP statically as follows:</p>
<pre>Edit the /etc/network/interfaces file</pre>
<p>Comment out the following lines.</p>
<blockquote>
<pre>&gt; #allow-hotplug wlan0
&gt; #wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
&gt; #iface eth0 inet manual</pre>
</blockquote>
<p>Add following configs.</p>
<blockquote>
<pre>auto lo 
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet static
address x.x.x.x
netmask x.x.x.x
gateway x.x.x.x
pre-up wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B</pre>
</blockquote>
<p>Re-enable the interface.</p>
<blockquote>
<pre>ifdown wlan0
ifup wlan0</pre>
</blockquote>
<p>Configure the name server if required.</p>
<blockquote>
<pre>/etc/resolv.conf
nameserver x.x.x.x</pre>
</blockquote>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/UaGJQ0DBg4g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/02/18/configure-static-ip-on-raspberry-pi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/02/18/configure-static-ip-on-raspberry-pi/</feedburner:origLink></item>
		<item>
		<title>Convert multiple JPEG to single PDF MAC OS</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/rRJQBjymU6k/</link>
		<comments>http://arunnsblog.com/2013/02/12/convert-multiple-jpeg-to-single-pdf-mac-os/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 08:42:44 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[MAC OS X]]></category>
		<category><![CDATA[Convert multiple JPEG to single PDF MAC OS]]></category>
		<category><![CDATA[image to pdf]]></category>
		<category><![CDATA[jpeg to pdf]]></category>
		<category><![CDATA[MAC tips]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=677</guid>
		<description><![CDATA[It is rather easy to convert Multiple images files as single PDF. - Select all the files, and open with preview - Print, and select &#8220;save as pdf&#8221; - this will create a single PDF file with all jpeg in. ./arun]]></description>
				<content:encoded><![CDATA[<p>It is rather easy to convert Multiple images files as single PDF.</p>
<p>- Select all the files, and open with preview<br />
- Print, and select &#8220;save as pdf&#8221;<br />
- this will create a single PDF file with all jpeg in.</p>
<p>./arun</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/rRJQBjymU6k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/02/12/convert-multiple-jpeg-to-single-pdf-mac-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/02/12/convert-multiple-jpeg-to-single-pdf-mac-os/</feedburner:origLink></item>
		<item>
		<title>Root and install google play in Amazon Kindle Fire HD 10 (8.1.4)</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/dnC7r0_iIRo/</link>
		<comments>http://arunnsblog.com/2013/01/24/root-and-install-google-play-in-amazon-kindle-fire-hd-10-8-1-4/#comments</comments>
		<pubDate>Wed, 23 Jan 2013 21:40:02 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Amazon Kindle]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[MAC OS X]]></category>
		<category><![CDATA[google play has stopped]]></category>
		<category><![CDATA[Install google apps in amazon kindle 8.1.4]]></category>
		<category><![CDATA[Install google play store in amazone kindle 10]]></category>
		<category><![CDATA[Root amazon kindle]]></category>
		<category><![CDATA[Root amazon kindle 8.1.4]]></category>
		<category><![CDATA[Root and install google apps in amazon kindle]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=665</guid>
		<description><![CDATA[This is a working procedure to root and install google play Amazon Kindle HD 10&#8243; (8.1.4). Root Kindle Fire HD, I followed the procedure described in here http://forum.xda-developers.com/showthread.php?t=1886460 Download Root_with_Restore_by_Bin4ry_v18 from http://uploaded.net/file/0fpyh5c5 Extract the 7zip file and execute RunMe.sh (if you using MAC/Linux) $ ./RunMe.sh Select the option 1) Normal Now your device is root&#8217;d, you [...]]]></description>
				<content:encoded><![CDATA[<p>This is a working procedure to root and install google play Amazon Kindle HD 10&#8243; (8.1.4).</p>
<p><strong>Root Kindle Fire HD,</strong></p>
<p>I followed the procedure described in here<a href=" http://forum.xda-developers.com/showthread.php?t=1886460" target="_blank"> http://forum.xda-developers.com/showthread.php?t=1886460</a></p>
<ul>
<li>Download Root_with_Restore_by_Bin4ry_v18 from <a href="http://uploaded.net/file/0fpyh5c5" target="_blank">http://uploaded.net/file/0fpyh5c5</a></li>
<li>Extract the 7zip file and execute RunMe.sh (if you using MAC/Linux)</li>
</ul>
<blockquote><p>$ ./RunMe.sh</p>
<p>Select the option 1) Normal</p></blockquote>
<ul>
<li>Now your device is root&#8217;d, you may verify :</li>
</ul>
<blockquote><p>sh-3.2$ ./adb shell<br />
shell@android:/ $ su<br />
shell@android:/ # cd /<br />
shell@android:/ # ls</p></blockquote>
<ul>
<li>Reboot  and do the installation for google play store</li>
</ul>
<p><strong>Install google play store </strong></p>
<p>Reference:<a href="http://forum.xda-developers.com/showthread.php?t=1893410" target="_blank"> http://forum.xda-developers.com/showthread.php?t=1893410</a></p>
<ul>
<li> Open ES File Explorer, go to settings, Root settings , and select <em>Root Explorer, Upto Root, and Mount File system</em>.</li>
<li>Download the GoogleServicesFramework.apk Vending.apk and Play.apk and copy to your sdcard.</li>
</ul>
<p><em>GoogleServicesFramework.apk &#8211; <a href="http://mediafire.com/?zaumfwhraxcifqf" target="_blank">mediafire.com/?zaumfwhraxcifqf</a></em><br />
<em> Vending.apk &#8211; <a href="http://mediafire.com/?31bn3e258jjpj8d" target="_blank">mediafire.com/?31bn3e258jjpj8d</a></em><br />
<em> Play.apk -<a href="http://mediafire.com/?wwcqrlfwt8o1gnv" target="_blank"> mediafire.com/?wwcqrlfwt8o1gnv</a></em></p>
<p>Please follow the below steps in order to get it working.</p>
<p>- Open ES file explorer, click and install GoogleServicesFramework.apk<br />
- Then move the Vending.apk to<strong> /system/app</strong><br />
- Change the permission to 644 (User &#8211; Read/Write, Group/Others &#8211; Read)<br />
- Now click and install Vending.apk<br />
- You can see android market installed on your kindle, open it and do the google account registration. It is important that you do this step before installing Play.apk<br />
- Once the registration is successful, click and install Play.apk from the sdcard.<br />
- Now you will have a working play store , enjoy:)</p>
<p>Issues faced:</p>
<ul>
<li>While rooting,  I was not able to execute the adb under stuff folder, replace the adb with the one come with Android SDK.</li>
<li>I got &#8220;google play has stopped&#8221; messages while opening google play . To fix it . 1) Make sure that you copied the Vending.apk to the correct path /system/app and the permissions are correct. 2) Do the google account registration before installing Play.apk</li>
</ul>
<div id="attachment_666" class="wp-caption alignnone" style="width: 235px"><a href="http://arunnsblog.com/2013/01/24/root-and-install-google-play-in-amazon-kindle-fire-hd-10-8-1-4/20130124_003325/" rel="attachment wp-att-666"><img class="size-medium wp-image-666" alt="Rooted Amazon Kindle Fire HD 10  (8.1.4) with Google apps" src="http://arunnsblog.com/wp-content/uploads/2013/01/20130124_003325-e1358977160495-225x300.jpg" width="225" height="300" /></a><p class="wp-caption-text">Rooted Amazon Kindle Fire HD 10 (8.1.4) with Google apps</p></div>
<p>./arun</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/dnC7r0_iIRo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/01/24/root-and-install-google-play-in-amazon-kindle-fire-hd-10-8-1-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/01/24/root-and-install-google-play-in-amazon-kindle-fire-hd-10-8-1-4/</feedburner:origLink></item>
		<item>
		<title>Upgrade, Restore Drupal 7</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/C3I62tZ00jo/</link>
		<comments>http://arunnsblog.com/2013/01/08/upgrade-restore-drupal-7/#comments</comments>
		<pubDate>Tue, 08 Jan 2013 08:55:10 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell script]]></category>
		<category><![CDATA[backup drupal 7]]></category>
		<category><![CDATA[Drupal 7]]></category>
		<category><![CDATA[restore drupal 7]]></category>
		<category><![CDATA[upgrade drupal 7]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=617</guid>
		<description><![CDATA[Shell script to upgrade and restore Drupal 7 website This script will take care of the necessary actions required for upgrading drupal to higher versions. USAGE Copy the script to your webserver. Edit the script and change the variables to match with your setup Give execute privilege to the owner of the script (chmod u+x [...]]]></description>
				<content:encoded><![CDATA[<p><strong>Shell script to upgrade and restore Drupal 7 website</strong><br />
This script will take care of the necessary actions required for upgrading drupal to higher versions.</p>
<p><strong>USAGE</strong></p>
<ul>
<li>Copy the script to your webserver.</li>
<li>Edit the script and change the variables to match with your setup</li>
<li>Give execute privilege to the owner of the script (chmod u+x upgrade-restore-drupal7.sh)</li>
<li>Execute the script ./upgrade-restore-drupal7.sh</li>
</ul>
<p><strong>UPGRADE</strong></p>
<blockquote>
<pre><em>$ ./upgrade-restore-drupal7.sh 
 Please enter your choice:
 1. Update drupal
 2. Restore an old installation from backup
 3. Exit</em>
1
<em>Please enter the new drupal version (eg: 7.15) : 
</em>7.18
<em>Downloading drupal-7.18
Downloaded the the drupal version drupal-7.18
Current site backup is created: /home/foo/backups/08-01-2013-0938
Database backup created: /home/foo/backups/08-01-2013-0938.sql
Site is in maintanence mode now
Removed all drupal core files from destination
Copied the new version contents
Drupal updated to drupal-7.18
Site is active again, but please update your database, please visit http://&lt;yourwebsite&gt;/update.php to finalize the process
Removed the source files
</em></pre>
</blockquote>
<p><strong>RESTORE</strong></p>
<blockquote>
<pre><em>$ ./upgrade-restore-drupal7.sh 
 Please enter your choice:
 1. Update drupal
 2. Restore an old installation from backup
 3. Exit</em>
2
<em>List of available backups
08-01-2013-0753
08-01-2013-0758
08-01-2013-0804
08-01-2013-0841
08-01-2013-0849
08-01-2013-0858
08-01-2013-0900
08-01-2013-0904
08-01-2013-0905
08-01-2013-0938
Please enter the backup file name to restore: (eg: 08-01-2013-0753):</em> 
08-01-2013-0905
<em>Site is offline now
Removed production files
Restored the filesystem backup 
Restored the database
Site is restored
</em></pre>
</blockquote>
<p><script src="https://gist.github.com/4482287.js"></script></p>
<p><a href="https://github.com/arun-natarajan/upgrade-restore-drupal7"><b>View on github</b></a></p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/C3I62tZ00jo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/01/08/upgrade-restore-drupal-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/01/08/upgrade-restore-drupal-7/</feedburner:origLink></item>
		<item>
		<title>Upgrading Linux Mint 13 (maya) to Linux Mint 14 (nadia).</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/JfVNpMtWyuw/</link>
		<comments>http://arunnsblog.com/2013/01/05/upgrading-linux-mint-14-maya-to-linux-mint-15-nadia/#comments</comments>
		<pubDate>Sat, 05 Jan 2013 12:30:08 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Mint]]></category>
		<category><![CDATA[linux maya]]></category>
		<category><![CDATA[linux mint upgrade]]></category>
		<category><![CDATA[linux nadia]]></category>
		<category><![CDATA[mint 13 upgrade]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=608</guid>
		<description><![CDATA[Take a backup of the current sources.list, preferably make a full backup of the system. Edit the sources.list file, replace the occurrences of maya with nadia and precise with quantal. $ vi /etc/sources.list :%s/maya/nadia/g :%s/precise/quantal/g Resulting file may look like. deb http://packages.linuxmint.com/ nadia main upstream import deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_609" class="wp-caption aligncenter" style="width: 310px"><a href="http://arunnsblog.com/2013/01/05/upgrading-linux-mint-14-maya-to-linux-mint-15-nadia/kde/" rel="attachment wp-att-609"><img class="size-medium wp-image-609" alt="Linux Mint 14" src="http://arunnsblog.com/wp-content/uploads/2013/01/kde-300x219.png" width="300" height="219" /></a><p class="wp-caption-text">Linux Mint 14</p></div>
<p>Take a backup of the current sources.list, preferably make a full backup of the system.</p>
<p>Edit the sources.list file,<br />
replace the occurrences of maya with nadia and precise with quantal.</p>
<blockquote>
<pre>$ vi /etc/sources.list</pre>
<pre>:%s/maya/nadia/g
:%s/precise/quantal/g</pre>
</blockquote>
<p>Resulting file may look like.</p>
<blockquote><address>deb http://packages.linuxmint.com/ nadia main upstream import<br />
deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse<br />
deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse<br />
deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse<br />
deb http://archive.canonical.com/ubuntu/ quantal partner<br />
deb http://packages.medibuntu.org/ quantal free non-free</address>
</blockquote>
<p>Update the system</p>
<blockquote>
<pre>$ sudo apt-get update
$ sudo apt-get dist-upgrade</pre>
</blockquote>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/JfVNpMtWyuw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2013/01/05/upgrading-linux-mint-14-maya-to-linux-mint-15-nadia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2013/01/05/upgrading-linux-mint-14-maya-to-linux-mint-15-nadia/</feedburner:origLink></item>
		<item>
		<title>SAN and Tape backup with bacula</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/yI050Bhgx9I/</link>
		<comments>http://arunnsblog.com/2012/12/31/san-and-tape-backup-with-bacula/#comments</comments>
		<pubDate>Mon, 31 Dec 2012 11:47:48 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[Bacula]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bacula]]></category>
		<category><![CDATA[bacula eject tape after backup]]></category>
		<category><![CDATA[daily weekly and monthly backup with bacula]]></category>
		<category><![CDATA[SAN and Tape backup with bacula]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=598</guid>
		<description><![CDATA[Install and configure bacula for SAN and Tape backup There is already an excellent document about bacula installation and configurations at bacula website. This article is one way of getting SAN and Tape backup working together with single bacula director installation. It assumes that you already have installed and mounted the SAN and configured the [...]]]></description>
				<content:encoded><![CDATA[<h3><strong>Install and configure bacula for SAN and Tape backup</strong></h3>
<p>There is already an excellent document about bacula installation and configurations at bacula website. This article is one way of getting SAN and Tape backup working together with single bacula director installation. It assumes that you already have installed and mounted the SAN and configured the tape device.</p>
<p>This configuration aim at:</p>
<ul>
<li>Incremental daily for 20 days</li>
<li>Differential weekly for 3 months</li>
<li>Monthly full for 6 months</li>
<li>Eject the tape to mailslot after the back and notify admin etc.</li>
</ul>
<p>customise it based on your requirements.</p>
<p>The configurations are tested with HP MSL 2024 Tape library and MSA SAN array.</p>
<h2>Bacula server setup</h2>
<p>The configurare are done on Redhat Enterprise linux, likely similar for other Linux distros.</p>
<ul>
<li>Create a user for backup</li>
</ul>
<blockquote>
<pre># useradd -d /home/backup backup</pre>
</blockquote>
<ul>
<li>Install bacula server and create the database and database users : ref: http://www.bacula.org/5.2.x-manuals/en/main/main/Installing_Bacula.html for installation instructions.</li>
<li>Create the necessary directories:</li>
</ul>
<blockquote>
<pre># su - backup
$ mkdir -p /home/backup/bacula/var/lock/subsys
$ mkdir /home/backup/bacula/var/run/</pre>
</blockquote>
<ul>
<li>Configure the director (bacula-dir.conf)</li>
</ul>
<p>$ cat ~/bacula-dir.conf</p>
<blockquote>
<pre># Define the director, common for SAN and Tape
Director { # define myself
Name = {hostname}-dir # use your hostname
DIRport = 9101 # where we listen for UA connections
QueryFile = "/home/backup/bacula/script/query.sql"
WorkingDirectory = "/home/backup/bacula/wdir"
PidDirectory = "/home/backup/bacula/var/run"
Maximum Concurrent Jobs = 3
Password = "{console_password} # Console password
Messages = Daemon
}</pre>
<pre># List of files to be backed up to SAN
FileSet {
 Name = "File Set"
 Include {
 Options {
 signature = MD5
 }
 File = /
 }

 Exclude {
 File = /proc
 File = /tmp
 File = /.journal
 File = /.fsck
 }
}</pre>
<pre># List of files to be backed up to tape
FileSet {
 Name = "tape Set"
 Include {
 Options {
 signature = MD5
 }
 File = /
 }

 Exclude {
 File = /proc
 File = /tmp
 File = /.journal
 File = /.fsck
 }
}</pre>
<pre># Schedule for SAN backup
Schedule {
 Name = "WeeklyCycle"
 Run = Full 1st sun at 01:00
 Run = Differential 2nd-5th sun at 01:00
 Run = Incremental mon-sat at 01:00
}</pre>
<pre># Schedule for tape backup
Schedule {
 Name = "TapeWeeklyFull"
 Run = Level=Full 1st sun at 03:00
}</pre>
<pre># Definition of file storage (SAN)
Storage {
 Name = File
# Do not use "localhost" here
 Address = {FQDN} # N.B. Use a fully qualified name here
 SDPort = 9103
 Password = "{sdpassword}"
 Device = FileStorage
 Media Type = File
}</pre>
<pre># Define storage (Tape)
Storage {
 Name = msl2024
 Address = {director-address}
 SDPort = 9103
 Password = "{director-password}"
 Device = MSL2024
 Media Type = LTO-4
 Autochanger = yes
 Maximum Concurrent Jobs = 3
}</pre>
<pre># Generic catalog service
Catalog {
 Name = MyCatalog
 dbname = "dbname"; dbuser = "dbuser"; dbpassword = "dbpass"
}</pre>
<pre># Tape catalog
Job {
 Name = "TapeBackupCatalog"
 JobDefs = "{dir-host-name}-tape"
 Level = Full
 FileSet="Catalog"
 Schedule = "CatalogAfterTapeBackup"
 RunBeforeJob = "/home/backup/bacula/script/make_catalog_backup.pl MyCatalog"
 RunAfterJob = "/home/backup/bacula/script/delete_catalog_backup"
 Write Bootstrap = "/home/backup/bacula/wdir/%n.bsr"
 Priority = 20 # run after main backup
}</pre>
<pre># Default pool definition
Pool { 
 Name = Default
 Pool Type = Backup 
 Recycle = yes # Bacula can automatically recycle Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 365 days # one year
}</pre>
<pre># General Tape backup pool
Pool { 
 Name = TapePool
 Pool Type = Backup 
 Recycle = yes # Bacula can automatically recycle Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 6 months # 6 months
 Recycle Oldest Volume = yes
 Storage = msl2024 
 Volume Use Duration = 4 days
}</pre>
<pre>## Do the following configurations for each client</pre>
<pre># Job definition, define it for each bacula client, replace clientX_hostname, Fileset accordingly
# SAN
JobDefs {
Name = "{clientX_hostname}"
Type = Backup
Client = {clientX_hostname}-fd
FileSet = "File Set"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = File
Full Backup Pool = Full-Pool-{clientX_hostname}
Incremental Backup Pool = Inc-Pool-{clientX_hostname}
Differential Backup Pool = Diff-Pool-{clientX_hostname}
Priority = 10
Write Bootstrap = "/home/backup/bacula/wdir/%c.bsr"
}</pre>
<pre># Tape

JobDefs {</pre>
<pre> Name = "{clientX_hostname}-tape"
 Type = Backup
 Client = {clientX_hostname}-tape-fd
 FileSet = "tape set"
 Schedule = "TapeWeeklyFull"
 Storage = msl2024
 Messages = Standard
 Pool = TapePool
 Full Backup Pool = TapePool
 Priority = 10
 Write Bootstrap = "/home/backup/bacula/wdir/%c.bsr"
}</pre>
<pre># Define Job, replace clientX_hostname
# SAN
Job {
 Name = "{clientX_hostname}"
 JobDefs = "{clientX_hostname}"
}</pre>
<pre># Tape
Job {
 Name = "{clientX_hostname}"
 JobDefs = "{clientX_hostname}-tape"
}

# Define restore job
# SAN
Job {
 Name = "RestoreFiles-{clientX_hostname}"
 Type = Restore
 Client={clientX_hostname}-fd
 FileSet="File Set" 
 Storage = File
 Pool = Default
 Messages = Standard
 Where = /home/backup/archive/bacula-restores
}</pre>
<pre># Tape
Job {</pre>
<pre> Name = "RestoreFiles-{clientX_hostname}-tape"
 Type = Restore
 Client={clientX_hostname}-tape-fd
 FileSet= "tape set"
 Storage = msl2024
 Pool = TapePool
 Messages = Standard
 Where = /home/backup/archive/bacula-restores
}

# Client (File Services) to backup
# SAN
Client { 
 Name = {clientX_hostname}-fd
 Address = {client_address}
 FDPort = <strong>9102</strong>
 Catalog = MyCatalog
 Password = "{client_password}" # password for FileDaemon
 File Retention = 60 days # 60 days
 Job Retention = 6 months # six months
 AutoPrune = yes # Prune expired Jobs/Files
}</pre>
<pre># Tape
Client {
 Name = {clientX_hostname}-tape-fd
 Address = {client_address}
 FDPort = <strong>9202</strong> # use different port
 Catalog = MyCatalog
 Password = "{client_password}" # password for FileDaemon
 File Retention = 6 months
 Job Retention = 6 months
 AutoPrune = yes
}</pre>
<pre># Pool for each client
# SAN
Pool {
 Name = Full-Pool-{clientX_hostname}
 Pool Type = Backup
 Recycle = yes
 AutoPrune = yes
 Volume Retention = 6 months
 Maximum Volume Jobs = 1
 Label Format = Full-Pool-{clientX_hostname}-
 Maximum Volumes = 9
}</pre>
<pre>Pool { 
 Name = Inc-Pool-{clientX_hostname}
 Pool Type = Backup 
 Recycle = yes # automatically recycle Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 20 days
 Maximum Volume Jobs = 6
 Label Format = Inc-Pool-{clientX_hostname}-
 Maximum Volumes = 7
}</pre>
<pre>Pool { 
 Name = Diff-Pool-{clientX_hostname}
 Pool Type = Backup
 Recycle = yes
 AutoPrune = yes
 Volume Retention = 40 days
 Maximum Volume Jobs = 1
 Label Format = Diff-Pool-{clientX_hostname}-
 Maximum Volumes = 10
}</pre>
<pre># Tape, no extra definition required.

</pre>
</blockquote>
<ul>
<li>Make sure you label the tape and add it to the TapePool, if you tape drive has barcode device available, use</li>
</ul>
<blockquote>
<pre>$ bconsole</pre>
<pre>* label barcode</pre>
<pre>then select the TapePool</pre>
</blockquote>
<p>If you have mailslot enabled you could configure the bacula to eject the tape to mailslot after backup finished and will notify.</p>
<blockquote>
<pre>$ cat /home/backup/bacula/script/delete_catalog_backup
# Unload the tape for storage
mtx -f /dev/sg1 unload 24 # replace 24 with your mailslot</pre>
<pre># Send mail
/home/backup/bacula/script/mail.sh | mail -s "Tape backup done" admin@example.com</pre>
</blockquote>
<h3>Configure storage daemon</h3>
<blockquote>
<pre>Storage 
{ # definition of myself
 Name = {director_hostanme}-sd
 SDPort = 9103 # Director's port 
 WorkingDirectory = "/home/backup/bacula/wdir"
 Pid Directory = "/home/backup/bacula/var/run"
 Maximum Concurrent Jobs = 20
}</pre>
<pre>#
# List Directors who are permitted to contact Storage daemon
#
Director {
 Name = {director_hostname}-dir
 Password = "{director_password}"
}</pre>
<pre># SAN
Device {
 Name = FileStorage
 Media Type = File
 Archive Device = /media/san/bacula/ # SAN volume
 LabelMedia = yes # lets Bacula label unlabeled media
 Random Access = yes
 AutomaticMount = yes # when device opened, read it
 RemovableMedia = no
 AlwaysOpen = no
}</pre>
<pre># Tape
Autochanger {
 Name = MSL2024
 Device = lto4drive
 Changer Command = "/home/backup/bacula/script/mtx-changer %c %o %S %a %d"
 Changer Device = /dev/sg1 # change it based on your setup
}</pre>
<pre>Device {
 Name = lto4drive
 Drive Index = 0
 Media Type = LTO-4
 Archive Device = /dev/nst0
 AutomaticMount = no # when device opened, read it
 AlwaysOpen = no
 RemovableMedia = yes
 RandomAccess = no
 AutoChanger = yes
}</pre>
</blockquote>
<h3>Client configuration</h3>
<ul>
<li>Install the bacula package on the client machines, except use &#8211;enable-client-only</li>
<li>Remove the director and storage daemon startup scripts</li>
</ul>
<blockquote>
<pre>rm /etc/init.d/bacula-dir
rm /etc/init.d/bacula-sd</pre>
</blockquote>
<ul>
<li>Create necessary directories</li>
</ul>
<blockquote>
<pre>mkdir -p /home/backup/bacula/wdir /home/backup/bacula/var/run  /home/backup/bacula/var/lock/subsys/</pre>
</blockquote>
<ul>
<li>Create bacula-filedeamon configuration for tape and san seperately</li>
</ul>
<p>SAN (bacula-fd.conf)</p>
<blockquote>
<pre>FileDaemon { # this is me
 Name = {clientX_hostname}-fd
 FDport = <strong>9102</strong> # where we listen for the director
 WorkingDirectory = /home/backup/bacula/wdir
 Pid Directory = /home/backup/bacula/var/run
 Maximum Concurrent Jobs = 20
 }</pre>
</blockquote>
<p>Tape  (bacula-fd-tape.conf)</p>
<blockquote>
<pre>FileDaemon { # this is me
 Name = {clientX_hostname}-tape-fd
 FDport = <strong>9102</strong> # different port than the san
 WorkingDirectory = /home/backup/bacula/wdir
 Pid Directory = /home/backup/bacula/var/run
 Maximum Concurrent Jobs = 20
 }</pre>
</blockquote>
<ul>
<li>Edit the bacula-fd startup script and add the extra line to start the tape file daemon</li>
</ul>
<blockquote>
<pre>daemon /home/backup/bacula/sbin/bacula-fd $2 ${FD_OPTIONS} -c /home/backup/bacula/etc/bacula-fd-tape.conf</pre>
</blockquote>
<p>./arun</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/yI050Bhgx9I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2012/12/31/san-and-tape-backup-with-bacula/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2012/12/31/san-and-tape-backup-with-bacula/</feedburner:origLink></item>
		<item>
		<title>Host group based access restriction – Nagios</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/r9RYLFO9Ed0/</link>
		<comments>http://arunnsblog.com/2012/10/03/host-group-based-access-restriction-nagios/#comments</comments>
		<pubDate>Wed, 03 Oct 2012 07:35:54 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[access restriction]]></category>
		<category><![CDATA[Hostgroup]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=594</guid>
		<description><![CDATA[This is useful especially when you have different host groups belongs to different entities and you need to have access separation. The basic idea is to use the same login user name in the contact groups. I assume that you have Apache htaccess authentication or LDAP authentication in place. You may create new contact group [...]]]></description>
				<content:encoded><![CDATA[<p>This is useful especially when you have different host groups belongs to different entities and you need to have access separation.</p>
<p>The basic idea is to use the same login user name in the contact groups. I assume that you have Apache htaccess authentication or LDAP authentication in place.</p>
<p>You may create new contact group of use the already existing one , just make sure your username and contact_name matches.</p>
<pre>- Create a contact group
define contactgroup {</pre>
<pre> contactgroup_name customer1
 alias Customer1 Servers
 members customer1
}</pre>
<pre>- Create the contact
define contact {
 contact_name customer1 #make sure this matches with the username
 alias Customer1 Contact
 service_notification_period 24x7
 host_notifications_enabled 0
 host_notification_period 24x7
 service_notification_options w,u,c,r
 host_notification_options d,u,r
 service_notification_commands notify-by-email
 host_notification_commands host-notify-by-email
 email customer1@example.com
}</pre>
<pre>- Use this contact group in host definition</pre>
<pre>define host {
 use generic-alerted-host
 host_name customer1-host
 address 8.8.8.8
 contact_groups customer1 # make sure this matches with the contactgroup_name
 max_check_attempts 3
}</pre>
<p>Just restart nagios and try to login with the new user account. You may give more privileges to this user if required from cgi.cfg</p>
<pre>./run</pre>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/r9RYLFO9Ed0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2012/10/03/host-group-based-access-restriction-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2012/10/03/host-group-based-access-restriction-nagios/</feedburner:origLink></item>
		<item>
		<title>Delete mailman archieves</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/kXi-UENSMMM/</link>
		<comments>http://arunnsblog.com/2012/04/09/delete-mailman-archieves/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 16:07:32 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mailman]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=587</guid>
		<description><![CDATA[If required take backup of the archives $ cp -a /var/lib/mailman/archives/private/&#60;listname&#62;/* &#60;backup_directory&#62; Remove the archives $ rm -rf &#60;listname&#62;/* Once it is removed recreate the html archive files $ mailman/bin/arch &#60;listname&#62; ./arun]]></description>
				<content:encoded><![CDATA[<p>If required take backup of the archives</p>
<pre>$ cp -a /var/lib/mailman/archives/private/&lt;listname&gt;/* &lt;backup_directory&gt;</pre>
<p>Remove the archives</p>
<pre>$ rm -rf &lt;listname&gt;/*</pre>
<p>Once it is removed recreate the html archive files</p>
<pre>$ mailman/bin/arch &lt;listname&gt;</pre>
<p>./arun</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/kXi-UENSMMM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2012/04/09/delete-mailman-archieves/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2012/04/09/delete-mailman-archieves/</feedburner:origLink></item>
		<item>
		<title>Detected bug in an extension! Hook FCKeditor_MediaWiki</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/F_WT4lv_q04/</link>
		<comments>http://arunnsblog.com/2012/04/09/detected-bug-in-an-extension-hook-fckeditor_mediawiki/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 15:58:56 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[FCKeditor]]></category>
		<category><![CDATA[mediawiki]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=583</guid>
		<description><![CDATA[Detected bug in an extension! Hook FCKeditor_MediaWiki::onCustomEditor failed to return a value; should return true to continue hook processing or false to abort. Backtrace: #0 mediawiki/includes/Wiki.php(497): wfRunHooks('CustomEditor', Array) #1 mediawiki/includes/Wiki.php(63): MediaWiki-&#62;performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest)) #2 mediawiki/index.php(114): MediaWiki-&#62;initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest)) #3 {main} Edit the following file to fix this issue: "FCKeditor/FCKeditor.body.php"  -- public [...]]]></description>
				<content:encoded><![CDATA[<pre>Detected bug in an extension! Hook FCKeditor_MediaWiki::onCustomEditor failed to return a value; should return true to continue hook processing or false to abort.</pre>
<p>Backtrace:</p>
<pre>#0 mediawiki/includes/Wiki.php(497): wfRunHooks('CustomEditor', Array)
 #1 mediawiki/includes/Wiki.php(63): MediaWiki-&gt;performAction(Object(OutputPage), Object(Article), 
Object(Title), Object(User), Object(WebRequest))
 #2 mediawiki/index.php(114): MediaWiki-&gt;initialize(Object(Title), Object(Article), Object(OutputPage), 
Object(User), Object(WebRequest))
 #3 {main}</pre>
<p>Edit the following file to fix this issue:</p>
<pre>"FCKeditor/FCKeditor.body.php"
 -- public function onCustomEditor(&amp;$article, &amp;$user) {
 ++ public function onCustomEditor($article, $user) {</pre>
<p>reference: http://dev.ckeditor.com/ticket/3530<br />
./arun</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/F_WT4lv_q04" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2012/04/09/detected-bug-in-an-extension-hook-fckeditor_mediawiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2012/04/09/detected-bug-in-an-extension-hook-fckeditor_mediawiki/</feedburner:origLink></item>
		<item>
		<title>svn: Can’t convert string from ‘UTF-8′ to native encoding:</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/q67_90s9yWQ/</link>
		<comments>http://arunnsblog.com/2012/04/09/svn-cant-convert-string-from-utf-8-to-native-encoding/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 15:53:21 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC OS X]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=579</guid>
		<description><![CDATA["svn: Can't convert string from 'UTF-8' to native encoding:" This usually happens with special characters in the file name, which the client cannot understand. Just set proper locale in the client to fix this issues, $ export LC_CTYPE=en_US.UTF-8 // make sure the locale is properly set. $ locale LC_CTYPE=en_US.UTF-8 ./arun]]></description>
				<content:encoded><![CDATA[<pre>"svn: Can't convert string from 'UTF-8' to native encoding:"</pre>
<p>This usually happens with special characters in the file name, which the client cannot understand.</p>
<p>Just set proper locale in the client to fix this issues,</p>
<blockquote>
<pre>$ export LC_CTYPE=en_US.UTF-8
// make sure the locale is properly set.
$ locale
LC_CTYPE=en_US.UTF-8

</pre>
</blockquote>
<p>./arun</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/q67_90s9yWQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2012/04/09/svn-cant-convert-string-from-utf-8-to-native-encoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2012/04/09/svn-cant-convert-string-from-utf-8-to-native-encoding/</feedburner:origLink></item>
		<item>
		<title>Fix categories and tags in wordpress custom post_type</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/DTIcw-hwb80/</link>
		<comments>http://arunnsblog.com/2011/12/13/fix-categories-and-tags-in-wordpress-custom-post_type/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 12:24:15 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[category issue]]></category>
		<category><![CDATA[custom post_type wordpress]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=577</guid>
		<description><![CDATA[By default word press does not look in to custom post_types for categories and tags, even though the category names are visible you get a NOT FOUND page when you click on the category. A work around found for this issue is : Edit : functions.php add_filter('pre_get_posts', 'query_post_type'); function query_post_type($query) { if(is_category() &#124;&#124; is_tag()) { [...]]]></description>
				<content:encoded><![CDATA[<p>By default word press does not look in to custom post_types for categories and tags, even though the category names are visible you get a NOT FOUND page when you click on the category.</p>
<p>A work around found for this issue is :</p>
<p>Edit : functions.php</p>
<p><code>add_filter('pre_get_posts', 'query_post_type');<br />
function query_post_type($query) {<br />
if(is_category() || is_tag()) {<br />
$post_type = get_query_var('post_type');<br />
if($post_type)<br />
$post_type = $post_type;<br />
else<br />
$post_type = array('post','custom_post_type_name','nav_menu_item'); // replace custom_post_type_name with your post_type, and keep nav_menu_item to display menu in category page.<br />
$query-&gt;set('post_type',$post_type);<br />
return $query;<br />
}<br />
}</code></p>
<p>Reference:<a href="http://wordpress.org/support/topic/custom-post-type-tagscategories-archive-page" target="_blank"> http://wordpress.org/support/topic/custom-post-type-tagscategories-archive-page</a></p>
<p>Thanks to <a href="http://wordpress.org/support/profile/parandroid" target="_blank">paranoid  </a>for guiding to the fix . <img src='http://arunnsblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>./arun</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/DTIcw-hwb80" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2011/12/13/fix-categories-and-tags-in-wordpress-custom-post_type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2011/12/13/fix-categories-and-tags-in-wordpress-custom-post_type/</feedburner:origLink></item>
		<item>
		<title>Replace broken hard drive in software RAID1</title>
		<link>http://feedproxy.google.com/~r/Arunnsblogcom/~3/QPuI0eOzSHU/</link>
		<comments>http://arunnsblog.com/2011/12/05/replace-broken-hard-drive-in-software-raid1/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 11:51:29 +0000</pubDate>
		<dc:creator>Arun N S</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Hard disk broken]]></category>
		<category><![CDATA[RAID1]]></category>
		<category><![CDATA[recover broken hard disk]]></category>

		<guid isPermaLink="false">http://arunnsblog.com/?p=574</guid>
		<description><![CDATA[This scenario assumes that you have two hard disk with RAID1 setup and one of them is broken (say sdb). To check the status of RAID: $ cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid1 sda3[1] 730202368 blocks [2/1] [U_] md1 : active raid1 sda2[1] 264960 blocks [2/1] [U_] [...]]]></description>
				<content:encoded><![CDATA[<p>This scenario assumes that you have two hard disk with RAID1 setup and one of them is broken (say sdb).</p>
<p>To check the status of RAID:</p>
<p><code>$ cat /proc/mdstat</code></p>
<p><code>Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]<br />
md2 : active raid1 sda3[1]<br />
730202368 blocks [2/1] [U_]<br />
md1 : active raid1 sda2[1]<br />
264960 blocks [2/1] [U_]<br />
md0 : active (auto-read-only) raid1 sda1[1]<br />
2102464 blocks [2/1] [U_]</code></p>
<p>you will see [_U] or [U_] if there is a broken RAID.</p>
<p>If required remove the broken hardrive from RAID from all md devices.</p>
<p><code># mdadm --manage /dev/md0 --fail /dev/sdb1</p>
<p># mdadm --manage /dev/md1 --fail /dev/sdb2</p>
<p># mdadm --manage /dev/md2 --fail /dev/sdb3</code></p>
<p>Shutdown the machine and replace the hard drive.</p>
<p>Once the server is booted, you will see the new device (either sda or sdb depends on what drive is broken)</p>
<p><code># ls -l /dev/sd*</code></p>
<p>Now we need to replicate the partition schema on the new drive.</p>
<p><code>sfdisk -d /dev/sda | sfdisk /dev/sdb</code></p>
<p>// -d     Dump the partitions of a device</p>
<p>We can add the partition to the RAID now, you could verify the partitions with fdisk -l.</p>
<p><code># mdadm --manage /dev/md0 --add /dev/sdb1</p>
<p># mdadm --manage /dev/md1 --add /dev/sdb2</p>
<p># mdadm --manage /dev/md2 --add /dev/sdb3</code></p>
<p>It will start sync the data and will be ready once completed.</p>
<p>You may verify the mdstat</p>
<p><code># cat /proc/mdstat<br />
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]<br />
md2 : active raid1 sda3[0] sdb3[1]<br />
7302023 blocks [2/2] [UU]</p>
<p>md1 : active raid1 sda2[0] sdb2[1]<br />
2649 blocks [2/2] [UU]</p>
<p>md0 : active (auto-read-only) raid1 sda1[0] sdb1[1]<br />
21024 blocks [2/2] [UU]</code></p>
<p>./arun</p>
<img src="http://feeds.feedburner.com/~r/Arunnsblogcom/~4/QPuI0eOzSHU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://arunnsblog.com/2011/12/05/replace-broken-hard-drive-in-software-raid1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://arunnsblog.com/2011/12/05/replace-broken-hard-drive-in-software-raid1/</feedburner:origLink></item>
	</channel>
</rss>
