<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Unixbhaskar&#039;s Blog</title>
	<atom:link href="http://unixbhaskar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://unixbhaskar.wordpress.com</link>
	<description>Musing with GNU/Linux!!</description>
	<lastBuildDate>Tue, 23 Apr 2013 02:44:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='unixbhaskar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Unixbhaskar&#039;s Blog</title>
		<link>http://unixbhaskar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://unixbhaskar.wordpress.com/osd.xml" title="Unixbhaskar&#039;s Blog" />
	<atom:link rel='hub' href='http://unixbhaskar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Converting ext3 to ext4 filesystem</title>
		<link>http://unixbhaskar.wordpress.com/2013/03/28/converting-ext3-to-ext4-filesystem/</link>
		<comments>http://unixbhaskar.wordpress.com/2013/03/28/converting-ext3-to-ext4-filesystem/#comments</comments>
		<pubDate>Thu, 28 Mar 2013 06:42:43 +0000</pubDate>
		<dc:creator>unixbhaskar</dc:creator>
				<category><![CDATA[Filesystem]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://unixbhaskar.wordpress.com/?p=552</guid>
		<description><![CDATA[Here is a little tip which might help people to do the required thing to get the job done. As the title of this post said..will outline the procedure for that. Here we go.. bhaskar@GentooLinux_10:50:09_Thu Mar 28:~&#62; sudo blkid Password: /dev/sda1: LABEL="ARCH" UUID="9db5a364-ee86-4c57-8252-bfff8581e4b6" TYPE="ext4" /dev/sda2: LABEL="Fedora-boot" UUID="ff94a6b0-3eee-4dc9-83e0-cbde449e93d7" SEC_TYPE="ext2" TYPE="ext3" /dev/sda3: UUID="kiCF1K-xTxV-t2Yu-CrBX-oENB-1kSn-6UY4Va" TYPE="LVM2_member" /dev/sda5: UUID="X2MDAl-EaD9-s0kY-FbpZ-X6Wo-GowQ-yvTu1z" TYPE="LVM2_member" [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=552&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Here is a little tip which might help people to do the required thing to get the job done. As the title of this post said..will outline the procedure for that.</p>
<p>Here we go..</p>
<p><code><br />
bhaskar@GentooLinux_10:50:09_Thu Mar 28:~&gt; <strong>sudo blkid</strong><br />
Password:<br />
/dev/sda1: LABEL="ARCH" UUID="9db5a364-ee86-4c57-8252-bfff8581e4b6" TYPE="ext4"<br />
/dev/sda2: LABEL="Fedora-boot" UUID="ff94a6b0-3eee-4dc9-83e0-cbde449e93d7" SEC_TYPE="ext2" TYPE="ext3"<br />
/dev/sda3: UUID="kiCF1K-xTxV-t2Yu-CrBX-oENB-1kSn-6UY4Va" TYPE="LVM2_member"<br />
/dev/sda5: UUID="X2MDAl-EaD9-s0kY-FbpZ-X6Wo-GowQ-yvTu1z" TYPE="LVM2_member"<br />
/dev/sda6: LABEL="Fedora" UUID="7945ae6e-7061-4153-a5a1-ab9f60f693ae" TYPE="ext4"<br />
/dev/sda7: UUID="61147c93-cf06-4d45-8204-b79b5b5d19a4" TYPE="swap"<br />
/dev/sda8: LABEL="Slackware" UUID="77de30c7-fb6a-42d8-9cc3-7bd29e2cba06" TYPE="ext4"<br />
/dev/sda9: LABEL="Gentoo" UUID="d83b45ce-ce1c-4678-9663-b884bab6f5cb" TYPE="ext4"<br />
<strong>/dev/sda10: LABEL="Debian" UUID="1c0feb69-e586-4b2a-b774-176066a12e00" SEC_TYPE="ext2" TYPE="ext3" </strong><br />
/dev/sda11: LABEL="ScientificLinux" UUID="7dedb9fe-8d77-4c93-bdbd-3297281041be" TYPE="ext4"<br />
/dev/sda12: LABEL="openSUSE" UUID="924f28b3-8cda-4d7e-a833-c7687580e113" TYPE="ext4"<br />
/dev/sda13: UUID="1Ke3cG-vv1Y-vgi6-Sszr-r3nz-xbQx-QzFyp1" TYPE="LVM2_member"<br />
/dev/mapper/home-home: UUID="9fa403bf-858d-4ce2-9b5e-03bdeb2e9406" TYPE="ext3"<br />
/dev/mapper/data-lvmdata: UUID="569e992f-3782-4689-8abf-85b59af4ba17" TYPE="ext3"<br />
bhaskar@GentooLinux_11:58:30_Thu Mar 28:~&gt; cat convert_to_ext4<br />
tune2fs -O extents,uninit_bg,dir_index /dev/dev-name</p>
<p>For example convert /dev/sdb1 to ext4, enter:<br />
# cd /; umount /dev/sdb1<br />
# tune2fs -O extents,uninit_bg,dir_index /dev/sdb1<br />
Next run fsck, enter:<br />
# fsck -pf /dev/sdb1<br />
a10skar@GentooLinux_11:58:38_Thu Mar 28:~&gt; <strong>sudo tune2fs -O extents,uninit_bg,dir_index /dev/sda10</strong><br />
tune2fs 1.42 (29-Nov-2011)<br />
bhaskar@GentooLinux_11:59:18_Thu Mar 28:~&gt; fsck -pf /dev/sda10<br />
bash: fsck: command not found<br />
bhaskar@GentooLinux_11:59:36_Thu Mar 28:~&gt; whereis fsck<br />
fsck: /sbin/fsck.cramfs /sbin/fsck.minix /sbin/fsck.ext2 /sbin/fsck.ext4dev /sbin/fsck.ext4 /sbin/fsck.ext3 /sbin/fsck /usr/share/man/man8/fsck.8.bz2<br />
bhaskar@GentooLinux_11:59:42_Thu Mar 28:~&gt; <strong>sudo /sbin/fsck -pf /dev/sda10</strong><br />
fsck from util-linux 2.21.2<br />
Debian: 261230/1220608 files (1.1% non-contiguous), 1666171/4882432 blockssudo blkid<br />
/dev/sda1: LABEL="ARCH" UUID="9db5a364-ee86-4c57-8252-bfff8581e4b6" TYPE="ext4"<br />
/dev/sda2: LABEL="Fedora-boot" UUID="ff94a6b0-3eee-4dc9-83e0-cbde449e93d7" SEC_TYPE="ext2" TYPE="ext3"<br />
/dev/sda3: UUID="kiCF1K-xTxV-t2Yu-CrBX-oENB-1kSn-6UY4Va" TYPE="LVM2_member"<br />
/dev/sda5: UUID="X2MDAl-EaD9-s0kY-FbpZ-X6Wo-GowQ-yvTu1z" TYPE="LVM2_member"<br />
/dev/sda6: LABEL="Fedora" UUID="7945ae6e-7061-4153-a5a1-ab9f60f693ae" TYPE="ext4"<br />
/dev/sda7: UUID="61147c93-cf06-4d45-8204-b79b5b5d19a4" TYPE="swap"<br />
/dev/sda8: LABEL="Slackware" UUID="77de30c7-fb6a-42d8-9cc3-7bd29e2cba06" TYPE="ext4"<br />
/dev/sda9: LABEL="Gentoo" UUID="d83b45ce-ce1c-4678-9663-b884bab6f5cb" TYPE="ext4"<br />
<strong>/dev/sda10: LABEL="Debian" UUID="1c0feb69-e586-4b2a-b774-176066a12e00" TYPE="ext4"</strong><br />
/dev/sda11: LABEL="ScientificLinux" UUID="7dedb9fe-8d77-4c93-bdbd-3297281041be" TYPE="ext4"<br />
/dev/sda12: LABEL="openSUSE" UUID="924f28b3-8cda-4d7e-a833-c7687580e113" TYPE="ext4"<br />
/dev/sda13: UUID="1Ke3cG-vv1Y-vgi6-Sszr-r3nz-xbQx-QzFyp1" TYPE="LVM2_member"<br />
/dev/mapper/home-home: UUID="9fa403bf-858d-4ce2-9b5e-03bdeb2e9406" TYPE="ext3"<br />
/dev/mapper/data-lvmdata: UUID="569e992f-3782-4689-8abf-85b59af4ba17" TYPE="ext3"<br />
</code> </p>
<p>In the many partition I have changed the &#8220;Debian&#8221; partition from ext3 to ext4.Next time you get into that specific drive &#8230;please check the file <strong>/proc/filesystems</strong> &#8230;and it should enlist ext4 in it.</p>
<p>Hope this will help.</p>
<p>Cheers!<br />
Bhaskar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixbhaskar.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixbhaskar.wordpress.com/552/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=552&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixbhaskar.wordpress.com/2013/03/28/converting-ext3-to-ext4-filesystem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e1c81eff8f508ac58ea6e03b0cf524e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixbhaskar</media:title>
		</media:content>
	</item>
		<item>
		<title>How to add Gnome-Shell Weather Extension on Arch Linux</title>
		<link>http://unixbhaskar.wordpress.com/2012/11/26/how-to-add-gnome-shell-weather-extension-on-arch-linux/</link>
		<comments>http://unixbhaskar.wordpress.com/2012/11/26/how-to-add-gnome-shell-weather-extension-on-arch-linux/#comments</comments>
		<pubDate>Mon, 26 Nov 2012 05:26:31 +0000</pubDate>
		<dc:creator>unixbhaskar</dc:creator>
				<category><![CDATA[Gnome]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[aur]]></category>
		<category><![CDATA[shell extension]]></category>

		<guid isPermaLink="false">http://unixbhaskar.wordpress.com/?p=543</guid>
		<description><![CDATA[Easy as you like..follow the below description&#8230;if you don&#8217;t like the description below then why not look in here for your mental peace!! WGET: -git.tar.gzhLinux_10:40:55_Mon Nov 26:~&#62; wget https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth --2012-11-26 10:41:01-- https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth-git.tar.gz Resolving aur.archlinux.org (aur.archlinux.org)... 78.46.78.247, 2a01:4f8:120:34c2::2 Connecting to aur.archlinux.org (aur.archlinux.org)&#124;78.46.78.247&#124;:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1023 [application/x-gzip] Saving to: ‘gnome-shell-extension-weather-neroth-git.tar.gz’ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=543&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Easy as you like..follow the below description&#8230;if you don&#8217;t like the description below then why not look in <a href="https://github.com/Neroth/gnome-shell-extension-weather" target="_blank">here</a> for your mental peace!!</p>
<p><strong>WGET:</strong></p>
<p><code><br />
-git.tar.gzhLinux_10:40:55_Mon Nov 26:~&gt; wget <a href="https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth" rel="nofollow">https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth</a><br />
--2012-11-26 10:41:01--  <a href="https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth-git.tar.gz" rel="nofollow">https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth-git.tar.gz</a><br />
Resolving aur.archlinux.org (aur.archlinux.org)... 78.46.78.247, 2a01:4f8:120:34c2::2<br />
Connecting to aur.archlinux.org (aur.archlinux.org)|78.46.78.247|:443... connected.<br />
HTTP request sent, awaiting response... 200 OK<br />
Length: 1023 [application/x-gzip]<br />
Saving to: ‘<strong>gnome-shell-extension-weather-neroth-git.tar.gz</strong>’</p>
<p>100%[======================================================================================================================================================&gt;] 1,023       --.-K/s   in 0s      </p>
<p>2012-11-26 10:41:03 (130 MB/s) - ‘gnome-shell-extension-weather-neroth-git.tar.gz’ saved [1023/1023]</p>
<p><strong>UNTAR:</strong></p>
<p>bhaskar@ArchLinux_10:41:03_Mon Nov 26:~&gt; tar -xvzf gnome-shell-extension-weather-neroth-git.tar.gz<br />
gnome-shell-extension-weather-neroth-git/<br />
gnome-shell-extension-weather-neroth-git/PKGBUILD<br />
gnome-shell-extension-weather-neroth-git/gschemas.install<br />
bhaskar@ArchLinux_10:41:39_Mon Nov 26:~&gt; cd gnome-shell-extension-weather-neroth-git<br />
bhaskar@ArchLinux_10:41:43_Mon Nov 26:~/gnome-shell-extension-weather-neroth-git&gt; ls<br />
gschemas.install  PKGBUILD</p>
<p><strong>MakePKG:</strong></p>
<p><strong>bhaskar@ArchLinux_10:41:44_Mon Nov 26:~/gnome-shell-extension-weather-neroth-git&gt; makepkg -si</strong><br />
==&gt; Determining latest git revision...<br />
  -&gt; Version found: 20121126<br />
==&gt; Making package: gnome-shell-extension-weather-neroth-git 20121126-1 (Mon Nov 26 10:41:54 IST 2012)<br />
==&gt; Checking runtime dependencies...<br />
==&gt; Checking buildtime dependencies...<br />
==&gt; Retrieving Sources...<br />
==&gt; Extracting Sources...<br />
==&gt; Starting build()...<br />
==&gt; Connecting to GIT server....<br />
Cloning into 'gnome-shell-extension-weather'...<br />
remote: Counting objects: 1795, done.<br />
remote: Compressing objects: 100% (742/742), done.<br />
remote: Total 1795 (delta 1246), reused 1551 (delta 1017)<br />
Receiving objects: 100% (1795/1795), 2.30 MiB | 60 KiB/s, done.<br />
Resolving deltas: 100% (1246/1246), done.<br />
==&gt; GIT checkout done or server timeout<br />
/usr/bin/gnome-autogen.sh<br />
checking for autoconf &gt;= 2.53...<br />
  testing autoconf2.50... not found.<br />
  testing autoconf... found 2.69<br />
checking for automake &gt;= 1.9...<br />
  testing automake-1.12... found 1.12.5<br />
checking for intltool &gt;= 0.25...<br />
  testing intltoolize... found 0.50.2<br />
Checking for required M4 macros...<br />
Checking for forbidden M4 macros...<br />
Processing ./configure.ac<br />
Running intltoolize...<br />
Running aclocal-1.12...<br />
Running autoconf...<br />
Running automake-1.12...<br />
configure.ac:8: installing 'config/install-sh'<br />
configure.ac:8: installing 'config/missing'<br />
Running ./configure --prefix=/usr ...<br />
checking for a BSD-compatible install... /usr/bin/install -c<br />
checking whether build environment is sane... yes<br />
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p<br />
checking for gawk... gawk<br />
checking whether make sets $(MAKE)... yes<br />
checking how to create a ustar tar archive... gnutar<br />
checking whether make supports nested variables... yes<br />
checking whether NLS is requested... yes<br />
checking for style of include used by make... GNU<br />
checking for gcc... gcc<br />
checking whether the C compiler works... yes<br />
checking for C compiler default output file name... a.out<br />
checking for suffix of executables...<br />
checking whether we are cross compiling... no<br />
checking for suffix of object files... o<br />
checking whether we are using the GNU C compiler... yes<br />
checking whether gcc accepts -g... yes<br />
checking for gcc option to accept ISO C89... none needed<br />
checking dependency style of gcc... none<br />
checking for intltool &gt;= 0.26... 0.50.2 found<br />
checking for intltool-update... /usr/bin/intltool-update<br />
checking for intltool-merge... /usr/bin/intltool-merge<br />
checking for intltool-extract... /usr/bin/intltool-extract<br />
checking for xgettext... /usr/bin/xgettext<br />
checking for msgmerge... /usr/bin/msgmerge<br />
checking for msgfmt... /usr/bin/msgfmt<br />
checking for gmsgfmt... /usr/bin/msgfmt<br />
checking for perl... /usr/bin/perl<br />
checking for perl &gt;= 5.8.1... 5.16.2<br />
checking for XML::Parser... ok<br />
checking for pkg-config... /usr/bin/pkg-config<br />
checking pkg-config is at least version 0.22... yes<br />
checking for pkg-config... (cached) /usr/bin/pkg-config<br />
checking pkg-config is at least version 0.16... yes<br />
checking that generated files are newer than configure... done<br />
configure: creating ./config.status<br />
config.status: creating Makefile<br />
config.status: creating po/Makefile.in<br />
config.status: creating src/Makefile<br />
config.status: executing depfiles commands<br />
config.status: executing po/stamp-it commands<br />
Now type `make' to compile gnome-shell-extension-weather<br />
Making all in src<br />
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'<br />
  GEN      weather-settings<br />
  GEN      weather-settings.desktop<br />
  GEN      metadata.json<br />
  ITMRG  org.gnome.shell.extensions.weather.gschema.xml<br />
  GEN      org.gnome.shell.extensions.weather.gschema.valid<br />
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'<br />
Making all in po<br />
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'<br />
  MSGFMT ca.gmo<br />
  MSGFMT cs.gmo<br />
  MSGFMT da.gmo<br />
  MSGFMT de.gmo<br />
  MSGFMT es.gmo<br />
  MSGFMT fi.gmo<br />
  MSGFMT fr.gmo<br />
  MSGFMT he.gmo<br />
  MSGFMT it.gmo<br />
  MSGFMT ja.gmo<br />
  MSGFMT lt.gmo<br />
  MSGFMT nb.gmo<br />
  MSGFMT nl.gmo<br />
  MSGFMT pt.gmo<br />
  MSGFMT ro.gmo<br />
  MSGFMT ru.gmo<br />
  MSGFMT sk.gmo<br />
  MSGFMT sv.gmo<br />
  MSGFMT uk.gmo<br />
  MSGFMT vi.gmo<br />
  MSGFMT zh_CN.gmo<br />
  MSGFMT zh_TW.gmo<br />
  MSGFMT pl.gmo<br />
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'<br />
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'<br />
make[1]: Nothing to be done for `all-am'.<br />
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'<br />
==&gt; Entering fakeroot environment...<br />
==&gt; Starting package()...<br />
Making install in src<br />
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'<br />
make[2]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'<br />
make[2]: Nothing to be done for `install-exec-am'.<br />
 /usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/applications'<br />
 /usr/bin/install -c -m 644 weather-settings.desktop '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/applications'<br />
 /usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'<br />
 /usr/bin/install -c -m 644 extension.js stylesheet.css weather-settings.ui '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'<br />
 /usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'<br />
 /usr/bin/install -c -m 644 metadata.json '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'<br />
 /usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'<br />
 /usr/bin/install -c weather-settings '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'<br />
if test -n "org.gnome.shell.extensions.weather.gschema.xml"; then \<br />
        test -z "/usr/share/glib-2.0/schemas" || /usr/bin/mkdir -p "/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/glib-2.0/schemas"; \<br />
        /usr/bin/install -c -m 644 org.gnome.shell.extensions.weather.gschema.xml "/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/glib-2.0/schemas"; \<br />
        test -n "/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg" || glib-compile-schemas /usr/share/glib-2.0/schemas; \<br />
fi<br />
make[2]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'<br />
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'<br />
Making install in po<br />
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'<br />
linguas="ca cs da de es fi fr he it ja lt nb nl pt ro ru sk sv uk vi zh_CN zh_TW pl "; \<br />
for lang in $linguas; do \<br />
  dir=/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/$lang/LC_MESSAGES; \<br />
  /bin/sh /home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/config/install-sh -d $dir; \<br />
  if test -r $lang.gmo; then \<br />
    /usr/bin/install -c -m 644 $lang.gmo $dir/gnome-shell-extension-weather.mo; \<br />
    echo "installing $lang.gmo as $dir/gnome-shell-extension-weather.mo"; \<br />
  else \<br />
    /usr/bin/install -c -m 644 ./$lang.gmo $dir/gnome-shell-extension-weather.mo; \<br />
    echo "installing ./$lang.gmo as" \<br />
         "$dir/gnome-shell-extension-weather.mo"; \<br />
  fi; \<br />
  if test -r $lang.gmo.m; then \<br />
    /usr/bin/install -c -m 644 $lang.gmo.m $dir/gnome-shell-extension-weather.mo.m; \<br />
    echo "installing $lang.gmo.m as $dir/gnome-shell-extension-weather.mo.m"; \<br />
  else \<br />
    if test -r ./$lang.gmo.m ; then \<br />
      /usr/bin/install -c -m 644 ./$lang.gmo.m \<br />
        $dir/gnome-shell-extension-weather.mo.m; \<br />
      echo "installing ./$lang.gmo.m as" \<br />
           "$dir/gnome-shell-extension-weather.mo.m"; \<br />
    else \<br />
      true; \<br />
    fi; \<br />
  fi; \<br />
done<br />
installing ca.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ca/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing cs.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/cs/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing da.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/da/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing de.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/de/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing es.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/es/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing fi.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/fi/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing fr.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/fr/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing he.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/he/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing it.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/it/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing ja.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ja/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing lt.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/lt/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing nb.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/nb/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing nl.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/nl/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing pt.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/pt/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing ro.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ro/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing ru.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ru/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing sk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sk/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing sv.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sv/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing uk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/uk/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing vi.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/vi/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing zh_CN.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_CN/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing zh_TW.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_TW/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing pl.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/pl/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'<br />
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'<br />
make[2]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'<br />
make[2]: Nothing to be done for `install-exec-am'.<br />
make[2]: Nothing to be done for `install-data-am'.<br />
make[2]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'<br />
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'<br />
==&gt; Tidying install...<br />
  -&gt; Purging unwanted files...<br />
  -&gt; Compressing man and info pages...<br />
  -&gt; Stripping unneeded symbols from binaries and libraries...<br />
==&gt; Creating package...<br />
  -&gt; Generating .PKGINFO file...<br />
  -&gt; Adding install file...<br />
  -&gt; Compressing package...<br />
==&gt; Leaving fakeroot environment.<br />
==&gt; Finished making: gnome-shell-extension-weather-neroth-git 20121126-1 (Mon Nov 26 10:43:30 IST 2012)<br />
==&gt; Installing package gnome-shell-extension-weather-neroth-git with pacman -U...<br />
[sudo] password for bhaskar:<br />
loading packages...<br />
resolving dependencies...<br />
looking for inter-conflicts...</p>
<p>Targets (1): gnome-shell-extension-weather-neroth-git-20121126-1</p>
<p>Total Installed Size:   0.44 MiB<br />
Net Upgrade Size:       0.02 MiB</p>
<p>Proceed with installation? [Y/n] y<br />
(1/1) checking package integrity                                                                                    [#####################################################################] 100%<br />
(1/1) loading package files                                                                                         [#####################################################################] 100%<br />
(1/1) checking for file conflicts                                                                                   [#####################################################################] 100%<br />
(1/1) checking available disk space                                                                                 [#####################################################################] 100%<br />
(1/1) upgrading gnome-shell-extension-weather-neroth-git                                                            [#####################################################################] 100%</p>
<p><strong>Just restart GNOME Shell ([Alt]+[F2], r).</strong><br />
What new ?<br />
 * Number localization<br />
 * Forcast temp modification<br />
 * Add a submenu for choose locations<br />
 * Add Beaufort scale + kPa unit<br />
 * Fix bug (delete all locations bug)<br />
For more informations, see <a href="https://github.com/Neroth/gnome-shell-extension-weather" rel="nofollow">https://github.com/Neroth/gnome-shell-extension-weather</a>.</p>
<p>bhaskar@ArchLinux_10:43:55_Mon Nov 26:~/gnome-shell-extension-weather-neroth-git&gt; cd ~<br />
bhaskar@ArchLinux_10:44:05_Mon Nov 26:~&gt;<br />
[ ArchLinux ][                                                               0-$ bash  (1*$ bash)                                                               ][0.42 0.46 0.51][ 11/26 10:44 ]<br />
installing sk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sk/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing sv.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sv/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing uk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/uk/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing vi.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/vi/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing zh_CN.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_CN/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing zh_TW.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_TW/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
installing pl.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/pl/LC_MESSAGES/gnome-shell-extension-weather.mo<br />
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'<br />
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'<br />
make[2]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'<br />
make[2]: Nothing to be done for `install-exec-am'.<br />
make[2]: Nothing to be done for `install-data-am'.<br />
make[2]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'<br />
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'<br />
==&gt; Tidying install...<br />
  -&gt; Purging unwanted files...<br />
  -&gt; Compressing man and info pages...<br />
  -&gt; Stripping unneeded symbols from binaries and libraries...<br />
==&gt; Creating package...<br />
  -&gt; Generating .PKGINFO file...<br />
  -&gt; Adding install file...<br />
  -&gt; Compressing package...<br />
==&gt; Leaving fakeroot environment.<br />
==&gt; Finished making: gnome-shell-extension-weather-neroth-git 20121126-1 (Mon Nov 26 10:43:30 IST 2012)<br />
==&gt; Installing package gnome-shell-extension-weather-neroth-git with pacman -U...<br />
[sudo] password for bhaskar:<br />
loading packages...<br />
resolving dependencies...<br />
looking for inter-conflicts...</p>
<p>Targets (1): gnome-shell-extension-weather-neroth-git-20121126-1</p>
<p>Total Installed Size:   0.44 MiB<br />
Net Upgrade Size:       0.02 MiB</p>
<p>Proceed with installation? [Y/n] y<br />
(1/1) checking package integrity                                                                                    [#####################################################################] 100%<br />
(1/1) loading package files                                                                                         [#####################################################################] 100%<br />
(1/1) checking for file conflicts                                                                                   [#####################################################################] 100%<br />
(1/1) checking available disk space                                                                                 [#####################################################################] 100%<br />
(1/1) upgrading gnome-shell-extension-weather-neroth-git                                                            [#####################################################################] 100%</p>
<p>Just restart GNOME Shell ([Alt]+[F2], r).<br />
What new ?<br />
 * Number localization<br />
 * Forcast temp modification<br />
 * Add a submenu for choose locations<br />
 * Add Beaufort scale + kPa unit<br />
 * Fix bug (delete all locations bug)<br />
For more informations, see <a href="https://github.com/Neroth/gnome-shell-extension-weather" rel="nofollow">https://github.com/Neroth/gnome-shell-extension-weather</a>.<br />
</code></p>
<p>Hope this will help.</p>
<p>Cheers!<br />
Bhaskar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixbhaskar.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixbhaskar.wordpress.com/543/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=543&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixbhaskar.wordpress.com/2012/11/26/how-to-add-gnome-shell-weather-extension-on-arch-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e1c81eff8f508ac58ea6e03b0cf524e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixbhaskar</media:title>
		</media:content>
	</item>
		<item>
		<title>Version check for important software build tool</title>
		<link>http://unixbhaskar.wordpress.com/2012/08/23/version-check-for-important-software-build-tool/</link>
		<comments>http://unixbhaskar.wordpress.com/2012/08/23/version-check-for-important-software-build-tool/#comments</comments>
		<pubDate>Thu, 23 Aug 2012 06:52:50 +0000</pubDate>
		<dc:creator>unixbhaskar</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://unixbhaskar.wordpress.com/?p=539</guid>
		<description><![CDATA[Here is a small script , which will scan the system for important development tools for their version check.Simple and mundane. #!/bin/bash export LC_ALL=C # Simple script to list version numbers of critical development tools bash --version &#124; head -n1 &#124; cut -d" " -f2-4 echo "/bin/sh -&#62; `readlink -f /bin/sh`" echo -n "Binutils: "; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=539&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Here is a small script , which will scan the system for important development tools for their version check.Simple and mundane.</p>
<p><code><strong><br />
#!/bin/bash<br />
export LC_ALL=C</p>
<p># Simple script to list version numbers of critical development tools</p>
<p>bash --version | head -n1 | cut -d" " -f2-4<br />
echo "/bin/sh -&gt; `readlink -f /bin/sh`"<br />
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-<br />
bison --version | head -n1<br />
if [ -e /usr/bin/yacc ];<br />
  then echo "/usr/bin/yacc -&gt; `readlink -f /usr/bin/yacc`";<br />
    else echo "yacc not found"; fi<br />
    bzip2 --version 2&gt;&amp;1  `readlink -f /usr/bin/awk`";<br />
        else echo "awk not found"; fi<br />
	gcc --version | head -n1<br />
	/lib/libc.so.6 | head -n1 | cut -d"," -f1<br />
	grep --version | head -n1<br />
	gzip --version | head -n1<br />
	cat /proc/version<br />
	m4 --version | head -n1<br />
	make --version | head -n1<br />
	patch --version | head -n1<br />
	echo Perl `perl -V:version`<br />
	sed --version | head -n1<br />
	tar --version | head -n1<br />
	echo "Texinfo: `makeinfo --version | head -n1`"<br />
	echo 'main(){}' &gt; dummy.c &amp;&amp; gcc -o dummy dummy.c<br />
	if [ -x dummy ]; then echo "Compilation OK";<br />
	  else echo "Compilation failed"; fi<br />
	  rm -f dummy.c dummy</p>
<p></code></strong></p>
<p>Running this script on my laptop shown the below output( I am on <strong>Slackware 13.37</strong>):</p>
<p><code><strong><br />
bhaskar@Slackware_12:18:38_Thu Aug 23:/lvm/Adm_scripts&gt; sudo ./version-check.sh<br />
bash, version 4.1.10(2)-release<br />
/bin/sh -&gt; /bin/bash<br />
Binutils: (Linux/GNU Binutils) 2.21.51.0.6.20110118<br />
bison (GNU Bison) 2.4.3<br />
/usr/bin/yacc -&gt; /usr/bin/yacc<br />
bzip2,  Version 1.0.6, 6-Sept-2010.<br />
Coreutils:  8.15<br />
diff (GNU diffutils) 3.0<br />
find (GNU findutils) 4.4.2<br />
GNU Awk 3.1.8<br />
/usr/bin/awk -&gt; /bin/gawk-3.1.8<br />
gcc (GCC) 4.5.2<br />
GNU C Library stable release version 2.13<br />
grep (GNU grep) 2.7<br />
gzip 1.4<br />
Linux version 2.6.37.6-smp (root@midas) (gcc version 4.5.2 (GCC) ) #2 SMP Sat Apr 9 23:39:07 CDT 2011<br />
m4 (GNU M4) 1.4.16<br />
GNU Make 3.82<br />
patch 2.6.1<br />
Perl version='5.12.3';<br />
GNU sed version 4.2.1<br />
tar (GNU tar) 1.26<br />
Texinfo: makeinfo (GNU texinfo) 4.13<br />
Compilation OK<br />
</code></strong></p>
<p>You can customize it to include more.Hope this will help.</p>
<p>Cheers!<br />
Bhaskar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixbhaskar.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixbhaskar.wordpress.com/539/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=539&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixbhaskar.wordpress.com/2012/08/23/version-check-for-important-software-build-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e1c81eff8f508ac58ea6e03b0cf524e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixbhaskar</media:title>
		</media:content>
	</item>
		<item>
		<title>Implementing Qemu-Kvm on Slackware-13.37</title>
		<link>http://unixbhaskar.wordpress.com/2012/06/06/implementing-qemu-kvm-on-slackware-13-37/</link>
		<comments>http://unixbhaskar.wordpress.com/2012/06/06/implementing-qemu-kvm-on-slackware-13-37/#comments</comments>
		<pubDate>Wed, 06 Jun 2012 15:07:25 +0000</pubDate>
		<dc:creator>unixbhaskar</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[kernel]]></category>

		<guid isPermaLink="false">http://unixbhaskar.wordpress.com/?p=533</guid>
		<description><![CDATA[In this article I will show you how you can integrate qemu-kvm into the Slackware OS and utilise it to get other OS up.So, fasten you seat belt for the ride..it might be little bumpy..but we will take it&#8230; Step 1: Get the required source from this site So, I went ahead and get the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=533&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In this article I will show you how you can integrate qemu-kvm into the Slackware OS and utilise it to get other OS up.So, fasten you seat belt for the ride..it might be little bumpy..but we will take it&#8230;</p>
<p>Step 1: Get the required source from this <a href="http://slackbuilds.org/repository/13.37/system/qemu-kvm/" title="qemu-kvm" target="_blank">site </a></p>
<p>So, I went ahead and get the required source mentioned in the above mentioned site. </p>
<p>Step 2: Untar it</p>
<p><code><strong>bhaskar@Slackware_19:26:23_Wed Jun 06:~/Downloads&gt; tar -xvzf qemu-kvm\(1\).tar.gz<br />
qemu-kvm/<br />
qemu-kvm/slack-desc<br />
qemu-kvm/patches/<br />
qemu-kvm/patches/deprecate-time-drift-fix.patch<br />
qemu-kvm/patches/fixup_udev_rules.patch<br />
qemu-kvm/README<br />
qemu-kvm/qemu-kvm.info<br />
qemu-kvm/qemu-kvm.SlackBuild</strong></code></p>
<p>Step 3: Put the actual source into the previously inflated dir..the execution script look for it in that dir</p>
<p><code><strong>bhaskar@Slackware_19:26:58_Wed Jun 06:~/Downloads&gt; mv -v qemu-kvm-1.0.1.tar.gz ~/Downloads/qemu-kvm/<br />
`qemu-kvm-1.0.1.tar.gz' -&gt; `/home/bhaskar/Downloads/qemu-kvm/qemu-kvm-1.0.1.tar.gz'<br />
</strong></code></p>
<p>Step 4:Get into the Step 2 inflated dir and execute this script <strong>qemu-kvm.SlackBuild</strong></p>
<p><code><strong>bhaskar@Slackware_19:38:23_Wed Jun 06:~/Downloads/qemu-kvm&gt; sudo ./qemu-kvm.SlackBuild<br />
....<br />
....<br />
....<br />
usr/share/qemu/pxe-eepro100.rom<br />
usr/share/qemu/vgabios-cirrus.bin<br />
usr/share/qemu/linuxboot.bin<br />
usr/share/qemu/vgabios.bin<br />
usr/share/qemu/openbios-sparc32<br />
usr/bin/<br />
usr/bin/qemu-nbd<br />
usr/bin/kvm_stat<br />
usr/bin/qemu-img<br />
usr/bin/qemu-kvm<br />
usr/bin/qemu-io<br />
usr/bin/qemu-ga<br />
etc/<br />
etc/qemu/<br />
etc/qemu/target-x86_64.conf</p>
<p>Slackware package /tmp/qemu-kvm-1.0.1-i486-1_SBo.tgz created.</strong></code></p>
<p>Step 5: Now get that source implemented into the system by below methods</p>
<p><code><strong>root@Slackware:/tmp# installpkg qemu-kvm-1.0.1-i486-1_SBo.tgz<br />
Verifying package qemu-kvm-1.0.1-i486-1_SBo.tgz.<br />
Installing package qemu-kvm-1.0.1-i486-1_SBo.tgz:<br />
PACKAGE DESCRIPTION:<br />
# qemu-kvm (Stable branch - KVM requires QEMU)<br />
#<br />
# KVM  (Kernel-based Virtual Machine) is a full virtualization solution<br />
# for Linux on x86 hardware containing virtualization extensions<br />
# (Intel VT or AMD-V).<br />
#<br />
# KVM is divided into the KVM-KMOD package (kernel modules) and the<br />
# QEMU-KVM package (slightly modified QEMU) which are both available<br />
# as separate Slackbuilds.<br />
#<br />
Package qemu-kvm-1.0.1-i486-1_SBo.tgz installed.</strong></code></p>
<p>Step 6: Now time to test it out!</p>
<p><code><strong>bhaskar@Slackware_19:44:08_Wed Jun 06:~&gt; sudo /sbin/modprobe kvm<br />
bhaskar@Slackware_19:44:21_Wed Jun 06:~&gt; sudo /sbin/modprobe kvm_intel<br />
bhaskar@Slackware_19:44:25_Wed Jun 06:~&gt; whereis lsmod<br />
lsmod: /bin/lsmod /sbin/lsmod /usr/man/man8/lsmod.8.gz /usr/share/man/man8/lsmod.8.gz /usr/X11/man/man8/lsmod.8.gz<br />
bhaskar@Slackware_19:44:32_Wed Jun 06:~&gt; sudo /bin/lsmod | grep kvm<br />
kvm_intel              41712  0<br />
kvm                   283908  1 kvm_intel</strong></code></p>
<p>Step 7: Run against a ISO file of OS</p>
<p><code><strong>bhaskar@Slackware_20:08:41_Wed Jun 06:~/Downloads&gt; /usr/bin/qemu-kvm -enable-kvm -cdrom /home/bhaskar/Downloads/BT5-GNOME-32.iso<br />
</strong></code><br />
and the outcome is below:</p>
<p><a href="http://unixbhaskar.files.wordpress.com/2012/06/bt5_kvm_img.png"><img src="http://unixbhaskar.files.wordpress.com/2012/06/bt5_kvm_img.png?w=300&#038;h=168" alt="" title="BT5_KVM_IMG" width="300" height="168" class="aligncenter size-medium wp-image-534" /></a></p>
<p>Hope this will help.</p>
<p>Cheers!<br />
Bhaskar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixbhaskar.wordpress.com/533/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixbhaskar.wordpress.com/533/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=533&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixbhaskar.wordpress.com/2012/06/06/implementing-qemu-kvm-on-slackware-13-37/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e1c81eff8f508ac58ea6e03b0cf524e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixbhaskar</media:title>
		</media:content>

		<media:content url="http://unixbhaskar.files.wordpress.com/2012/06/bt5_kvm_img.png?w=300" medium="image">
			<media:title type="html">BT5_KVM_IMG</media:title>
		</media:content>
	</item>
		<item>
		<title>How to manually install LibreOffice on Scientific Linux</title>
		<link>http://unixbhaskar.wordpress.com/2012/04/09/how-to-manually-install-libreoffice-on-scientific-linux/</link>
		<comments>http://unixbhaskar.wordpress.com/2012/04/09/how-to-manually-install-libreoffice-on-scientific-linux/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 13:45:42 +0000</pubDate>
		<dc:creator>unixbhaskar</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://unixbhaskar.wordpress.com/?p=528</guid>
		<description><![CDATA[So, Once I downloaded the tar file from this link LibreOffice , it is 150MB of size. Fine, next I got into downloaded dir and untar it ..then get into the inflated dir like this : bhaskar@Scientific-Linux_18:48:52_Mon Apr 09:~/Downloads&#62; tar -xvzf LibO_3.5.2_Linux_x86_install-rpm_en-US.tar.gz LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/ LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/ LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/ LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/libreoffice3.5-freedesktop-menus-3.5-202.noarch.rpm LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/libreoffice3.5-mandriva-menus-3.5-202.noarch.rpm LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/libreoffice3.5-suse-menus-3.5-202.noarch.rpm LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-kde-integration-3.5.2-202.i586.rpm LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-gnome-integration-3.5.2-202.i586.rpm LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core01-3.5.2-202.i586.rpm LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-math-3.5.2-202.i586.rpm LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-python-script-provider-3.5.2-202.i586.rpm LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-calc-3.5.2-202.i586.rpm LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-base-3.5.2-202.i586.rpm [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=528&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>So, Once I downloaded the tar file from this link <a href="http://www.libreoffice.org/downloadold/" title="LibreOffice" target="_blank">LibreOffice</a> , it is 150MB of size.</p>
<p>Fine, next I got into downloaded dir and untar it ..then get into the inflated dir like this :</p>
<p><code><br />
<strong>bhaskar@Scientific-Linux_18:48:52_Mon Apr 09:~/Downloads&gt; tar -xvzf  LibO_3.5.2_Linux_x86_install-rpm_en-US.tar.gz</strong><br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/libreoffice3.5-freedesktop-menus-3.5-202.noarch.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/libreoffice3.5-mandriva-menus-3.5-202.noarch.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/libreoffice3.5-suse-menus-3.5-202.noarch.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-kde-integration-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-gnome-integration-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core01-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-math-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-python-script-provider-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-calc-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-base-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-binfilter-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-res-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-dict-fr-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core05-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-ogltrans-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-dict-es-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-writer-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-draw-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-presentation-minimizer-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core02-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core06-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-calc-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-en-US-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-stdlibs-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-mediawiki-publisher-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-javascript-script-provider-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-math-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-impress-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-writer-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-images-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-draw-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-report-builder-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-base-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-pyuno-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core04-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-beanshell-script-provider-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-math-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-dict-en-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-base-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core07-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-writer-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-impress-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-postgresql-sdbc-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-ooolinguistic-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-presenter-screen-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-ooofonts-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-nlpsolver-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-xsltfilter-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-en-US-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-graphicfilter-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-calc-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-core03-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libreoffice3.5-ure-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-onlineupdate-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-extension-pdf-import-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/libobasis3.5-javafilter-3.5.2-202.i586.rpm<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/readmes/<br />
LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/readmes/README_en-US<br />
</code></p>
<p>Now it&#8217;s pretty simple to install all the rpm&#8217;s at once like below:</p>
<p><code><br />
<strong>bhaskar@Scientific-Linux_18:51:02_Mon Apr 09:~/Downloads/LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS&gt; sudo rpm -ivh *.rpm</strong><br />
Preparing...                ########################################### [100%]<br />
   1:libreoffice3.5-ure     ########################################### [  2%]<br />
   2:libobasis3.5-core01    ########################################### [  4%]<br />
   3:libobasis3.5-core02    ########################################### [  6%]<br />
   4:libobasis3.5-core03    ########################################### [  7%]<br />
   5:libobasis3.5-core04    ########################################### [  9%]<br />
   6:libobasis3.5-core05    ########################################### [ 11%]<br />
   7:libobasis3.5-core06    ########################################### [ 13%]<br />
   8:libobasis3.5-core07    ########################################### [ 15%]<br />
   9:libobasis3.5-en-US     ########################################### [ 17%]<br />
  10:libobasis3.5-base      ########################################### [ 19%]<br />
  11:libobasis3.5-impress   ########################################### [ 20%]<br />
  12:libobasis3.5-en-US-base########################################### [ 22%]<br />
  13:libobasis3.5-en-US-calc########################################### [ 24%]<br />
  14:libobasis3.5-en-US-math########################################### [ 26%]<br />
  15:libobasis3.5-en-US-res ########################################### [ 28%]<br />
  16:libobasis3.5-en-US-writ########################################### [ 30%]<br />
  17:libobasis3.5-calc      ########################################### [ 31%]<br />
  18:libobasis3.5-draw      ########################################### [ 33%]<br />
  19:libobasis3.5-images    ########################################### [ 35%]<br />
  20:libreoffice3.5         ########################################### [ 37%]<br />
  21:libobasis3.5-math      ########################################### [ 39%]<br />
  22:libobasis3.5-writer    ########################################### [ 41%]<br />
  23:libreoffice3.5-writer  ########################################### [ 43%]<br />
  24:libreoffice3.5-math    ########################################### [ 44%]<br />
  25:libreoffice3.5-base    ########################################### [ 46%]<br />
  26:libreoffice3.5-calc    ########################################### [ 48%]<br />
  27:libreoffice3.5-dict-en ########################################### [ 50%]<br />
SUCCESS: unopkg returns successful!<br />
  28:libreoffice3.5-dict-es ########################################### [ 52%]<br />
SUCCESS: unopkg returns successful!<br />
  29:libreoffice3.5-dict-fr ########################################### [ 54%]<br />
SUCCESS: unopkg returns successful!<br />
  30:libreoffice3.5-draw    ########################################### [ 56%]<br />
  31:libreoffice3.5-en-US   ########################################### [ 57%]<br />
  32:libreoffice3.5-impress ########################################### [ 59%]<br />
  33:libobasis3.5-ogltrans  ########################################### [ 61%]<br />
  34:libobasis3.5-postgresql########################################### [ 63%]<br />
  35:libobasis3.5-extension-########################################### [ 65%]<br />
  36:libobasis3.5-extension-########################################### [ 67%]<br />
  37:libobasis3.5-extension-########################################### [ 69%]<br />
  38:libobasis3.5-extension-########################################### [ 70%]<br />
  39:libobasis3.5-extension-########################################### [ 72%]<br />
  40:libobasis3.5-extension-########################################### [ 74%]<br />
  41:libobasis3.5-extension-########################################### [ 76%]<br />
  42:libobasis3.5-extension-########################################### [ 78%]<br />
  43:libobasis3.5-extension-########################################### [ 80%]<br />
  44:libobasis3.5-binfilter ########################################### [ 81%]<br />
  45:libobasis3.5-gnome-inte########################################### [ 83%]<br />
  46:libobasis3.5-graphicfil########################################### [ 85%]<br />
  47:libobasis3.5-javafilter########################################### [ 87%]<br />
  48:libobasis3.5-kde-integr########################################### [ 89%]<br />
  49:libobasis3.5-onlineupda########################################### [ 91%]<br />
  50:libobasis3.5-ooofonts  ########################################### [ 93%]<br />
  51:libobasis3.5-ooolinguis########################################### [ 94%]<br />
  52:libobasis3.5-pyuno     ########################################### [ 96%]<br />
  53:libobasis3.5-xsltfilter########################################### [ 98%]<br />
  54:libreoffice3.5-stdlibs ########################################### [100%]<br />
</code></p>
<p>But wait&#8230;I am not able to see the menu&#8217;s..okay there is directory inside the inflated dir called &#8221; desktop-integration&#8221; and then get into that .</p>
<p>Next , only install the<strong> freedesktop rpm</strong>&#8230;which will eventually install the menus into the system.BTW while doing this you might come across those errors..I safely ignore those and it works..it might not be the case for you.</p>
<p><code><br />
<strong>bhaskar@Scientific-Linux_18:53:54_Mon Apr 09:~/Downloads/LibO_3.5.2rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration&gt; sudo rpm -ivh libreoffice3.5-freedesktop-menus-3.5-202.noarch.rpm </strong><br />
Preparing...                ########################################### [100%]<br />
   1:libreoffice3.5-freedesk########################################### [100%]<br />
/usr/bin/update-desktop-database<br />
/usr/bin/update-mime-database<br />
Unknown media type in type 'all/all'</p>
<p>Unknown media type in type 'all/allfiles'</p>
<p>Unknown media type in type 'uri/mms'</p>
<p>Unknown media type in type 'uri/mmst'</p>
<p>Unknown media type in type 'uri/mmsu'</p>
<p>Unknown media type in type 'uri/pnm'</p>
<p>Unknown media type in type 'uri/rtspt'</p>
<p>Unknown media type in type 'uri/rtspu'</p>
<p>Unknown media type in type 'fonts/package'</p>
<p>Unknown media type in type 'interface/x-winamp-skin'</p>
<p>mkdir: cannot create directory `/usr/share/icons/hicolor/icon-theme.cache': Not a directory<br />
mkdir: cannot create directory `/usr/share/icons/hicolor/index.theme': Not a directory<br />
/usr/bin/gtk-update-icon-cache<br />
/usr/bin/gtk-update-icon-cache<br />
/usr/bin/update-desktop-database<br />
/usr/bin/update-desktop-database<br />
</code></p>
<p>That&#8217;s all!! </p>
<p>Hope this will help.</p>
<p>Cheers!<br />
Bhaskar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixbhaskar.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixbhaskar.wordpress.com/528/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=528&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixbhaskar.wordpress.com/2012/04/09/how-to-manually-install-libreoffice-on-scientific-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e1c81eff8f508ac58ea6e03b0cf524e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixbhaskar</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Cinnamon desktop on Arch Linux</title>
		<link>http://unixbhaskar.wordpress.com/2012/02/23/installing-cinnamon-desktop-on-arch-linux/</link>
		<comments>http://unixbhaskar.wordpress.com/2012/02/23/installing-cinnamon-desktop-on-arch-linux/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 07:38:53 +0000</pubDate>
		<dc:creator>unixbhaskar</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://unixbhaskar.wordpress.com/?p=520</guid>
		<description><![CDATA[So what&#8217;s the big deal!! I have had a look at the ArchWiki and it says very little about the detail procedure..so I have tried to show the detail thing in this post to get thing going So here we go : step 1 : bhaskar@ArchLinux_11:39:10_Thu Feb 23:~/Downloads&#62; cd cinnamon bhaskar@ArchLinux_11:39:14_Thu Feb 23:~/Downloads/cinnamon&#62; ls cinnamon.install [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=520&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>So what&#8217;s the big deal!! I have had a look at the <a href="https://wiki.archlinux.org/index.php/Cinnamon">ArchWiki</a> and it says very little about the detail procedure..so I have tried to show the detail thing in this post to get thing going <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p> So here we go :</p>
<p><code><strong><br />
step 1 :<br />
bhaskar@ArchLinux_11:39:10_Thu Feb 23:~/Downloads&gt; cd cinnamon</p>
<p>bhaskar@ArchLinux_11:39:14_Thu Feb 23:~/Downloads/cinnamon&gt; ls<br />
cinnamon.install  cinnamon.session  cinnamon.xsession  gnome-session-cinnamon  PKGBUILD</p>
<p>bhaskar@ArchLinux_11:39:15_Thu Feb 23:~/Downloads/cinnamon&gt; makepkg -s<br />
==&gt; Making package: cinnamon 1.3.1-1 (Thu Feb 23 11:39:22 IST 2012)<br />
==&gt; Checking runtime dependencies...<br />
==&gt; Installing missing dependencies...<br />
error: target not found: muffin-git<br />
==&gt; ERROR: 'pacman' failed to install missing dependencies.</p>
<p>bhaskar@ArchLinux_11:40:08_Thu Feb 23:~/Downloads/cinnamon&gt; cd ..</p>
<p>bhaskar@ArchLinux_11:41:30_Thu Feb 23:~/Downloads&gt; tar -xvzf muffin-git.tar.gz<br />
muffin-git/<br />
muffin-git/muffin.install<br />
muffin-git/PKGBUILD</p>
<p>bhaskar@ArchLinux_11:41:37_Thu Feb 23:~/Downloads&gt; cd muffin-git</p>
<p>bhaskar@ArchLinux_11:41:39_Thu Feb 23:~/Downloads/muffin-git&gt; ls<br />
muffin.install  PKGBUILD</p>
<p>bhaskar@ArchLinux_11:41:40_Thu Feb 23:~/Downloads/muffin-git&gt; makepkg -s<br />
==&gt; Determining latest git revision...<br />
  -&gt; Version found: 20120223<br />
==&gt; Making package: muffin-git 20120223-1 (Thu Feb 23 11:41:45 IST 2012)<br />
==&gt; Checking runtime dependencies...<br />
==&gt; Checking buildtime dependencies...<br />
==&gt; Installing missing dependencies...<br />
resolving dependencies...<br />
looking for inter-conflicts...</p>
<p>Targets (2): gnome-doc-utils-0.20.6-1  intltool-0.50.1-1</p>
<p>Total Download Size:    0.33 MiB<br />
Total Installed Size:   4.01 MiB</p>
<p>Proceed with installation? [Y/n] y<br />
:: Retrieving packages from extra...<br />
 intltool-0.50.1-1-any                                                                     38.1 KiB  42.7K/s 00:01 [#####################################################################] 100%<br />
 gnome-doc-utils-0.20.6-1-any                                                             298.8 KiB   206K/s 00:01 [#####################################################################] 100%<br />
(2/2) checking package integrity                                                                                   [#####################################################################] 100%<br />
(2/2) loading package files                                                                                        [#####################################################################] 100%<br />
(2/2) checking for file conflicts                                                                                  [#####################################################################] 100%<br />
(2/2) checking available disk space                                                                                [#####################################################################] 100%<br />
(1/2) installing intltool                                                                                          [#####################################################################] 100%<br />
(2/2) installing gnome-doc-utils                                                                                   [#####################################################################] 100%<br />
==&gt; Retrieving Sources...<br />
==&gt; Extracting Sources...<br />
==&gt; Starting build()...<br />
==&gt; Connecting to GIT server....<br />
Cloning into 'muffin'...<br />
remote: Counting objects: 511, done.<br />
remote: Compressing objects: 100% (360/360), done.<br />
remote: Total 511 (delta 230), reused 424 (delta 143)<br />
Receiving objects: 100% (511/511), 2.68 MiB | 127 KiB/s, done.<br />
Resolving deltas: 100% (230/230), done.<br />
==&gt; GIT checkout done or server timeout<br />
==&gt; Starting build...<br />
Cloning into '/home/bhaskar/Downloads/muffin-git/src/muffin-build'...<br />
done.<br />
autoreconf: Entering directory `.'<br />
autoreconf: configure.in: not using Gettext<br />
autoreconf: running: aclocal --force<br />
autoreconf: configure.in: tracing<br />
autoreconf: running: libtoolize --copy --force<br />
libtoolize: putting auxiliary files in `.'.<br />
libtoolize: copying file `./ltmain.sh'<br />
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and<br />
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.<br />
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.<br />
autoreconf: running: /usr/bin/autoconf --force<br />
autoreconf: running: /usr/bin/autoheader --force<br />
autoreconf: running: automake --add-missing --copy --force-missing<br />
src/Makefile.am:233: filter %.c,$(libmuffin_la_SOURCES: non-POSIX variable name<br />
src/Makefile.am:233: (probably a GNU make extension)<br />
autoreconf: Leaving directory `.'<br />
checking for a BSD-compatible install... /bin/install -c<br />
checking whether build environment is sane... yes<br />
checking for a thread-safe mkdir -p... /bin/mkdir -p<br />
checking for gawk... gawk<br />
checking whether make sets $(MAKE)... yes<br />
checking how to create a ustar tar archive... gnutar<br />
checking whether make supports nested variables... yes<br />
checking whether to enable maintainer-specific portions of Makefiles... yes<br />
checking whether NLS is requested... yes<br />
checking for style of include used by make... GNU<br />
checking for gcc... gcc<br />
checking whether the C compiler works... yes<br />
checking for C compiler default output file name... a.out<br />
checking for suffix of executables...<br />
checking whether we are cross compiling... no<br />
checking for suffix of object files... o<br />
checking whether we are using the GNU C compiler... yes<br />
checking whether gcc accepts -g... yes<br />
checking for gcc option to accept ISO C89... none needed<br />
checking dependency style of gcc... gcc3<br />
.......</p>
<p>.....</p>
<p>==&gt; Tidying install...<br />
  -&gt; Purging unwanted files...<br />
  -&gt; Compressing man and info pages...<br />
  -&gt; Stripping unneeded symbols from binaries and libraries...<br />
  -&gt; Removing libtool files...<br />
  -&gt; Removing empty directories...<br />
==&gt; Creating package...<br />
  -&gt; Generating .PKGINFO file...<br />
  -&gt; Adding install file...<br />
  -&gt; Compressing package...<br />
==&gt; Leaving fakeroot environment.<br />
==&gt; Finished making: muffin-git 20120223-1 (Thu Feb 23 11:43:51 IST 2012)</p>
<p></code></strong></p>
<p>Step 2:<br />
<code><strong><br />
bhaskar@ArchLinux_11:46:02_Thu Feb 23:~/Downloads/muffin-git&gt; sudo pacman -U muffin-git-20120223-1-i686.pkg.tar.xz<br />
loading packages...<br />
resolving dependencies...<br />
looking for inter-conflicts...</p>
<p>Targets (1): muffin-git-20120223-1</p>
<p>Total Installed Size:   7.35 MiB</p>
<p>Proceed with installation? [Y/n] y<br />
(1/1) checking package integrity                                                                                   [#####################################################################] 100%<br />
(1/1) loading package files                                                                                        [#####################################################################] 100%<br />
(1/1) checking for file conflicts                                                                                  [#####################################################################] 100%<br />
(1/1) checking available disk space                                                                                [#####################################################################] 100%<br />
(1/1) installing muffin-git                                                                                        [#####################################################################] 100<br />
</code></strong></p>
<p>Step 3:<br />
<code><strong><br />
bhaskar@ArchLinux_11:47:03_Thu Feb 23:~/Downloads/cinnamon&gt; makepkg -s<br />
==&gt; Making package: cinnamon 1.3.1-1 (Thu Feb 23 11:47:08 IST 2012)<br />
==&gt; Checking runtime dependencies...<br />
==&gt; Checking buildtime dependencies...<br />
==&gt; Installing missing dependencies...<br />
resolving dependencies...<br />
looking for inter-conflicts...</p>
<p>Targets (1): gnome-common-2.34.0-1</p>
<p>Total Download Size:    0.01 MiB<br />
Total Installed Size:   0.04 MiB</p>
<p>Proceed with installation? [Y/n]</p>
<p>y<br />
:: Retrieving packages from extra...<br />
 gnome-common-2.34.0-1-any                                                                  8.4 KiB  42.5K/s 00:00 [#####################################################################] 100%<br />
(1/1) checking package integrity                                                                                   [#####################################################################] 100%<br />
(1/1) loading package files                                                                                        [#####################################################################] 100%<br />
(1/1) checking for file conflicts                                                                                  [#####################################################################] 100%<br />
(1/1) checking available disk space                                                                                [#####################################################################] 100%<br />
(1/1) installing gnome-common                                                                                      [#####################################################################] 100%<br />
==&gt; Retrieving Sources...<br />
  -&gt; Found cinnamon.session<br />
  -&gt; Found cinnamon.xsession<br />
  -&gt; Found gnome-session-cinnamon<br />
==&gt; Validating source files with md5sums...<br />
    cinnamon.session ... Passed<br />
    cinnamon.xsession ... Passed<br />
    gnome-session-cinnamon ... Passed<br />
==&gt; Extracting Sources...<br />
==&gt; Starting build()...<br />
--2012-02-23 11:47:42--  <a href="https://github.com/linuxmint/Cinnamon/tarball/1.3.1" rel="nofollow">https://github.com/linuxmint/Cinnamon/tarball/1.3.1</a><br />
Resolving github.com... 207.97.227.239<br />
Connecting to github.com|207.97.227.239|:443... connected.<br />
HTTP request sent, awaiting response... 302 Found<br />
Location: <a href="https://nodeload.github.com/linuxmint/Cinnamon/tarball/1.3.1" rel="nofollow">https://nodeload.github.com/linuxmint/Cinnamon/tarball/1.3.1</a> [following]<br />
--2012-02-23 11:47:43--  <a href="https://nodeload.github.com/linuxmint/Cinnamon/tarball/1.3.1" rel="nofollow">https://nodeload.github.com/linuxmint/Cinnamon/tarball/1.3.1</a><br />
Resolving nodeload.github.com... 207.97.227.252<br />
Connecting to nodeload.github.com|207.97.227.252|:443... connected.<br />
HTTP request sent, awaiting response... 200 OK<br />
Length: 2401810 (2.3M) [application/octet-stream]<br />
Saving to: `cinnamon.tar.gz'</p>
<p>==&gt; Tidying install...<br />
  -&gt; Purging unwanted files...<br />
  -&gt; Compressing man and info pages...<br />
  -&gt; Stripping unneeded symbols from binaries and libraries...<br />
  -&gt; Removing libtool files...<br />
==&gt; Creating package...<br />
  -&gt; Generating .PKGINFO file...<br />
  -&gt; Adding install file...<br />
  -&gt; Compressing package...<br />
==&gt; Leaving fakeroot environment.<br />
==&gt; Finished making: cinnamon 1.3.1-1 (Thu Feb 23 11:49:29 IST 2012)<br />
</code></strong></p>
<p>Step 4:<br />
<code><strong><br />
bhaskar@ArchLinux_11:50:43_Thu Feb 23:~/Downloads/cinnamon&gt; sudo pacman -U cinnamon-1.3.1-1-i686.pkg.tar.xz<br />
loading packages...<br />
resolving dependencies...<br />
looking for inter-conflicts...</p>
<p>Targets (1): cinnamon-1.3.1-1</p>
<p>Total Installed Size:   6.08 MiB</p>
<p>Proceed with installation? [Y/n] y</p>
<p>(1/1) checking package integrity                                                                                   [#####################################################################] 100%<br />
(1/1) loading package files                                                                                        [#####################################################################] 100%<br />
(1/1) checking for file conflicts                                                                                  [#####################################################################] 100%<br />
(1/1) checking available disk space                                                                                [#####################################################################] 100%<br />
(1/1) installing cinnamon                                                                                          [#####################################################################] 100%<br />
To abilitate Cinnamon you can also assign to session-name<br />
key in org.gnome.desktop.session the value cinnamon</p>
<p></code></strong></p>
<p>Step 5:<br />
<code><strong><br />
bhaskar@ArchLinux_11:55:03_Thu Feb 23:~/Downloads&gt; tar -xvzf cinnamon-extensions-git.tar.gz<br />
cinnamon-extensions-git/<br />
cinnamon-extensions-git/cinnamon-weather-config.desktop<br />
cinnamon-extensions-git/PKGBUILD<br />
cinnamon-extensions-git/cinnamon-extensions-git.install</p>
<p>bhaskar@ArchLinux_11:55:13_Thu Feb 23:~/Downloads&gt; cd cinnamon-extensions-git</p>
<p>bhaskar@ArchLinux_11:55:18_Thu Feb 23:~/Downloads/cinnamon-extensions-git&gt; ls<br />
cinnamon-extensions-git.install  cinnamon-weather-config.desktop  PKGBUILD</p>
<p>bhaskar@ArchLinux_11:55:20_Thu Feb 23:~/Downloads/cinnamon-extensions-git&gt; makepkg -s<br />
==&gt; Determining latest git revision...<br />
  -&gt; Version found: 20120223<br />
==&gt; Making package: cinnamon-extensions-git 20120223-1 (Thu Feb 23 11:55:25 IST 2012)<br />
==&gt; Checking runtime dependencies...<br />
==&gt; Checking buildtime dependencies...<br />
==&gt; Retrieving Sources...<br />
  -&gt; Found cinnamon-weather-config.desktop<br />
==&gt; Validating source files with md5sums...<br />
 cinnamon-weather-config.desktop ... Passed<br />
==&gt; Extracting Sources...<br />
==&gt; Starting build()...<br />
==&gt; Connecting to GIT server....<br />
Cloning into 'cinnamon-extensions'...<br />
remote: Counting objects: 98, done.<br />
remote: Compressing objects: 100% (48/48), done.<br />
remote: Total 98 (delta 23), reused 98 (delta 23)<br />
Receiving objects: 100% (98/98), 27.34 KiB, done.<br />
Resolving deltas: 100% (23/23), done.<br />
==&gt; GIT checkout done or server timeout<br />
==&gt; Entering fakeroot environment...<br />
==&gt; Starting package()...<br />
==&gt; Tidying install...<br />
  -&gt; Purging unwanted files...<br />
  -&gt; Compressing man and info pages...<br />
  -&gt; Stripping unneeded symbols from binaries and libraries...<br />
==&gt; Creating package...<br />
  -&gt; Generating .PKGINFO file...<br />
  -&gt; Adding install file...<br />
  -&gt; Compressing package...<br />
==&gt; Leaving fakeroot environment.<br />
==&gt; Finished making: cinnamon-extensions-git 20120223-1 (Thu Feb 23 11:55:31 IST 2012)<br />
</code></strong></p>
<p>Step 6:<br />
<code><strong><br />
bhaskar@ArchLinux_11:56:04_Thu Feb 23:~/Downloads/cinnamon-extensions-git&gt; sudo pacman -U cinnamon-extensions-git-20120223-1-any.pkg.tar.xz<br />
Password:<br />
loading packages...<br />
resolving dependencies...<br />
looking for inter-conflicts...</p>
<p>Targets (1): cinnamon-extensions-git-20120223-1</p>
<p>Total Installed Size:   0.16 MiB</p>
<p>Proceed with installation? [Y/n] y<br />
(1/1) checking package integrity                                                                                   [#####################################################################] 100%<br />
(1/1) loading package files                                                                                        [#####################################################################] 100%<br />
(1/1) checking for file conflicts                                                                                  [#####################################################################] 100%<br />
(1/1) checking available disk space                                                                                [#####################################################################] 100%<br />
(1/1) installing cinnamon-extensions-git                                                                           [#####################################################################] 100%</p>
<p></code></strong></p>
<p>Step 7:<br />
<code><strong><br />
bhaskar@ArchLinux_11:57:22_Thu Feb 23:~/Downloads/cinnamon-themes-git&gt; makepkg -s<br />
==&gt; Determining latest git revision...<br />
  -&gt; Version found: 20120223<br />
==&gt; Making package: cinnamon-themes-git 20120223-1 (Thu Feb 23 11:57:27 IST 2012)<br />
==&gt; Checking runtime dependencies...<br />
==&gt; Checking buildtime dependencies...<br />
==&gt; Retrieving Sources...<br />
==&gt; Extracting Sources...<br />
==&gt; Starting build()...<br />
==&gt; Connecting to GIT server....<br />
Cloning into 'cinnamon-themes'...<br />
remote: Counting objects: 629, done.<br />
remote: Compressing objects: 100% (440/440), done.<br />
remote: Total 629 (delta 205), reused 588 (delta 164)<br />
Receiving objects: 100% (629/629), 12.80 MiB | 196 KiB/s, done.<br />
Resolving deltas: 100% (205/205), done.<br />
==&gt; GIT checkout done or server timeout<br />
==&gt; Entering fakeroot environment...<br />
==&gt; Starting package()...<br />
==&gt; Tidying install...<br />
  -&gt; Purging unwanted files...<br />
  -&gt; Compressing man and info pages...<br />
  -&gt; Stripping unneeded symbols from binaries and libraries...<br />
==&gt; Creating package...<br />
  -&gt; Generating .PKGINFO file...<br />
  -&gt; Compressing package...<br />
==&gt; Leaving fakeroot environment.<br />
==&gt; Finished making: cinnamon-themes-git 20120223-1 (Thu Feb 23 11:59:08 IST 2012)<br />
</code></strong></p>
<p>Step 8:<br />
<code><strong><br />
bhaskar@ArchLinux_11:59:51_Thu Feb 23:~/Downloads/cinnamon-themes-git&gt; sudo pacman -U cinnamon-themes-git-20120223-1-any.pkg.tar.xz<br />
loading packages...<br />
resolving dependencies...<br />
looking for inter-conflicts...</p>
<p>Targets (1): cinnamon-themes-git-20120223-1</p>
<p>Total Installed Size:   18.32 MiB</p>
<p>Proceed with installation? [Y/n] y</p>
<p>(1/1) checking package integrity                                                                                   [#####################################################################] 100%<br />
(1/1) loading package files                                                                                        [#####################################################################] 100%<br />
(1/1) checking for file conflicts                                                                                  [#####################################################################] 100%<br />
(1/1) checking available disk space                                                                                [#####################################################################] 100%<br />
(1/1) installing cinnamon-themes-git                                                                               [#####################################################################] 100%<br />
</code></strong></p>
<p>Now it&#8217;s look like below:</p>
<p><a href="http://unixbhaskar.files.wordpress.com/2012/02/cinnamon-desktop.png"><img src="http://unixbhaskar.files.wordpress.com/2012/02/cinnamon-desktop.png?w=300&#038;h=168" alt="" title="cinnamon-desktop" width="300" height="168" class="aligncenter size-medium wp-image-524" /></a></p>
<p>Hope this will help.</p>
<p>Cheers!<br />
Bhaskar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixbhaskar.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixbhaskar.wordpress.com/520/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=520&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixbhaskar.wordpress.com/2012/02/23/installing-cinnamon-desktop-on-arch-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e1c81eff8f508ac58ea6e03b0cf524e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixbhaskar</media:title>
		</media:content>

		<media:content url="http://unixbhaskar.files.wordpress.com/2012/02/cinnamon-desktop.png?w=300" medium="image">
			<media:title type="html">cinnamon-desktop</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Drupal in Gentoo</title>
		<link>http://unixbhaskar.wordpress.com/2012/02/09/installing-drupal-in-gentoo/</link>
		<comments>http://unixbhaskar.wordpress.com/2012/02/09/installing-drupal-in-gentoo/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 14:32:45 +0000</pubDate>
		<dc:creator>unixbhaskar</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://unixbhaskar.wordpress.com/?p=498</guid>
		<description><![CDATA[So,I have stumbled over a page here ,which basically suggest that the installation was problematic. So I decided to plunge into it to have a crack on it. My Gentoo system has prohibit me too..here are the interaction with my system: bhaskar@GentooLinux_13:41:15_Thu Feb 09:~&#62; sudo emerge -av drupal These are the packages that would be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=498&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>So,I have stumbled over a page <a href="http://drupal.org/node/163517" title="Dupal on Gentoo" target="_blank">here</a> ,which basically suggest that the installation was problematic. So I decided to plunge into it to have a crack on it.</p>
<p>My Gentoo system has prohibit me too..here are the interaction with my system:<br />
<code><strong><br />
bhaskar@GentooLinux_13:41:15_Thu Feb 09:~&gt; sudo emerge -av drupal                                                                             </p>
<p>These are the packages that would be merged, in order:                                                                                        </p>
<p>Calculating dependencies... done!                                                                                                             </p>
<p>!!! All ebuilds that could satisfy "drupal" have been masked.<br />
!!! One of the following masked packages is required to complete your request:<br />
dev-lang/php pdo gd mysql mysqli xml<br />
- www-apps/drupal-7.12::gentoo (masked by: ~x86 keyword)<br />
- www-apps/drupal-7.10::gentoo (masked by: ~x86 keyword)<br />
- www-apps/drupal-6.24::gentoo (masked by: ~x86 keyword)<br />
- www-apps/drupal-6.22::gentoo (masked by: ~x86 keyword)<br />
- www-apps/drupal-5.23::gentoo (masked by: ~x86 keyword)                                                                                      </p>
<p>For more information, see the MASKED PACKAGES section in the emerge<br />
man page or refer to the Gentoo Handbook.                                                                                          </code><br />
                                                                                                   <code><br />
bhaskar@GentooLinux_13:41:39_Thu Feb 09:~&gt; sudo vim /etc/portage/package.keywords/druapl.keywords<br />
</code></p>
<p><code><br />
bhaskar@GentooLinux_13:44:54_Thu Feb 09:~&gt; sudo emerge -av drupal                                                                             </p>
<p>These are the packages that would be merged, in order:<br />
dev-lang/php pdo gd mysql mysqli xml apache2</p>
<p>Calculating dependencies... done!                                                                                                             </p>
<p>emerge: there are no ebuilds built with USE flags to satisfy "dev-lang/php[pdo,postgres?,sqlite?,xml]".<br />
!!! One of the following packages is required to complete your request:<br />
- dev-lang/php-5.3.9::gentoo (Change USE: +pdo)<br />
(dependency required by "www-apps/drupal-7.12" [ebuild])<br />
(dependency required by "drupal" [argument])                                                                                        </code></p>
<p><code><br />
bhaskar@GentooLinux_14:02:29_Thu Feb 09:~&gt; sudo vim /etc/portage/package.use/php.use </p>
<p></code></p>
<p><code><br />
bhaskar@GentooLinux_14:04:01_Thu Feb 09:~&gt; sudo emerge -av drupal                                                                             </p>
<p>These are the packages that would be merged, in order:                                                                                        </p>
<p>Calculating dependencies... done!                                                                                                             </p>
<p>emerge: there are no ebuilds built with USE flags to satisfy "=dev-lang/php-5.3*[apache2]".<br />
!!! One of the following packages is required to complete your request:<br />
- dev-lang/php-5.3.9::gentoo (Change USE: +apache2)<br />
(dependency required by "virtual/httpd-php-5.3" [ebuild])<br />
(dependency required by "www-apps/drupal-7.12" [ebuild])<br />
(dependency required by "drupal" [argument])<br />
</code></p>
<p><code><br />
bhaskar@GentooLinux_14:04:27_Thu Feb 09:~&gt; sudo emerge -av drupal                                                          </p>
<p>These are the packages that would be merged, in order:</p>
<p>Calculating dependencies... done!<br />
[ebuild  N     ] dev-libs/oniguruma-5.9.2  528 kB<br />
[ebuild  N     ] app-admin/webapp-config-1.50.16-r1  102 kB<br />
[ebuild  N     ] dev-libs/libmcrypt-2.5.8-r2  1,304 kB<br />
[ebuild  N     ] app-admin/eselect-php-0.6.2  2 kB<br />
[ebuild  N     ] media-libs/t1lib-5.1.2  USE="X -doc -static-libs" 1,829 kB<br />
[ebuild  N     ] virtual/httpd-cgi-0  0 kB<br />
[ebuild  N     ] app-text/aspell-0.60.6.1  USE="nls" LINGUAS="-af -be -bg -br -ca -cs -cy -da -de -el -en -eo -es -et -fi -fo -fr -ga -gl -he -hr -is -it -la -lt -nl -no -pl -pt -pt_BR -ro -ru -sk -sl -sr -sv -uk -vi" 1,835 kB<br />
[ebuild  N     ] app-dicts/aspell-en-6.0.0  179 kB<br />
[ebuild  N     ] dev-lang/php-5.3.9  USE="apache2 berkdb bzip2 cli crypt ctype exif fileinfo filter gd gdbm hash iconv ipv6 json ldap mysql mysqli nls pdo phar posix readline session simplexml spell ssl tokenizer truetype unicode xml zlib -bcmath -calendar -cdb -cgi -cjk -curl -curlwrappers -debug -doc -embed -enchant -firebird -flatfile -fpm -frontbase -ftp -gmp -imap -inifile -intl -iodbc -kerberos -kolab -ldap-sasl -libedit -mhash -mssql -mysqlnd -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sharedmem -snmp -soap -sockets -sqlite -sqlite3 -suhosin -sybase-ct -sysvipc -threads -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip" 11,438 kB<br />
[ebuild  N     ] virtual/httpd-php-5.3  0 kB<br />
[ebuild  N    ~] www-apps/drupal-7.12  USE="mysql -postgres -sqlite -vhosts" 3,017 kB</p>
<p>Total: 11 packages (11 new), Size of downloads: 20,229 kB</p>
<p>Would you like to merge these packages? [Yes/No] y<br />
</code></strong></p>
<p>On the process to get it into my system I have added it keywords file and made some flags to add with the php .</p>
<p>First I have added a file <strong>drupal.keywords</strong> in <strong>/etc/portage/package.keywords</strong> and the content of the file look like this :</p>
<p><code><strong><br />
 www-apps/drupal ~x86<br />
~<br />
</code></strong></p>
<p>Then, I have added another file as <strong>php.use</strong> in <strong>/etc/portage/package.use</strong> and the content of the file is like this :</p>
<p><code><strong><br />
dev-lang/php pdo gd mysql mysqli xml apache2<br />
</code></strong></p>
<p>Look at the flags I have added to emerge php to integrate with others.Then I started to emerge the drupal.</p>
<p>Once the emerge complete; it look like below:<br />
<code><strong><br />
 * Messages for package dev-lang/php-5.3.9:</p>
<p> * Installing php.ini for cli into /etc/php/cli-php5.3<br />
 *<br />
 * Installing php.ini for apache2 into /etc/php/apache2-php5.3<br />
 *<br />
 * Make sure that PHP_TARGETS in /etc/make.conf includes php5-3 in order<br />
 * to compile extensions for the 5.3 ABI<br />
 *<br />
 *<br />
 * This ebuild installed a version of php.ini based on php.ini-development version.<br />
 * You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either<br />
 * 'production' or 'development' in /etc/make.conf<br />
 * Both versions of php.ini can be found in /usr/share/doc/php-5.3.9<br />
 *<br />
 * For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:<br />
 * <a href="http://www.gentoo.org/proj/en/php/php-upgrading.xml" rel="nofollow">http://www.gentoo.org/proj/en/php/php-upgrading.xml</a><br />
 * </p>
<p> * Messages for package www-apps/drupal-7.12:</p>
<p> * (server owned) htdocs/files<br />
 * (server owned) htdocs/sites/default<br />
 * (server owned) htdocs/sites/default/settings.php<br />
 * (config) htdocs/sites/default/settings.php<br />
 * (config) htdocs/.htaccess<br />
 * (info) /usr/portage/www-apps/drupal/files/postinstall-en.txt (lang: en)<br />
 *<br />
 * SECURITY NOTICE<br />
 * If you plan on using SSL on your Drupal site, please consult the postinstall information:<br />
 *      # webapp-config --show-postinst drupal 7.12<br />
 *<br />
&gt;&gt;&gt; Auto-cleaning packages...</p>
<p>&gt;&gt;&gt; No outdated packages were found on your system.</p>
<p> * Regenerating GNU info directory index...<br />
 * Processed 135 info files.<br />
</code></strong></p>
<p>Now we need put the required thing right place like below is way to do it:<br />
<code><strong><br />
bhaskar@GentooLinux_14:52:16_Thu Feb 09:~&gt; sudo webapp-config -I -h GentooLinux.localdomain drupal 7.12<br />
*<br />
* You may be installing into the website's root directory.<br />
* Is this what you meant to do?<br />
*<br />
*   Creating required directories<br />
*   Linking in required files<br />
*     This can take several minutes for larger apps<br />
*   Files and directories installed</p>
<p>=================================================================<br />
POST-INSTALL INSTRUCTIONS<br />
=================================================================</p>
<p>You will need to provide a database for your drupal installation.  </p>
<p>This assumes you have some knowledge of MySQL, and already have it<br />
installed and configured. If not, please refer to the Gentoo MySQL<br />
guide at the following URL:</p>
<p><a href="http://www.gentoo.org/doc/en/mysql-howto.xml" rel="nofollow">http://www.gentoo.org/doc/en/mysql-howto.xml</a></p>
<p>Once you have a database ready all you need to do is to go to this<br />
location</p>
<p><a href="http://GentooLinux.localdomain//" rel="nofollow">http://GentooLinux.localdomain//</a></p>
<p>and provide the credential required for the database access.</p>
<p>SECURITY NOTICE: If you use SSL on your Drupal installation, you<br />
should enable the PHP configuration option 'session.cookie-secure'<br />
to make it harder for attackers to sniff session cookies.</p>
<p>References:<br />
CVE-2008-3661</p>
<p><a href="http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-secure" rel="nofollow">http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-secure</a></p>
<p><a href="http://drupal.org/node/315703" rel="nofollow">http://drupal.org/node/315703</a></p>
<p>After that you can start to use drupal.</p>
<p>=================================================================</p>
<p>* Install completed - success<br />
</code></strong></p>
<p>So, what left? the database..lets do it:</p>
<p><code><strong><br />
bhaskar@GentooLinux_15:05:43_Thu Feb 09:~&gt; sudo mysql -u root -p<br />
Enter password:<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 1<br />
Server version: 5.1.61-log Gentoo Linux mysql-5.1.61</p>
<p>Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.</p>
<p>Oracle is a registered trademark of Oracle Corporation and/or its<br />
affiliates. Other names may be trademarks of their respective<br />
owners.</p>
<p>Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.</p>
<p>mysql&gt; show databases;<br />
+--------------------+<br />
| Database           |<br />
+--------------------+<br />
| information_schema |<br />
| mysql              |<br />
| test               |<br />
+--------------------+<br />
3 rows in set (0.02 sec)</p>
<p>mysql&gt; create database drupal;<br />
Query OK, 1 row affected (0.00 sec)</p>
<p>mysql&gt; show databases;<br />
+--------------------+<br />
| Database           |<br />
+--------------------+<br />
| information_schema |<br />
| drupal             |<br />
| mysql              |<br />
| test               |<br />
+--------------------+<br />
4 rows in set (0.00 sec)</p>
<p>mysql&gt; use mysql;<br />
Reading table information for completion of table and column names<br />
You can turn off this feature to get a quicker startup with -A</p>
<p>Database changed<br />
mysql&gt; INSERT INTO user (host, user, password, select_priv, insert_priv, update_priv) VALUES ('GentooLinux', 'drupal', PASSWORD('drupal'), 'Y', 'Y', 'Y');<br />
Query OK, 1 row affected, 3 warnings (0.00 sec)</p>
<p>mysql&gt; use drupal;<br />
Database changed<br />
mysql&gt;<br />
mysql&gt; GRANT ALL PRIVILEGES ON drupal.* TO drupal@'%' IDENTIFIED BY 'drupal';<br />
Query OK, 0 rows affected (0.00 sec)</p>
<p>mysql&gt; FLUSH privileges;<br />
Query OK, 0 rows affected (0.00 sec)<br />
</code></strong></p>
<p>We are almost there!! let&#8217;s get into the browser for installation:</p>
<p><a href="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-1.png"><img src="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-1.png?w=300&#038;h=225" alt="" title="Drupal-install-1" width="300" height="225" class="aligncenter size-medium wp-image-507" /></a></p>
<p><a href="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-2.png"><img src="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-2.png?w=300&#038;h=225" alt="" title="Drupal-install-2" width="300" height="225" class="aligncenter size-medium wp-image-508" /></a></p>
<p><a href="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-3.png"><img src="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-3.png?w=300&#038;h=225" alt="" title="Drupal-install-3" width="300" height="225" class="aligncenter size-medium wp-image-509" /></a></p>
<p><a href="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-4.png"><img src="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-4.png?w=300&#038;h=225" alt="" title="drupal-install-4" width="300" height="225" class="aligncenter size-medium wp-image-510" /></a></p>
<p><a href="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-51.png"><img src="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-51.png?w=300&#038;h=225" alt="" title="Drupal-install-5" width="300" height="225" class="aligncenter size-medium wp-image-512" /></a></p>
<p>Now let&#8217;s get into the CMS:</p>
<p><a href="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-6.png"><img src="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-6.png?w=300&#038;h=225" alt="" title="Drupal-install-6" width="300" height="225" class="aligncenter size-medium wp-image-513" /></a></p>
<p><strong>Installing Drupal shell a.k.a drush</strong><br />
<code><strong><br />
bhaskar@GentooLinux_20:30:51_Thu Feb 09:~&gt; sudo emerge -av drush<br />
Password: </p>
<p>These are the packages that would be merged, in order:</p>
<p>Calculating dependencies... done!</p>
<p>!!! All ebuilds that could satisfy "drush" have been masked.<br />
!!! One of the following masked packages is required to complete your request:<br />
- app-admin/drush-4.4::gentoo (masked by: ~x86 keyword)</p>
<p>For more information, see the MASKED PACKAGES section in the emerge<br />
man page or refer to the Gentoo Handbook.<br />
</code></strong></p>
<p>Hmmm.. problem..let add the keyword file into the system:</p>
<p><code><strong></p>
<p>bhaskar@GentooLinux_20:31:04_Thu Feb 09:~&gt; sudo vim /etc/portage/package.keywords/drush.keywords</p>
<p>and the content is this :</p>
<p>app-admin/drush ~x86</p>
<p></code></strong></p>
<p>Let&#8217;s try to merge it into the system:</p>
<p><code><strong><br />
bhaskar@GentooLinux_20:35:49_Thu Feb 09:~&gt; sudo emerge -av drush</p>
<p>These are the packages that would be merged, in order:</p>
<p>Calculating dependencies... done!<br />
[ebuild  N     ] dev-php/PEAR-PEAR-1.9.3  289 kB<br />
[ebuild  N     ] dev-php/PEAR-Structures_Graph-1.0.4  30 kB<br />
[ebuild  N     ] dev-php/PEAR-Console_Getopt-1.3.1  5 kB<br />
[ebuild  N     ] dev-php/PEAR-Archive_Tar-1.3.7  18 kB<br />
[ebuild  N     ] dev-php/PEAR-XML_Util-1.2.1-r2  18 kB<br />
[ebuild  N     ] dev-php/pear-1.9.3  0 kB<br />
[ebuild  N    ~] app-admin/drush-4.4  USE="-examples" 248 kB</p>
<p>Total: 7 packages (7 new), Size of downloads: 605 kB</p>
<p>Would you like to merge these packages? [Yes/No] yes</p>
<p></code></strong></p>
<p>So it installed in the system:<br />
<code><strong><br />
bhaskar@GentooLinux_20:39:15_Thu Feb 09:~&gt; whereis drush<br />
drush: /usr/bin/drush /usr/share/drush<br />
</code></strong></p>
<p>For using drush from the command line look <a href="http://unixbhaskar.wordpress.com/2011/04/19/drush-a-command-line-drupal-site-manipulator/" title="Drush" target="_blank">here</a> for my earlier post about it.</p>
<p>Hope this will help.</p>
<p>Cheers!<br />
Bhaskar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixbhaskar.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixbhaskar.wordpress.com/498/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=498&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixbhaskar.wordpress.com/2012/02/09/installing-drupal-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e1c81eff8f508ac58ea6e03b0cf524e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixbhaskar</media:title>
		</media:content>

		<media:content url="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-1.png?w=300" medium="image">
			<media:title type="html">Drupal-install-1</media:title>
		</media:content>

		<media:content url="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-2.png?w=300" medium="image">
			<media:title type="html">Drupal-install-2</media:title>
		</media:content>

		<media:content url="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-3.png?w=300" medium="image">
			<media:title type="html">Drupal-install-3</media:title>
		</media:content>

		<media:content url="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-4.png?w=300" medium="image">
			<media:title type="html">drupal-install-4</media:title>
		</media:content>

		<media:content url="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-51.png?w=300" medium="image">
			<media:title type="html">Drupal-install-5</media:title>
		</media:content>

		<media:content url="http://unixbhaskar.files.wordpress.com/2012/02/drupal-install-6.png?w=300" medium="image">
			<media:title type="html">Drupal-install-6</media:title>
		</media:content>
	</item>
		<item>
		<title>Mod_Security and Mod_Evasive implementation and Testing on Scientific Linux</title>
		<link>http://unixbhaskar.wordpress.com/2012/01/26/mod_security-and-mod_evasive-implementation-and-testing-on-scientific-linux/</link>
		<comments>http://unixbhaskar.wordpress.com/2012/01/26/mod_security-and-mod_evasive-implementation-and-testing-on-scientific-linux/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 04:23:38 +0000</pubDate>
		<dc:creator>unixbhaskar</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://unixbhaskar.wordpress.com/?p=491</guid>
		<description><![CDATA[Yep,those two module has to be integrated with Apache running on SL.I am wildly expecting people who read this post at least have an idea what is Apache and what module can do;specifically those two modules can do.Anyway if you are really interested to know more about those two modules I would like to urge [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=491&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Yep,those two module has to be integrated with Apache running on SL.I am wildly expecting people who read this post at least have an idea what is Apache and what module can do;specifically those two modules can do.Anyway if you are really interested to know more about those two modules I would like to urge you people to please visit Apache&#8217;s web site(<a href="http://apache.org" rel="nofollow">http://apache.org</a>) and mod_security web site(<a href="http://www.modsecurity.org/" rel="nofollow">http://www.modsecurity.org/</a>).One more information I go with the default rule come along with it;you might tweak the rules according to your need.</p>
<p>So here we go without much ado..lets dig in..</p>
<p>Step 1:<br />
<code><b><br />
bhaskar@Scientific-Linux_10:36:32_Wed Jan 25:~&gt; sudo yum install mod_security<br />
Loaded plugins: refresh-packagekit<br />
Setting up Install Process<br />
Resolving Dependencies<br />
--&gt; Running transaction check<br />
---&gt; Package mod_security.i686 0:2.5.12-2.el6 will be installed<br />
--&gt; Finished Dependency Resolution</p>
<p>Dependencies Resolved</p>
<p>================================================================================================================================================================================================================================<br />
 Package                                                   Arch                                              Version                                                    Repository                                         Size<br />
================================================================================================================================================================================================================================<br />
Installing:<br />
 mod_security                                              i686                                              2.5.12-2.el6                                               epel                                              896 k</p>
<p>Transaction Summary<br />
================================================================================================================================================================================================================================<br />
Install       1 Package(s)</p>
<p>Total download size: 896 k<br />
Installed size: 3.3 M<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
mod_security-2.5.12-2.el6.i686.rpm                                                                                                                                                                       | 896 kB     00:02<br />
Running rpm_check_debug<br />
Running Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction<br />
  Installing : mod_security-2.5.12-2.el6.i686                                                                                                                                                                               1/1 </p>
<p>Installed:<br />
  mod_security.i686 0:2.5.12-2.el6                                                                                                                                                                                              </p>
<p>Complete!<br />
</b></code></p>
<p>Step 2:</p>
<p><b>Installing mod_evasive</b></p>
<p><code><b><br />
bhaskar@Scientific-Linux_10:38:53_Wed Jan 25:~&gt; sudo yum install mod_evasive<br />
[sudo] password for bhaskar:<br />
Loaded plugins: refresh-packagekit<br />
Setting up Install Process<br />
Resolving Dependencies<br />
--&gt; Running transaction check<br />
---&gt; Package mod_evasive.i686 0:1.10.1-10.el6 will be installed<br />
--&gt; Finished Dependency Resolution</p>
<p>Dependencies Resolved</p>
<p>================================================================================================================================================================================================================================<br />
 Package                                                  Arch                                              Version                                                     Repository                                         Size<br />
================================================================================================================================================================================================================================<br />
Installing:<br />
 mod_evasive                                              i686                                              1.10.1-10.el6                                               epel                                               24 k</p>
<p>Transaction Summary<br />
================================================================================================================================================================================================================================<br />
Install       1 Package(s)</p>
<p>Total download size: 24 k<br />
Installed size: 49 k<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
mod_evasive-1.10.1-10.el6.i686.rpm                                                                                                                                                                       |  24 kB     00:00<br />
Running rpm_check_debug<br />
Running Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction<br />
  Installing : mod_evasive-1.10.1-10.el6.i686                                                                                                                                                                               1/1 </p>
<p>Installed:<br />
  mod_evasive.i686 0:1.10.1-10.el6                                                                                                                                                                                              </p>
<p>Complete!</p>
<p></b></code></p>
<p>Step 3:</p>
<p>Like this :<br />
<code><b><br />
bhaskar@Scientific-Linux_11:04:48_Wed Jan 25:~&gt; sudo vim /etc/httpd/conf/httpd.conf<br />
# Mod_evasive implementation</p>
<p>DOSHashTableSize 3097<br />
DOSPageCount 5<br />
DOSSiteCount 100<br />
DOSPageInterval 2<br />
DOSSiteInterval 2<br />
DOSBlockingPeriod 10<br />
DOSBlockingPeriod 600</p>
<p></b></code><br />
Step 4:</p>
<p><b>Restart the httpd server</b><br />
<code><br />
bhaskar@Scientific-Linux_11:06:09_Wed Jan 25:~&gt; sudo /sbin/service httpd restart<br />
Stopping httpd:                                            [FAILED]<br />
Starting httpd:                                            [  OK  ]<br />
</code><br />
It failed in first occassion because it was not running &#8230;</p>
<p>Step5:</p>
<p>To test mod_evasive to work or not ..using this perl script to test<br />
<code><br />
#!/usr/bin/perl</p>
<p># test.pl: small script to test mod_dosevasive's effectiveness</p>
<p>use IO::Socket;<br />
use strict;</p>
<p>for(0..100) {<br />
  my($response);<br />
  my($SOCKET) = new IO::Socket::INET( Proto   =&gt; "tcp",<br />
                                      PeerAddr=&gt; "scientific-linux.localdomain:80");<br />
  if (! defined $SOCKET) { die $!; }<br />
  print $SOCKET "GET /?$_ HTTP/1.0\n\n";<br />
  $response = ;<br />
  print $response;<br />
  close($SOCKET);<br />
}<br />
</code></p>
<p>Step 6:<br />
So installing mod_security and enable the log file  here ;<br />
<code><br />
root@Scientific-Linux_11:20:03_Wed Jan 25:/var/log/httpd # ls<br />
access_log  error_log  <b>modsec_audit.log  modsec_debug.log</b><br />
</code></p>
<p>Step 7:</p>
<p>Mod_security installaton base:<br />
<code><br />
root@Scientific-Linux_11:21:20_Wed Jan 25:/etc/httpd # cd modsecurity.d/</p>
<p>root@Scientific-Linux_11:21:24_Wed Jan 25:/etc/httpd/modsecurity.d # ls</p>
<p><b>base_rules  modsecurity_crs_10_config.conf  modsecurity_localrules.conf  optional_rules</b></p>
<p></code></p>
<p>Step 8:</p>
<p>Here is the two module file we have installed<br />
<code><br />
root@Scientific-Linux_11:24:37_Wed Jan 25:/etc/httpd/conf.d # ls</p>
<p><b>mod_evasive.conf  mod_security.conf</b>  README  welcome.conf</p>
<p>Step 9:</p>
<p>Here are the rules files ,which can be adjusted according to our need<br />
<code><br />
root@Scientific-Linux_11:38:01_Wed Jan 25:/etc/httpd/modsecurity.d/base_rules # ls<br />
modsecurity_35_bad_robots.data             modsecurity_46_et_web_rules.data             modsecurity_crs_30_http_policy.conf            modsecurity_crs_41_xss_attacks.conf        modsecurity_crs_49_inbound_blocking.conf<br />
modsecurity_35_scanners.data               modsecurity_50_outbound.data                 modsecurity_crs_35_bad_robots.conf             modsecurity_crs_42_tight_security.conf     modsecurity_crs_50_outbound.conf<br />
modsecurity_40_generic_attacks.data        modsecurity_50_outbound_malware.data         modsecurity_crs_40_generic_attacks.conf        modsecurity_crs_45_trojans.conf            modsecurity_crs_59_outbound_blocking.conf<br />
modsecurity_41_sql_injection_attacks.data  modsecurity_crs_20_protocol_violations.conf  modsecurity_crs_41_phpids_converter.conf       modsecurity_crs_47_common_exceptions.conf  modsecurity_crs_60_correlation.conf<br />
modsecurity_42_comment_spam.data           modsecurity_crs_21_protocol_anomalies.conf   modsecurity_crs_41_phpids_filters.conf         modsecurity_crs_48_local_exceptions.conf<br />
modsecurity_46_et_sql_injection.data       modsecurity_crs_23_request_limits.conf       modsecurity_crs_41_sql_injection_attacks.conf  modsecurity_crs_49_enforcement.conf<br />
</code></p>
<p>Step 10:</p>
<p>While testing I try to access the etc dir of my local machine by url<br />
 and I got this on mod_security log<br />
<code><br />
root@Scientific-Linux_12:13:08_Wed Jan 25:/var/log/httpd # tail -f modsec_audit.log<br />
--e39f1539-H--<br />
Message: Pattern match "\/etc\/" at REQUEST_FILENAME. [file "/etc/httpd/modsecurity.d/base_rules/modsecurity_crs_40_generic_attacks.conf"] [line "220"] [id "958700"] [rev "2.0.5"] [msg "Remote File Access Attempt"] [data "/etc/"] [severity "CRITICAL"] [tag "WEB_ATTACK/FILE_INJECTION"] [tag "WASCTC/WASC-33"] [tag "OWASP_TOP_10/A4"] [tag "PCI/6.5.4"]<br />
Message: Access denied with code 403 (phase 2). [file "/etc/httpd/modsecurity.d/base_rules/modsecurity_crs_49_enforcement.conf"] [line "25"] [msg "Anomaly Score Exceeded (score 20): Remote File Access Attempt"]<br />
Action: Intercepted (phase 2)<br />
Stopwatch: 1327473375901826 18282 (16754 17940 -)<br />
Producer: ModSecurity for Apache/2.5.12 (<a href="http://www.modsecurity.org/" rel="nofollow">http://www.modsecurity.org/</a>); core ruleset/2.0.5.<br />
Server: Apache/2.2.15 (Scientific Linux)</p>
<p>--e39f1539-Z--<br />
</code></p>
<p>Step 11:</p>
<p>Another test of it :<br />
<code><br />
root@Scientific-Linux_12:22:37_Wed Jan 25:/var/log/httpd # curl -i <a href="http://Scientific-Linux" rel="nofollow">http://Scientific-Linux</a><br />
HTTP/1.1 403 Forbidden<br />
Date: Wed, 25 Jan 2012 06:53:16 GMT<br />
Server: Apache/2.2.15 (Scientific Linux)<br />
Accept-Ranges: bytes<br />
Content-Length: 3822<br />
Connection: close<br />
Content-Type: text/html; charset=UTF-8</p>
<p>                Test Page for the Apache HTTP Server on Scientific Linux</p>
<p>                        /*.content-column-left, .content-columns&gt;.content-column-right {<br />
                                /* Non-IE/Win */<br />
                        }<br />
                        img {<br />
                                border: 2px solid #fff;<br />
                                padding: 2px;<br />
                                margin: 2px;<br />
                        }<br />
                        a:hover img {<br />
                                border: 2px solid #f50;<br />
                        }<br />
                        /*]]&gt;*/</p>
<h1>Scientific Linux <strong>Test Page</strong></h1>
<div class="content">
<div class="content-middle">
<p>This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page, it means that the Apache HTTP server installed at this site is working properly.</p>
</p></div>
<hr />
<div class="content-columns">
<div class="content-column-left">
<h2>If you are a member of the general public:</h2>
<p>The fact that you are seeing this page indicates that the website you just visited is either experiencing problems, or is undergoing routine maintenance.</p>
<p>If you would like to let the administrators of this website know that you've seen this page instead of the page you expected, you should send them e-mail. In general, mail sent to the name "webmaster" and directed to the website's domain should reach the appropriate person.</p>
<p>For example, if you experienced problems while visiting <a href="http://www.example.com" rel="nofollow">http://www.example.com</a>, you should send e-mail to "webmaster@example.com".</p>
<p>For information on Scientific Linux, please visit the <a href="http://www.scientificlinux.org/">Scientific Linux website</a>.</p>
<hr />
                                </div>
<div class="content-column-right">
<h2>If you are the website administrator:</h2>
<p>You may now add content to the directory <tt>/var/www/html/</tt>. Note that until you do so, people visiting your website will see this page, and not your content. To prevent this page from ever being used, follow the instructions in the file <tt>/etc/httpd/conf.d/welcome.conf</tt>.</p>
<p>You are free to use the image below on web sites powered by the Apache HTTP Server:</p>
<p align="center"><a href="http://httpd.apache.org/"><img src="/icons/apache_pb2.gif" alt="[ Powered by Apache ]" /></a></p>
</p></div>
</p></div>
</p></div>
<p></code></p>
<p>Step 12:</p>
<p>And here is what the rules said :<br />
<code><br />
root@Scientific-Linux_12:26:13_Wed Jan 25:/var/log/httpd # tail -f modsec_audit.log<br />
--e39f1539-H--<br />
Message: Matched phrase "curl" at REQUEST_HEADERS:User-Agent. [file "/etc/httpd/modsecurity.d/base_rules/modsecurity_crs_35_bad_robots.conf"] [line "26"] [id "990012"] [rev "2.0.5"] [msg "Rogue web site crawler"] [data "curl"] [severity "WARNING"] [tag "AUTOMATION/MALICIOUS"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"]<br />
Message: Warning. Operator LT matched 20 at TX:inbound_anomaly_score. [file "/etc/httpd/modsecurity.d/base_rules/modsecurity_crs_60_correlation.conf"] [line "31"] [msg "Inbound Anomaly Score (Total Inbound Score: 10, SQLi=, XSS=): Rogue web site crawler"]<br />
Apache-Error: [file "/builddir/build/BUILD/httpd-2.2.15/modules/generators/mod_autoindex.c"] [line 2292] [level 3] Directory index forbidden by Options directive: /var/www/html/<br />
Stopwatch: 1327474567095624 3198 (1152 2456 -)<br />
Producer: ModSecurity for Apache/2.5.12 (<a href="http://www.modsecurity.org/" rel="nofollow">http://www.modsecurity.org/</a>); core ruleset/2.0.5.<br />
Server: Apache/2.2.15 (Scientific Linux)</p>
<p>--e39f1539-Z--<br />
</code></p>
<p>Step 13:</p>
<p>Running the script mentioned in Step 5; got me this result:</p>
<p><b>Mod_Evasive working:</b></p>
<p><code><br />
bhaskar@Scientific-Linux_12:30:31_Wed Jan 25:~&gt; sudo ./test.pl<br />
[sudo] password for bhaskar:<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden<br />
HTTP/1.1 403 Forbidden</p>
<p></code></p>
<p>I believe this information gives you heads up.O yes,I must say this representation is very minimal in nature. So you are free  to explore and share.</p>
<p>Hope this will help.</p>
<p>Cheers!<br />
Bhaskar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixbhaskar.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixbhaskar.wordpress.com/491/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=491&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixbhaskar.wordpress.com/2012/01/26/mod_security-and-mod_evasive-implementation-and-testing-on-scientific-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e1c81eff8f508ac58ea6e03b0cf524e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixbhaskar</media:title>
		</media:content>
	</item>
		<item>
		<title>How to read content of ELF or object file on GNU/Linux</title>
		<link>http://unixbhaskar.wordpress.com/2011/12/07/how-to-read-content-of-elf-or-object-file-on-gnulinux/</link>
		<comments>http://unixbhaskar.wordpress.com/2011/12/07/how-to-read-content-of-elf-or-object-file-on-gnulinux/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 06:51:04 +0000</pubDate>
		<dc:creator>unixbhaskar</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://unixbhaskar.wordpress.com/?p=487</guid>
		<description><![CDATA[Yep, as the title said of this article. I will show you a little example how easily you can find out the internals of an ELF file or an object file with a utility called readelf, which comes along with all the GNU/Linux distributions. So without much ado..lets show the actual thing..I am on Slackware [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=487&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Yep, as the title said of this article. I will show you a little example how easily you can find out the internals of an ELF file or an object file with a utility called <strong>readelf</strong>, which comes along with all the GNU/Linux distributions.</p>
<p>So without much ado..lets show the actual thing..I am on Slackware and I am trying to inspect the mutt binary file by this utility. Here we go:</p>
<p><code><br />
<strong>bhaskar@Slackware_12:12:41_Wed Dec 07:~&gt; sudo /usr/bin/readelf -h /usr/bin/mutt<br />
ELF Header:<br />
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00<br />
  Class:                             ELF64<br />
  Data:                              2's complement, little endian<br />
  Version:                           1 (current)<br />
  OS/ABI:                            UNIX - System V<br />
  ABI Version:                       0<br />
  Type:                              EXEC (Executable file)<br />
  Machine:                           Advanced Micro Devices X86-64<br />
  Version:                           0x1<br />
  Entry point address:               0x40c3c0<br />
  Start of program headers:          64 (bytes into file)<br />
  Start of section headers:          878344 (bytes into file)<br />
  Flags:                             0x0<br />
  Size of this header:               64 (bytes)<br />
  Size of program headers:           56 (bytes)<br />
  Number of program headers:         8<br />
  Size of section headers:           64 (bytes)<br />
  Number of section headers:         28<br />
  Section header string table index: 27</strong><br />
</code></p>
<p>So, you can see the details of the mutt binary..rtt? Now go ahead and read the man page to find out more information about it.It has so many option to filter out so many information to deal with.</p>
<p>Hope this will help.</p>
<p>Cheers!<br />
Bhaskar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixbhaskar.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixbhaskar.wordpress.com/487/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=487&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixbhaskar.wordpress.com/2011/12/07/how-to-read-content-of-elf-or-object-file-on-gnulinux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e1c81eff8f508ac58ea6e03b0cf524e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixbhaskar</media:title>
		</media:content>
	</item>
		<item>
		<title>How to install package by Slackbuild script on Slackware</title>
		<link>http://unixbhaskar.wordpress.com/2011/10/27/how-to-install-package-by-slackbuild-script-on-slackware/</link>
		<comments>http://unixbhaskar.wordpress.com/2011/10/27/how-to-install-package-by-slackbuild-script-on-slackware/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 11:24:34 +0000</pubDate>
		<dc:creator>unixbhaskar</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://unixbhaskar.wordpress.com/?p=484</guid>
		<description><![CDATA[So,installing package on Slackware is pretty different then other distro.You need to work little more to do that .Fortunately some great guys have done all the hard work for us to do thing in minimal way.In this post I will show you how you can install any package from the Slackbuild.org repository with the help [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=484&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>So,installing package on Slackware is pretty different then other distro.You need to work little more to do that .Fortunately some great guys have done all the hard work for us to do thing in minimal way.In this post I will show you how you can install any package from the <a href="http://slackbuilds.org/repository" title="SlackBuild" target="_blank">Slackbuild.org</a> repository with the help of Slackbuild script. </p>
<p>So I a going to install a forensic package called &#8220;chkrootkit&#8221; from that repo and installed in Slackware.First get into this page <a href="http://slackbuilds.org/repository/13.37/system/chkrootkit/" title="Chkrootkit" target="_blank">chkrootkit</a> to get the source of it as well as Slackbuild source too.</p>
<p>Okay ,once obtain those then please untar the SlackBuild one and it should look like below:</p>
<p><code></p>
<p>bhaskar@Slackware:~/Downloads/chkrootkit$ ls<br />
README  <strong>chkrootkit.SlackBuild</strong>  chkrootkit.info  chkrootkit.tar.gz  slack-desc<br />
</code></p>
<p>Yes, that tar file inside that directory not come with that Slackbuild source. It&#8217;s the other one I have move to that directory,because SlackBuild script require the source of the package should be inside the SlackBuild dir.</p>
<p>Now, next step to execute the SlackBuild script like below:</p>
<p><Code><br />
<strong>bhaskar@Slackware:~/Downloads/chkrootkit$ sudo ./chkrootkit.SlackBuild </strong><br />
Password:<br />
chkrootkit-0.49<br />
chkrootkit-0.49/chkrootkit.lsm<br />
chkrootkit-0.49/README.chkwtmp<br />
chkrootkit-0.49/COPYRIGHT<br />
chkrootkit-0.49/Makefile<br />
chkrootkit-0.49/chkutmp.c<br />
chkrootkit-0.49/ifpromisc.c<br />
chkrootkit-0.49/chkrootkit<br />
chkrootkit-0.49/ACKNOWLEDGMENTS<br />
chkrootkit-0.49/check_wtmpx.c<br />
chkrootkit-0.49/chkdirs.c<br />
chkrootkit-0.49/README.chklastlog<br />
chkrootkit-0.49/chklastlog.c<br />
chkrootkit-0.49/strings.c<br />
chkrootkit-0.49/README<br />
chkrootkit-0.49/chkproc.c<br />
chkrootkit-0.49/chkwtmp.c<br />
*** stopping make sense ***<br />
make[1]: Entering directory `/tmp/SBo/chkrootkit-0.49&#8242;<br />
gcc -O2 -march=i486 -mtune=i686 -o chklastlog chklastlog.c<br />
gcc -O2 -march=i486 -mtune=i686 -o chkwtmp chkwtmp.c<br />
chkwtmp.c: In function &#8216;main&#8217;:<br />
chkwtmp.c:95:9: warning: incompatible implicit declaration of built-in function &#8216;exit&#8217;<br />
gcc -O2 -march=i486 -mtune=i686   -D_FILE_OFFSET_BITS=64 -o ifpromisc ifpromisc.c<br />
gcc  -o chkproc chkproc.c<br />
gcc  -o chkdirs chkdirs.c<br />
gcc  -o check_wtmpx check_wtmpx.c<br />
gcc -static  -o strings-static strings.c<br />
gcc  -o chkutmp chkutmp.c<br />
make[1]: Leaving directory `/tmp/SBo/chkrootkit-0.49&#8242;</p>
<p>Slackware package maker, version 3.14159.</p>
<p>Searching for symbolic links:</p>
<p>No symbolic links were found, so we won&#8217;t make an installation script.<br />
You can make your own later in ./install/doinst.sh and rebuild the<br />
package if you like.</p>
<p>This next step is optional &#8211; you can set the directories in your package<br />
to some sane permissions. If any of the directories in your package have<br />
special permissions, then DO NOT reset them here!</p>
<p>Would you like to reset all directory permissions to 755 (drwxr-xr-x) and<br />
directory ownerships to root.root ([y]es, [n]o)? n</p>
<p>Creating Slackware package:  /tmp/chkrootkit-0.49-i486-2_SBo.tgz</p>
<p>./<br />
install/<br />
install/slack-desc<br />
usr/<br />
usr/sbin/<br />
usr/sbin/chkrootkit<br />
usr/lib/<br />
usr/lib/chkrootkit/<br />
usr/lib/chkrootkit/bin/<br />
usr/lib/chkrootkit/bin/chkwtmp<br />
usr/lib/chkrootkit/bin/strings-static<br />
usr/lib/chkrootkit/bin/chklastlog<br />
usr/lib/chkrootkit/bin/chkproc<br />
usr/lib/chkrootkit/bin/ifpromisc<br />
usr/lib/chkrootkit/bin/chkrootkit<br />
usr/lib/chkrootkit/bin/chkdirs<br />
usr/lib/chkrootkit/bin/check_wtmpx<br />
usr/lib/chkrootkit/bin/chkutmp<br />
usr/doc/<br />
usr/doc/chkrootkit-0.49/<br />
usr/doc/chkrootkit-0.49/COPYRIGHT<br />
usr/doc/chkrootkit-0.49/README.chklastlog<br />
usr/doc/chkrootkit-0.49/chkrootkit.SlackBuild<br />
usr/doc/chkrootkit-0.49/README.chkwtmp<br />
usr/doc/chkrootkit-0.49/ACKNOWLEDGMENTS<br />
usr/doc/chkrootkit-0.49/README<br />
usr/doc/chkrootkit-0.49/chkrootkit.lsm</p>
<p><strong>Slackware package /tmp/chkrootkit-0.49-i486-2_SBo.tgz created</strong>.<br />
</code></p>
<p>We need to install that file. So go to the /tmp dir and execute as superuser like below:</p>
<p><code><br />
<strong>root@Slackware:/tmp# installpkg chkrootkit-0.49-i486-2_SBo.tgz<br />
Verifying package chkrootkit-0.49-i486-2_SBo.tgz.<br />
Installing package chkrootkit-0.49-i486-2_SBo.tgz:<br />
PACKAGE DESCRIPTION:<br />
# chkrootkit (Check Rootkit)<br />
#<br />
# chkrootkit is a common unix-based program intended to help system<br />
# administrators check their system for known rootkits. It is a shell<br />
# script using common UNIX/Linux tools like the strings and grep<br />
# commands to search core system programs for signatures and for<br />
# comparing a traversal of the /proc filesystem with the output of<br />
# the ps (process status) command to look for discrepancies.<br />
#<br />
# Homepage: <a href="http://www.chkrootkit.org" rel="nofollow">http://www.chkrootkit.org</a><br />
#<br />
Package chkrootkit-0.49-i486-2_SBo.tgz installed.</strong><br />
</code></p>
<p>Done!! </p>
<p>Check it where the binary is :<br />
<code><br />
bhaskar@Slackware:~$ whereis chkrootkit<br />
chkrootkit: /usr/sbin/chkrootkit /usr/lib/chkrootkit<br />
</code></p>
<p>Start playing with it:<br />
<code><br />
<strong>bhaskar@Slackware:~$ sudo /usr/sbin/chkrootkit</strong><br />
ROOTDIR is `/'<br />
Checking `amd'... not found<br />
Checking `basename'... not infected<br />
Checking `biff'... not infected<br />
Checking `chfn'... not infected<br />
Checking `chsh'... not infected<br />
Checking `cron'... not infected<br />
Checking `crontab'... not infected<br />
Checking `date'... not infected<br />
Checking `du'... not infected<br />
Checking `dirname'... not infected<br />
Checking `echo'... not infected<br />
Checking `egrep'... not infected<br />
Checking `env'... not infected<br />
Checking `find'... not infected<br />
Checking `fingerd'... not infected<br />
Checking `gpm'... not infected<br />
Checking `grep'... not infected<br />
Checking `hdparm'... not infected<br />
Checking `su'... not infected<br />
Checking `ifconfig'... not infected<br />
Checking `inetd'... not infected<br />
Checking `inetdconf'... not infected<br />
Checking `identd'... not infected<br />
Checking `init'... not infected<br />
Checking `killall'... not infected<br />
Checking `ldsopreload'... not infected<br />
Checking `login'... not infected<br />
Checking `ls'... not infected<br />
Checking `lsof'... not infected<br />
...output snipped<br />
</code></p>
<p>Hope this will help.</p>
<p>Cheers!<br />
Bhaskar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/unixbhaskar.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/unixbhaskar.wordpress.com/484/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=unixbhaskar.wordpress.com&#038;blog=8765436&#038;post=484&#038;subd=unixbhaskar&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://unixbhaskar.wordpress.com/2011/10/27/how-to-install-package-by-slackbuild-script-on-slackware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e1c81eff8f508ac58ea6e03b0cf524e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unixbhaskar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
