<?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>agungprasetyo.net &#187; Linux</title>
	<atom:link href="http://agungprasetyo.net/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://agungprasetyo.net</link>
	<description>It's about my life, goals and family</description>
	<lastBuildDate>Fri, 29 Jul 2011 23:36:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Download file torrent dari Ubuntu (text based)</title>
		<link>http://agungprasetyo.net/tips-n-trick/download-file-torrent-dari-ubuntu-text-based</link>
		<comments>http://agungprasetyo.net/tips-n-trick/download-file-torrent-dari-ubuntu-text-based#comments</comments>
		<pubDate>Fri, 24 Apr 2009 10:28:02 +0000</pubDate>
		<dc:creator>prazetyo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips 'n Trick]]></category>
		<category><![CDATA[bittorrent]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[torrent]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://agungprasetyo.net/?p=79</guid>
		<description><![CDATA[Buat temen-temen yang sudah install ubuntu versi server atau mungkin ubuntu versi desktop yg X-nya gak diaktifin, ini ada trik utk tetep bisa download file torrent lewat terminal (text based). #sudo apt-get install bittorrent Kalau sudah terinstall beres, untuk downloadnya pake perintah : #btdownloadcurses namafile.torrent Kalau sudah, maka tampilan akan berubah spt dibawah ini : [...]]]></description>
			<content:encoded><![CDATA[<p>Buat temen-temen yang sudah install ubuntu versi server atau mungkin ubuntu versi desktop yg X-nya gak diaktifin, ini ada trik utk tetep bisa download file torrent lewat terminal (text based).</p>
<p><strong>#sudo apt-get install bittorrent</strong></p>
<p>Kalau sudah terinstall beres, untuk downloadnya pake perintah :</p>
<p><strong>#btdownloadcurses namafile.torrent</strong></p>
<p>Kalau sudah, maka tampilan akan berubah spt dibawah ini :</p>
<div id="attachment_80" class="wp-caption aligncenter" style="width: 310px"><a href="http://agungprasetyo.net/wp-content/uploads/2009/04/screen.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="size-medium wp-image-80" title="screen" src="http://agungprasetyo.net/wp-content/uploads/2009/04/screen-300x214.jpg" alt="" width="300" height="214" /></a><p class="wp-caption-text">Tampilan proses download bittorrent</p></div>
<p><span id="more-79"></span><br />
Masalahnya, karena menjalankan ini dari terminal, maka kita tidak bisa menjalankan apa-apa karena tampilan di dominasi oleh aplikasi ini. Untuk itu, ada triknya agak proses download tetep jalan, tapi kita juga membuka aplikasi lainnya. Caranya, anda bisa batalkan dulu proses download yang saat ini sedang berjalan dengan menekan <strong>Ctrl+C</strong>. Sekarang kita ketikkan di terminal :</p>
<p><strong>#screen btdownloadcurses namafile.torrent</strong></p>
<p>Disana ada tambahan screen. Dengan tambahan ini, kita bisa menutup tampilan dari proses download, tapi proses download tetap berjalan. Untuk keluar dari tampilan download, tekan <strong>Ctrl+a</strong>, lepas, lalu tekan <strong>d</strong>. Maka tampilan akan kembali ke terminal spt gambar dibawah ini :</p>
<div id="attachment_82" class="wp-caption aligncenter" style="width: 171px"><a href="http://agungprasetyo.net/wp-content/uploads/2009/04/screen21.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="size-medium wp-image-82" title="screen2" src="http://agungprasetyo.net/wp-content/uploads/2009/04/screen21-161x300.jpg" alt="Tampilan Screen setelah detach" width="161" height="300" /></a><p class="wp-caption-text">Tampilan Screen setelah detach</p></div>
<p>Nah, dari sini, temen-temen bisa melakukan pekerjaan lainnya tanpa takut proses download berhenti. Lalu pertanyaan selanjutnya&#8230; bagaimana kalau kita ingin mengetahui apakah proses download sudah selesai atau belum ???</p>
<p>Caranya, dari terminal, ketikkan :</p>
<p><strong>#screen -x</strong></p>
<p>Viooolaa&#8230;. tampilan kembali ke proses download, tanpa <span style="text-decoration: line-through;">mencederai</span> prosesnya <img src='http://agungprasetyo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Semoga tips ini bisa bermanfaat buat semuanya&#8230;. tolong sharing kalau sudah ada yang pernah melakukan.</p>
]]></content:encoded>
			<wfw:commentRss>http://agungprasetyo.net/tips-n-trick/download-file-torrent-dari-ubuntu-text-based/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cara Membuat Sub Domain Dengan Virtual Host (vhost) di Ubuntu 8.10</title>
		<link>http://agungprasetyo.net/activities/cara-membuat-sub-domain-dengan-virtual-host-vhost-di-ubuntu-810</link>
		<comments>http://agungprasetyo.net/activities/cara-membuat-sub-domain-dengan-virtual-host-vhost-di-ubuntu-810#comments</comments>
		<pubDate>Mon, 23 Mar 2009 07:49:30 +0000</pubDate>
		<dc:creator>prazetyo</dc:creator>
				<category><![CDATA[Activities]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips 'n Trick]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vhost]]></category>
		<category><![CDATA[virtual host]]></category>

		<guid isPermaLink="false">http://agungprasetyo.net/?p=73</guid>
		<description><![CDATA[Langkah ini dijalankan dengan tujuan untuk membuat sub domain dari website awal yang sudah kita miliki. MIsalnya dari website www.agungprasetyo.net, kita ingin menambah sub domain websiteku.agungprasetyo.net dan seterusnya. 1. pertama-tama, buatlah folder untuk menampung file-file html yang nantinya akan diupload. root@library:~#mkdir /var/www/website 2. Selanjutnya, kita akan melakukan konfirgurasi di apache. Masuk ke direktori sites-available root@library:~#cd [...]]]></description>
			<content:encoded><![CDATA[<p>Langkah ini dijalankan dengan tujuan untuk membuat sub domain dari website awal yang sudah kita miliki. MIsalnya dari website www.agungprasetyo.net, kita ingin menambah sub domain websiteku.agungprasetyo.net dan seterusnya.</p>
<p>1. pertama-tama, buatlah folder untuk menampung file-file html yang nantinya akan diupload.</p>
<p><strong>root@library:~#mkdir /var/www/website</strong></p>
<p>2. Selanjutnya, kita akan melakukan konfirgurasi di apache. Masuk ke direktori sites-available</p>
<p><strong>root@library:~#cd /etc/apache2/sites-available</strong></p>
<p>3. Jika dilihat, disana ada file default dan default-ssl yang merupakan file awal terbantuknya apache2. Sekarang buat file baru</p>
<p><strong>root@library:/etc/apache2/sites-available#nano websiteku</strong></p>
<p><span id="more-73"></span><br />
4. Tambahkan isi file berikut :</p>
<p><strong>&lt;VirtualHost 212.166.10.230:80&gt;</strong></p>
<p><strong>ServerAdmin admin@agungprasetyo.net<br />
ServerName website.agungprasetyo.<br />
ServerAlias website.agungprasetyo.net<br />
DocumentRoot /var/www/website<br />
ErrorLog /var/log/apache2/error-website.log<br />
CustomLog /var/log/apache2/access-website.log combined</strong></p>
<p><strong>&lt;Directory /var/www/website&gt;<br />
Options -Indexes FollowSymLinks MultiViews<br />
AllowOverride None<br />
Order allow,deny<br />
allow from all<br />
&lt;/Directory&gt;</strong></p>
<p><strong>&lt;/VirtualHost&gt;</strong></p>
<p>5. Lakukan penyimpanan pada file tersebut</p>
<p>6. Karena kita ingin menambahkan nama baru, maka kita tidak perlu menonaktifkan yang lama. Kita tinggal mengaktifkan saja nama yang baru saja kita buat.</p>
<p><strong>root@library:/etc/apache2/sites-available#a2ensite websiteku</strong><br />
Enabling site website.<br />
Run &#8216;/etc/init.d/apache2 reload&#8217; to activate new configuration!</p>
<p>7. Hasilnya bisa anda lihat dengan perintah</p>
<p><strong>root@library:/etc/apache2/sites-available#ls -l ../sites-enabled/</strong><br />
lrwxrwxrwx 1 root root 26 2009-03-23 11:39 000-default -&gt; ../sites-available/default<br />
<em><span style="color: #ff0000;">lrwxrwxrwx 1 root root 24 2009-03-23 14:35 websiteku -&gt; ../sites-available/websiteku</span></em></p>
<p>8. Jika sudah tampak, maka sekarang lakukan perintah</p>
<p><strong>root@library:/etc/apache2/sites-available#/etc/init.d/apache2 reload</strong><br />
<em>* Reloading web server config apache2                                                                                        [Mon Mar 23 14:48:08 2009] [warn] VirtualHost 212.166.10.230:80 overlaps with VirtualHost 212.166.10.230:80, the first has precedence, perhaps you need a NameVirtualHost directive<br />
[Mon Mar 23 14:48:08 2009] [warn] VirtualHost 212.166.10.230:80 overlaps with VirtualHost 212.166.10.230:80, the first has precedence, perhaps you need a NameVirtualHost directive<br />
[Mon Mar 23 14:48:08 2009] [warn] NameVirtualHost *:80 has no VirtualHosts</em></p>
<p>9. Ternyata muncul masalah, yaitu ada error spt diatas. Saya juga sempat mengalami hal ini, hingga sekitar 5 jam. Akhirnya soluasi dari masalah ini ketemu, yaitu anda harus mengeset juga ports.conf.</p>
<p>10. Sekarang menuju halaman apache2 dan buka file ports.conf</p>
<p><strong>root@library:/etc/apache2/sites-available#cd ..</strong></p>
<p><strong>root@library:/etc/apache2/sites-available#nano ports.conf</strong></p>
<p># If you just change the port or add more ports here, you will likely also<br />
# have to change the VirtualHost statement in<br />
# /etc/apache2/sites-enabled/000-default</p>
<p><strong>NameVirtualHost *:80</strong><br />
Listen 80</p>
<p>&lt;IfModule mod_ssl.c&gt;<br />
# SSL name based virtual hosts are not yet supported, therefore no<br />
# NameVirtualHost statement here<br />
Listen 443<br />
&lt;/IfModule&gt;</p>
<p>11. Gantilah NameVirtualHost *:80 menjadi 212.166.10.230:80 sehingga hasilnya seperti dibawah ini</p>
<p># If you just change the port or add more ports here, you will likely also<br />
# have to change the VirtualHost statement in<br />
# /etc/apache2/sites-enabled/000-default</p>
<p><strong>NameVirtualHost 212.166.10.230:80</strong><br />
Listen 80</p>
<p>&lt;IfModule mod_ssl.c&gt;<br />
# SSL name based virtual hosts are not yet supported, therefore no<br />
# NameVirtualHost statement here<br />
Listen 443<br />
&lt;/IfModule&gt;</p>
<p>12. Lakukan penyimpanan dan lakukan kembali perintah reload apache :</p>
<p><strong>root@library:/etc/apache2# /etc/init.d/apache2 reload</strong><br />
* Reloading web server config apache2                                                                            [ OK ]</p>
<p>13. Oke, proses sudah tidak ada error lagi, sub domain anda sudah berhasil</p>
<p>14. Sekarang buka browser dan ketikkan : http://websiteku.agungprasetyo.net pada browser anda.</p>
<p>Semoga Bermanfaat..</p>
]]></content:encoded>
			<wfw:commentRss>http://agungprasetyo.net/activities/cara-membuat-sub-domain-dengan-virtual-host-vhost-di-ubuntu-810/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Instalasi awstats di ubuntu server 8.10</title>
		<link>http://agungprasetyo.net/linux/instalasi-awstats-di-ubuntu-server-810</link>
		<comments>http://agungprasetyo.net/linux/instalasi-awstats-di-ubuntu-server-810#comments</comments>
		<pubDate>Tue, 11 Nov 2008 00:43:03 +0000</pubDate>
		<dc:creator>prazetyo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[awstats]]></category>
		<category><![CDATA[statistik web]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://agungprasetyo.net/?p=60</guid>
		<description><![CDATA[Tutorial ini mengacu pada link ini. Tetapi karena saya menggunakan ubuntu server 8.10, jadi beberapa bagian ada yang berbeda. Karena ubuntu sekarang untuk file konfigurasi apache bukan lagi httpd.conf, tetapi sudah menjadi apache2.conf dan beberapa penggolongan file menjadikannya lebih spesifik, tetapi lebih memusingkan. Karena langkahnya hampir mirip, maka proses pertama kali cek apakah sudah terinstall [...]]]></description>
			<content:encoded><![CDATA[<p>Tutorial ini mengacu pada <a href="http://heker86.wordpress.com/2008/10/27/install-dan-kofigurasi-awstats/" target="_blank">link</a> ini. Tetapi karena saya menggunakan ubuntu server 8.10, jadi beberapa bagian ada yang berbeda. Karena ubuntu sekarang untuk file konfigurasi apache bukan lagi <strong>httpd.conf</strong>, tetapi sudah menjadi <strong>apache2.conf</strong> dan beberapa penggolongan file menjadikannya lebih spesifik, tetapi lebih memusingkan.</p>
<p>Karena langkahnya hampir mirip, maka proses pertama kali cek apakah sudah terinstall <strong>perl</strong>. Pada ubuntu, anda bisa menggunakan perintah :</p>
<blockquote><p><strong>apt-get install perl</strong></p></blockquote>
<p>Oke&#8230; selanjutnya adalah proses instalasi untuk awstats. Sebenarnya untuk instalasi awstats ini juga bisa dilakukan dengan perintah <strong>apt-get install awstats</strong>, tetapi melihat beberapa tutorial di website lain, ada perbedaan path/file yang menyebabkan saya kurang &#8220;sreg&#8221; dengan instalasi hasil apt-get. Jadi memutuskan untuk menggunakan file sourcenya langsung.</p>
<p><span id="more-60"></span></p>
<ol>
<li>Langkah pertama, download terlebih dahulu paket awstats.
<ul>
<li><strong>wget http://prdownloads.sourceforge.net/awstats/awstats-6.8.tar.gz</strong></li>
</ul>
<p><strong><br />
</strong></li>
<li>Lakukan ekstrak ke direktori apache2 anda
<ul>
<li><strong>tar xzvf awstats-6.8.tar.gz -C /var/www/</strong></li>
</ul>
</li>
<li>Pindahlah ke direktori apache anda.
<ul>
<li><strong>cd /var/www/</strong></li>
</ul>
</li>
<li>Rename/rubah nama folder aswtats-6.8 menjadi awstats
<ul>
<li><strong>mv awstats-6.8 awstats</strong></li>
</ul>
</li>
<li>Setelah itu, masuk ke direktori tools
<ul>
<li><strong>cd awstats/tools/</strong></li>
</ul>
</li>
<li>Jalankan script perl di bawah ini untuk membuat file statistiknya.
<ul>
<li><strong>./awstats_configure.pl</strong><br />
—– AWStats awstats_configure 1.0 (build 1.8) (c) Laurent Destailleur  —–<br />
This tool will help you to configure AWStats to analyze statistics  for<br />
one web server. You can try to use it to let it do all that is  possible<br />
in AWStats setup, however following the step by step manual  setup<br />
documentation (docs/index.html) is often a better idea. Above all  if:<br />
- You are not an administrator user,<br />
- You want to analyze downloaded  log files without web server,<br />
- You want to analyze mail or ftp log files  instead of web log files,<br />
- You need to analyze load balanced servers log  files,<br />
- You want to ‘understand’ all possible ways to use AWStats…<br />
Read  the AWStats documentation (docs/index.html).<br />
—–&gt; Running OS detected:  Linux, BSD or Unix<br />
Warning: AWStats standard directory on Linux OS is  ‘/usr/local/awstats’.<br />
If you want to use standard directory, you should first  move all content<br />
of AWStats distribution from current  directory:<br />
/var/www/html/awstats<br />
to standard  directory:<br />
/usr/local/awstats<br />
And then, run configure.pl from this  location.<br />
Do you want to continue setup from this NON standard directory [yN]  ? <strong><strong>y</strong></strong><br />
—–&gt; Check for web server install<br />
Enter full config  file path of your Web server.<br />
Example: /etc/httpd/httpd.conf<br />
Example:  /usr/local/apache2/conf/httpd.conf<br />
Example: c:\Program files\apache  group\apache\conf\httpd.conf<br />
Config file path (’none’ to skip web server  setup):<br />
&gt; <strong><strong>/etc/</strong>apache2/apache2.conf</strong><br />
—–&gt; Check and  complete web server config file ‘/etc/apache2/apache2.conf’<br />
Add Alias ‘/awstatsclasses &#8220;/var/www/awstats/wwwroot/classes/&#8221;‘<br />
Add Alias ‘/awstatscss &#8220;/var/www/awstats/wwwroot/css/&#8221;‘<br />
Add Alias ‘/awstatsicons &#8220;/var/www/awstats/wwwroot/icon/&#8221;‘<br />
Add ‘ScriptAlias /awstats/ &#8220;/var/www/awstats/wwwroot/cgi-bin/&#8221;‘<br />
Add ‘’ directive<br />
AWStats  directives added to Apache config file.<br />
—–&gt; Update model config file  ‘/var/www/awstats/wwwroot/cgi-bin/awstats.model.conf’<br />
File  awstats.model.conf updated.<br />
—–&gt; Need to create a new config file ?<br />
Do  you want me to build a new AWStats config/profile<br />
file (required if first  install) [y/N] ? <strong>y</strong><br />
—–&gt; Define config file name to  create<br />
What is the name of your web site or profile analysis ?<br />
Example:  www.mysite.com<br />
Example: demo<br />
Your web site, virtual server or profile  name:<br />
&gt; <strong>digilib.stikom.edu</strong><br />
—–&gt; Define config file path<br />
In  which directory do you plan to store your config file(s) ?<br />
Default:  /etc/awstats<br />
Directory path to store config file(s) (Enter for  default):<br />
&gt; <strong>&lt;== Silahkan tekan enter saja</strong><br />
—–&gt;  Create config file ‘/etc/awstats/awstats.digilib.stikom.edu.conf’<br />
Config file  /etc/awstats/awstats.digilib.stikom.edu.conf created.<br />
—–&gt; Restart Web server with  ‘/sbin/service httpd restart’<br />
Stopping httpd: [ OK ]<br />
Starting httpd: [ OK  ]<br />
—–&gt; Add update process inside a scheduler<br />
Sorry, configure.pl does  not support automatic add to cron yet.<br />
You can do it manually by adding the  following command to your  cron:<br />
/var/www/awstats/wwwroot/cgi-bin/awstats.pl -update  -config=digilib.stikom.edu<br />
Or if you have several config files and prefer having only  one command:<br />
/var/www/awstats/tools/awstats_updateall.pl now<br />
Press  ENTER to continue… <strong>&lt;== Tekan enter</strong><br />
A SIMPLE config file  has been created: /etc/awstats/awstats.digilib.stikom.edu.conf<br />
You should have a look  inside to check and change manually main parameters.<br />
You can then manually  update your statistics for ‘digilib.stikom.edu’ with command:<br />
&gt; perl awstats.pl  -update -config=digilib.stikom.edu<br />
You can also read your statistics for ‘digilib.stikom.edu’  with URL:<br />
&gt; http://localhost/awstats/awstats.pl?config=digilib.stikom.edu<br />
Press  ENTER to finish… <strong>&lt;== Tekan enter untuk finish</strong></li>
</ul>
</li>
<li>Script awstats_configure.pl tadi secara otomatis akan menambahkan pada file  konfigurasi apache2.conf
<ul>
<li><strong>pico /etc/apache2/apache2.conf</strong><br />
[..]<br />
#<br />
# Directives to allow use of  AWStats as a CGI<br />
#<br />
Alias /awstatsclasses  “/var/www/awstats/wwwroot/classes/”<br />
Alias /awstatscss  “/var/www/awstats/wwwroot/css/”<br />
Alias /awstatsicons  “/var/www/awstats/wwwroot/icon/”<br />
ScriptAlias /awstats/  “/var/www/awstats/wwwroot/cgi-bin/”<br />
#<br />
# This is to permit URL access  to scripts/files in AWStats directory.<br />
#<br />
&lt;Directory &#8220;/var/www/awstats/wwwroot&#8221;&gt;<br />
Options None<br />
AllowOverride None<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;<br />
[..]</li>
</ul>
</li>
<li>Edit file awstats.digilib.stikom.edu.conf menjadi seperti dibawah ini.
<ul>
<li><strong>pico /etc/awstats/awstats.digilib.stikom.edu.conf</strong><br />
<code>LogFile="/var/log/httpd/mylog.log" <strong>menjadi</strong> LogFile="/var/log/apache2/access.log"<br />
DirData="/var/lib/awstats”  <strong>menjadi</strong> DirData="/var/www/awstats"<br />
SiteDomain="digilib.stikom.edu" <strong>&lt;== Pastikan  juga terdapat ini.</strong></code></li>
</ul>
</li>
<li>Jalankan command dibawah ini untuk update database awstats.
<ul>
<li><strong>/var/www/awstats/wwwroot/cgi-bin/awstats.pl -config=digilib.stikom.edu  -update</strong><br />
Create/Update database for config  “/etc/awstats/awstats.digilib.stikom.edu.conf” by AWStats version 6.8 (build  1.910)<br />
From data in log file “/var/log/apache2/access.log”…<br />
Phase 1 : First  bypass old records, searching new record…<br />
Searching new records from  beginning of log file…<br />
Phase 2 : Now process new records (Flush history on  disk after 20000 hosts)…<br />
Jumped lines in file: 0<br />
Parsed lines in file:  123<br />
Found 0 dropped records,<br />
Found 0 corrupted records,<br />
Found 0 old  records,<br />
Found 123 new qualified records.</li>
</ul>
</li>
<li>Kemudian buka browser anda dengan mengetikkan  http://digilib.stikom.edu/awstats/awstats.pl?config=digilib.stikom.edu</li>
<li>Nah, dari sini error mulai muncul. Karena apache2 menggunakan file berbeda untuk penempatan alias, maka anda perlu melakukan sedikit modifikasi agar alias anda dikenali. Edit file apache2.conf.
<ul>
<li><strong>pico /etc/apache2/apache2.conf</strong><br />
[..]<br />
#<br />
# Directives to allow use of  AWStats as a CGI<br />
#<br />
Alias /awstatsclasses  “/var/www/awstats/wwwroot/classes/”<br />
Alias /awstatscss  “/var/www/awstats/wwwroot/css/”<br />
Alias /awstatsicons  “/var/www/awstats/wwwroot/icon/”<br />
ScriptAlias /awstats/  “/var/www/awstats/wwwroot/cgi-bin/”<br />
#<br />
# This is to permit URL access  to scripts/files in AWStats directory.<br />
#<br />
&lt;Directory &#8220;/var/www/awstats/wwwroot&#8221;&gt;<br />
Options None<br />
AllowOverride None<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;<br />
[..]</li>
</ul>
</li>
<li>Carilah bagian script seperti contoh diatas, lalu lakukan Copy dan Paste ke file alias.conf. Anda bisa membuka 2 terminal untuk proses ini atau melakukan Paste terlebih dahulu di misalkan notepad atau editor yang anda sukai.
<ul>
<li><strong>pico /etc/apache2/mods-available/alias.conf</strong><br />
&lt;IfModule alias_module&gt;<br />
#<br />
# Aliases: Add here as many aliases as you need (with no limit). The format is<br />
# Alias fakename realname<br />
#<br />
# Note that if you include a trailing / on fakename then the server will<br />
# require it to be present in the URL.  So &#8220;/icons&#8221; isn&#8217;t aliased in this<br />
# example, only &#8220;/icons/&#8221;.  If the fakename is slash-terminated, then the<br />
# realname must also be slash terminated, and if the fakename omits the<br />
# trailing slash, the realname must also omit it.<br />
#<br />
# We include the /icons/ alias for FancyIndexed directory listings.  If<br />
# you do not use FancyIndexing, you may comment this out.<br />
#<br />
Alias /awstatsclasses &#8220;/var/www/awstats/wwwroot/classes/&#8221;<br />
Alias /awstatscss &#8220;/var/www/awstats/wwwroot/css/&#8221;<br />
Alias /awstatsicons &#8220;/var/www/awstats/wwwroot/icon/&#8221;<br />
ScriptAlias /awstats/ &#8220;/var/www/awstats/wwwroot/cgi-bin/&#8221;</p>
<p>#<br />
# This is to permit URL access to scripts/files in AWStats directory.<br />
#<br />
&lt;Directory &#8220;/var/www/awstats/wwwroot&#8221;&gt;<br />
Options None<br />
AllowOverride None<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;<br />
[..]</li>
</ul>
</li>
<li>Jika sudah, simpan file <strong>alias.conf</strong>. Sedangkan untuk potongan script alias dari awstats pada file <strong>apache2.conf</strong>, hapus saja.</li>
<li>Sekarang buka kembali http://digilib.stikom.edu/awstats/awstats.pl?config=digilib.stikom.edu, dan <strong>violaa!!!</strong> aplikasi awstats berjalan sukses!</li>
<li>Untuk melakukan update database melalui browser, anda harus merubah command seperti dibawah ini.
<ul>
<li><strong>pico /etc/awstats/</strong><strong>awstats.digilib.stikom.edu.conf</strong><br />
AllowToUpdateStatsFromBrowser=0  <strong>menjadi</strong><br />
AllowToUpdateStatsFromBrowser=1</li>
</ul>
</li>
<li>Serta jangan lupa juga merubah permision folder di bawah ini.
<ul>
<li><strong>chmod 777 -R /var/log/apache2/</strong></li>
<li><strong>chmod 777 -R  /var/www/awstats/<br />
</strong></li>
</ul>
</li>
<li>Sekarang buka kembali browser anda dan click tombol <strong>“Update  Now”<br />
</strong><a href="http://agungprasetyo.net/wp-content/uploads/2008/11/update.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="alignnone size-medium wp-image-62" title="update" src="http://agungprasetyo.net/wp-content/uploads/2008/11/update-300x63.jpg" alt="" width="300" height="63" /></a><br />
<em>copyright image by heker86.wordpress.com</em><br />
<strong> </strong></li>
<li>Maka secara otomatis database awstats akan terupdate, coba perhatikan  HITS &#8211; nya apakah ada perubahan atau  tidak. Jika ada, maka <strong>selamat!</strong> anda baru saja mempunyai tools untuk menganalisa statistik log dari sistem anda.</li>
</ol>
<p>Nah, itulah sedikit pengalaman sewaktu instalasi awstats kemarin. Bagi yang tidak menggunakan ubuntu bisa mengacu pada link heker86, tetapi jika anda menggunakan ubuntu, saya berharap tutorial ini berguna dan bermanfaat bagi anda.</p>
]]></content:encoded>
			<wfw:commentRss>http://agungprasetyo.net/linux/instalasi-awstats-di-ubuntu-server-810/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

