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

<channel>
	<title>abiXalmon.com&#187; Blogs</title>
	<atom:link href="http://www.abixalmon.com/category/blogs/feed" rel="self" type="application/rss+xml" />
	<link>http://www.abixalmon.com</link>
	<description>Tech Blog from Bhutan, Abi Narayan&#039;s Blog</description>
	<lastBuildDate>Tue, 13 Sep 2011 12:51:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Kuensel Blocks Google</title>
		<link>http://www.abixalmon.com/2011/09/kuensel-blocks-google</link>
		<comments>http://www.abixalmon.com/2011/09/kuensel-blocks-google#comments</comments>
		<pubDate>Tue, 13 Sep 2011 12:51:07 +0000</pubDate>
		<dc:creator>abiXalmon</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Website Fail]]></category>

		<guid isPermaLink="false">http://www.abixalmon.com/?p=119</guid>
		<description><![CDATA[Kuenselonline, the Bhutan&#8217;s largest news website has blocked google from their website. Isn&#8217;t google the biggest search engine in the world? looks like they dont want all the free traffic you get from google. LOL]]></description>
			<content:encoded><![CDATA[<p>Kuenselonline, the Bhutan&#8217;s largest news website has blocked google from their website. Isn&#8217;t google the biggest search engine in the world? looks like they dont want all the free traffic you get from google. LOL</p>
<div id="attachment_120" class="wp-caption alignnone" style="width: 310px"><a href="http://www.abixalmon.com/wp-content/uploads/2011/09/Kuensel-Blocks-Google.jpg" class="lightbox" rel="gal-119"><img class="size-medium wp-image-120" title="Kuensel Blocks Google" src="http://www.abixalmon.com/wp-content/uploads/2011/09/Kuensel-Blocks-Google-300x148.jpg" alt="Kuensel Blocks Google" width="300" height="148" /></a><p class="wp-caption-text">Kuensel Blocks Google</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.abixalmon.com/2011/09/kuensel-blocks-google/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure CentOS Linux with iptables</title>
		<link>http://www.abixalmon.com/2011/08/secure-centos-linux-with-iptables</link>
		<comments>http://www.abixalmon.com/2011/08/secure-centos-linux-with-iptables#comments</comments>
		<pubDate>Sat, 20 Aug 2011 15:13:54 +0000</pubDate>
		<dc:creator>abiXalmon</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux Security]]></category>

		<guid isPermaLink="false">http://www.abixalmon.com/?p=110</guid>
		<description><![CDATA[Iptables is best linux firewall available. Use this to secure your linux with iptables. Make sure to save the iptables configuration. vi /etc/sysconfig/iptables Secure IPTables Configuration: *filter :FORWARD DROP &#91;0:0&#93; :INPUT DROP &#91;0:0&#93; :OUTPUT DROP &#91;0:0&#93; &#160; ## Block IPs here -A INPUT -s xxx.xxx.xxx.xxx -j DROP &#160; -A INPUT -i eth0 -f -j DROP [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-113" title="Linux Firewall" src="http://www.abixalmon.com/wp-content/uploads/2011/08/Linux-Firewall-300x293.gif" alt="Linux Firewall" width="300" height="293" /></p>
<p>Iptables is best linux firewall available. Use this to secure your linux with iptables.</p>
<p>Make sure to save the iptables configuration.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysconfig<span style="color: #000000; font-weight: bold;">/</span>iptables</pre></div></div>

<p>Secure IPTables Configuration:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">*</span>filter
:FORWARD DROP <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
:INPUT DROP <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
:OUTPUT DROP <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## Block IPs here</span>
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-s</span> xxx.xxx.xxx.xxx <span style="color: #660033;">-j</span> DROP
&nbsp;
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-i</span> eth0 <span style="color: #660033;">-f</span> <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-i</span> lo <span style="color: #660033;">-j</span> ACCEPT
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> icmp <span style="color: #660033;">-m</span> icmp <span style="color: #660033;">--icmp-type</span> <span style="color: #000000;">8</span> <span style="color: #660033;">-j</span> ACCEPT
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-m</span> state <span style="color: #660033;">--state</span> RELATED,ESTABLISHED <span style="color: #660033;">-j</span> ACCEPT
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--tcp-flags</span> FIN,SYN,RST,PSH,ACK,URG NONE <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--tcp-flags</span> FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,PSH,ACK,URG <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--tcp-flags</span> FIN,SYN,RST,PSH,ACK,URG FIN,PSH,URG <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--tcp-flags</span> FIN,SYN FIN,SYN <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--tcp-flags</span> SYN,RST SYN,RST <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--tcp-flags</span> FIN,RST FIN,RST <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--tcp-flags</span> FIN,ACK FIN <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--tcp-flags</span> PSH,ACK PSH <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--tcp-flags</span> ACK,URG URG <span style="color: #660033;">-j</span> DROP
&nbsp;
<span style="color: #666666; font-style: italic;">## Open all your needed ports here</span>
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> state <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--dport</span> <span style="color: #000000;">25</span> <span style="color: #660033;">--state</span> NEW <span style="color: #660033;">-j</span> ACCEPT
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> state <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">--dport</span> <span style="color: #000000;">80</span> <span style="color: #660033;">--state</span> NEW <span style="color: #660033;">-j</span> ACCEPT
&nbsp;
<span style="color: #666666; font-style: italic;">## Allow your IPs here</span>
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> state <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">-s</span> xxx.xxx.xxx.xxx<span style="color: #000000; font-weight: bold;">/</span>255.255.255.0 <span style="color: #660033;">--dport</span> <span style="color: #000000;">10000</span> <span style="color: #660033;">--state</span> NEW <span style="color: #660033;">-j</span> ACCEPT
&nbsp;
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> tcp <span style="color: #660033;">-m</span> state <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">--tcp-flags</span> FIN,SYN,RST,ACK SYN <span style="color: #660033;">--state</span> NEW <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> INPUT <span style="color: #660033;">-f</span> <span style="color: #660033;">-j</span> DROP
<span style="color: #660033;">-A</span> OUTPUT <span style="color: #660033;">-o</span> lo <span style="color: #660033;">-j</span> ACCEPT
<span style="color: #660033;">-A</span> OUTPUT <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">-m</span> state <span style="color: #660033;">--state</span> NEW,ESTABLISHED <span style="color: #660033;">-j</span> ACCEPT
<span style="color: #660033;">-A</span> OUTPUT <span style="color: #660033;">-p</span> udp <span style="color: #660033;">-m</span> state <span style="color: #660033;">--state</span> NEW,ESTABLISHED <span style="color: #660033;">-j</span> ACCEPT
<span style="color: #660033;">-A</span> OUTPUT <span style="color: #660033;">-p</span> icmp <span style="color: #660033;">-m</span> state <span style="color: #660033;">--state</span> NEW,RELATED,ESTABLISHED <span style="color: #660033;">-j</span> ACCEPT
COMMIT
&nbsp;
<span style="color: #000000; font-weight: bold;">*</span>nat
:PREROUTING ACCEPT <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
:POSTROUTING ACCEPT <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
:OUTPUT ACCEPT <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
COMMIT
&nbsp;
<span style="color: #000000; font-weight: bold;">*</span>mangle
:PREROUTING ACCEPT <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
:INPUT ACCEPT <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
:FORWARD ACCEPT <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
:OUTPUT ACCEPT <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
:POSTROUTING ACCEPT <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
COMMIT</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.abixalmon.com/2011/08/secure-centos-linux-with-iptables/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure CentOS with sysctl.conf</title>
		<link>http://www.abixalmon.com/2011/08/secure-centos-with-sysctl-conf</link>
		<comments>http://www.abixalmon.com/2011/08/secure-centos-with-sysctl-conf#comments</comments>
		<pubDate>Sun, 07 Aug 2011 13:31:38 +0000</pubDate>
		<dc:creator>abiXalmon</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux Security]]></category>

		<guid isPermaLink="false">http://www.abixalmon.com/?p=106</guid>
		<description><![CDATA[Secure your CentOS installation with sysctl, Replace your sysctl.conf with the configuration given below, this is the best configuration you can do. &#160; # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. &#160; net.ipv4.ip_forward = 0 [...]]]></description>
			<content:encoded><![CDATA[<p>Secure your CentOS installation with <a title="Sysctl" href="http://en.wikipedia.org/wiki/Sysctl" target="_blank">sysctl</a>, Replace your sysctl.conf with the configuration given below, this is the best configuration you can do.</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Kernel sysctl configuration file for Red Hat Linux</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and</span>
<span style="color: #666666; font-style: italic;"># sysctl.conf(5) for more details.</span>
&nbsp;
net.ipv4.ip_forward = <span style="color: #000000;">0</span>
net.ipv4.conf.default.rp_filter = <span style="color: #000000;">1</span>
net.ipv4.conf.default.accept_source_route = <span style="color: #000000;">0</span>
kernel.sysrq = <span style="color: #000000;">0</span>
kernel.core_uses_pid = <span style="color: #000000;">1</span>
&nbsp;
net.ipv4.tcp_synack_retries = <span style="color: #000000;">2</span>
net.ipv4.tcp_syncookies = <span style="color: #000000;">1</span>
&nbsp;
net.ipv4.conf.all.send_redirects = <span style="color: #000000;">0</span>
net.ipv4.conf.default.send_redirects = <span style="color: #000000;">0</span>
net.ipv4.conf.all.accept_redirects = <span style="color: #000000;">0</span>
net.ipv4.icmp_echo_ignore_broadcasts = <span style="color: #000000;">1</span>
net.ipv4.icmp_ignore_bogus_error_responses = <span style="color: #000000;">1</span>
net.ipv4.conf.all.log_martians = <span style="color: #000000;">1</span>
net.ipv4.conf.default.log_martians = <span style="color: #000000;">1</span>
net.ipv4.conf.all.accept_source_route = <span style="color: #000000;">0</span>
net.ipv4.conf.default.accept_source_route = <span style="color: #000000;">0</span>
net.ipv4.conf.all.rp_filter = <span style="color: #000000;">1</span>
net.ipv4.conf.default.rp_filter = <span style="color: #000000;">1</span>
net.ipv4.conf.default.accept_redirects = <span style="color: #000000;">0</span>
net.ipv4.conf.all.secure_redirects = <span style="color: #000000;">0</span>
net.ipv4.conf.default.secure_redirects = <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;">########## IPv6 networking start ##############</span>
<span style="color: #666666; font-style: italic;"># Number of Router Solicitations to send until assuming no routers are present.</span>
<span style="color: #666666; font-style: italic;"># This is host and not router</span>
net.ipv6.conf.default.router_solicitations = <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Accept Router Preference in RA?</span>
net.ipv6.conf.default.accept_ra_rtr_pref = <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Learn Prefix Information in Router Advertisement</span>
net.ipv6.conf.default.accept_ra_pinfo = <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Setting controls whether the system will accept Hop Limit settings from a router advertisement</span>
net.ipv6.conf.default.accept_ra_defrtr = <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#router advertisements can cause the system to assign a global unicast address to an interface</span>
net.ipv6.conf.default.autoconf = <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#how many neighbor solicitations to send out per address?</span>
net.ipv6.conf.default.dad_transmits = <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># How many global unicast IPv6 addresses can be assigned to each interface?</span>
net.ipv6.conf.default.max_addresses = <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #666666; font-style: italic;">########## IPv6 networking ends ##############</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Enable ExecShield protection</span>
kernel.exec-shield = <span style="color: #000000;">1</span>
kernel.randomize_va_space = <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># increase system file descriptor limit</span>
fs.file-max = <span style="color: #000000;">65535</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Allow for more PIDs</span>
kernel.pid_max = <span style="color: #000000;">65536</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#Increase system IP port limits</span>
net.ipv4.ip_local_port_range = <span style="color: #000000;">11000</span> <span style="color: #000000;">65000</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Reboot after a kernel panic</span>
kernel.panic = <span style="color: #000000;">30</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.abixalmon.com/2011/08/secure-centos-with-sysctl-conf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS Web server with Latest Apache, PHP and MySQL</title>
		<link>http://www.abixalmon.com/2011/08/centos-web-server-with-latest-apache-php-and-mysql</link>
		<comments>http://www.abixalmon.com/2011/08/centos-web-server-with-latest-apache-php-and-mysql#comments</comments>
		<pubDate>Thu, 04 Aug 2011 13:06:16 +0000</pubDate>
		<dc:creator>abiXalmon</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.abixalmon.com/?p=92</guid>
		<description><![CDATA[Setup perfect CentOS Web server with latest Apache, PHP and MySQL. Make sure you have installed CentOS with minimal system tools. I am going to use my home directory as root folder. cd ~ import RPM-GPG-KEY rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY* Update Everything using YUM yum -y update Reboot your Server. reboot Install Some Required Packages yum [...]]]></description>
			<content:encoded><![CDATA[<p>Setup perfect CentOS Web server with latest Apache, PHP and MySQL.</p>
<p><img class="alignnone size-medium wp-image-102" title="CentOS with Apache PHP MYSQL Webmin" src="http://www.abixalmon.com/wp-content/uploads/2011/08/CentOS-with-Apache-PHP-MYSQL-Webmin-300x225.jpg" alt="CentOS with Apache PHP MYSQL Webmin" width="300" height="225" /></p>
<p>Make sure you have installed CentOS with minimal system tools.</p>
<p>I am going to use my home directory as root folder.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~</pre></div></div>

<p><strong>import RPM-GPG-KEY</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rpm <span style="color: #660033;">--import</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>pki<span style="color: #000000; font-weight: bold;">/</span>rpm-gpg<span style="color: #000000; font-weight: bold;">/</span>RPM-GPG-KEY<span style="color: #000000; font-weight: bold;">*</span></pre></div></div>

<p><strong>Update Everything using YUM</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> update</pre></div></div>

<p><strong>Reboot your Server.</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">reboot</pre></div></div>

<p><strong>Install Some Required Packages</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> fetchmail <span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #c20cb9; font-weight: bold;">bzip2</span> <span style="color: #c20cb9; font-weight: bold;">unzip</span> <span style="color: #c20cb9; font-weight: bold;">zip</span> <span style="color: #c20cb9; font-weight: bold;">nmap</span> openssl <span style="color: #c20cb9; font-weight: bold;">lynx</span> fileutils</pre></div></div>

<p><strong>Setup System Time</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> ntp
chkconfig ntpd on
ntpdate pool.ntp.org
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>ntpd start</pre></div></div>

<p><strong>Install RPMForge Repo</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rpm <span style="color: #660033;">--import</span> http:<span style="color: #000000; font-weight: bold;">//</span>apt.sw.be<span style="color: #000000; font-weight: bold;">/</span>RPM-GPG-KEY.dag.txt
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>pkgs.repoforge.org<span style="color: #000000; font-weight: bold;">/</span>rpmforge-release<span style="color: #000000; font-weight: bold;">/</span>rpmforge-release-0.5.2-<span style="color: #000000;">2</span>.el5.rf.i386.rpm
rpm <span style="color: #660033;">-K</span> rpmforge-release-0.5.2-<span style="color: #000000;">2</span>.el5.rf.i386.rpm
rpm <span style="color: #660033;">-i</span> rpmforge-release-0.5.2-<span style="color: #000000;">2</span>.el5.rf.i386.rpm
&nbsp;
yum clean all
yum update</pre></div></div>

<p><strong>Use Remi&#8217;s Repo for Latest PHP and MySQL</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rpm <span style="color: #660033;">--import</span> http:<span style="color: #000000; font-weight: bold;">//</span>rpms.famillecollet.com<span style="color: #000000; font-weight: bold;">/</span>RPM-GPG-KEY-remi
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>download.fedora.redhat.com<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>epel<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">/</span>i386<span style="color: #000000; font-weight: bold;">/</span>epel-release-<span style="color: #000000;">5</span>-<span style="color: #000000;">4</span>.noarch.rpm
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>rpms.famillecollet.com<span style="color: #000000; font-weight: bold;">/</span>enterprise<span style="color: #000000; font-weight: bold;">/</span>remi-release-<span style="color: #000000;">5</span>.rpm
rpm <span style="color: #660033;">-Uvh</span> remi-release-<span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">*</span>.rpm epel-release-<span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">*</span>.rpm</pre></div></div>

<p><strong>Enable Remi&#8217;s Repo</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>yum.repos.d<span style="color: #000000; font-weight: bold;">/</span>remi.repo
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>remi<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">enabled</span>=<span style="color: #000000;">1</span></pre></div></div>

<p><strong>Install Apache and PHP Server</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> httpd
chkconfig <span style="color: #660033;">--levels</span> <span style="color: #000000;">235</span> httpd on
yum <span style="color: #c20cb9; font-weight: bold;">install</span> php php-mysql php-gd php-odbc php-pear php-xml php-xmlrpc curl perl-libwww-perl ImageMagick libxml2
&nbsp;
<span style="color: #666666; font-style: italic;">## Edit Apache Configuration, if you need.</span>
<span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>httpd<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>httpd.conf</pre></div></div>

<p><strong>Install MySQL Server</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> mysql mysql-server
chkconfig <span style="color: #660033;">--levels</span> <span style="color: #000000;">235</span> mysqld on
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mysqld start
&nbsp;
<span style="color: #666666; font-style: italic;">## Change your MySQL Password</span>
mysql_secure_installation
&nbsp;
<span style="color: #666666; font-style: italic;">## Check if MySQL is running</span>
<span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-tap</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> mysql
&nbsp;
<span style="color: #666666; font-style: italic;">## Edit MySQL Configuration, if you need.</span>
<span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>my.cnf</pre></div></div>

<p><strong>Install eAccelerator &#8211; PHP Caching, Makes your php load faster</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> php-eaccelerator</pre></div></div>

<p><strong>Install PhpMyAdmin</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> phpmyadmin</pre></div></div>

<p><strong>Start Apache Server</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">service httpd restart</pre></div></div>

<p><strong>Check Apache</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">apachectl <span style="color: #660033;">-M</span></pre></div></div>

<p><strong>Output</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">httpd: Could not reliably determine the server<span style="color: #ff0000;">'s fully qualified domain name, using 127.0.0.1 for ServerName
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 ...
Syntax OK</span></pre></div></div>

<p><strong>Check PHP</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">php <span style="color: #660033;">-v</span></pre></div></div>

<p><strong>Output</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">PHP 5.3.6 <span style="color: #7a0874; font-weight: bold;">&#40;</span>cli<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>built: May <span style="color: #000000;">16</span> <span style="color: #000000;">2011</span> <span style="color: #000000;">19</span>:<span style="color: #000000;">18</span>:00<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">1997</span>-<span style="color: #000000;">2011</span> The PHP Group
Zend Engine v2.3.0, Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">1998</span>-<span style="color: #000000;">2011</span> Zend Technologies
    with eAccelerator v0.9.6.1, Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">2004</span>-<span style="color: #000000;">2010</span> eAccelerator, by eAccelerator</pre></div></div>

<p>Web server with Latest PHP and MySQL is done!</p>
<p><strong>Install Webmin if you want</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> openssl perl-Net-SSLeay
rpm <span style="color: #660033;">--import</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.webmin.com<span style="color: #000000; font-weight: bold;">/</span>jcameron-key.asc</pre></div></div>

<p>Add Webmin Repo</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>yum.repos.d<span style="color: #000000; font-weight: bold;">/</span>webmin.repo</pre></div></div>

<p>Add This</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>Webmin<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">name</span>=Webmin Distribution Neutral
<span style="color: #666666; font-style: italic;">#baseurl=http://download.webmin.com/download/yum</span>
<span style="color: #007800;">mirrorlist</span>=http:<span style="color: #000000; font-weight: bold;">//</span>download.webmin.com<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>yum<span style="color: #000000; font-weight: bold;">/</span>mirrorlist
<span style="color: #007800;">enabled</span>=<span style="color: #000000;">1</span></pre></div></div>

<p>Install Webmin</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> webmin</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.abixalmon.com/2011/08/centos-web-server-with-latest-apache-php-and-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learn programming online</title>
		<link>http://www.abixalmon.com/2011/08/learn-programming-online</link>
		<comments>http://www.abixalmon.com/2011/08/learn-programming-online#comments</comments>
		<pubDate>Thu, 04 Aug 2011 08:25:33 +0000</pubDate>
		<dc:creator>abiXalmon</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.abixalmon.com/?p=89</guid>
		<description><![CDATA[Did you ever wanted to learn computer programming,? or wanted to refresh your programming skills. Stanford has a free course online that allows you to learn programming, course is simple, easy to understand and best part is its free!. Standford Computer Programming &#160;]]></description>
			<content:encoded><![CDATA[<p>Did you ever wanted to learn computer programming,? or wanted to refresh your programming skills. Stanford has a free course online that allows you to learn programming, course is simple, easy to understand and best part is its free!.</p>
<p><a href="http://www.abixalmon.com/wp-content/uploads/2011/08/Learn-programming-online-Stanford.png" class="lightbox" rel="gal-89"><img class="alignnone size-medium wp-image-90" title="Learn programming online from Stanford" src="http://www.abixalmon.com/wp-content/uploads/2011/08/Learn-programming-online-Stanford-300x183.png" alt="Learn programming online from Stanford" width="300" height="183" /></a></p>
<p><strong><a title="Introduction to Computer Science" href="http://see.stanford.edu/see/courseinfo.aspx?coll=824a47e1-135f-4508-a5aa-866adcae1111" target="_blank">Standford Computer Programming</a></strong></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abixalmon.com/2011/08/learn-programming-online/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Junk Snail Mail</title>
		<link>http://www.abixalmon.com/2011/08/junk-snail-mail</link>
		<comments>http://www.abixalmon.com/2011/08/junk-snail-mail#comments</comments>
		<pubDate>Tue, 02 Aug 2011 14:32:00 +0000</pubDate>
		<dc:creator>abiXalmon</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.abixalmon.com/?p=82</guid>
		<description><![CDATA[Guess what i found in my Snail Mail Box, a Junk snail mail. I wonder where he got my address? No wonder i hear so many stories about people sending money to UK.]]></description>
			<content:encoded><![CDATA[<p>Guess what i found in my Snail Mail Box, a Junk snail mail. I wonder where he got my address? No wonder i hear so many stories about people sending money to UK.</p>
<p><a href="http://www.abixalmon.com/wp-content/uploads/2011/08/Junk-Snail-Mail-Env-1024x519.jpg" class="lightbox" rel="gal-82"><img class="alignnone size-medium wp-image-83" title="Junk Snail Mail Envalope" src="http://www.abixalmon.com/wp-content/uploads/2011/08/Junk-Snail-Mail-Env-300x152.jpg" alt="Junk Snail Mail Envalope" width="300" height="152" /></a></p>
<p><a href="http://www.abixalmon.com/wp-content/uploads/2011/08/Junk-Snail-Mail.jpg" class="lightbox" rel="gal-82"><img class="alignnone size-medium wp-image-84" title="Junk Snail Mail Contents" src="http://www.abixalmon.com/wp-content/uploads/2011/08/Junk-Snail-Mail-277x300.jpg" alt="Junk Snail Mail Contents" width="277" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.abixalmon.com/2011/08/junk-snail-mail/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sudo &#8211; With great power comes great responsibility</title>
		<link>http://www.abixalmon.com/2010/09/sudo-with-great-power-comes-great-responsibility</link>
		<comments>http://www.abixalmon.com/2010/09/sudo-with-great-power-comes-great-responsibility#comments</comments>
		<pubDate>Mon, 06 Sep 2010 07:30:21 +0000</pubDate>
		<dc:creator>abiXalmon</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.abixalmon.com/?p=68</guid>
		<description><![CDATA[&#62; sudo &#8230; We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility.]]></description>
			<content:encoded><![CDATA[<p><strong>&gt; sudo &#8230;</strong></p>
<p>We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:</p>
<p>#1) Respect the privacy of others.<br />
#2) Think before you type.<br />
#3) With great power comes great responsibility.</p>
<div id="attachment_69" class="wp-caption alignnone" style="width: 370px"><a href="http://www.abixalmon.com/wp-content/uploads/2010/09/sudo-sandwich.png" class="lightbox" rel="gal-68"><img class="size-full wp-image-69" title="&gt; Sudo Make me a sandwich" src="http://www.abixalmon.com/wp-content/uploads/2010/09/sudo-sandwich.png" alt="" width="360" height="299" /></a><p class="wp-caption-text">&gt; Sudo Make me a sandwich</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.abixalmon.com/2010/09/sudo-with-great-power-comes-great-responsibility/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tashel &#8211; Online Visa System</title>
		<link>http://www.abixalmon.com/2010/06/tashel-online-visa-system</link>
		<comments>http://www.abixalmon.com/2010/06/tashel-online-visa-system#comments</comments>
		<pubDate>Fri, 25 Jun 2010 09:48:21 +0000</pubDate>
		<dc:creator>abiXalmon</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.abixalmon.com/?p=63</guid>
		<description><![CDATA[Tashel Online, The online visa system for Tour Operators of Bhutan. Tashel Online allows Tour Operators to apply to visa, receive approved visas on email, generate tour invoice, download army permits and get notices. This Project was done in collaboration with Tourism Council of Bhutan and Department of Immigration. Project Details Web Technology: PHP, MySQL, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.abixalmon.com/wp-content/uploads/2010/06/Tashel-Online.jpg" class="lightbox" rel="gal-63"><img class="alignnone size-medium wp-image-64" title="Tashel Online" src="http://www.abixalmon.com/wp-content/uploads/2010/06/Tashel-Online-300x174.jpg" alt="" width="300" height="174" /></a></p>
<p><strong><a href="http://www.tashel.gov.bt" target="_blank">Tashel Online</a></strong>, The online visa system for Tour Operators of Bhutan.</p>
<p>Tashel Online allows Tour Operators to apply to visa, receive approved visas on email, generate tour invoice, download army permits and get notices.</p>
<p>This Project was done in collaboration with <a href="http://www.tourism.gov.bt" target="_blank">Tourism Council of Bhutan</a> and Department of Immigration.</p>
<p><strong>Project Details</strong></p>
<p><strong>Web Technology</strong>: PHP, MySQL, JavaScript<br />
<strong>Software:</strong> Microsoft .NET 2008 with MySQL</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abixalmon.com/2010/06/tashel-online-visa-system/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tshering Tobgay&#8217;s new Blog &#8211; tsheringtobgay.com</title>
		<link>http://www.abixalmon.com/2009/05/tshering-tobgays-new-blog-tsheringtobgaycom</link>
		<comments>http://www.abixalmon.com/2009/05/tshering-tobgays-new-blog-tsheringtobgaycom#comments</comments>
		<pubDate>Tue, 05 May 2009 17:31:00 +0000</pubDate>
		<dc:creator>abiXalmon</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Website Review]]></category>

		<guid isPermaLink="false">http://www.abixalmon.com/?p=54</guid>
		<description><![CDATA[Just Launched Tshering Tobgay&#8217;s (PDP President and Opposition Leader) new Blog, He had been using blogger till now and has gained so much popularity online! He is one of the most popular and regular blogger from Bhutan. I am indeed really privillaged to design a blog for him! Blog URL: www.tsheringtobgay.com Blog Software: WordPress Scripts/Languages: [...]]]></description>
			<content:encoded><![CDATA[<p>Just Launched <a title="Tshering Tobgay's Blog" href="http://www.tsheringtobgay.com" target="_blank">Tshering Tobgay&#8217;s</a> (PDP President and Opposition Leader) new Blog, He had been using blogger till now and has gained so much popularity online! He is one of the most popular and regular blogger from Bhutan. I am indeed really privillaged to design a blog for him!</p>
<p><img class="alignnone size-medium wp-image-55" title="Tshering Tobgayâ€™s Blog screenshot" src="http://www.abixalmon.com/wp-content/uploads/2009/05/tsheringtobgaydotcom-300x193.jpg" alt="Tshering Tobgayâ€™s Blog screenshot" width="300" height="193" /></p>
<p>Blog URL: <a title="Tshering Tobgay's Blog" href="http://www.tsheringtobgay.com" target="_blank">www.tsheringtobgay.com</a><br />
Blog Software: <a title="Wordpress" href="http://www.wordpress.org" target="_blank">WordPress</a><br />
Scripts/Languages: PHP/MySQL</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abixalmon.com/2009/05/tshering-tobgays-new-blog-tsheringtobgaycom/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Homeless GNH in Bhutan</title>
		<link>http://www.abixalmon.com/2009/04/homeless-gnh-in-bhutan</link>
		<comments>http://www.abixalmon.com/2009/04/homeless-gnh-in-bhutan#comments</comments>
		<pubDate>Wed, 01 Apr 2009 06:18:46 +0000</pubDate>
		<dc:creator>abiXalmon</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Bhutan]]></category>

		<guid isPermaLink="false">http://www.abixalmon.com/?p=51</guid>
		<description><![CDATA[A group of homeless people in Thimphu remind society about the difficult search for Gross National Happiness.]]></description>
			<content:encoded><![CDATA[<p>A group of homeless people in Thimphu remind society about the difficult search for Gross National Happiness.</p>
<p><a href="http://www.abixalmon.com/wp-content/uploads/2009/04/gnh-homeless-beggers.jpg" class="lightbox" rel="gal-51"><img class="alignnone size-medium wp-image-52" title="Homeless Gross National Happiness (GNH) in Bhutan" src="http://www.abixalmon.com/wp-content/uploads/2009/04/gnh-homeless-beggers-300x187.jpg" alt="Homeless Gross National Happiness (GNH) in Bhutan" width="300" height="187" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.abixalmon.com/2009/04/homeless-gnh-in-bhutan/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

