<?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>Blognya Mas Duy</title>
	<atom:link href="http://dwiduy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dwiduy.wordpress.com</link>
	<description>Dreams,Hope,and Faith</description>
	<lastBuildDate>Tue, 29 Dec 2009 03:57:35 +0000</lastBuildDate>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dwiduy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/15e873794ac61cfaa727c9335a8faabc?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Blognya Mas Duy</title>
		<link>http://dwiduy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dwiduy.wordpress.com/osd.xml" title="Blognya Mas Duy" />
	<atom:link rel='hub' href='http://dwiduy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Apache2</title>
		<link>http://dwiduy.wordpress.com/2009/12/29/apache2/</link>
		<comments>http://dwiduy.wordpress.com/2009/12/29/apache2/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 03:57:35 +0000</pubDate>
		<dc:creator>dwiduy</dc:creator>
				<category><![CDATA[linux admin]]></category>

		<guid isPermaLink="false">http://dwiduy.wordpress.com/?p=11</guid>
		<description><![CDATA[HTTPD &#8211; Apache2 Web Server Apache is the most commonly used Web Server on Linux systems. Web Servers are used to serve Web Pages requested by client computers. Clients typically request and view Web Pages using Web Browser applications such as Firefox, Opera, or Mozilla. Users enter a Uniform Resource Locator (URL) to point to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dwiduy.wordpress.com&amp;blog=11078278&amp;post=11&amp;subd=dwiduy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2 class="title" style="clear:both;">HTTPD &#8211; Apache2 Web Server</h2>
<p>Apache is the most commonly used Web Server on Linux systems. Web Servers are used           to serve Web Pages requested by client computers. Clients typically request and view           Web Pages using Web Browser applications such as <span class="application"><strong>Firefox</strong></span>,               <span class="application"><strong>Opera</strong></span>, or <span class="application"><strong>Mozilla</strong></span>.</p>
<p>Users enter a Uniform Resource Locator (URL) to point to a Web server by means of           its Fully Qualified Domain Name (FQDN) and a path to the required resource. For example, to view the home page of           the <a class="ulink" href="http://www.ubuntu.com/" target="_top">Ubuntu Web site</a> a user will enter only the FQDN. To request specific information about                <a class="ulink" href="http://www.ubuntu.com/support/paid" target="_top">paid               support</a>, a user will enter the FQDN followed by a path.</p>
<p>The most common protocol used to transfer Web pages is the Hyper Text Transfer           Protocol (HTTP). Protocols such as Hyper Text Transfer Protocol over Secure Sockets Layer (HTTPS), and           File Transfer Protocol (FTP), a protocol for uploading and downloading files, are also           supported.</p>
<p>Apache Web Servers are often used in combination with the <span class="application"><strong>MySQL</strong></span> database engine, the HyperText Preprocessor (<span class="application"><strong>PHP</strong></span>)           scripting language, and other popular scripting languages such as               <span class="application"><strong>Python</strong></span> and <span class="application"><strong>Perl</strong></span>. This           configuration is termed LAMP (Linux, Apache, MySQL and Perl/Python/PHP) and forms a           powerful and robust platform for the development and deployment of Web-based           applications.</p>
<div class="sect2" lang="C">
<div class="titlepage">
<div>
<div>
<h3 class="title">Installation</h3>
</div>
</div>
</div>
<p>The Apache2 web server is available in Ubuntu                   Linux. To install Apache2:</p>
<div class="procedure">
<ul>
<li>At a terminal prompt enter the following command:
<pre class="screen"><span class="command"><strong>sudo apt-get install apache2</strong></span></pre>
</li>
</ul>
</div>
</div>
<div class="sect2" lang="C">
<div class="titlepage">
<div>
<div>
<h3 class="title">Configuration</h3>
</div>
</div>
</div>
<p>Apache is configured by placing <span class="emphasis"><em>directives</em></span> in plain text           configuration files. The main configuration file is called  		  <code class="filename">apache2.conf</code>. In addition, other configuration files may be added           using the <span class="emphasis"><em>Include</em></span> directive, and wildcards can be used to           include many configuration files. Any directive may be placed           in any of these configuration files. Changes to the main           configuration files are only recognized by Apache2 when it is           started or restarted.</p>
<p>The server also reads a file containing mime document types;           the filename is set by the <span class="emphasis"><em>TypesConfig</em></span> directive, and is           <code class="filename">mime.types</code> by default.</p>
<p>The default Apache2 configuration file is <code class="filename">/etc/apache2/apache2.conf</code> .           You can edit this file to configure the Apache2 server. You can           configure the port number, document root, modules, log files,            virtual hosts, etc.</p>
<div class="sect3" lang="C">
<div class="titlepage">
<div>
<div>
<h4 class="title">Basic Settings</h4>
</div>
</div>
</div>
<p>This section explains Apache2 server essential configuration              parameters. Refer to the <a class="ulink" href="http://httpd.apache.org/docs/2.2/" target="_top">Apache2              Documentation</a> for more details.</p>
<div class="itemizedlist">
<ul type="disc">
<li>Apache2 ships with a virtual-host-friendly default configuration. 			 That is, it is configured with a single default virtual host (using 			 the <span class="emphasis"><em>VirtualHost</em></span> directive) which can modified or used as-is if you 			 have a single site, or used as a template for additional virtual hosts 			 if you have multiple sites.  If left alone, the default virtual host 			 will serve as your default site, or the site users will see if the 			 URL they enter does not match the <span class="emphasis"><em>ServerName</em></span> directive of any of your  			 custom sites.  To modify the default virtual host, edit the file 			 <code class="filename">/etc/apache2/sites-available/default</code>.  If you 			 wish to configure a new virtual host or site, copy that file into the 			 same directory with a name you choose.  For example, 			 <span class="command"><strong>sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mynewsite</strong></span> Edit the new file to configure the new site using some of the directives 			 described below.</li>
<li>The <span class="emphasis"><em>ServerAdmin</em></span> directive specifies the email address to be advertised 			 for the server&#8217;s administrator.  The default value is webmaster@localhost. 			 This should be changed to an email address that is delivered to you (if you 			 are the server&#8217;s administrator).  If your website has a problem, Apache2 			 will display an error message containing this email address to report the 			 problem to.  Find this directive in your site&#8217;s configuration file in 			 /etc/apache2/sites-available.</li>
<li>The <span class="emphasis"><em>Listen</em></span> directive specifies the port, and optionally the IP address, 			 Apache2 should listen on. If the IP address is not specified, Apache2 			 will listen on all IP addresses assigned to the machine it runs on. 			 The default value for the Listen directive is 80.  Change this to 			 127.0.0.1:80 to cause Apache2 to listen only on your loopback interface 			 so that it will not be available to the Internet, to (for example) 81 			 to change the port that it listens on, or leave it as is for normal 			 operation.  This directive can be found and changed in its own file, 			 <code class="filename">/etc/apache2/ports.conf</code></li>
<li>The <span class="emphasis"><em>ServerName</em></span> directive is optional and specifies what FQDN your 			 site should answer to.  The default virtual host has no ServerName 			 directive specified, so it will respond to all requests that do not 			 match a ServerName directive in another virtual host.  If you have 			 just acquired the domain name ubunturocks.com and wish to host it on 			 your Ubuntu server, the value of the ServerName directive in your 			 virtual host configuration file should be ubunturocks.com.  Add this 			 directive to the new virtual host file you created earlier  			 (<code class="filename">/etc/apache2/sites-available/mynewsite</code>).</li>
<li>The <em>DocumentRoot</em> directive specifies where Apache should look for the 			 files that make up the site.  The default value is /var/www.  No site 			 is configured there, but if you uncomment the <em>RedirectMatch</em> directive 			 in <code>/etc/apache2/apache2.conf</code> requests will be 			 redirected to /var/www/apache2-default where the default Apache2 site 			 awaits.  Change this value in your site&#8217;s virtual host file, and 			 remember to create that directory if necessary!</li>
</ul>
</div>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dwiduy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dwiduy.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dwiduy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dwiduy.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dwiduy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dwiduy.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dwiduy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dwiduy.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dwiduy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dwiduy.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dwiduy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dwiduy.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dwiduy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dwiduy.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dwiduy.wordpress.com&amp;blog=11078278&amp;post=11&amp;subd=dwiduy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dwiduy.wordpress.com/2009/12/29/apache2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aa06f2a1656d1e39217f91554b88c1c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dwiduy</media:title>
		</media:content>
	</item>
		<item>
		<title>DHCP</title>
		<link>http://dwiduy.wordpress.com/2009/12/28/dhcp/</link>
		<comments>http://dwiduy.wordpress.com/2009/12/28/dhcp/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 05:16:51 +0000</pubDate>
		<dc:creator>dwiduy</dc:creator>
				<category><![CDATA[linux admin]]></category>

		<guid isPermaLink="false">http://dwiduy.wordpress.com/?p=5</guid>
		<description><![CDATA[Dynamic Host Configuration Protocol (DHCP) The Dynamic Host Configuration Protocol (DHCP) is a network service that enables host computers to be automatically assigned settings from a server as opposed to manually configuring each network host. Computers configured to be DHCP clients have no control over the settings they receive from the DHCP server, and the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dwiduy.wordpress.com&amp;blog=11078278&amp;post=5&amp;subd=dwiduy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Dynamic Host Configuration Protocol (DHCP)</h2>
<p>The Dynamic Host Configuration Protocol (DHCP) is a network service that enables  	    host computers to be automatically assigned settings from a server as opposed to             manually configuring each network host. Computers configured to be DHCP clients have             no control over the settings they receive from the DHCP server, and the  	    configuration is transparent to the computer&#8217;s user.</p>
<p>The most common settings provided by a DHCP server to DHCP clients include:</p>
<div>
<ul type="disc">
<li>IP-Address and Netmask</li>
<li>DNS</li>
<li>WINS</li>
</ul>
</div>
<p>However, a DHCP server can also supply configuration properties such as:</p>
<div>
<ul type="disc">
<li>Host Name</li>
<li>Domain Name</li>
<li>Default Gateway</li>
<li>Time Server</li>
<li>Print Server</li>
</ul>
</div>
<p>The advantage of using DHCP is that changes to the network, for example a change             in the address of the DNS server, need only be changed at the DHCP server, and all             network hosts will be reconfigured the next time their DHCP clients poll the             DHCP server. As an added advantage, it is also easier to integrate new computers  	    into the network, as there is no need to check for the availability of an IP  	    address.  Conflicts in IP address allocation are also reduced.</p>
<p>A DHCP server can provide configuration settings using two methods:</p>
<div>
<dl>
<dt> MAC Address </dt>
<dd>This method entails using DHCP to identify the unique hardware address                         of each network card connected to the network and then continually                         supplying a constant configuration each time the DHCP client makes a                         request to the DHCP server using that network device.</p>
</dd>
<dt> Address Pool </dt>
<dd>This method entails defining a pool (sometimes also called a range or                         scope) of IP addresses from which DHCP clients are supplied their                         configuration properties dynamically and on a fist come first serve                         basis. When a DHCP client is no longer on the network for a specified                         period, the configuration is expired and released back to the address                         pool for use by other DHCP Clients.</p>
</dd>
</dl>
</div>
<p>Ubuntu is shipped with both DHCP server and client. The server is             <strong>dhcpd</strong> (dynamic host configuration protocol daemon).             The client provided with Ubuntu is <strong>dhclient</strong> and should  	    be installed on all computers required to be automatically configured. Both  	    programs are easy to install and configure and will be automatically started at 	    system boot.</p>
<div lang="C">
<div>
<div>
<div>
<h3>Installation</h3>
</div>
</div>
</div>
<p>At a terminal prompt, enter the following command to install           <strong>dhcpd</strong>:</p>
<pre><strong>sudo apt-get install dhcp3-server</strong>
</pre>
<p>You will probably need to change the default configuration 	  by editing /etc/dhcp3/dhcpd.conf to suit your needs and particular configuration.</p>
<p>You also need to edit /etc/default/dhcp3-server to specify the interfaces dhcpd 	  should listen to. By default it listens to eth0.</p>
<p>NOTE: dhcpd&#8217;s messages are being sent to syslog. Look there for 	  diagnostics messages.</p>
</div>
<div lang="C">
<div>
<div>
<div>
<h3>Configuration</h3>
</div>
</div>
</div>
<p>The error message the installation ends with might be a little confusing, but the             following steps will help you configure the service:</p>
<p>Most commonly, what you want to do is assign an IP address randomly. This can be             done with settings as follows:</p>
<pre># Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.example";

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}
</pre>
<p>This will result in the DHCP server giving a client an IP address from the range             192.168.1.10-192.168.1.100 or 192.168.1.150-192.168.1.200. It will lease an IP             address for 600 seconds if the client doesn&#8217;t ask for a specific time frame.  	    Otherwise the maximum (allowed) lease will be 7200 seconds. The server will also  	    &#8220;advise&#8221; the client that it should use 255.255.255.0 as its subnet mask,  	    192.168.1.255 as its broadcast address, 192.168.1.254 as the router/gateway and  	    192.168.1.1 and 192.168.1.2 as its DNS servers.</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dwiduy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dwiduy.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dwiduy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dwiduy.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dwiduy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dwiduy.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dwiduy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dwiduy.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dwiduy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dwiduy.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dwiduy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dwiduy.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dwiduy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dwiduy.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dwiduy.wordpress.com&amp;blog=11078278&amp;post=5&amp;subd=dwiduy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dwiduy.wordpress.com/2009/12/28/dhcp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aa06f2a1656d1e39217f91554b88c1c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dwiduy</media:title>
		</media:content>
	</item>
		<item>
		<title>Lets start it with Bismillah :)</title>
		<link>http://dwiduy.wordpress.com/2009/12/23/hello-world/</link>
		<comments>http://dwiduy.wordpress.com/2009/12/23/hello-world/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 08:49:35 +0000</pubDate>
		<dc:creator>dwiduy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Bismillahirrohmaanirrohim<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dwiduy.wordpress.com&amp;blog=11078278&amp;post=1&amp;subd=dwiduy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Bismillahirrohmaanirrohim <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dwiduy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dwiduy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dwiduy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dwiduy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dwiduy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dwiduy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dwiduy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dwiduy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dwiduy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dwiduy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dwiduy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dwiduy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dwiduy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dwiduy.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dwiduy.wordpress.com&amp;blog=11078278&amp;post=1&amp;subd=dwiduy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dwiduy.wordpress.com/2009/12/23/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aa06f2a1656d1e39217f91554b88c1c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dwiduy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
