<?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>another kangbudhi blog &#187; ubuntu</title>
	<atom:link href="https://kangbudhi.staff.ugm.ac.id/?cat=4&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://kangbudhi.staff.ugm.ac.id</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 03 Oct 2014 03:43:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>ubuntu server – Rubah IP dhcp menjadi static</title>
		<link>https://kangbudhi.staff.ugm.ac.id/?p=42</link>
		<comments>https://kangbudhi.staff.ugm.ac.id/?p=42#comments</comments>
		<pubDate>Wed, 12 Sep 2012 16:11:30 +0000</pubDate>
		<dc:creator>kangbudhi</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://kangbudhi.staff.ugm.ac.id/?p=42</guid>
		<description><![CDATA[untuk rubah setingan IP di linux dari DHCP menjadi Static cara nya pake console aja yak, ada beberapa file yang harus di edit isi nya. buka file /etc/network/interfaces dan edit isi nya… sudo vim /etc/network/interfaces lihat bagian dalam nya: auto &#8230; <a href="https://kangbudhi.staff.ugm.ac.id/?p=42">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>untuk rubah setingan IP di linux dari DHCP menjadi Static cara nya pake console aja yak, ada beberapa file yang harus di edit isi nya.<br />
buka file /etc/network/interfaces dan edit isi nya…</p>
<pre class="wp-code-highlight prettyprint linenums:1">sudo vim /etc/network/interfaces</pre>
<p><span id="more-42"></span></p>
<p>lihat bagian dalam nya:</p>
<pre class="wp-code-highlight prettyprint linenums:1">auto eth0
iface eth0 inet dhcp</pre>
<p>ubah menjadi :</p>
<pre class="wp-code-highlight prettyprint linenums:1">auto eth0
iface eth0 inet static
address 192.168.1.12
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1</pre>
<p>setelah merubah ip network berikut nya rubah setingan DNS server nya, edit file /etc/resolv.conf</p>
<pre class="wp-code-highlight prettyprint linenums:1"> sudo vim /etc/resolv.conf </pre>
<p>pada bagian <strong>“nameserver xxx.xxx.xxx.xxx”</strong> masukkan alamat ip DNS server kita.</p>
<p>setelah semua selesai jangan lupa untuk restart service network linux :</p>
<pre class="wp-code-highlight prettyprint linenums:1">sudo /etc/init.d/networking restart</pre>
<p>selesai selamat menikmati.</p>
<p>sumber :</p>
<p>http://idur.staff.uns.ac.id/2010/07/15/ubuntu-server-rubah-ip-dhcp-menjadi-static/</p>
]]></content:encoded>
			<wfw:commentRss>https://kangbudhi.staff.ugm.ac.id/?feed=rss2&#038;p=42</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial Instalasi NTop di Ubuntu</title>
		<link>https://kangbudhi.staff.ugm.ac.id/?p=37</link>
		<comments>https://kangbudhi.staff.ugm.ac.id/?p=37#comments</comments>
		<pubDate>Thu, 06 Sep 2012 02:14:52 +0000</pubDate>
		<dc:creator>kangbudhi</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://kangbudhi.staff.ugm.ac.id/?p=37</guid>
		<description><![CDATA[Ntop merupakan salah satu Tools untuk memonitoring jaringan, disamping Ntop masih ada lagi beberapa tools lainnya seperti:cacti,MRTG,Nagios dsb. Pada kali ini kita akan mencoba menginstall NTOP dengan ubuntu. Caranya sangat mudah sekali. Install Graphviz tsubasa@localhost:/$ sudo apt-get install graphviz Install &#8230; <a href="https://kangbudhi.staff.ugm.ac.id/?p=37">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ntop merupakan salah satu Tools untuk memonitoring jaringan, disamping Ntop masih ada lagi beberapa tools lainnya seperti:cacti,MRTG,Nagios dsb.<span id="more-37"></span><br />
Pada kali ini kita akan mencoba menginstall NTOP dengan ubuntu. Caranya sangat mudah sekali.<br />
Install Graphviz<br />
tsubasa@localhost:/$ sudo apt-get install graphviz</p>
<p>Install rrdtool</p>
<p>tsubasa@localhost:/$ sudo apt-get install rrdtool rrdcollect rrdtool-tcl<br />
tsubasa@localhost:/$ sudo mkdir /var/lib/ntop/rrd<br />
tsubasa@localhost:/$ sudo mkdir /var/lib/ntop/rrd/graphics<br />
tsubasa@localhost:/$ sudo mkdir /var/lib/ntop/rrd/flows<br />
tsubasa@localhost:/$ sudo mkdir /var/lib/ntop/rrd/interfaces<br />
tsubasa@localhost:/$ sudo chown -Rf ntop.ntop /var/lib/ntop/rrd<br />
tsubasa@localhost:/$ sudo chmod -Rf 777 /var/lib/ntop/rrd</p>
<p>Install Ntop<br />
tsubasa@localhost:/$ sudo apt-get install ntop</p>
<p>Menjalankan Ntop</p>
<p>tsubasa@localhost:/$ ntop -set-admin-password<br />
tsubasa@localhost:/$ /etc/init.d/ntop start</p>
<p>Berikut beberapa error yang pernah saya temui :<br />
**Missing ‘dot‘ tool (expected /usr/local/bin/dot)<br />
Solusi : tambahkan link untuk file dot == “ln /usr/bin/dot /usr/local/bin/dot</p>
<p>sumber :</p>
<p><a href="http://ubuntupasuruan.wordpress.com/2008/03/08/tutorial-instalasi-ntop-di-ubuntu/">http://ubuntupasuruan.wordpress.com/2008/03/08/tutorial-instalasi-ntop-di-ubuntu/</a></p>
]]></content:encoded>
			<wfw:commentRss>https://kangbudhi.staff.ugm.ac.id/?feed=rss2&#038;p=37</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote desktop di windows XP</title>
		<link>https://kangbudhi.staff.ugm.ac.id/?p=24</link>
		<comments>https://kangbudhi.staff.ugm.ac.id/?p=24#comments</comments>
		<pubDate>Mon, 06 Aug 2012 18:03:46 +0000</pubDate>
		<dc:creator>kangbudhi</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://kangbudhi.staff.ugm.ac.id/?p=24</guid>
		<description><![CDATA[Di windows XP terdapat fasilitas yang dinamakan Remote Desktop Connection. Apa kegunaannya? fasilitas ini berfungsi untuk mengendalikan komputer yang berada di jaringan, seolah olah komputer yang dikendalikan tersebut berada satu komputer dengan komputer yang sedang anda gunakan. Prinsipnya mirip seperti &#8230; <a href="https://kangbudhi.staff.ugm.ac.id/?p=24">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Di windows XP terdapat fasilitas yang dinamakan <strong>Remote Desktop Connection</strong>. Apa kegunaannya? fasilitas ini berfungsi untuk mengendalikan komputer yang berada di jaringan, seolah olah komputer yang dikendalikan tersebut berada satu komputer dengan komputer yang sedang anda gunakan.</p>
<p style="text-align: justify;">Prinsipnya mirip seperti trojan pada jaman dulu, dimana anda bisa mengendalikan komputer jarak jauh, tetapi bedanya dengan trojan anda harus mempunyai account yang sah pada komputer yang hendak anda remote.</p>
<p style="text-align: justify;">Software semacam ini sering disebut <strong>software remote control</strong>, selain Remote Desktop Connection bawaan windows masih banyak software remote control lainnya antara lain Radmin, RealVNC, TightVNC, UltraVNC, pcAnywhere, dan lain lain. Pada artikel ini saya akan menjelaskan cara menggunakan Remote Desktop Connection di windows XP.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">Untuk menjalankan Remote Desktop, pada komputer host (komputer yang hendak di-remote) perlu disetting terlebih dahulu, berikut ini langkah langkahnya :</p>
<ol style="text-align: justify;">
<li>buka <strong>Control Panel</strong> (Category View)</li>
<li>pilih <strong>Performance and Maintenance</strong></li>
<li>pilih <strong>System</strong></li>
<li>maka akan muncul <strong>System Properties</strong></li>
<li>klik tab <strong>Remote</strong></li>
<li>lihat bagian <strong>Remote Desktop</strong></li>
<li>lalu centang <strong>Allow users to connect remotely to this computer</strong></li>
<li>klik <strong>Apply</strong> lalu <strong>Ok</strong></li>
</ol>
<p style="text-align: justify;"><img title="Remote Desktop" src="http://www.kadekbagus.com/wp-content/uploads/2009/01/remote_desktop-256x300.jpg" alt="Remote Desktop" width="256" height="300" /></p>
<p style="text-align: justify;">Perlu diingat anda membutuhkan sebuah user account (beserta passwordnya) pada komputer host untuk bisa me-remote komputer tersebut dari komputer client. Untuk menambahkan user yang diizinkan melakukan remote, klik tombol <strong>Select Remote Users</strong>.</p>
<p style="text-align: justify;">Nah, sekarang pada computer client anda bisa login untuk mengendalikan komputer host. Caranya buka menu Start &gt; All Programs &gt; Accessories &gt; Communications &gt; Remote Desktop Connection. Maka akan muncul tampilan berikut.</p>
<p style="text-align: justify;"><img title="remote2" src="http://www.kadekbagus.com/wp-content/uploads/2009/01/remote2-260x300.jpg" alt="Remote Desktop" width="260" height="300" /></p>
<p style="text-align: justify;">Disini anda wajib mengisi alamat IP komputer host, username dan password account anda. Pada isian domain anda bisa mengisikan nama komputer host, tetapi isian ini boleh dikosongkan.</p>
<p style="text-align: justify;">Jika anda menggunakan jaringan kabel LAN, klik tab<strong> Experience</strong> lalu centang bagian <strong>Desktop background </strong>supaya background dari komputer yang diremote bisa muncul.</p>
<p style="text-align: justify;">Untuk memulai koneksi klik tombol <strong>Connect</strong>, jika semuanya lancar maka seharusnya desktop komputer host akan muncul dihadapan anda sekarang.</p>
<p style="text-align: justify;">source : http://www.kadekbagus.com/remote-desktop-di-windows-xp.html</p>
]]></content:encoded>
			<wfw:commentRss>https://kangbudhi.staff.ugm.ac.id/?feed=rss2&#038;p=24</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect to Ubuntu 11.04 from Windows via Remote Desktop</title>
		<link>https://kangbudhi.staff.ugm.ac.id/?p=19</link>
		<comments>https://kangbudhi.staff.ugm.ac.id/?p=19#comments</comments>
		<pubDate>Mon, 06 Aug 2012 17:45:57 +0000</pubDate>
		<dc:creator>kangbudhi</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://kangbudhi.staff.ugm.ac.id/?p=19</guid>
		<description><![CDATA[ast week we showedyou how to use Remote Desktop Protocol (RDP) to connect from Ubuntu to Windows 7. Today, I will show you how to use the same Remote Desktop Protocol to connect from Windows to Ubuntu 11.04 Natty Narwhal. &#8230; <a href="https://kangbudhi.staff.ugm.ac.id/?p=19">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">ast week we <a href="http://www.liberiangeek.net/2011/06/connect-to-windows-7-from-ubuntu-via-remote-desktop-connection/" target="_blank">showed</a>you how to use Remote Desktop Protocol (RDP) to connect from Ubuntu to Windows 7. Today, I will show you how to use the same Remote Desktop Protocol to connect from Windows to Ubuntu 11.04 Natty Narwhal. If you ever wanted to connect to Ubuntu via Remote Desktop Connection, then this tutorial will help you do that.</p>
<p style="text-align: justify;">There are many ways to connect to Ubuntu from Windows and RDP protocol is just one of the many ways.<span id="more-19"></span></p>
<p style="text-align: justify;"> <strong>Getting started:</strong></p>
<p style="text-align: justify;"> To get started, press <strong>Ctrl – Alt – T</strong> on your keyboard to open Terminal. When Terminal opens, type the command below to install xrdp server.</p>
<pre class="wp-code-highlight prettyprint linenums:1">sudo apt-&lt;a href=&quot;http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=get&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99&quot;&gt;get&lt;/a&gt; install xrdp</pre>
<p><a href="http://www.liberiangeek.net/wp-content/uploads/2011/06/Connect-to-Ubuntu-from-Windows-via-Remot_C7F9/natty_xrdp.png"><img title="natty_xrdp" src="http://2-ps.googleusercontent.com/h/www.liberiangeek.net/wp-content/uploads/2011/06/Connect-to-Ubuntu-from-Windows-via-Remot_C7F9/465x119xnatty_xrdp_thumb.png.pagespeed.ic.q4_1Kr0i9i.jpg" alt="natty_xrdp" width="465" height="119" border="0" /></a></p>
<p>Next, go to <em>Start –&gt; All Programs –&gt; Accessories –&gt; Remote Desktop Connection</em> from your Windows computer and type the IP address or Hostname of the Ubuntu machine then click <strong><em>‘Connect’</em></strong></p>
<p><a href="http://www.liberiangeek.net/wp-content/uploads/2011/06/Connect-to-Ubuntu-from-Windows-via-Remot_C7F9/natty_xrdp_1.png"><img title="natty_xrdp_1" src="http://3-ps.googleusercontent.com/h/www.liberiangeek.net/wp-content/uploads/2011/06/Connect-to-Ubuntu-from-Windows-via-Remot_C7F9/465x270xnatty_xrdp_1_thumb.png.pagespeed.ic.JSkQ9FDWJQ.png" alt="natty_xrdp_1" width="465" height="270" border="0" /></a></p>
<p>When prompted, enter your Ubuntu username and password and click <strong><em>‘OK’</em></strong></p>
<p><a href="http://www.liberiangeek.net/wp-content/uploads/2011/06/Connect-to-Ubuntu-from-Windows-via-Remot_C7F9/natty_xrdp_2.png"><img title="natty_xrdp_2" src="http://2-ps.googleusercontent.com/h/www.liberiangeek.net/wp-content/uploads/2011/06/Connect-to-Ubuntu-from-Windows-via-Remot_C7F9/470x253xnatty_xrdp_2_thumb.png.pagespeed.ic.7kxEKxgVgO.png" alt="natty_xrdp_2" width="470" height="253" border="0" /></a></p>
<p>Enjoy!</p>
<p><a href="http://www.liberiangeek.net/wp-content/uploads/2011/06/Connect-to-Ubuntu-from-Windows-via-Remot_C7F9/natty_xrdp_3.png"><img title="natty_xrdp_3" src="http://4-ps.googleusercontent.com/h/www.liberiangeek.net/wp-content/uploads/2011/06/Connect-to-Ubuntu-from-Windows-via-Remot_C7F9/464x256xnatty_xrdp_3_thumb.png.pagespeed.ic.B5VQZeupad.jpg" alt="natty_xrdp_3" width="464" height="256" border="0" /></a></p>
<p>That’s all to it.</p>
<p>source : http://www.liberiangeek.net/2011/06/connect-to-ubuntu-11-04-from-windows-via-remote-desktop/</p>
]]></content:encoded>
			<wfw:commentRss>https://kangbudhi.staff.ugm.ac.id/?feed=rss2&#038;p=19</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to install deb file?</title>
		<link>https://kangbudhi.staff.ugm.ac.id/?p=13</link>
		<comments>https://kangbudhi.staff.ugm.ac.id/?p=13#comments</comments>
		<pubDate>Sun, 05 Aug 2012 05:25:57 +0000</pubDate>
		<dc:creator>kangbudhi</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://kangbudhi.staff.ugm.ac.id/?p=13</guid>
		<description><![CDATA[How do I install .deb file? To install package called package.deb type the following command: Go to directory where package.deb is kept. For example if it is in /tmp directory: $ cd /tmp Type the following command: $ sudo dpkg &#8230; <a href="https://kangbudhi.staff.ugm.ac.id/?p=13">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>How do I install .deb file?</h3>
<p>To install package called package.deb type the following command:<br />
Go to directory where package.deb is kept. For example if it is in /tmp directory:<br />
<code>$ cd /tmp</code><br />
Type the following command:<br />
<code>$ sudo dpkg -i package.deb</code></p>
<p>source ; http://www.cyberciti.biz/faq/ubuntu-linux-how-do-i-install-deb-packages/</p>
]]></content:encoded>
			<wfw:commentRss>https://kangbudhi.staff.ugm.ac.id/?feed=rss2&#038;p=13</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cara mounting flashdisk di linux</title>
		<link>https://kangbudhi.staff.ugm.ac.id/?p=10</link>
		<comments>https://kangbudhi.staff.ugm.ac.id/?p=10#comments</comments>
		<pubDate>Sun, 05 Aug 2012 05:20:28 +0000</pubDate>
		<dc:creator>kangbudhi</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://kangbudhi.staff.ugm.ac.id/?p=10</guid>
		<description><![CDATA[langkah-langkah untuk mounting usb flashdisk di ubuntu : 1. langkah pertama adalah buat dulu mount point dari flasdisk di media #mkdir /media/flashdisk 2. cari lokasi flashdisk #fdisk -l karena lokasi flashdisk saya di sdb kemudian mount flashdisk agar bisa di &#8230; <a href="https://kangbudhi.staff.ugm.ac.id/?p=10">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>langkah-langkah untuk mounting usb flashdisk di ubuntu :</p>
<p>1. langkah pertama adalah buat dulu mount point dari flasdisk di media #mkdir /media/flashdisk</p>
<p>2. cari lokasi flashdisk #fdisk -l karena lokasi flashdisk saya di sdb kemudian mount flashdisk agar bisa di buka dengan perintah # mount /dev/sdb1 /media/flashdisk</p>
<p>3. flashdisk sekarang sudah dapat dibuka dengan perintah #cd /media/flashdisk</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://kangbudhi.staff.ugm.ac.id/?feed=rss2&#038;p=10</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling and Installing</title>
		<link>https://kangbudhi.staff.ugm.ac.id/?p=7</link>
		<comments>https://kangbudhi.staff.ugm.ac.id/?p=7#comments</comments>
		<pubDate>Sat, 04 Aug 2012 19:47:58 +0000</pubDate>
		<dc:creator>kangbudhi</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://kangbudhi.staff.ugm.ac.id/?p=7</guid>
		<description><![CDATA[This document covers compilation and installation of the Apache HTTP Server on Unix and Unix-like systems only. For compiling and installation on Windows, see Using Apache HTTPd with Microsoft Windows. For other platforms, see the platform documentation. Apache HTTPd uses &#8230; <a href="https://kangbudhi.staff.ugm.ac.id/?p=7">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This document covers compilation and installation of the Apache HTTP Server on Unix and Unix-like systems only. For compiling and installation on Windows, see <a href="http://httpd.apache.org/docs/2.2/platform/windows.html">Using Apache HTTPd with Microsoft Windows</a>. For other platforms, see the <a href="http://httpd.apache.org/docs/2.2/platform/">platform</a> documentation.</p>
<p>Apache HTTPd uses <code>libtool</code> and <code>autoconf</code> to create a build environment that looks like many other Open Source projects.</p>
<p style="text-align: justify;">If you are upgrading from one minor version to the next (for example, 2.2.50 to 2.2.51), please skip down to the <a href="http://httpd.apache.org/docs/2.2/install.html#upgrading">upgrading</a> section.<span id="more-7"></span></p>
<h2><a id="overview" name="overview"></a>Overview for the impatient</h2>
<table>
<tbody>
<tr>
<td><a href="http://httpd.apache.org/docs/2.2/install.html#download">Download</a></td>
<td><code>$ lynx http://httpd.apache.org/download.cgi</code></td>
</tr>
<tr>
<td><a href="http://httpd.apache.org/docs/2.2/install.html#extract">Extract</a></td>
<td><code>$ gzip -d httpd-<em>NN</em>.tar.gz<br />
$ tar xvf httpd-<em>NN</em>.tar<br />
$ cd httpd-<em>NN</em></code></td>
</tr>
<tr>
<td><a href="http://httpd.apache.org/docs/2.2/install.html#configure">Configure</a></td>
<td><code>$ ./configure --prefix=<em>PREFIX</em></code></td>
</tr>
<tr>
<td><a href="http://httpd.apache.org/docs/2.2/install.html#compile">Compile</a></td>
<td><code>$ make</code></td>
</tr>
<tr>
<td><a href="http://httpd.apache.org/docs/2.2/install.html#install">Install</a></td>
<td><code>$ make install</code></td>
</tr>
<tr>
<td><a href="http://httpd.apache.org/docs/2.2/install.html#customize">Customize</a></td>
<td><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code></td>
</tr>
<tr>
<td><a href="http://httpd.apache.org/docs/2.2/install.html#test">Test</a></td>
<td><code>$ <em>PREFIX</em>/bin/apachectl -k start</code></td>
</tr>
</tbody>
</table>
<p><em>NN</em> must be replaced with the current version number, and <em>PREFIX</em> must be replaced with the filesystem path under which the server should be installed. If <em>PREFIX</em> is not specified, it defaults to <code>/usr/local/apache2</code>.</p>
<p>Each section of the compilation and installation process is described in more detail below, beginning with the requirements for compiling and installing Apache HTTP Server.</p>
<div><a href="http://httpd.apache.org/docs/2.2/install.html#page-header"><img src="http://httpd.apache.org/docs/2.2/images/up.gif" alt="top" /></a></div>
<div>
<h2><a id="requirements" name="requirements"></a>Requirements</h2>
<p>The following requirements exist for building Apache HTTPd:</p>
<dl>
<dt>Disk Space</dt>
<dd>Make sure you have at least 50 MB of temporary free disk space available. After installation Apache occupies approximately 10 MB of disk space. The actual disk space requirements will vary considerably based on your chosen configuration options and any third-party modules.</dd>
<dt>ANSI-C Compiler and Build System</dt>
<dd>Make sure you have an ANSI-C compiler installed. The <a href="http://www.gnu.org/software/gcc/gcc.html">GNU C compiler (GCC)</a> from the <a href="http://www.gnu.org/">Free Software Foundation (FSF)</a> is recommended. If you don&#8217;t have GCC then at least make sure your vendor&#8217;s compiler is ANSI compliant. In addition, your <code>PATH</code> must contain basic build tools such as <code>make</code>.</dd>
<dt>Accurate time keeping</dt>
<dd>Elements of the HTTP protocol are expressed as the time of day. So, it&#8217;s time to investigate setting some time synchronization facility on your system. Usually the <code>ntpdate</code> or <code>xntpd</code> programs are used for this purpose which are based on the Network Time Protocol (NTP). See the <a href="http://www.ntp.org/">NTP homepage</a> for more details about NTP software and public time servers.</dd>
<dt><a href="http://www.perl.org/">Perl 5</a> [OPTIONAL]</dt>
<dd>For some of the support scripts like <code><a href="http://httpd.apache.org/docs/2.2/programs/apxs.html">apxs</a></code> or <code><a href="http://httpd.apache.org/docs/2.2/programs/dbmmanage.html">dbmmanage</a></code> (which are written in Perl) the Perl 5 interpreter is required (versions 5.003 or newer are sufficient). If you have multiple Perl interpreters (for example, a systemwide install of Perl 4, and your own install of Perl 5), you are advised to use the <code>--with-perl</code> option (see below) to make sure the correct one is used by <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code>. If no Perl 5 interpreter is found by the <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> script, you will not be able to use the affected support scripts. Of course, you will still be able to build and use Apache HTTPd.</dd>
<dt><a href="http://apr.apache.org/">apr/apr-util &gt;= 1.2</a></dt>
<dd><code>apr</code> and <code>apr-util</code> are bundled with the Apache HTTPd source releases, and will be used without any problems in almost all circumstances. However, if <code>apr</code> or <code>apr-util</code>, versions 1.0 or 1.1, are installed on your system, you must either upgrade your <code>apr</code>/<code>apr-util</code> installations to 1.2, force the use of the bundled libraries or have httpd use separate builds. To use the bundled <code>apr</code>/<code>apr-util</code> sources specify the <code>--with-included-apr</code>option to configure:</p>
<div>
<h3>Note</h3>
<p>The &#8211;with-included-apr option was added in version 2.2.3</p></div>
<div>
<p><code> # Force the use of the bundled apr/apr-util<br />
./configure --with-included-apr<br />
</code></p>
</div>
<p>To build Apache HTTPd against a manually installed <code>apr</code>/<code>apr-util</code>:</p>
<div>
<p><code> # Build and install apr 1.2<br />
cd srclib/apr<br />
./configure --prefix=/usr/local/apr-httpd/<br />
make<br />
make install</p>
<p># Build and install apr-util 1.2<br />
cd ../apr-util<br />
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/<br />
make<br />
make install</p>
<p># Configure httpd<br />
cd ../../<br />
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/ </code></p>
</div>
</dd>
</dl>
</div>
<div><a href="http://httpd.apache.org/docs/2.2/install.html#page-header"><img src="http://httpd.apache.org/docs/2.2/images/up.gif" alt="top" /></a></div>
<div>
<h2><a id="download" name="download"></a>Download</h2>
<p>The Apache HTTP Server can be downloaded from the <a href="http://httpd.apache.org/download.cgi">Apache HTTP Server download site</a>, which lists several mirrors. Most users of Apache HTTPd on unix-like systems will be better off downloading and compiling a source version. The build process (described below) is easy, and it allows you to customize your server to suit your needs. In addition, binary releases are often not up to date with the latest source releases. If you do download a binary, follow the instructions in the <code>INSTALL.bindist</code> file inside the distribution.</p>
<p>After downloading, it is important to verify that you have a complete and unmodified version of the Apache HTTP Server. This can be accomplished by testing the downloaded tarball against the PGP signature. Details on how to do this are available on the <a href="http://httpd.apache.org/download.cgi#verify">download page</a> and an extended example is available describing the <a href="http://httpd.apache.org/dev/verification.html">use of PGP</a>.</p>
</div>
<div><a href="http://httpd.apache.org/docs/2.2/install.html#page-header"><img src="http://httpd.apache.org/docs/2.2/images/up.gif" alt="top" /></a></div>
<div>
<h2><a id="extract" name="extract"></a>Extract</h2>
<p>Extracting the source from the Apache HTTPd tarball is a simple matter of uncompressing, and then untarring:</p>
<div>
<p><code> $ gzip -d httpd-<em>NN</em>.tar.gz<br />
$ tar xvf httpd-<em>NN</em>.tar </code></p>
</div>
<p>This will create a new directory under the current directory containing the source code for the distribution. You should <code>cd</code> into that directory before proceeding with compiling the server.</p>
</div>
<div><a href="http://httpd.apache.org/docs/2.2/install.html#page-header"><img src="http://httpd.apache.org/docs/2.2/images/up.gif" alt="top" /></a></div>
<div>
<h2><a id="configure" name="configure"></a>Configuring the source tree</h2>
<p>The next step is to configure the Apache HTTPd source tree for your particular platform and personal requirements. This is done using the script <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> included in the root directory of the distribution. (Developers downloading an unreleased version of the Apache HTTPd source tree will need to have <code>autoconf</code> and <code>libtool</code> installed and will need to run <code>buildconf</code> before proceeding with the next steps. This is not necessary for official releases.)</p>
<p>To configure the source tree using all the default options, simply type <code>./configure</code>. To change the default options, <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> accepts a variety of variables and command line options.</p>
<p>The most important option is the location <code>--prefix</code> where the Apache HTTP Server is to be installed later, because Apache HTTPd has to be configured for this location to work correctly. More fine-tuned control of the location of files is possible with additional <a href="http://httpd.apache.org/docs/2.2/programs/configure.html#installationdirectories">configure options</a>.</p>
<p>Also at this point, you can specify which <a href="http://httpd.apache.org/docs/2.2/programs/configure.html#optionalfeatures">features</a> you want included in Apache HTTPd by enabling and disabling <a href="http://httpd.apache.org/docs/2.2/mod/">modules</a>. The Apache HTTP Server comes with a <a href="http://httpd.apache.org/docs/2.2/mod/module-dict.html#Status">Base</a> set of modules included by default. Other modules are enabled using the <code>--enable-<var>module</var></code> option, where <var>module</var> is the name of the module with the <code>mod_</code> string removed and with any underscore converted to a dash. You can also choose to compile modules as <a href="http://httpd.apache.org/docs/2.2/dso.html">shared objects (DSOs)</a> &#8212; which can be loaded or unloaded at runtime &#8212; by using the option <code>--enable-<var>module</var>=shared</code>. Similarly, you can disable Base modules with the <code>--disable-<var>module</var></code> option. Be careful when using these options, since <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> cannot warn you if the module you specify does not exist; it will simply ignore the option.</p>
<p>In addition, it is sometimes necessary to provide the <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> script with extra information about the location of your compiler, libraries, or header files. This is done by passing either environment variables or command line options to <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code>. For more information, see the <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> manual page.</p>
<p>For a short impression of what possibilities you have, here is a typical example which compiles Apache for the installation tree <code>/sw/pkg/apache</code> with a particular compiler and flags plus the two additional modules <code><a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a></code> and <code><a href="http://httpd.apache.org/docs/2.2/mod/mod_speling.html">mod_speling</a></code> for later loading through the DSO mechanism:</p>
<div>
<p><code> $ CC="pgcc" CFLAGS="-O2" \<br />
./configure --prefix=/sw/pkg/apache \<br />
--enable-rewrite=shared \<br />
--enable-speling=shared </code></p>
</div>
<p>When <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> is run it will take several minutes to test for the availability of features on your system and build Makefiles which will later be used to compile the server.</p>
<p>Details on all the different <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> options are available on the <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> manual page.</p>
</div>
<div>
<h2><a id="compile" name="compile"></a>Build</h2>
<p>Now you can build the various parts which form the Apache HTTPd package by simply running the command:</p>
<div>
<p><code>$ make</code></p>
</div>
<p>Please be patient here, since a base configuration takes several minutes to compile and the time will vary widely depending on your hardware and the number of modules that you have enabled.</p>
</div>
<div>
<h2><a id="install" name="install"></a>Install</h2>
<p>Now it&#8217;s time to install the package under the configured installation <em>PREFIX</em> (see <code>--prefix</code> option above) by running:</p>
<div>
<p><code>$ make install</code></p>
</div>
<p>If you are upgrading, the installation will not overwrite your configuration files or documents.</p>
</div>
<div>
<h2><a id="customize" name="customize"></a>Customize</h2>
<p>Next, you can customize your Apache HTTP Server by editing the <a href="http://httpd.apache.org/docs/2.2/configuring.html">configuration files</a> under <code><em>PREFIX</em>/conf/</code>.</p>
<div>
<p><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code></p>
</div>
<p>Have a look at the Apache HTTP Server manual under <a href="http://httpd.apache.org/docs/2.2/">docs/manual/</a> or consult <a href="http://httpd.apache.org/docs/2.2/">http://httpd.apache.org/docs/2.2/</a> for the most recent version of this manual and a complete reference of available <a href="http://httpd.apache.org/docs/2.2/mod/directives.html">configuration directives</a>.</p>
</div>
<div>
<h2><a id="test" name="test"></a>Test</h2>
<p>Now you can <a href="http://httpd.apache.org/docs/2.2/invoking.html">start</a> your Apache HTTP Server by immediately running:</p>
<div>
<p><code>$ <em>PREFIX</em>/bin/apachectl -k start</code></p>
</div>
<p>and then you should be able to request your first document via URL <code>http://localhost/</code>. The web page you see is located under the <code><a href="http://httpd.apache.org/docs/2.2/mod/core.html#documentroot">DocumentRoot</a></code>, which will usually be <code><em>PREFIX</em>/htdocs/</code>. Then <a href="http://httpd.apache.org/docs/2.2/stopping.html">stop</a> the server again by running:</p>
<div>
<p><code>$ <em>PREFIX</em>/bin/apachectl -k stop</code></p>
</div>
</div>
<div>
<h2><a id="upgrading" name="upgrading"></a>Upgrading</h2>
<p>The first step in upgrading is to read the release announcement and the file <code>CHANGES</code> in the source distribution to find any changes that may affect your site. When changing between major releases (for example, from 1.3 to 2.0 or from 2.0 to 2.2), there will likely be major differences in the compile-time and run-time configuration that will require manual adjustments. All modules will also need to be upgraded to accomodate changes in the module API.</p>
<p>Upgrading from one minor version to the next (for example, from 2.2.55 to 2.2.57) is easier. The <code>make install</code> process will not overwrite any of your existing documents, log files, or configuration files. In addition, the developers make every effort to avoid incompatible changes in the <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> options, run-time configuration, or the module API between minor versions. In most cases you should be able to use an identical <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> command line, an identical configuration file, and all of your modules should continue to work.</p>
<p>To upgrade across minor versions, start by finding the file <code>config.nice</code> in the <code>build</code> directory of your installed server or at the root of the source tree for your old install. This will contain the exact <code><a href="http://httpd.apache.org/docs/2.2/programs/configure.html">configure</a></code> command line that you used to configure the source tree. Then to upgrade from one version to the next, you need only copy the <code>config.nice</code> file to the source tree of the new version, edit it to make any desired changes, and then run:</p>
<div>
<p><code> $ ./config.nice<br />
$ make<br />
$ make install<br />
$ <em>PREFIX</em>/bin/apachectl -k graceful-stop<br />
$ <em>PREFIX</em>/bin/apachectl -k start<br />
</code></p>
</div>
<div>You should always test any new version in your environment before putting it into production. For example, you can install and run the new version along side the old one by using a different <code>--prefix</code> and a different port (by adjusting the <code><a href="http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listen">Listen</a></code> directive) to test for any incompatibilities before doing the final upgrade.</div>
<div>sumber : http://httpd.apache.org/docs/2.2/install.html</div>
</div>
]]></content:encoded>
			<wfw:commentRss>https://kangbudhi.staff.ugm.ac.id/?feed=rss2&#038;p=7</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install MySQL, Apache and PHP from source on Linux</title>
		<link>https://kangbudhi.staff.ugm.ac.id/?p=5</link>
		<comments>https://kangbudhi.staff.ugm.ac.id/?p=5#comments</comments>
		<pubDate>Sat, 04 Aug 2012 19:29:09 +0000</pubDate>
		<dc:creator>kangbudhi</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://kangbudhi.staff.ugm.ac.id/?p=5</guid>
		<description><![CDATA[I&#8217;ve always wanted to have somewhere written down all the exact commands that will install a functional LAMP (Linux Apache MySQL PHP) server. I wrote them in a text file an year ago, i found them couple of days ago &#8230; <a href="https://kangbudhi.staff.ugm.ac.id/?p=5">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I&#8217;ve always wanted to have somewhere written down all the exact commands that will install a functional LAMP (Linux Apache MySQL PHP) server.</p>
<p style="text-align: justify;">I wrote them in a text file an year ago, i found them couple of days ago and decided to try them on a fresh Slackware server.<span id="more-5"></span></p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">bash-3.1# uname -a
Linux slackware 2.6.29.6-smp #2 SMP Mon Aug 17 00:52:54 CDT 2009 i686 Pentium III (Katmai) GenuineIntel GNU/Linux</pre>
</div>
<p style="text-align: justify;">I thought there are other people like me who need these command so check them out. If you have anything to add please comment.</p>
<p style="text-align: justify;">In your home root create a folder <em>/kits/</em>. Mine is <em>/home/serban/kits</em>.</p>
<p style="text-align: justify;"><strong>1. Install MySQL </strong></p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">groupadd mysql
useradd -g mysql -c &quot;MySQL Server&quot; mysql</pre>
</div>
<p style="text-align: justify;">If you get any message like: <em>groupadd: cannot lock /etc/group; try again later.</em> this means you are not logged as root. Try &#8216;<em>su</em>&#8216; and enter password, or &#8216;<em>sudo su</em>&#8216; if you are at the console.</p>
<p style="text-align: justify;">Browse to <a href="http://www.mysql.com/downloads/mysql/">http://www.mysql.com/downloads/mysql/</a> scroll and choose &#8216;Generic Linux (Architecture Independent), Compressed TAR Archive&#8217; (around 22Mb) and download it.</p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">tar -zxvf mysql-5.1.45.tar.gz
cd mysql-5.1.45
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-mysqld-user=mysql --with-unix-socket-path=/tmp/mysql.sock --with-charset=utf8</pre>
</div>
<p style="text-align: justify;">If somewhere during config you get &#8216;<em>checking for termcap functions library&#8230; configure: error: No curses/termcap library found</em>&#8216;, try this: locate libncurses , look for a path like /lib/libncursesw.so.5, the add the line &#8216;&#8211;with-named-curses-libs=/lib/libncursesw.so.5&#8242; to your config and run again.</p>
<p style="text-align: justify;">If you get &#8216;<em>/bin/rm: cannot remove `libtoolT&#8217;: No such file or directory</em>&#8216; at the end of the configure, this is actually not a MySQL bug, read: <a href="http://bugs.mysql.com/bug.php?id=47411">http://bugs.mysql.com/bug.php?id=47411</a> ; If you can&#8217;t fix it don&#8217;t worry about it.</p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">make &amp;amp;&amp;amp; make install
root@slack:/home/kit/mysql-5.1.22-rc# ./scripts/mysql_install_db
 
chown -R root:mysql /usr/local/mysql
chown -R mysql:mysql /usr/local/mysql/data
 
cp support-files/my-medium.cnf /etc/my.cnf
chown root:sys /etc/my.cnf
chmod 644 /etc/my.cnf
 
cp ./support-files/mysql.server /etc/rc.d/mysql
chmod +x /etc/rc.d/mysql</pre>
</div>
<p style="text-align: justify;">Test the MySQL server:</p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">root@slackware:~/kits/mysql-5.1.45# /etc/rc.d/mysql start
Starting MySQL SUCCESS!
root@slackware:~/kits/mysql-5.1.45# /etc/rc.d/mysql stop
Shutting down MySQL SUCCESS!</pre>
</div>
<p style="text-align: justify;"><strong> 2. Installing Apache</strong></p>
<p style="text-align: justify;"> Browse to <a href="http://httpd.apache.org/download.cgi#apache22">http://httpd.apache.org/download.cgi#apache22</a> and download the Unix Source .tar.gz file</p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">tar -zxvf httpd-2.2.6.tar.gz
cd httpd-2.2.6
 
./configure --prefix=/usr/local/apache2 --enable-shared=max --enable-rewrite --enable-module=so --enable-ssl --enable-deflate --enable-vhost-alias
make &amp;amp;&amp;amp; make install</pre>
</div>
<p style="text-align: justify;"><strong>3. Installing PHP</strong></p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">tar -zxvf php-5.2.4.tar.gz
cd php-5.2.4
 
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-curl --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-exif --with-zlib --with-gd
make &amp;amp;&amp;amp; make install
 
cp php.ini-dist /usr/local/php/lib/php.ini
pico /usr/local/php/lib/php.ini</pre>
</div>
<p style="text-align: justify;">Notice that we have added cURL library to the PHP configuration. If that is not already installed on your Linux distro do this (the following applies to any additional module you need to PHP):</p>
<p style="text-align: justify;">Browse to: <a href="http://www.php.net/curl">http://www.php.net/curl</a> ; <a href="http://curl.haxx.se/download.html">http://curl.haxx.se/download.html</a></p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">cd /home/kit/
tar -zxvf curl-7.17.0.tar.gz
cd curl-7.17.0
 
./configure
make &amp;amp;&amp;amp; make install</pre>
</div>
<p style="text-align: justify;"><strong>4. Configuring Apache to work with PHP</strong></p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">pico httpd.conf</pre>
</div>
<p style="text-align: justify;">Find the &#8216;DirectoryIndex&#8217; line and modify it like this:</p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">&amp;lt;IfModule dir_module&amp;gt;
    DirectoryIndex index.html index.htm index.php
&amp;lt;/IfModule&amp;gt;</pre>
</div>
<p style="text-align: justify;">Find lines with &#8216;AddType&#8217; (might be commented), add the following:</p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps</pre>
</div>
<p style="text-align: justify;">Save the conf and let&#8217;s run a test:</p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">/usr/local/apache2/bin/apachectl configtest</pre>
</div>
<p style="text-align: justify;">Should give you something like:</p>
<div style="text-align: justify;">
<pre class="wp-code-highlight prettyprint linenums:1">httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK</pre>
</div>
<p style="text-align: justify;">Now create a shortcut for apache daemon</p>
<p style="text-align: justify;">source :</p>
<p style="text-align: justify;">http://ghita.org/install-mysql-apache-php-on-linux.html</p>
]]></content:encoded>
			<wfw:commentRss>https://kangbudhi.staff.ugm.ac.id/?feed=rss2&#038;p=5</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
