<?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>Nasser Heidari</title>
	<atom:link href="http://linax.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://linax.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 13 Nov 2009 10:21:52 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='linax.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/29794cf083caa825ebd6eae857ff575e?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Nasser Heidari</title>
		<link>http://linax.wordpress.com</link>
	</image>
			<item>
		<title>Installing CUCM 7 on a generic pc !</title>
		<link>http://linax.wordpress.com/2009/11/13/installing-cucm-7-on-a-generic-pc/</link>
		<comments>http://linax.wordpress.com/2009/11/13/installing-cucm-7-on-a-generic-pc/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 10:21:52 +0000</pubDate>
		<dc:creator>Nasser Heidari</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://linax.wordpress.com/?p=494</guid>
		<description><![CDATA[for installing Cisco Unified Communications Manager on a generic pc , you need:
1- Install IIS
2- Import this Registry Key Settings :


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems\Model]
"Hardware"="MCS7835"
"Memory"="1024"
"Speed"="1000"


       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=494&subd=linax&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>for installing Cisco Unified Communications Manager on a generic pc , you need:<br />
1- Install IIS<br />
2- Import this Registry Key Settings :</p>
<pre>
<h3>
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems\Model]
"Hardware"="MCS7835"
"Memory"="1024"
"Speed"="1000"
</h3>
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linax.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linax.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linax.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linax.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linax.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linax.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linax.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linax.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linax.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linax.wordpress.com/494/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=494&subd=linax&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linax.wordpress.com/2009/11/13/installing-cucm-7-on-a-generic-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a7d935129c5150b792d349848658a84?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linax</media:title>
		</media:content>
	</item>
		<item>
		<title>HTML Redirect</title>
		<link>http://linax.wordpress.com/2009/11/07/html-redirect/</link>
		<comments>http://linax.wordpress.com/2009/11/07/html-redirect/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 12:40:55 +0000</pubDate>
		<dc:creator>Nasser Heidari</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://linax.wordpress.com/?p=487</guid>
		<description><![CDATA[To create an HTML redirect page, you use the HTML meta tag, along with the &#8216;http-equiv&#8217; and &#8216;content&#8217; attributes.


&#60;META HTTP-EQUIV="refresh" CONTENT="seconds;URL=the-other-url"&#62;﻿


E.G:


&#60;HTML&#62;
&#60;HEAD&#62;
&#60;META HTTP-EQUIV="refresh" CONTENT="0;URL=http://linax.wordpress.com"&#62;
&#60;/HEAD&#62;
&#60;BODY&#62;
&#60;/BODY&#62;
&#60;/HTML&#62;


       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=487&subd=linax&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To create an HTML redirect page, you use the HTML meta tag, along with the &#8216;http-equiv&#8217; and &#8216;content&#8217; attributes.</p>
<pre>
<h3>
&lt;META HTTP-EQUIV="refresh" CONTENT="<strong>seconds</strong>;URL=<strong>the-other-url</strong>"&gt;﻿
</h3>
</pre>
<p>E.G:</p>
<pre>
<h3>
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV="refresh" CONTENT="0;URL=http://linax.wordpress.com"&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;
</h3>
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linax.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linax.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linax.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linax.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linax.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linax.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linax.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linax.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linax.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linax.wordpress.com/487/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=487&subd=linax&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linax.wordpress.com/2009/11/07/html-redirect/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a7d935129c5150b792d349848658a84?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linax</media:title>
		</media:content>
	</item>
		<item>
		<title>Gcc and Header issues</title>
		<link>http://linax.wordpress.com/2009/11/03/gcc-and-header-issues/</link>
		<comments>http://linax.wordpress.com/2009/11/03/gcc-and-header-issues/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 19:22:45 +0000</pubDate>
		<dc:creator>Nasser Heidari</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://linax.wordpress.com/?p=482</guid>
		<description><![CDATA[http://gcc.gnu.org/gcc-4.3/porting_to.html
The missing headers:



If missing
Then include this header


find, for_each, sort
&#60;algorithm&#62;


ostream_iterator, istream_iterator
&#60;iterator&#62;


auto_ptr
&#60;memory&#62;


typeid
&#60;typeinfo&#62;


isalnum, toupper
&#60;cctype&#62;


INT_MIN, INT_MAX, RAND_MAX
&#60;climits&#62;


printf
&#60;cstdio&#62;


atoi, free, rand, exit
&#60;cstdlib&#62;


EXIT_FAILURE
&#60;cstdlib&#62;


strcmp, strdup, strcpy, memcpy
&#60;cstring&#62;



Removal of Pre-ISO headers
Various backwards and deprecated headers have been removed.



If missing
Then include this header


&#60;algobase.h&#62;
&#60;algorithm&#62;


&#60;algo.h&#62;
&#60;algorithm&#62;


&#60;alloc.h&#62;
&#60;memory&#62;


&#60;bvector.h&#62;
&#60;vector&#62;


&#60;complex.h&#62;
&#60;complex&#62;


&#60;defalloc.h&#62;
&#60;memory&#62;


&#60;deque.h&#62;
&#60;deque&#62;


&#60;fstream.h&#62;
&#60;fstream&#62;


&#60;function.h&#62;
&#60;functional&#62;


&#60;hash_map.h&#62;
&#60;tr1/unordered_map&#62;


&#60;hashtable.h&#62;
&#60;tr1/unordered_map&#62; or &#60;tr1/unordered_set&#62;


&#60;heap.h&#62;
&#60;queue&#62;


&#60;iomanip.h&#62;
&#60;iomanip&#62;


&#60;iostream.h&#62;
&#60;iostream&#62;


&#60;istream.h&#62;
&#60;istream&#62;


&#60;iterator.h&#62;
&#60;iterator&#62;


&#60;list.h&#62;
&#60;list&#62;


&#60;map.h&#62;
&#60;map&#62;


&#60;multimap.h&#62;
&#60;map&#62;


&#60;multiset.h&#62;
&#60;set&#62;


&#60;new.h&#62;
&#60;new&#62;


&#60;ostream.h&#62;
&#60;ostream&#62;


&#60;pair.h&#62;
&#60;utility&#62;


&#60;queue.h&#62;
&#60;queue&#62;


&#60;rope.h&#62;
&#60;ext/rope&#62;


&#60;set.h&#62;
&#60;set&#62;


&#60;slist.h&#62;
&#60;ext/slist&#62;


&#60;stack.h&#62;
&#60;stack&#62;


&#60;streambuf.h&#62;
&#60;streambuf&#62;


&#60;stream.h&#62;
&#60;iostream&#62;


&#60;tempbuf.h&#62;
&#60;ext/memory&#62;


&#60;tree.h&#62;
&#60;ext/rb_tree&#62; or &#60;ext/pb_ds/assoc_container.hpp&#62;


&#60;vector.h&#62;
&#60;vector&#62;



       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=482&subd=linax&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>http://gcc.gnu.org/gcc-4.3/porting_to.html</p>
<p>The missing headers:</p>
<table style="height:226px;" border="1" width="505">
<tbody>
<tr>
<th>If missing</th>
<th>Then include this header</th>
</tr>
<tr>
<td>find, for_each, sort</td>
<td>&lt;algorithm&gt;</td>
</tr>
<tr>
<td>ostream_iterator, istream_iterator</td>
<td>&lt;iterator&gt;</td>
</tr>
<tr>
<td>auto_ptr</td>
<td>&lt;memory&gt;</td>
</tr>
<tr>
<td>typeid</td>
<td>&lt;typeinfo&gt;</td>
</tr>
<tr>
<td>isalnum, toupper</td>
<td>&lt;cctype&gt;</td>
</tr>
<tr>
<td>INT_MIN, INT_MAX, RAND_MAX</td>
<td>&lt;climits&gt;</td>
</tr>
<tr>
<td>printf</td>
<td>&lt;cstdio&gt;</td>
</tr>
<tr>
<td>atoi, free, rand, exit</td>
<td>&lt;cstdlib&gt;</td>
</tr>
<tr>
<td>EXIT_FAILURE</td>
<td>&lt;cstdlib&gt;</td>
</tr>
<tr>
<td>strcmp, strdup, strcpy, memcpy</td>
<td>&lt;cstring&gt;</td>
</tr>
</tbody>
</table>
<h4>Removal of Pre-ISO headers</h4>
<p>Various backwards and deprecated headers have been removed.</p>
<table style="height:689px;" border="1" width="581">
<tbody>
<tr>
<th>If missing</th>
<th>Then include this header</th>
</tr>
<tr>
<td>&lt;algobase.h&gt;</td>
<td>&lt;algorithm&gt;</td>
</tr>
<tr>
<td>&lt;algo.h&gt;</td>
<td>&lt;algorithm&gt;</td>
</tr>
<tr>
<td>&lt;alloc.h&gt;</td>
<td>&lt;memory&gt;</td>
</tr>
<tr>
<td>&lt;bvector.h&gt;</td>
<td>&lt;vector&gt;</td>
</tr>
<tr>
<td>&lt;complex.h&gt;</td>
<td>&lt;complex&gt;</td>
</tr>
<tr>
<td>&lt;defalloc.h&gt;</td>
<td>&lt;memory&gt;</td>
</tr>
<tr>
<td>&lt;deque.h&gt;</td>
<td>&lt;deque&gt;</td>
</tr>
<tr>
<td>&lt;fstream.h&gt;</td>
<td>&lt;fstream&gt;</td>
</tr>
<tr>
<td>&lt;function.h&gt;</td>
<td>&lt;functional&gt;</td>
</tr>
<tr>
<td>&lt;hash_map.h&gt;</td>
<td>&lt;tr1/unordered_map&gt;</td>
</tr>
<tr>
<td>&lt;hashtable.h&gt;</td>
<td>&lt;tr1/unordered_map&gt; or &lt;tr1/unordered_set&gt;</td>
</tr>
<tr>
<td>&lt;heap.h&gt;</td>
<td>&lt;queue&gt;</td>
</tr>
<tr>
<td>&lt;iomanip.h&gt;</td>
<td>&lt;iomanip&gt;</td>
</tr>
<tr>
<td>&lt;iostream.h&gt;</td>
<td>&lt;iostream&gt;</td>
</tr>
<tr>
<td>&lt;istream.h&gt;</td>
<td>&lt;istream&gt;</td>
</tr>
<tr>
<td>&lt;iterator.h&gt;</td>
<td>&lt;iterator&gt;</td>
</tr>
<tr>
<td>&lt;list.h&gt;</td>
<td>&lt;list&gt;</td>
</tr>
<tr>
<td>&lt;map.h&gt;</td>
<td>&lt;map&gt;</td>
</tr>
<tr>
<td>&lt;multimap.h&gt;</td>
<td>&lt;map&gt;</td>
</tr>
<tr>
<td>&lt;multiset.h&gt;</td>
<td>&lt;set&gt;</td>
</tr>
<tr>
<td>&lt;new.h&gt;</td>
<td>&lt;new&gt;</td>
</tr>
<tr>
<td>&lt;ostream.h&gt;</td>
<td>&lt;ostream&gt;</td>
</tr>
<tr>
<td>&lt;pair.h&gt;</td>
<td>&lt;utility&gt;</td>
</tr>
<tr>
<td>&lt;queue.h&gt;</td>
<td>&lt;queue&gt;</td>
</tr>
<tr>
<td>&lt;rope.h&gt;</td>
<td>&lt;ext/rope&gt;</td>
</tr>
<tr>
<td>&lt;set.h&gt;</td>
<td>&lt;set&gt;</td>
</tr>
<tr>
<td>&lt;slist.h&gt;</td>
<td>&lt;ext/slist&gt;</td>
</tr>
<tr>
<td>&lt;stack.h&gt;</td>
<td>&lt;stack&gt;</td>
</tr>
<tr>
<td>&lt;streambuf.h&gt;</td>
<td>&lt;streambuf&gt;</td>
</tr>
<tr>
<td>&lt;stream.h&gt;</td>
<td>&lt;iostream&gt;</td>
</tr>
<tr>
<td>&lt;tempbuf.h&gt;</td>
<td>&lt;ext/memory&gt;</td>
</tr>
<tr>
<td>&lt;tree.h&gt;</td>
<td>&lt;ext/rb_tree&gt; or &lt;ext/pb_ds/assoc_container.hpp&gt;</td>
</tr>
<tr>
<td>&lt;vector.h&gt;</td>
<td>&lt;vector&gt;</td>
</tr>
</tbody>
</table>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linax.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linax.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linax.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linax.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linax.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linax.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linax.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linax.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linax.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linax.wordpress.com/482/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=482&subd=linax&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linax.wordpress.com/2009/11/03/gcc-and-header-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a7d935129c5150b792d349848658a84?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linax</media:title>
		</media:content>
	</item>
		<item>
		<title>Vim Jump-Start</title>
		<link>http://linax.wordpress.com/2009/11/01/vim-jump-start/</link>
		<comments>http://linax.wordpress.com/2009/11/01/vim-jump-start/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 20:11:50 +0000</pubDate>
		<dc:creator>Nasser Heidari</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://linax.wordpress.com/?p=476</guid>
		<description><![CDATA[Thanks goes to roqet
vi (and vim) runs in 2 modes: insert and command, ESC changes to command mode.
This command list was made while using vim (vi improved), all commands may not work in other versions of vi.
In this document, c stands for ctrl and m for alt.
% usually represents the whole buffer
If you&#8217;re having trouble [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=476&subd=linax&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Thanks goes to <a href="http://www.roqet.org/vimcommands.html" target="_blank">roqet</a></strong></p>
<p><code>vi</code> (and <code>vim</code>) runs in 2 modes: insert and command, <code>ESC</code> changes to command mode.</p>
<p>This command list was made while using <code>vim</code> (<code>vi</code> improved), all commands may not work in other versions of <code>vi</code>.</p>
<p>In this document, <code>c</code> stands for <code>ctrl</code> and <code>m</code> for <code>alt</code>.</p>
<p><code>%</code> usually represents the whole buffer</p>
<p>If you&#8217;re having trouble starting vim in a console, try <code>vim -X</code></p>
<p>See the &#8220;additions to the <code>vimrc</code> configuration file&#8221; section to enable ms-windows-like editor commands.</p>
<h2>basic commands</h2>
<p><strong>quit </strong>:  <code>:q</code> (closes the editor, use <code>:bd</code> to just close the buffer)</p>
<p><strong>write/save </strong>:  <code>:w</code></p>
<p><strong>quit with write </strong>:  <code>:wq</code></p>
<p><strong>quit without save </strong>:  <code>:q!</code></p>
<p><strong>close buffer </strong>:  <code>:bd</code></p>
<p><strong>open file </strong>:  <code>:e</code> (filename)</p>
<p><strong>new file </strong>:  <code>:new</code></p>
<p><strong>page up </strong>:  <code>c-u</code> or <code>page-up</code></p>
<p><strong>page down </strong>:  <code>c-d</code> or <code>page-down</code></p>
<p><strong>up </strong>:  <code>k</code> or <code>up-arrow</code></p>
<p><strong>down </strong>:  <code>j</code> or <code>down-arrow</code></p>
<p><strong>left </strong>:  <code>h</code> or <code>left-arrow</code></p>
<p><strong>right </strong>:  <code>l</code> or <code>right-arrow</code></p>
<p><strong>go to file start </strong>:  <code>gg</code></p>
<p><strong>go to file end </strong>:  <code>G</code></p>
<p><strong>go to line </strong>:  <code>nG</code> (where <code>n</code> = a number)</p>
<p><strong>go to line end </strong>:  <code>$</code></p>
<p><strong>go to line start </strong>:  <code>0</code></p>
<p><strong>jump forward word </strong>:  <code>w</code></p>
<p><strong>jump forward word </strong>:  <code>b</code></p>
<p><strong>begin typing/insert </strong>:  <code>i</code></p>
<p><strong>insert at end of line </strong>:  <code>A</code></p>
<p><strong>join lines </strong>:  <code>J</code> (<code>nJ</code> to join more than 2 lines &#8211; <code>n</code> = a number)</p>
<p><strong>indent a block </strong>:  <code>v</code> (then select the block) <code>&gt;</code> (or <code>&lt;</code> to go left)</p>
<p><strong>undo last command </strong>:  <code>u</code></p>
<p><strong>redo </strong>:  <code>c-r</code></p>
<p><strong>repeat last command </strong>:  <code>:&lt;up arrow&gt;</code></p>
<p><strong>repeat last change </strong>:  <code>.</code></p>
<p><strong>select </strong>:  <code>v</code> (then select text, and choose <code>y</code> to copy or <code>x</code> to cut)</p>
<p><strong>copy line </strong>:  <code>cc</code></p>
<p><strong>delete line </strong>:  <code>dd</code></p>
<p><strong>delete character </strong>:  <code>x</code></p>
<p><strong>delete word </strong>:  <code>dw</code></p>
<p><strong>delete till end of line </strong>:  <code>d$</code></p>
<p><strong>delete several lines </strong>:  <code>:dn</code> eg <code>:d3</code></p>
<p><strong>delete a specific line </strong>:  <code>:nd</code> (where <code>n</code> = a number, not to be confused with above)</p>
<p><strong>paste (after character/line) </strong>:  <code>p</code></p>
<p><strong>paste (before character/line) </strong>:  <code>P</code></p>
<p><strong>search forwards </strong>:  <code>/</code> (followed by word to search) (<code>/</code> alone to search next)</p>
<p><strong>search backwards </strong>:  <code>?</code> (followed by word to search) (<code>?</code> alone to search next)</p>
<p><strong>search files </strong>:  <code>:vimgrep /love/ *.txt</code> follow this with the command <code>:cwindow</code> to see a list of all the files found</p>
<p><strong>change case </strong>:  <code>n~</code> (where <code>n</code> = a number)</p>
<p><strong>replace/substitute </strong>:  <code>:%s/old/new/g</code> (<code>%</code> says to do this for each line, <code>%</code> can also be a set number)</p>
<p><strong>replace single character </strong>:  <code>r&lt;character&gt;</code></p>
<p><strong>match parenthesis </strong>:  <code>%</code> (after placing the cursor on the first parenthesis)</p>
<p><strong>code complete </strong>:  ctrl-x ctrl-o</p>
<p><strong>word wrap </strong>:  <code>:set wrap</code></p>
<p><strong>no word wrap </strong>:  <code>:set nowrap</code></p>
<p><strong>line numbering </strong>:  <code>:set number</code></p>
<p><strong>no line numbering </strong>:  <code>:set nonumber</code></p>
<p><strong>execute an external command </strong>:  <code>:!</code> (followed by command)</p>
<p><strong>read in results of a command </strong>:  <code>:r!command</code> or <code>!!command</code> (eg <code>:r!date</code>)</p>
<p><strong>insert an external file </strong>:  <code>:r (filename)</code></p>
<p><strong>open a shell </strong>:  <code>:sh</code></p>
<p><strong>create a page break </strong>: while in the insert mode, CTRL-l (that&#8217;s an &#8220;L&#8221;); &#8220;^L&#8221; will appear in your text and will cause the printer to start a new page.</p>
<p><strong>execute perl </strong>:  <code>:!perl -wc %</code> (for syntax check, drop the &#8220;<code>c</code>&#8221; for normal run)</p>
<p><strong>compile java </strong>:  <code>:!javac -verbose %</code></p>
<p><strong>run java </strong>:  <code>:!java %&lt;</code> (the <code>&lt;</code> removes the extension)</p>
<p><strong>compile c#</strong>:  <code>:!csc %</code></p>
<p><strong>spell check </strong>:  <code>:!ispell %</code> (or <code>:!aspell check %</code>)</p>
<p><strong>new buffer </strong>:  <code>:new</code></p>
<p><strong>next buffer </strong>:  <code>:bn</code></p>
<p><strong>last buffer </strong>:  <code>:bl</code></p>
<p><strong>change buffers </strong>:  <code> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> n)b</code></p>
<p><strong>close buffer </strong>:  <code>:bd</code> (close specific buffer = <code>:bd 3</code> (can have more by putting a space between the numbers))</p>
<p><strong>change between split windows </strong>:  <code>c-w</code></p>
<p><strong>make current window the only one visible </strong>:  <code> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> nly</code> (or) <code>c-w o</code></p>
<p><strong>change/set options </strong>:  <code> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> ptions</code> (these can also be set in the <code>.vimrc/.gvimrc</code></p>
<p>files)</p>
<p><strong>create/run a macro </strong>:  <code>qa</code> to begin recording into register &#8216;<code>a</code>&#8216;, followed by <code>q</code> to stop recording, then <code>@a</code> to repeat the commands you recorded. You can record into 26 other registers (for each letter of the alphabet).</p>
<p><strong>create a fold </strong>:  <code>zfap</code> (position the cursor at the start of the block of code first)</p>
<p><strong>open a fold </strong>:  <code>zo</code></p>
<p><strong>close a fold </strong>:  <code>zc</code></p>
<p><strong>open all the folds </strong>:  <code>zr</code></p>
<p><strong>close all the folds </strong>:  <code>zm</code></p>
<p><strong>Make current line uppercase </strong>:  <code>gUU</code></p>
<p><strong>Make current line lowercase </strong>:  <code>guu</code></p>
<p><strong>htmlize a syntax-highlighted file </strong>:  <code>:runtime! syntax/2html.vim</code> this will convert a file that has been syntax highlighted into html (handy for use on websites and such)</p>
<h2>additions to the .vimrc configuration file</h2>
<pre>set nocompatible
source $VIMRUNTIME/mswin.vim
" adds recent filelist; downloaded from:
" http://vim.sourceforge.net/scripts/script.php?script_id=194)
source $VIMRUNTIME/MRU.vim
behave mswin

" OS-specific settings
if has("win32")
  " windows preferred font...
  set guifont=HE_TERMINAL:h10
else
  " linux preferred font...
  set guifont=-dec-terminal-medium-r-normal-*-*-140-*-*-c-*-iso8859-1
endif

" slow down the default cursor blink
set guicursor=a:blinkon600-blinkoff400
" or if you don't like blinking cursors, switch it off
"set guicursor=a:blinkon0

" remove gui toolbar
set guioptions-=T

" set tab width to 4 and insert 4 spaces for each tab
set tabstop=4
set shiftwidth=4
set expandtab

" keymapping; when editing, just use the comma command, eg: ,s (no : first)
" (results go into another buffer):
" launch SQL*Plus
map ,q :new:r!sqlplus roqetman/password@roqdb @#
" check Perl syntax
map ,p :new:r!perl -wc #
" compile Java
map ,j :new:r!javac #
" compile C#
map ,c :new:r!csc #
" Map ctrl-f and F3 for windows-type find
":map  /
:imap  :promptfind
:nmap  :promptfind
:map  /
" launch spell checker
map ,s :!aspell check %

" change comment colors for command line
highlight Comment gui=NONE ctermfg=Green
</pre>
<h2>additions to syntax highlighting</h2>
<p>These are my preferred additions to the $VIM/filetype.vim file:</p>
<pre>" Delphi forms
au BufNewFile,BufRead *.dfm			setf pascal
" ChangeLog addendum
au BufNewFile,BufRead *.changelog		setf changelog
" useful if you use vim to read your SQL*Plus buffer (afiedt.buf)
au BufNewFile,BufRead *.buf 			setf plsql
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linax.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linax.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linax.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linax.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linax.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linax.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linax.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linax.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linax.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linax.wordpress.com/476/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=476&subd=linax&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linax.wordpress.com/2009/11/01/vim-jump-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a7d935129c5150b792d349848658a84?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linax</media:title>
		</media:content>
	</item>
		<item>
		<title>Printing specific line of a file</title>
		<link>http://linax.wordpress.com/2009/11/01/printing-specific-line-of-a-file/</link>
		<comments>http://linax.wordpress.com/2009/11/01/printing-specific-line-of-a-file/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 08:50:15 +0000</pubDate>
		<dc:creator>Nasser Heidari</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://linax.wordpress.com/?p=472</guid>
		<description><![CDATA[

#  sed -n '15p' abc.txt

or

#  awk 'NR==15{print}' abc.txt

or 

# head -15 abc.txt &#124; tail -1

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=472&subd=linax&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><pre>
<h4>
#  sed -n '15p' abc.txt

or

#  awk 'NR==15{print}' abc.txt

or 

# head -15 abc.txt | tail -1</h4>
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linax.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linax.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linax.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linax.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linax.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linax.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linax.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linax.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linax.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linax.wordpress.com/472/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=472&subd=linax&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linax.wordpress.com/2009/11/01/printing-specific-line-of-a-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a7d935129c5150b792d349848658a84?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linax</media:title>
		</media:content>
	</item>
		<item>
		<title>Freeradius checkval module</title>
		<link>http://linax.wordpress.com/2009/10/10/freeradius-checkval-module/</link>
		<comments>http://linax.wordpress.com/2009/10/10/freeradius-checkval-module/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 17:14:10 +0000</pubDate>
		<dc:creator>Nasser Heidari</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://linax.wordpress.com/?p=466</guid>
		<description><![CDATA[radiusd.conf:
        &#8230;
        &#8230;
checkval NAS_IP {
                item-name = NAS-IP-Address
                check-name = NAS-IP-Address
 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=466&subd=linax&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>radiusd.conf:</p>
<p>        &#8230;<br />
        &#8230;<br />
checkval NAS_IP {<br />
                item-name = NAS-IP-Address<br />
                check-name = NAS-IP-Address<br />
                data-type = ipaddr<br />
                nofound-reject = no<br />
        }<br />
        &#8230;<br />
        &#8230;<br />
authorize {<br />
        preprocess<br />
          &#8230;<br />
          &#8230;<br />
        sql_auth<br />
        NAS_IP<br />
        &#8230;<br />
          &#8230;<br />
}</p>
<p>And then we need A/V Pair for each user like this:</p>
<p>test Auth-Type := Local, User-Password := 123321, NAS-IP-Address :=<br />
1.2.3.4</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linax.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linax.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linax.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linax.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linax.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linax.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linax.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linax.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linax.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linax.wordpress.com/466/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=466&subd=linax&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linax.wordpress.com/2009/10/10/freeradius-checkval-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a7d935129c5150b792d349848658a84?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linax</media:title>
		</media:content>
	</item>
		<item>
		<title>Kernel vfs_cache_pressure</title>
		<link>http://linax.wordpress.com/2009/10/03/kernel-vfs_cache_pressure/</link>
		<comments>http://linax.wordpress.com/2009/10/03/kernel-vfs_cache_pressure/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 18:02:00 +0000</pubDate>
		<dc:creator>Nasser Heidari</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://linax.wordpress.com/?p=464</guid>
		<description><![CDATA[vfs_cache_pressure Controls the tendency of the kernel to reclaim the memory which is used for caching of directory and inode objects.
At the default value of vfs_cache_pressure = 100 the kernel will attempt to reclaim dentries and inodes at a &#8220;fair&#8221; rate with respect to pagecache and swapcache reclaim. Decreasing vfs_cache_pressure causes the kernel to prefer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=464&subd=linax&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong><em>vfs_cache_pressure</em></strong> Controls the tendency of the kernel to reclaim the memory which is used for caching of directory and inode objects.</p>
<p>At the default value of vfs_cache_pressure = 100 the kernel will attempt to reclaim dentries and inodes at a &#8220;fair&#8221; rate with respect to pagecache and swapcache reclaim. Decreasing vfs_cache_pressure causes the kernel to prefer to retain dentry and inode caches. Increasing vfs_cache_pressure beyond 100 causes the kernel to prefer to reclaim dentries and inodes.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linax.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linax.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linax.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linax.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linax.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linax.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linax.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linax.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linax.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linax.wordpress.com/464/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=464&subd=linax&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linax.wordpress.com/2009/10/03/kernel-vfs_cache_pressure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a7d935129c5150b792d349848658a84?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linax</media:title>
		</media:content>
	</item>
		<item>
		<title>kernel behavior on panic</title>
		<link>http://linax.wordpress.com/2009/09/28/kernel-behavior-on-panic/</link>
		<comments>http://linax.wordpress.com/2009/09/28/kernel-behavior-on-panic/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 09:32:39 +0000</pubDate>
		<dc:creator>Nasser Heidari</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://linax.wordpress.com/?p=462</guid>
		<description><![CDATA[By default, the kernel will not reboot after a panic, there is an option that you can set as a kernel parameter on grub.conf that will cause a kernel reboot after N seconds. For example following boot parameter will force to reboot Linux after 10 seconds :
kernel /vmlinuz-2.6.18-128.1.16.el5 ro root=/dev/VolGroup00/LogVol00 panic=10
     [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=462&subd=linax&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>By default, the kernel will not reboot after a panic, there is an option that you can set as a kernel parameter on grub.conf that will cause a kernel reboot after N seconds. For example following boot parameter will force to reboot Linux after 10 seconds :</p>
<p>kernel /vmlinuz-2.6.18-128.1.16.el5 ro root=/dev/VolGroup00/LogVol00 <strong>panic=10</strong></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linax.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linax.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linax.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linax.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linax.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linax.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linax.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linax.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linax.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linax.wordpress.com/462/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=462&subd=linax&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linax.wordpress.com/2009/09/28/kernel-behavior-on-panic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a7d935129c5150b792d349848658a84?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linax</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux CPU Utilization</title>
		<link>http://linax.wordpress.com/2009/09/28/linux-cpu-utilization/</link>
		<comments>http://linax.wordpress.com/2009/09/28/linux-cpu-utilization/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 08:32:33 +0000</pubDate>
		<dc:creator>Nasser Heidari</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://linax.wordpress.com/?p=460</guid>
		<description><![CDATA[# yum install sysstat
# mpstat -P ALL
# sar -u -P ALL  2 5
# iostat -xtc 2
top 10 CPU Killing Process :
#  ps -eo pcpu,pid,user,args &#124; sort -r -k1 &#124; less 
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=460&subd=linax&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p># yum install sysstat</p>
<p># mpstat -P ALL</p>
<p># sar -u -P ALL  2 5</p>
<p># iostat -xtc 2</p>
<p>top 10 CPU Killing Process :<br />
#  ps -eo pcpu,pid,user,args | sort -r -k1 | less </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linax.wordpress.com/460/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linax.wordpress.com/460/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linax.wordpress.com/460/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linax.wordpress.com/460/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linax.wordpress.com/460/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linax.wordpress.com/460/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linax.wordpress.com/460/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linax.wordpress.com/460/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linax.wordpress.com/460/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linax.wordpress.com/460/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=460&subd=linax&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linax.wordpress.com/2009/09/28/linux-cpu-utilization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a7d935129c5150b792d349848658a84?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linax</media:title>
		</media:content>
	</item>
		<item>
		<title>Slackware &#8211; Apache 2 and PHP Installation</title>
		<link>http://linax.wordpress.com/2009/09/26/slackware-apache-2-and-php-installation/</link>
		<comments>http://linax.wordpress.com/2009/09/26/slackware-apache-2-and-php-installation/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 15:30:56 +0000</pubDate>
		<dc:creator>Nasser Heidari</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://linax.wordpress.com/?p=454</guid>
		<description><![CDATA[If you need to use php on apache , after installing slackware , there is dummy package that won&#8217;t install with default installation process .


# wget http://mirrors.usc.edu/pub/linux/distributions/slackware\
/slackware-13.0/slackware/l/t1lib-5.1.2-i486-1.txz
# installpkg t1lib-5.1.2-i486-1.txz
# echo "Include /etc/httpd/mod_php.conf" &#62;&#62; /etc/httpd/httpd.conf
# apachectl restart


       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=454&subd=linax&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you need to use php on apache , after installing slackware , there is dummy package that won&#8217;t install with default installation process .</p>
<pre>
<h3>
# wget http://mirrors.usc.edu/pub/linux/distributions/slackware\
/slackware-13.0/slackware/l/t1lib-5.1.2-i486-1.txz
# installpkg t1lib-5.1.2-i486-1.txz
# echo "Include /etc/httpd/mod_php.conf" &gt;&gt; /etc/httpd/httpd.conf
# apachectl restart
</h3>
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linax.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linax.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linax.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linax.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linax.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linax.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linax.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linax.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linax.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linax.wordpress.com/454/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linax.wordpress.com&blog=2473033&post=454&subd=linax&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linax.wordpress.com/2009/09/26/slackware-apache-2-and-php-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a7d935129c5150b792d349848658a84?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linax</media:title>
		</media:content>
	</item>
	</channel>
</rss>