<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosurestitles.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemtitles.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>brekele.INC</title><link>http://underdarkonsole.blogspot.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/OpenSourceTips4You" /><description>another posting may usefull</description><language>en</language><managingEditor>noreply@blogger.com (sakti sama)</managingEditor><lastBuildDate>Thu, 05 Jan 2012 02:39:49 PST</lastBuildDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">62</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><feedburner:info uri="opensourcetips4you" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><media:copyright>brekele.inc</media:copyright><media:keywords>open,source,tips,4,you</media:keywords><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Education/Educational Technology</media:category><itunes:owner><itunes:email>isach_xx@yahoo.com</itunes:email><itunes:name>sakti</itunes:name></itunes:owner><itunes:author>sakti</itunes:author><itunes:explicit>yes</itunes:explicit><itunes:keywords>open,source,tips,4,you</itunes:keywords><itunes:subtitle>for share</itunes:subtitle><itunes:category text="Education"><itunes:category text="Educational Technology" /></itunes:category><feedburner:feedFlare href="http://www.podnova.com/add.srf?url=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.podnova.com/img_chicklet_podnova.gif">Subscribe with Podnova</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://odeo.com/listen/subscribe?feed=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://odeo.com/img/badge-channel-black.gif">Subscribe with ODEO</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FOpenSourceTips4You" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item><title>make sure pgpool node/instance is up ( with bash script )</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/eeTUtgzq9x0/make-sure-pgpool-nodeinstance-is-up.html</link><category>pqpool</category><category>bash script</category><category>postgresql</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Wed, 21 Dec 2011 19:53:38 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-2484810927241498617</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cpWYFDLAoMCqLJcCrcbJa1nBo80/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cpWYFDLAoMCqLJcCrcbJa1nBo80/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cpWYFDLAoMCqLJcCrcbJa1nBo80/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cpWYFDLAoMCqLJcCrcbJa1nBo80/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="color: #38761d;"&gt;--idea--&lt;/span&gt;&lt;br /&gt;
this idea came to me when some one ask " how do we ensure that postgresql's node has been activated again ? ".
by asking google and with have no answer, finally why we don't make a happy script with bash  ^_^...
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;--scenario--&lt;/span&gt;&lt;br /&gt;
as simple as i love to, this script is run as background service that check node's status every 3 second. And if one of node/both is down, script is automatic bring it UP/ON again.
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;--1--&lt;/span&gt;&lt;br /&gt;
must to know&amp;nbsp;&amp;nbsp;how to chek node status:&lt;br /&gt;
*&amp;gt; node UP/ON&lt;br /&gt;
&lt;pre class="brush: bash"&gt;$ tail /var/log/pgpool.log
2011-12-22 10:06:18 DEBUG: pid 8726: starting health checking
2011-12-22 10:06:18 DEBUG: pid 8726: health_check: 0 th DB node status: 1
2011-12-22 10:06:18 DEBUG: pid 8726: health_check: 1 th DB node status: 1

$ pcp_node_info 10 localhost 9898 postgres password 1
xxx.xxx.xxx.xxx. xxxx 1 1073741823.500000
$ pcp_node_info 10 localhost 9898 postgres password 1 | awk '{print $3}'
1&lt;/pre&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-U1fq5d3BwJ4/TvKhdS4ZmbI/AAAAAAAAAfo/fU4RxuktHk4/s1600/pgpool.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="272" src="http://3.bp.blogspot.com/-U1fq5d3BwJ4/TvKhdS4ZmbI/AAAAAAAAAfo/fU4RxuktHk4/s320/pgpool.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
*&amp;gt; node Down&lt;/div&gt;
&lt;pre class="brush: bash"&gt;$ tail /var/log/pgpool.log
2011-12-22 10:14:41 DEBUG: pid 8726: starting health checking
2011-12-22 10:14:41 DEBUG: pid 8726: health_check: 0 th DB node status: 1
2011-12-22 10:14:41 DEBUG: pid 8726: health_check: 1 th DB node status: 3

$ pcp_node_info 10 localhost 9898 postgres password 1
10.10.130.17 5432 3 1073741823.500000
$ pcp_node_info 10 localhost 9898 postgres password 1 | awk '{print $3}'
3&lt;/pre&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-orIr91qQA5I/TvKjQkecmZI/AAAAAAAAAf0/AI4KfygOAUI/s1600/pgpool2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="297" src="http://3.bp.blogspot.com/-orIr91qQA5I/TvKjQkecmZI/AAAAAAAAAf0/AI4KfygOAUI/s320/pgpool2.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;--script--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: bash"&gt;#!/bin/bash
# brekele.inc

Node_stat=`pcp_node_info 10 localhost 9898 postgres password 0 | awk '{print $3}'`
Node_stat2=`pcp_node_info 10 localhost 9898 postgres password 1 | awk '{print $3}'`

echo "PID: $$ : `date` : daemon check \" $0 \" is running"
echo "=========== Hit Ctl-C to exit ============"

start(){
#echo "jalankan"
pcp_attach_node &amp;nbsp;90 localhost 9898 postgres password 0 &amp;amp;&amp;amp; echo "node UP" || echo "node Down"
}

start2(){
#echo "jalankan"
pcp_attach_node &amp;nbsp;90 localhost 9898 postgres password 1 &amp;amp;&amp;amp; echo "node UP" || echo "node Down"
}

if [ $Node_stat -eq 3 ]
then
start
fi

if [ $Node_stat2 -eq 3 ]
then
start2
fi

sleep 3
exec $0

echo "This line will never echo!"
exit 99&lt;/pre&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;--cek &amp;amp; jajal--&lt;/span&gt;&lt;br /&gt;
try run on your own terminal/console and with your awn risk ^_^&lt;br /&gt;
&lt;pre class="brush: bash"&gt;$ ./script
PID: 26284 : Thu Dec 22 10:43:06 WIT 2011 : daemon check " /mnt/script " is running
=========== Hit Ctl-C to exit ============
PID: 26284 : Thu Dec 22 10:43:09 WIT 2011 : daemon check " /mnt/script " is running
=========== Hit Ctl-C to exit ============&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-2484810927241498617?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-22T10:53:38.593+07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/-U1fq5d3BwJ4/TvKhdS4ZmbI/AAAAAAAAAfo/fU4RxuktHk4/s72-c/pgpool.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/12/make-sure-pgpool-nodeinstance-is-up.html</feedburner:origLink></item><item><title>send oracle 11g audit log to syslog server ( on other PC)</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/LG3uivJ6_iA/send-oracle-11g-audit-log-to-syslog.html</link><category>Tips n Tips</category><category>Linux</category><category>oracle</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Wed, 21 Dec 2011 18:16:40 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-7959167836457098530</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/p7EQ42qLwZmr7IXFe8I-76W46sM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/p7EQ42qLwZmr7IXFe8I-76W46sM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/p7EQ42qLwZmr7IXFe8I-76W46sM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/p7EQ42qLwZmr7IXFe8I-76W46sM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--preparation--&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
well...... this time i will write about syslog, and for this experiment what we need is :&lt;br /&gt;
- kiwi syslog server get from &lt;a href="http://www.kiwisyslog.com/"&gt;here&lt;/a&gt; and install it on your PC( i use xp for this server syslog)&lt;br /&gt;
- oracle db&lt;br /&gt;
- and of course, a cup of coffee is a must and other thing that make you relax and comfortable&amp;nbsp;( :p )&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--scema--&lt;/span&gt;&lt;br /&gt;
first thing to do is redirect oracle audit log to syslog, and than from syslog send to syslog server( kiwi syslog)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--1--&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;edit init&lt;i&gt;&lt;b&gt;SID&lt;/b&gt;&lt;/i&gt;.ora and add this folowing config :
&lt;br /&gt;
create "&lt;span class="Apple-style-span" style="background-color: white; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13px; line-height: 14px; white-space: pre;"&gt;/var/log/oracle/" firs&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush: bash"&gt;audit_file_dest='/var/log/oracle/'
audit_trail='OS'
AUDIT_SYSLOG_LEVEL=local1.warning&lt;/pre&gt;
after that edit /etc/syslog.conf, and add this folowing config :
&lt;br /&gt;
&lt;pre class="brush: bash"&gt;#Save oracle rdbms audit trail to oracle_audit.log
local1.warning          /var/log/oracle/oracle_audit.log
#Send oracle rdbms audit trail to remote syslog server
local1.warning       @1.1.1.1 #&amp;lt;= ip your syslog server&lt;/pre&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--2--&lt;/span&gt;&lt;br /&gt;
restart syslog service with command :&lt;br /&gt;
&lt;pre class="brush: bash"&gt;/sbin/service syslog restart     # or 
/etc/init.d/init.d/syslog restart &lt;/pre&gt;
oracle DB must be restart to
&lt;br /&gt;
&lt;pre class="brush: bash"&gt;CONNECT SYS / AS SYSOPER
Enter password: password

SHUTDOWN IMMEDIATE
STARTUP
-----------------
SQL&amp;gt; shutdown IMMEDIATE
Database closed.
Database dismounted.
ORACLE instance shut down.

SQL&amp;gt; STARTUP
ORACLE instance started.

Total System Global Area 1075527680 bytes
Fixed Size                  1304704 bytes
Variable Size             264243072 bytes
Database Buffers          805306368 bytes
Redo Buffers                4673536 bytes
Database mounted.
Database opened.&lt;/pre&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--test and jajal--&lt;/span&gt;&lt;br /&gt;
try to login to your  Oracle DB and log must be create on syslog and kiwi syslog ono other server like this folowing pict
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-kDNlvSgLPCc/Tp_Tby9wUJI/AAAAAAAAAds/LTX7KMRcbyE/s1600/kiwi.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="180" src="http://1.bp.blogspot.com/-kDNlvSgLPCc/Tp_Tby9wUJI/AAAAAAAAAds/LTX7KMRcbyE/s400/kiwi.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-2OxPHMrAT14/Tp_TcHUm0tI/AAAAAAAAAd0/5Y-msN7g7j0/s1600/kiwi2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="120" src="http://4.bp.blogspot.com/-2OxPHMrAT14/Tp_TcHUm0tI/AAAAAAAAAd0/5Y-msN7g7j0/s400/kiwi2.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="color: #990000;"&gt;-source -&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;oracle doc&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-7959167836457098530?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-22T09:16:40.869+07:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/-kDNlvSgLPCc/Tp_Tby9wUJI/AAAAAAAAAds/LTX7KMRcbyE/s72-c/kiwi.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Jakarta Capital Region, Indonesia</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">-6.211544 106.845172</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">-6.464111 106.52931500000001 -5.958977 107.161029</georss:box><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/10/send-oracle-11g-audit-log-to-syslog.html</feedburner:origLink></item><item><title>pgpoolAdmin, web interface for pgpool</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/gaCFQMn7Kt0/pgpooladmin-web-interface-for-pgpool.html</link><category>pqpool</category><category>ubuntu</category><category>postgresql</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Thu, 22 Sep 2011 03:15:41 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-5171756136175985340</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/17Y_vIuGGt27wcbPVteHCCCHkS0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/17Y_vIuGGt27wcbPVteHCCCHkS0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/17Y_vIuGGt27wcbPVteHCCCHkS0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/17Y_vIuGGt27wcbPVteHCCCHkS0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--preparation--&lt;/span&gt;&lt;br /&gt;
next capter of pgpool from my last post ( &lt;a href="http://underdarkonsole.blogspot.com/2011/09/postgresql-replication-with-pgpool2-on.html"&gt;here&lt;/a&gt;), now i wanna post about a tool that can manage pgpool from web interface called pgpoolAdmin. next... enjoy the post... ^_^&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--1--&lt;/span&gt;&lt;br /&gt;
first we need to download pgpooladmin from&amp;nbsp;&lt;a href="http://pgfoundry.org/frs/download.php/2964/pgpoolAdmin-3.0.3.tar.gz"&gt;here&lt;/a&gt;, extrak and copy or move to http directory( for exp : /var/www)&amp;nbsp;
&lt;br /&gt;
&lt;pre class="brush: bash"&gt;$wget http://pgfoundry.org/frs/download.php/2964/pgpoolAdmin-3.0.3.tar.gz
$tar zxvf pgpoolAdmin-3.0.3.tar.gz
$sudo cp -Rf pgpoolAdmin-3.0.3 /var/www/test&lt;/pre&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;--2--&lt;/span&gt;&lt;br /&gt;
install pgpooladmin via web on:&amp;nbsp;&lt;i&gt;http://localhost/test/install&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-fNAicu8-Vc0/TnsHEYvuE5I/AAAAAAAAAdI/vz66eE58ObQ/s1600/1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="231" src="http://2.bp.blogspot.com/-fNAicu8-Vc0/TnsHEYvuE5I/AAAAAAAAAdI/vz66eE58ObQ/s400/1.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-8Wmch754MnM/TnsHFE66cAI/AAAAAAAAAdM/mydz8-IQOeg/s1600/2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="231" src="http://2.bp.blogspot.com/-8Wmch754MnM/TnsHFE66cAI/AAAAAAAAAdM/mydz8-IQOeg/s400/2.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
make sure owner of that file is "www-data"(of course have write akses) and check again&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-9AwFODta3Mw/TnsHF6qPJII/AAAAAAAAAdQ/xhgIMg9Zxok/s1600/3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="231" src="http://2.bp.blogspot.com/-9AwFODta3Mw/TnsHF6qPJII/AAAAAAAAAdQ/xhgIMg9Zxok/s400/3.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-Y-Bkvs4ZIQU/TnsHgW75NpI/AAAAAAAAAdk/-ftaCNIthoQ/s1600/4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="231" src="http://3.bp.blogspot.com/-Y-Bkvs4ZIQU/TnsHgW75NpI/AAAAAAAAAdk/-ftaCNIthoQ/s400/4.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-xlBnejx6M1k/TnsHHeW_6FI/AAAAAAAAAdY/Jio1Ivj6q50/s1600/5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="231" src="http://2.bp.blogspot.com/-xlBnejx6M1k/TnsHHeW_6FI/AAAAAAAAAdY/Jio1Ivj6q50/s400/5.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-VeS_MHCel64/TnsHH3TtqyI/AAAAAAAAAdc/j5M2yjFHFkM/s1600/6.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="231" src="http://4.bp.blogspot.com/-VeS_MHCel64/TnsHH3TtqyI/AAAAAAAAAdc/j5M2yjFHFkM/s400/6.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
login with user that you create on&amp;nbsp;/etc/pcp.conf (for more detail see &lt;a href="http://pgfoundry.org/frs/download.php/2964/pgpoolAdmin-3.0.3.tar.gz"&gt;my last post&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-C6bNdqXG6ac/TnsHIuJVKbI/AAAAAAAAAdg/P1EujbVth9o/s1600/7.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="231" src="http://3.bp.blogspot.com/-C6bNdqXG6ac/TnsHIuJVKbI/AAAAAAAAAdg/P1EujbVth9o/s400/7.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;br /&gt;
and done.ya.. tooo.......!!!&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;^_^&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-5171756136175985340?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-22T17:15:41.090+07:00</app:edited><media:thumbnail url="http://2.bp.blogspot.com/-fNAicu8-Vc0/TnsHEYvuE5I/AAAAAAAAAdI/vz66eE58ObQ/s72-c/1.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/OpenSourceTips4You/~5/KNQSD7twZY8/pgpoolAdmin-3.0.3.tar.gz" fileSize="856572" type="application/binary" /><itunes:explicit>yes</itunes:explicit><itunes:subtitle>--preparation-- next capter of pgpool from my last post ( here), now i wanna post about a tool that can manage pgpool from web interface called pgpoolAdmin. next... enjoy the post... ^_^ --1-- first we need to download pgpooladmin from&amp;nbsp;here, extrak a</itunes:subtitle><itunes:author>sakti</itunes:author><itunes:summary>--preparation-- next capter of pgpool from my last post ( here), now i wanna post about a tool that can manage pgpool from web interface called pgpoolAdmin. next... enjoy the post... ^_^ --1-- first we need to download pgpooladmin from&amp;nbsp;here, extrak and copy or move to http directory( for exp : /var/www)&amp;nbsp; $wget http://pgfoundry.org/frs/download.php/2964/pgpoolAdmin-3.0.3.tar.gz $tar zxvf pgpoolAdmin-3.0.3.tar.gz $sudo cp -Rf pgpoolAdmin-3.0.3 /var/www/test &amp;nbsp;--2-- install pgpooladmin via web on:&amp;nbsp;http://localhost/test/install make sure owner of that file is "www-data"(of course have write akses) and check again login with user that you create on&amp;nbsp;/etc/pcp.conf (for more detail see my last post)&amp;nbsp; and done.ya.. tooo.......!!! &amp;nbsp;^_^ brekele.inc</itunes:summary><itunes:keywords>open,source,tips,4,you</itunes:keywords><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/09/pgpooladmin-web-interface-for-pgpool.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/OpenSourceTips4You/~5/KNQSD7twZY8/pgpoolAdmin-3.0.3.tar.gz" length="856572" type="application/binary" /><feedburner:origEnclosureLink>http://pgfoundry.org/frs/download.php/2964/pgpoolAdmin-3.0.3.tar.gz</feedburner:origEnclosureLink></item><item><title>my unity desktop</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/cX2wR_NYBfQ/my-unity-desktop.html</link><category>Desktop</category><category>ubuntu</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Mon, 12 Sep 2011 05:44:24 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-932465877547725954</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8PlRLt6g5sa9zUkm_MkncptNU-8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8PlRLt6g5sa9zUkm_MkncptNU-8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8PlRLt6g5sa9zUkm_MkncptNU-8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8PlRLt6g5sa9zUkm_MkncptNU-8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;take a look at my desktop unity with conky and AWN&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-C7fMFiP4-O0/Tm396rWim2I/AAAAAAAAAdA/Shv6jiMLb-Y/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-C7fMFiP4-O0/Tm396rWim2I/AAAAAAAAAdA/Shv6jiMLb-Y/s400/Screenshot.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-932465877547725954?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-12T19:44:24.669+07:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/-C7fMFiP4-O0/Tm396rWim2I/AAAAAAAAAdA/Shv6jiMLb-Y/s72-c/Screenshot.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/09/my-unity-desktop.html</feedburner:origLink></item><item><title>postgresql replication with pgpool2 on ubuntu</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/7VNNW8tKdyU/postgresql-replication-with-pgpool2-on.html</link><category>pqpool</category><category>balancing</category><category>ubuntu</category><category>postgresql</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Thu, 29 Sep 2011 02:43:58 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-4294075218766933892</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kElHT4xKZoaF_-zbtBDUgW7viLI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kElHT4xKZoaF_-zbtBDUgW7viLI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kElHT4xKZoaF_-zbtBDUgW7viLI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kElHT4xKZoaF_-zbtBDUgW7viLI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://www.linuxscrew.com/wp-content/uploads/2009/07/postgresql_logo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://www.linuxscrew.com/wp-content/uploads/2009/07/postgresql_logo.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--preparation--&lt;/span&gt;&lt;br /&gt;
next capter from may last post, now we'll make repication of postgreSQL with pgpool on ubuntu.
assumtion, we have 2 server with postgresql installed ( n running well ) on each server.&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;--1--&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;first install pgpooll2, with 
&lt;br /&gt;
&lt;pre class="brush: bash"&gt;sudo apt-get install pgpool2&lt;/pre&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--2--&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;edit config file on /etc/pgpool.conf
&lt;br /&gt;
&lt;pre class="brush: bash"&gt;# Host name or IP address to listen on: '*' for all, '' for no TCP/IP
# connections
listen_addresses = '*'

# Port number for pgpool
port = 5433

# Port number for pgpool communication manager
pcp_port = 9898

parallel_mode = false

# Replication mode
replication_mode = true

# Load balancing mode, i.e., all SELECTs are load balanced.
# This is ignored if replication_mode is false.
load_balance_mode = true

backend_hostname0 = '1.1.1.1'
backend_port0 = 5432
backend_weight0 = 1
backend_data_directory0 = ''
backend_hostname1 = '1.1.1.2'
backend_port1 = 5432
backend_weight1 = 1
backend_data_directory1 = ''
&lt;/pre&gt;
edit config file on /etc/pcp.conf

Append the following line
&lt;br /&gt;
&lt;pre class="brush: bash"&gt;postgres:ee26005a83e958c153b095a080b52d14
#postgres is user of your postgresql 
#and ee26005a83e958c15.. bla... bla... is postgres password in md5.
&lt;/pre&gt;
&lt;blockquote&gt;
*Note:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; to get/convert password in md5, you can use this ex command :&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PG1:~$ pg_md5 your_pass&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ee26005a83e958c153b095a080b52d14 &amp;nbsp;&lt;/blockquote&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--3--&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;restart the service 
&lt;br /&gt;
&lt;pre class="brush: bash"&gt;/etc/init.d/postgresql restart
 /etc/init.d/pgpool2 restart&lt;/pre&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--cek 'n jajal--&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;create database on pgpool port 
&lt;br /&gt;
&lt;pre class="brush: bash"&gt;createdb db_test –p 9898 –h 1.1.1.1 –U postgres&lt;/pre&gt;
If replication is working properly, in both machines a new database called “db_test” should be created.
use this command to check it up:
&lt;br /&gt;
&lt;pre class="brush: bash"&gt;$ psql –l –p 5432 –h 1.1.1.1 –U postgres
$ psql –l –p 5432 –h 1.1.1.2 –U postgres&lt;/pre&gt;
&lt;br /&gt;
next chapter : &lt;a href="http://underdarkonsole.blogspot.com/2011/09/pgpooladmin-web-interface-for-pgpool.html"&gt;.: here:.&lt;/a&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class="Apple-style-span" style="color: red; font-size: xx-small;"&gt;source :&lt;br /&gt;http://sameerajayalath.blogspot.com&lt;br /&gt;&amp;nbsp;google.com



&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-4294075218766933892?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-29T16:43:58.969+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/09/postgresql-replication-with-pgpool2-on.html</feedburner:origLink></item><item><title>install lighttp + postgresql di ubuntu</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/VgBOWDkTJmw/install-lighttp-postgresql-di-ubuntu.html</link><category>lighttpd</category><category>php</category><category>postgresql</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Wed, 24 Aug 2011 23:14:04 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-5620292890502494284</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nmLkfamAQz4VYoZc7BNlAJW4q2o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nmLkfamAQz4VYoZc7BNlAJW4q2o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nmLkfamAQz4VYoZc7BNlAJW4q2o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nmLkfamAQz4VYoZc7BNlAJW4q2o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;-- back from old day--&lt;/span&gt;&lt;br /&gt;
long time since write my latest post. Now, it's time to write again.... ^_^&lt;br /&gt;
starting with this tittle..&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--1--&lt;/span&gt;&lt;br /&gt;
just simple as usually, type this command on your terminal&lt;br /&gt;
&lt;pre class="brush: bash"&gt;$ sudo apt-get install postgresql postgresql-client libpq-dev postgresql-client-common lighttpd php5-cgi php5-pgsql php5-cli &lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--2--&lt;/span&gt;&lt;br /&gt;
edit "php.ini" on&lt;br /&gt;
&lt;pre class="brush: bash"&gt;vi /etc/php5/cgi/php.ini &lt;/pre&gt;&lt;pre class="brush: bash"&gt;; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
; http://php.net/cgi.fix-pathinfo
cgi.fix_pathinfo=1
&lt;/pre&gt;&lt;br /&gt;
then run this command To enable the fastcgi configuration &lt;br /&gt;
&lt;pre class="brush: bash"&gt;sudo lighttpd-enable-mod fastcgi
  sudo lighttpd-enable-mod fastcgi-php
  sudo /etc/init.d/lighttpd force-reload
&lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--test &amp;amp; jajal--&lt;/span&gt;&lt;br /&gt;
create php file on /var/www containing :&lt;br /&gt;
&lt;pre class="brush: bash"&gt;&amp;lt;?php
phpinfo();
?&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-1hHm3gU-y7M/TlXigD25r8I/AAAAAAAAAcw/Qu5e40D_p3A/s1600/psql.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="186" src="http://1.bp.blogspot.com/-1hHm3gU-y7M/TlXigD25r8I/AAAAAAAAAcw/Qu5e40D_p3A/s320/psql.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-5620292890502494284?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-25T13:14:04.028+07:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/-1hHm3gU-y7M/TlXigD25r8I/AAAAAAAAAcw/Qu5e40D_p3A/s72-c/psql.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/08/install-lighttp-postgresql-di-ubuntu.html</feedburner:origLink></item><item><title>Webalizer - Statistik trafik/kunjungan web (ubuntu)</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/gP6TZMW8x8A/webalizer-statistik-trafikkunjungan-web.html</link><category>webalizer</category><category>monitoring</category><category>ubuntu</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Mon, 13 Jun 2011 20:17:53 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-8489306747457473362</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_YaPMqmr7sNmSH8IqIjvlMf42h8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_YaPMqmr7sNmSH8IqIjvlMf42h8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_YaPMqmr7sNmSH8IqIjvlMf42h8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_YaPMqmr7sNmSH8IqIjvlMf42h8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--goal--&lt;/span&gt;&lt;br /&gt;
make subdomain trafik statistik&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--install--&lt;/span&gt;&lt;br /&gt;
run this command :&lt;br /&gt;
&lt;pre class="brush: bash"&gt;sudo apt-get install webalizer&lt;/pre&gt;edit "/etc/apache2/apache2.conf" , set&lt;br /&gt;
&lt;pre class="brush: bash"&gt;HostnameLookups Off &lt;/pre&gt;into :&lt;br /&gt;
&lt;pre class="brush: bash"&gt;HostnameLookups On &lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--1--&lt;/span&gt;&lt;br /&gt;
All we need is already prepared, now set log of vhost in "/etc/apache2/sites-enabled" to spesifict folder.&lt;br /&gt;
&lt;pre class="brush: bash"&gt;exp. $sudo vi /etc/apache2/sites-enabled/monitor
CustomLog ${APACHE_LOG_DIR}/access.log
into:
CustomLog ${APACHE_LOG_DIR}/vhost/monitor/access.log&lt;/pre&gt;restart service &lt;br /&gt;
&lt;pre class="brush: bash"&gt;$sudo /etc/init.d/apache2 restart&lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--2--&lt;/span&gt;&lt;br /&gt;
create another file config of webalizer in /etc/webalizer&lt;br /&gt;
exp. vi /etc/webalier/monitor.conf&lt;br /&gt;
set the LogFile to apache2 logfile:&lt;br /&gt;
&lt;pre class="brush: bash"&gt;LogFile /var/log/apache2/vhost/monitor/access.log # apache log
OutputDir /var/webalizer/monitor/     #webalizer report
Incremental     yes
ReportTitle Usage statistics for
HostName monitor.brekele.co.cc &lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--3--&lt;/span&gt;&lt;br /&gt;
create script to run webalizer via crontab&lt;br /&gt;
exp. vi /etc/webalizer/cron_job&lt;br /&gt;
&lt;pre class="brush: bash"&gt;#!/bin/bash

echo "di jalankan pada: `date +"%d-%B-%Y  %r"` " &amp;gt; /etc/webalizer/log
for i in /etc/webalizer/*.conf; do webalizer -c $i ; done&amp;nbsp;
#will run all *.conf file of webalizer config&lt;/pre&gt;and add to crontab&lt;br /&gt;
crontab -e&lt;br /&gt;
&lt;pre class="brush: bash"&gt;*/3 * * * *     root    /etc/webalizer/cron_job &amp;gt; /dev/null
#sesuakan dengan jam anda :D

&lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--test &amp;amp; jajal--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-DfyPLVQ6vwY/TfXriURACvI/AAAAAAAAAYI/jTmA2jGslXc/s1600/blog.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="326" src="http://4.bp.blogspot.com/-DfyPLVQ6vwY/TfXriURACvI/AAAAAAAAAYI/jTmA2jGslXc/s400/blog.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-8489306747457473362?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-14T10:17:53.789+07:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/-DfyPLVQ6vwY/TfXriURACvI/AAAAAAAAAYI/jTmA2jGslXc/s72-c/blog.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/06/webalizer-statistik-trafikkunjungan-web.html</feedburner:origLink></item><item><title>my Desktop ~ ubuntu 10.10</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/-pDel8oheDc/my-desktop-ubuntu-1010.html</link><category>Desktop</category><category>compiz</category><category>ubuntu</category><category>customize</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Tue, 26 Apr 2011 02:13:14 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-8993497269369168883</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Xv2dOSO27T4uXTvbfvshFjeeczc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Xv2dOSO27T4uXTvbfvshFjeeczc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Xv2dOSO27T4uXTvbfvshFjeeczc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Xv2dOSO27T4uXTvbfvshFjeeczc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;just wanna share, this is may desktop :D:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-xrHH124GkGw/TbaMaV8eHvI/AAAAAAAAAXY/oeWcfPnOcO0/s1600/Screenshot-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="226" src="http://4.bp.blogspot.com/-xrHH124GkGw/TbaMaV8eHvI/AAAAAAAAAXY/oeWcfPnOcO0/s400/Screenshot-1.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-8993497269369168883?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-26T16:13:14.330+07:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/-xrHH124GkGw/TbaMaV8eHvI/AAAAAAAAAXY/oeWcfPnOcO0/s72-c/Screenshot-1.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/04/my-desktop-ubuntu-1010.html</feedburner:origLink></item><item><title>list directori on NginX</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/ydpmksTOBb8/list-directori-on-nginx_07.html</link><category>nGinX</category><category>ubuntu</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Mon, 13 Jun 2011 19:39:10 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-7519549015572272171</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/e14GDQaD25-sfJHK2zF23qMziYk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e14GDQaD25-sfJHK2zF23qMziYk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/e14GDQaD25-sfJHK2zF23qMziYk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e14GDQaD25-sfJHK2zF23qMziYk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;-- goal --&lt;/span&gt;&lt;br /&gt;
we can list a directory under web root folder&lt;br /&gt;
&lt;br /&gt;
-&lt;span class="Apple-style-span" style="color: #274e13;"&gt;- 1 --&lt;/span&gt;&lt;br /&gt;
edit&amp;nbsp;/etc/nginx/sites-enabled/default&lt;br /&gt;
&lt;pre class="brush: js"&gt;sudo vi /etc/nginx/sites-enabled/default&lt;/pre&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;-- 2 --&lt;/span&gt;&lt;br /&gt;
add this following config :&lt;br /&gt;
&lt;pre class="brush: js"&gt;server {

        listen   80; ## listen for ipv4
        listen   [::]:80 default ipv6only=on; ## listen for ipv6
        server_name  localhost;
        autoindex on;         # add this to your config
        access_log  /var/log/nginx/localhost.access.log;
&lt;/pre&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;--3--&lt;/span&gt;&lt;br /&gt;
then restart your services:&lt;br /&gt;
&lt;pre class="brush: js"&gt;sakti@sakti-sama:~$ sudo /etc/init.d/nginx restart
Restarting nginx: nginx..
&lt;/pre&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;-- test&amp;amp;jajal --&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-xRwUiP0york/TZ0twPPHNNI/AAAAAAAAAXU/sMdrAmGE8FU/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="180" src="http://2.bp.blogspot.com/-xRwUiP0york/TZ0twPPHNNI/AAAAAAAAAXU/sMdrAmGE8FU/s320/Screenshot.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-7519549015572272171?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-14T09:39:10.662+07:00</app:edited><media:thumbnail url="http://2.bp.blogspot.com/-xRwUiP0york/TZ0twPPHNNI/AAAAAAAAAXU/sMdrAmGE8FU/s72-c/Screenshot.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/04/list-directori-on-nginx_07.html</feedburner:origLink></item><item><title>blok domain dengan bind</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/B06GyjSAd-E/blok-domain-dengan-bind.html</link><category>DNS</category><category>firewall</category><category>Tips n Tips</category><category>Bind</category><category>ubuntu</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Fri, 25 Mar 2011 01:37:03 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-5225691166878598673</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nreatgbwlTGRKiTJLTS0iil0imY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nreatgbwlTGRKiTJLTS0iil0imY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nreatgbwlTGRKiTJLTS0iil0imY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nreatgbwlTGRKiTJLTS0iil0imY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://blog.hostguin.com/wp-content/uploads/2010/06/web-design.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://blog.hostguin.com/wp-content/uploads/2010/06/web-design.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-size: xx-small;"&gt;&lt;i&gt;&amp;nbsp;nb: mungkin dah ada yang publish, tetapi ini berdasar pengalaman pribadi ( dah lama cuman baru mod nulisnya :D )&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #274e13;"&gt;--goal--&lt;/div&gt;intinya adalah untuk mem- blok domain yang kita inginkan sehingga user tidak bisa meng- akses.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #274e13;"&gt;--peralatan--&lt;/div&gt;peralatan yang perlu disiapkan antaralain :&lt;br /&gt;
- secangkir kopi&lt;br /&gt;
- cemilan apa aja ( rilex can be fun :D )&lt;br /&gt;
- &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;http://dns-bh.sagadc.org/files/spywaredomains.zones&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;i&gt;*sesuaikan letak file zone nya dengan file zone settingan anda&lt;/i&gt;&lt;br /&gt;
- bind sudah ter-install dengan baik di server(gateway). intinya, ready to use.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #274e13;"&gt;--1--&lt;/div&gt;tambahkan pada file /etc/bind/named.conf.local &lt;br /&gt;
&lt;pre class="brush: js"&gt;include "/etc/bind/spywaredomains.zones";
&lt;/pre&gt;&lt;div style="color: #274e13;"&gt;&lt;br /&gt;
--2--&lt;/div&gt;restart bind anda :&lt;br /&gt;
&lt;pre class="brush: js"&gt;/etc/init.d/bind9 restart
&lt;/pre&gt;&lt;div style="color: #274e13;"&gt;&lt;br /&gt;
--cek n jajal--&lt;/div&gt;&lt;pre class="brush: js"&gt;root@traficmng# nslookup facebook.com
Server:  192.168.1.112
Address: 192.168.1.112#53

Name: facebook.com
Address: 192.168.1.112
&lt;/pre&gt;&lt;span style="font-size: x-small;"&gt;NB: - facebook.com sudah inputkan dalam file spywaredomains.zones.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;- Uji coba pada kubuntu 10.04 :D&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #274e13;"&gt;&lt;span style="font-size: x-small;"&gt;--saran--&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: x-small;"&gt;bisa di gabung dengan crontab atau yang script lain, untuk penjadwalan jam berapa saja domain di block :D&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;have fun.. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-5225691166878598673?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-25T15:37:03.797+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/03/blok-domain-dengan-bind.html</feedburner:origLink></item><item><title>Set Up manual ip address in kubuntu</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/4Y2ErrqXPlE/set-up-manual-ip-address-in-kubuntu.html</link><category>network</category><category>Linux</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Thu, 24 Feb 2011 18:58:28 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-390585708176279255</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2SuFK0wfEQVjHQIkQXucV9K_KGk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2SuFK0wfEQVjHQIkQXucV9K_KGk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2SuFK0wfEQVjHQIkQXucV9K_KGk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2SuFK0wfEQVjHQIkQXucV9K_KGk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_86irJecH11M/TS20flwDfHI/AAAAAAAAAAs/EKLkpqVKcH0/s1600/etiqueta_kubuntu3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/_86irJecH11M/TS20flwDfHI/AAAAAAAAAAs/EKLkpqVKcH0/s320/etiqueta_kubuntu3.png" width="213" /&gt;&lt;/a&gt;&lt;/div&gt;Do the following things to get kubuntu connection working :&lt;br /&gt;
&lt;div style="color: #274e13;"&gt;1) Disable Network Manager:&lt;/div&gt;&lt;pre class="brush: js"&gt;sudo update-rc.d -f NetworkManager remove
sudo apt-get remove network-manage&lt;/pre&gt;&lt;div style="color: #274e13;"&gt;2) Edit /etc/network/interfaces:&lt;/div&gt;&lt;pre class="brush: js"&gt;auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.2.2
netmask 255.255.255.0
gateway 192.168.2.1
dns-domain 192.168.2.1&lt;/pre&gt;&lt;div style="color: #274e13;"&gt;3) Edit /etc/resolv.conf:&lt;/div&gt;&lt;pre class="brush: js"&gt;domain Home
nameserver 192.168.2.1&lt;/pre&gt;&lt;div style="color: #274e13;"&gt;4) Restart networking:&lt;/div&gt;&lt;pre class="brush: js"&gt;sudo /etc/init.d/networking restart&lt;/pre&gt;Finally, test it with your own risk :D&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;source : &lt;span style="color: red;"&gt;ubuntu forum&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-390585708176279255?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-25T09:58:28.709+07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_86irJecH11M/TS20flwDfHI/AAAAAAAAAAs/EKLkpqVKcH0/s72-c/etiqueta_kubuntu3.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2011/02/set-up-manual-ip-address-in-kubuntu.html</feedburner:origLink></item><item><title>Disabling/Enabling startup of a service in Ubuntu</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/w019jNnFs2o/disablingenabling-startup-of-service-in.html</link><category>service</category><category>Linux</category><category>ubuntu</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Mon, 13 Jun 2011 00:27:14 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-8282185881041859392</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/3lpvWl27haREB17ljh18EasSaiI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3lpvWl27haREB17ljh18EasSaiI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/3lpvWl27haREB17ljh18EasSaiI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3lpvWl27haREB17ljh18EasSaiI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="color: #38761d;"&gt;-preparation-&lt;/div&gt;get a cup of coffee and some snacks to accompany you :D&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-goal-&lt;/div&gt;wee can disabled and enabled startup service on ubuntu&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_XdbfFWDnOZw/TQhBFMfCDFI/AAAAAAAAAVs/-KgPeERCLX8/s1600/service.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="251" src="http://3.bp.blogspot.com/_XdbfFWDnOZw/TQhBFMfCDFI/AAAAAAAAAVs/-KgPeERCLX8/s400/service.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-more info-&lt;/div&gt;&lt;br /&gt;
The procedure for disabling a service in Ubuntu is very simple: all you have to do is remove the symlinks from all the runlevel-specific directories, /etc/rc*.d, so that no links are pointing to the original /etc/init.d script for your service.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-for to do-&lt;/div&gt;This example below shows how a service called "bind9" was disabled on my system:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-for disabled-&lt;/div&gt;&lt;pre class="brush: js"&gt;root@traficmng:/home/momod# update-rc.d -f bind9 remove
 Removing any system startup links for /etc/init.d/bind9 ...
   /etc/rc0.d/K20bind9
   /etc/rc1.d/K20bind9
   /etc/rc2.d/S20bind9
   /etc/rc3.d/S20bind9
   /etc/rc4.d/S20bind9
   /etc/rc5.d/S20bind9
   /etc/rc6.d/K20bind9
&lt;/pre&gt;&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-for enabled-&lt;/div&gt;&lt;pre class="brush: js"&gt;root@traficmng:/home/momod# update-rc.d bind9 defaults
 Adding system startup for /etc/init.d/bind9 ...
   /etc/rc0.d/K20bind9 -&amp;gt; ../init.d/bind9
   /etc/rc1.d/K20bind9 -&amp;gt; ../init.d/bind9
   /etc/rc6.d/K20bind9 -&amp;gt; ../init.d/bind9
   /etc/rc2.d/S20bind9 -&amp;gt; ../init.d/bind9
   /etc/rc3.d/S20bind9 -&amp;gt; ../init.d/bind9
   /etc/rc4.d/S20bind9 -&amp;gt; ../init.d/bind9
   /etc/rc5.d/S20bind9 -&amp;gt; ../init.d/bind9
&lt;/pre&gt;&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-testing n checking-&lt;/div&gt;just tray on your computer/server for more practice and testing .. :D&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-nb-&lt;/div&gt;tested by me...  ^_^&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-8282185881041859392?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-13T14:27:14.267+07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_XdbfFWDnOZw/TQhBFMfCDFI/AAAAAAAAAVs/-KgPeERCLX8/s72-c/service.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/12/disablingenabling-startup-of-service-in.html</feedburner:origLink></item><item><title>script monitoring &amp; auto start service with bash script</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/xRfbSaAkNYE/script-monitoring-auto-start-service.html</link><category>Linux</category><category>bash script</category><category>monitoring</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Wed, 24 Nov 2010 19:14:45 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-7192982627065649160</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/N3JgsKDlh3Iz2u1zOZyJ-eEwD_0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/N3JgsKDlh3Iz2u1zOZyJ-eEwD_0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/N3JgsKDlh3Iz2u1zOZyJ-eEwD_0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/N3JgsKDlh3Iz2u1zOZyJ-eEwD_0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;masih mengacu pada artikel &lt;a href="http://underdarkonsole.blogspot.com/2010/07/mengetahui-proses-id-from-port-yang-di.html"&gt;sebelumnya ==&amp;gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-- Goal --&lt;/div&gt;untuk me-monitor-ing suatu service dalam hal ini lebih di khususkan pada "port", yang entah karena apa port tersebut mati, maka service akan di restart ulang ( ato kirim email ke juragan server untuk pemberitahuan ). &lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-- modal --&lt;/div&gt;cukup copy paster script dibawah ini. kasih akses execusi dan taruh di crontab. :D&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-- script --&lt;/div&gt;&lt;pre class="brush: js"&gt;#!/bin/bash

#brekele.inc .: underdarkonsole.blogspot.com:.
# ^_^
# GPL
# edit lah sesui kebutuhan 

TIMEOUT=1
ATTEMPT=2
RETRY=0
PORT_SERVER="80"
logtemp=/var/log/a
logFile=/var/log/brekele.log
if [ ! -e $logtemp ]; then
   echo "done" &amp;gt; $logtemp
fi

p=`cat $logtemp`

cekPORT() {

  i=1
  while [ $i -le $ATTEMPT ]
  do
    if ( lsof -w -n -i TCP:$1 &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 )
    then
        echo "ON"
        echo "done" &amp;gt; $logtemp
    break 1
    fi
    i=$((i+1))
    sleep 1
  done
  RETRY=$i
}

loging() {
echo "`date +"%d-%B-%Y  %r"` Port server mati" &amp;gt;&amp;gt; $logFile
#tambahkan script lain sesuai kebutuhan seperti kirim email ato kalo dah suport sms gateway bisa kirim sms :D
/etc/init.d/httpd restart
}

cekPORT $PORT_SERVER

if [ $RETRY -gt $ATTEMPT ]
then
echo "OFF"
if [ "$p" = done ]
        then
        echo " loging "
        loging
        echo "not_done" &amp;gt; $logtemp
fi
fi

&lt;/pre&gt;&lt;div style="color: #38761d;"&gt;-- cek &amp;amp; jajal --&lt;/div&gt;&lt;br /&gt;
untuk percobaan silahkan di coba sendiri sendiri,bisa di taruh di crontab ato bikin script PHP nya :D&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_XdbfFWDnOZw/TNeTzjYT5EI/AAAAAAAAAVo/mv5ItDiHiCc/s1600/cekport.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="218" src="http://4.bp.blogspot.com/_XdbfFWDnOZw/TNeTzjYT5EI/AAAAAAAAAVo/mv5ItDiHiCc/s320/cekport.JPG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-1062859545893222";
/* 468x60, created 11/24/10 */
google_ad_slot = "5050256175";
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-7192982627065649160?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-25T10:14:45.143+07:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/_XdbfFWDnOZw/TNeTzjYT5EI/AAAAAAAAAVo/mv5ItDiHiCc/s72-c/cekport.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/11/script-monitoring-auto-start-service.html</feedburner:origLink></item><item><title>NginX redirect http url to https url</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/DJohe67Pmyw/nginx-redirect-http-url-to-https-url.html</link><category>Linux</category><category>nGinX</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Wed, 08 Dec 2010 20:14:18 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-3497537649130468665</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6ua862rnt8_6m9wiqpG2mf-qzYU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6ua862rnt8_6m9wiqpG2mf-qzYU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6ua862rnt8_6m9wiqpG2mf-qzYU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6ua862rnt8_6m9wiqpG2mf-qzYU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;--more info--&lt;/span&gt;&lt;br /&gt;
see other info on&amp;nbsp;&lt;a href="http://nginx.org/"&gt;http://nginx.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #274e13;"&gt;--knowing issue--&lt;/span&gt;&lt;br /&gt;
it is assumed that &lt;b&gt;nginx&lt;/b&gt; is installed perfectly and &lt;b&gt;https&lt;/b&gt;&amp;nbsp;config is ready&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #274e13;"&gt;--1--&lt;/span&gt;&lt;br /&gt;
open your nginx configuration&lt;br /&gt;
&lt;pre class="brush: js"&gt;# vi /usr/local/nginx/conf/nginx.conf 
&lt;/pre&gt;take a look on this config&lt;br /&gt;
&lt;pre class="brush: js"&gt;server {
        listen       80;
        server_name 192.168.1.152;
        #charset koi8-r;
        #access_log  logs/host.access.log  main;
        location / {
        rewrite ^/aku(.*) https://192.168.1.152/aku$1 permanent;
            root   html;
            index  index.html index.htm;
       }
&lt;/pre&gt;on the red line is the configuration. add that config to your configuration file&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;--check n jajal --&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_XdbfFWDnOZw/THt2b09vEAI/AAAAAAAAAUo/a1HKwC2HwoI/s1600/nginx1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="122" src="http://4.bp.blogspot.com/_XdbfFWDnOZw/THt2b09vEAI/AAAAAAAAAUo/a1HKwC2HwoI/s400/nginx1.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_XdbfFWDnOZw/THt2dK1tySI/AAAAAAAAAUw/gVYbBcIc27Y/s1600/nginx2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="167" src="http://3.bp.blogspot.com/_XdbfFWDnOZw/THt2dK1tySI/AAAAAAAAAUw/gVYbBcIc27Y/s400/nginx2.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_XdbfFWDnOZw/THt2eShxjNI/AAAAAAAAAU4/3ioppkKYIac/s1600/nginx3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="130" src="http://4.bp.blogspot.com/_XdbfFWDnOZw/THt2eShxjNI/AAAAAAAAAU4/3ioppkKYIac/s400/nginx3.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: #660000;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;source :&amp;nbsp;&lt;a href="http://185f98af.linkgalleries.net/"&gt;http://markmail.org&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-1062859545893222";
/* 468x60, created 12/8/10 */
google_ad_slot = "4416933264";
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-3497537649130468665?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-09T11:14:18.762+07:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/_XdbfFWDnOZw/THt2b09vEAI/AAAAAAAAAUo/a1HKwC2HwoI/s72-c/nginx1.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/08/nginx-redirect-http-url-to-https-url.html</feedburner:origLink></item><item><title>Mengetahui proses ID from port yang di buka</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/fDG-viumZZA/mengetahui-proses-id-from-port-yang-di.html</link><category>Tips n Tips</category><category>Linux</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Wed, 24 Nov 2010 19:14:05 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-9005000216639338514</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9HNUvehajurdlicOBBHfn_fwksU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9HNUvehajurdlicOBBHfn_fwksU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9HNUvehajurdlicOBBHfn_fwksU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9HNUvehajurdlicOBBHfn_fwksU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="color: #38761d;"&gt;--base--&lt;/div&gt;&lt;br /&gt;
Untuk mengetahui suatu proses yang sedang berjalan, dalam linux kita bisa mengetahuinya dengan command "ps". Akan tetapi bagaimana jika kita ingin mematikan suatu proses tetapi kita hanya tahu port yang di buka oleh port tersebut.&lt;br /&gt;
Berikut singkatnya&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;--1--&lt;/div&gt;Sebagai contoh dengan nmap kita melihat data sebagai berikut&lt;br /&gt;
[root@database1 bin]# nmap localhost&lt;br /&gt;
&lt;br /&gt;
Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2010-07-22 14:50 WIT&lt;br /&gt;
Interesting ports on database1 (127.0.0.1):&lt;br /&gt;
(The 1642 ports scanned but not shown below are in state: closed)&lt;br /&gt;
PORT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATE SERVICE&lt;br /&gt;
22/tcp&amp;nbsp;&amp;nbsp; open&amp;nbsp; ssh&lt;br /&gt;
25/tcp&amp;nbsp;&amp;nbsp; open&amp;nbsp; smtp&lt;br /&gt;
111/tcp&amp;nbsp; open&amp;nbsp; rpcbind&lt;br /&gt;
631/tcp&amp;nbsp; open&amp;nbsp; ipp&lt;br /&gt;
3306/tcp open&amp;nbsp; mysql&lt;br /&gt;
8009/tcp open&amp;nbsp; ajp13&lt;br /&gt;
8080/tcp open&amp;nbsp; http-proxy&lt;br /&gt;
&lt;span style="color: #cc0000;"&gt;8082/tcp open&amp;nbsp; blackice-alerts&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;--2--&lt;/div&gt;misal kita ingin mematikan proses untuk port 8082&lt;br /&gt;
[root@database1 bin]# lsof -w -n -i tcp:8082&lt;br /&gt;
COMMAND&amp;nbsp;&amp;nbsp; PID USER&amp;nbsp;&amp;nbsp; FD&amp;nbsp;&amp;nbsp; TYPE DEVICE SIZE NODE NAME&lt;br /&gt;
java&amp;nbsp;&amp;nbsp;&amp;nbsp; 20131 root&amp;nbsp;&amp;nbsp; 75u&amp;nbsp; IPv6 769223&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TCP *:8082 (LISTEN)&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;--selanjut nya--&lt;/div&gt;terserah anda bisa di kill ato di liatin doang&lt;br /&gt;
:D&lt;br /&gt;
&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-1062859545893222";
/* 468x60, created 11/24/10 */
google_ad_slot = "5050256175";
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;--ceck n jajal --&lt;/div&gt;&lt;br /&gt;
[root@database1 bin]# kill -9 20131&lt;br /&gt;
&lt;br /&gt;
[root@database1 bin]# nmap localhost&lt;br /&gt;
&lt;br /&gt;
Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2010-07-22 14:50 WIT&lt;br /&gt;
Interesting ports on database1 (127.0.0.1):&lt;br /&gt;
(The 1643 ports scanned but not shown below are in state: closed)&lt;br /&gt;
PORT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATE SERVICE&lt;br /&gt;
22/tcp&amp;nbsp;&amp;nbsp; open&amp;nbsp; ssh&lt;br /&gt;
25/tcp&amp;nbsp;&amp;nbsp; open&amp;nbsp; smtp&lt;br /&gt;
111/tcp&amp;nbsp; open&amp;nbsp; rpcbind&lt;br /&gt;
631/tcp&amp;nbsp; open&amp;nbsp; ipp&lt;br /&gt;
3306/tcp open&amp;nbsp; mysql&lt;br /&gt;
8009/tcp open&amp;nbsp; ajp13&lt;br /&gt;
8080/tcp open&amp;nbsp; http-proxy&lt;br /&gt;
&lt;br /&gt;
Nmap run completed -- 1 IP address (1 host up) scanned in 0.214 seconds&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-9005000216639338514?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-25T10:14:05.124+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/07/mengetahui-proses-id-from-port-yang-di.html</feedburner:origLink></item><item><title>Clear The Cache  From Memory ubuntu linux</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/cB12OX6qUM0/clear-cache-from-memory-ubuntu-linux.html</link><category>Tips n Tips</category><category>Linux</category><category>ubuntu</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Sat, 17 Jul 2010 20:47:30 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-613856022624598555</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/pP2wHCFRMtQ8SPkasgoExQRHTyU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pP2wHCFRMtQ8SPkasgoExQRHTyU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/pP2wHCFRMtQ8SPkasgoExQRHTyU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pP2wHCFRMtQ8SPkasgoExQRHTyU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="color: #38761d;"&gt;---musabab--&lt;/div&gt;&lt;br /&gt;
&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;lack of RAM memory for some people who have little RAM, might become problematic  in linux. on &lt;/span&gt;&lt;span style="background-color: #ebeff9;" title=""&gt;linux technology, cache of memory&amp;nbsp; that store in RAM can also make a system&amp;nbsp;  provide an unoptimal response. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;And this happened to me: D&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
soo... what should we do now......&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #38761d;"&gt;--1--&lt;/div&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;let's  check the memory usage &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@tH3-unD3r:/home/game# free -m&lt;br /&gt;
total       used       free     shared    buffers     cached&lt;br /&gt;
Mem:           497        482         15          0         45        180&lt;br /&gt;
-/+ buffers/cache:        256        240&lt;br /&gt;
Swap:         1004         18        985&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;--2--&lt;/div&gt;then run this command&lt;br /&gt;
&lt;br /&gt;
root@tH3-unD3r:/home/game# sync; echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;--check n jajal--&lt;/div&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;and see  the results&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_XdbfFWDnOZw/TEJyd9iNrkI/AAAAAAAAAUg/cYDAdDYnJME/s1600/snapshot1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="272" src="http://1.bp.blogspot.com/_XdbfFWDnOZw/TEJyd9iNrkI/AAAAAAAAAUg/cYDAdDYnJME/s400/snapshot1.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;&lt;span style="font-size: x-small;"&gt;tested by mee on xubuntu linux 10.04 LTS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-613856022624598555?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-18T10:47:30.257+07:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/_XdbfFWDnOZw/TEJyd9iNrkI/AAAAAAAAAUg/cYDAdDYnJME/s72-c/snapshot1.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/07/clear-cache-from-memory-ubuntu-linux.html</feedburner:origLink></item><item><title>setting snmpd di ubuntu n enterprise linux</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/UazrL0DAjZQ/setting-snmpd-di-ubuntu-n-enterprise.html</link><category>network</category><category>snmp</category><category>Linux</category><category>monitoring</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Tue, 20 Jul 2010 00:15:36 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-4277823513594720150</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/pLZmHEGaoO23ADlGwB54SmYDxwA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pLZmHEGaoO23ADlGwB54SmYDxwA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/pLZmHEGaoO23ADlGwB54SmYDxwA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pLZmHEGaoO23ADlGwB54SmYDxwA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="color: #38761d;"&gt;-- info --&lt;/div&gt;&lt;br /&gt;
take a look on &lt;a href="http://en.wikipedia.org/wiki/Snmp"&gt;here&lt;/a&gt; to gain more  experiance about it... :D&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-- 1 --&lt;/div&gt;first step all you have to do is preparation the software what is needed. on the way i will split it into 2 way, ubuntu and enterprise way.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-- ubuntu way --&lt;/div&gt;install it with &lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;$ sudo apt-get install snmpd snmp&lt;/div&gt;&lt;br /&gt;
make backup and edit file snmp.conf&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;#mv /etc/snmp/snmp.conf  /etc/snmp/snmp.conf_old&lt;br /&gt;
#vi /etc/snmp/snmp.conf&lt;br /&gt;
this is the sample config of snmp.conf&lt;br /&gt;
&lt;br /&gt;
# First, map the community name (COMMUNITY) into a security name&lt;br /&gt;
# (local and mynetwork, depending on where the request is coming&lt;br /&gt;
# from):&lt;br /&gt;
&lt;br /&gt;
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sec.name&amp;nbsp; source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; community&lt;br /&gt;
com2sec local&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public&lt;br /&gt;
com2sec localNet&amp;nbsp; 192.168.1.0/24&amp;nbsp;&amp;nbsp; public&lt;br /&gt;
com2sec localhost localhost&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public&lt;br /&gt;
#com2sec readonly&amp;nbsp; default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public&lt;br /&gt;
#com2sec readwrite default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private&lt;br /&gt;
&lt;br /&gt;
####&lt;br /&gt;
# Second, map the security names into group names:&lt;br /&gt;
&lt;br /&gt;
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sec.model&amp;nbsp; sec.name&lt;br /&gt;
group MyROSystem v1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; local&lt;br /&gt;
group MyROSystem v2c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; local&lt;br /&gt;
group MyROSystem usm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; local&lt;br /&gt;
group MyROGroup v1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localNet&lt;br /&gt;
group MyROGroup v2c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localNet&lt;br /&gt;
group MyROGroup usm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localNet&lt;br /&gt;
group MyRWGroup v1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; local&lt;br /&gt;
group MyRWGroup v2c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; local&lt;br /&gt;
group MyRWGroup usm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; local&lt;br /&gt;
&lt;br /&gt;
####&lt;br /&gt;
# Third, create a view for us to let the groups have rights to:&lt;br /&gt;
&lt;br /&gt;
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; incl/excl subtree&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mask&lt;br /&gt;
view all&amp;nbsp;&amp;nbsp;&amp;nbsp; included&amp;nbsp; .1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80&lt;br /&gt;
view system included&amp;nbsp; .1.3.6.1.2.1.1&lt;/div&gt;&lt;br /&gt;
also edit file /etc/default/snmpd &lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;# This file controls the activity of snmpd and snmptrapd&lt;br /&gt;
&lt;br /&gt;
# MIB directories.&amp;nbsp; /usr/share/snmp/mibs is the default, but&lt;br /&gt;
# including it here avoids some strange problems.&lt;br /&gt;
export MIBDIRS=/usr/share/snmp/mibs&lt;br /&gt;
&lt;br /&gt;
# snmpd control (yes means start daemon).&lt;br /&gt;
SNMPDRUN=yes&lt;br /&gt;
&lt;br /&gt;
# snmpd options (use syslog, close stdin/out/err).&lt;br /&gt;
#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'&lt;br /&gt;
&lt;span style="color: red;"&gt;SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'&lt;/span&gt;&lt;br /&gt;
# snmptrapd control (yes means start daemon).&amp;nbsp; As of net-snmp version&lt;br /&gt;
# 5.0, master agentx support must be enabled in snmpd before snmptrapd&lt;br /&gt;
# can be run.&amp;nbsp; See snmpd.conf(5) for how to do this.&lt;br /&gt;
TRAPDRUN=no&lt;br /&gt;
&lt;br /&gt;
# snmptrapd options (use syslog).&lt;br /&gt;
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'&lt;br /&gt;
&lt;br /&gt;
# create symlink on Debian legacy location to official RFC path&lt;br /&gt;
SNMPDCOMPAT=yes&lt;/div&gt;and restart service&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;/etc/init.d/snmpd restart&lt;/div&gt;&lt;div style="color: #38761d;"&gt;&lt;br /&gt;
-- enterprise way --&lt;/div&gt;install it using&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;# yum install net-snmp net-snmp-utils net-snmp-devel&lt;/div&gt;make backup and edit file snmp.conf&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;#mv /etc/snmp/snmp.conf /etc/snmp/snmp.conf_old&lt;br /&gt;
#vi /etc/snmp/snmp.conf&lt;/div&gt;this is a sample of snmp.conf&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;rocommunity&amp;nbsp; public&lt;br /&gt;
syslocation&amp;nbsp; "monitor DataCenter"&lt;br /&gt;
syscontact&amp;nbsp; sakti.dwi@localhost&lt;br /&gt;
com2sec notConfigUser default public&lt;br /&gt;
group notConfigGroup v1 notConfigUser&lt;br /&gt;
group notConfigGroup v2c notConfigUser&lt;br /&gt;
view systemview included .1.3.6.1.2.1.1&lt;br /&gt;
view systemview included .1.3.6.1.2.1.25.1.1&lt;br /&gt;
com2sec mynetwork 192.168.1.0/24 mycommunity&lt;br /&gt;
group MyRWGroup v2c local&lt;br /&gt;
group MyROGroup v2c mynetwork&lt;br /&gt;
group MyRWGroup v2c otherv3user&lt;br /&gt;
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
access MyROGroup "" any noauth 0 all none none&lt;br /&gt;
access MyRWGroup "" any noauth prefix all all all&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
com2sec notConfigUser default public&lt;br /&gt;
com2sec notConfigUser default public&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
group notConfigGroup v1 notConfigUser&lt;br /&gt;
group notConfigGroup v2c notConfigUser&lt;/div&gt;&lt;br /&gt;
and restart service&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;&amp;nbsp;/etc/init.d/snmpd restart&lt;/div&gt;&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-- cek n jajal --&lt;/div&gt;run this command&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;#snmpwalk -Os -c public -v 1 192.168.1.212 system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sysDescr.0 = STRING: Linux localhost.localdomain 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686&lt;br /&gt;
sysObjectID.0 = OID: netSnmpAgentOIDs.10&lt;br /&gt;
sysUpTimeInstance = Timeticks: (925895) 2:34:18.95&lt;br /&gt;
sysContact.0 = STRING: sakti.dwi@localhost&lt;br /&gt;
sysName.0 = STRING: localhost.localdomain&lt;br /&gt;
sysLocation.0 = STRING: "monitor DataCenter"&lt;br /&gt;
sysORLastChange.0 = Timeticks: (17) 0:00:00.17&lt;br /&gt;
sysORID.1 = OID: snmpFrameworkMIBCompliance&lt;br /&gt;
sysORID.2 = OID: snmpMPDCompliance&lt;br /&gt;
sysORID.3 = OID: usmMIBCompliance&lt;br /&gt;
sysORID.4 = OID: snmpMIB&lt;br /&gt;
sysORID.5 = OID: tcpMIB&lt;br /&gt;
sysORID.6 = OID: ip&lt;br /&gt;
sysORID.7 = OID: udpMIB&lt;br /&gt;
sysORID.8 = OID: vacmBasicGroup&lt;br /&gt;
sysORDescr.1 = STRING: The SNMP Management Architecture MIB.&lt;br /&gt;
sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.&lt;br /&gt;
sysORDescr.3 = STRING: The management information definitions for the SNMP User-based Security Model.&lt;br /&gt;
and so on&lt;/div&gt;this out put mean that snmpd is &lt;span style="color: red;"&gt;work&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-- other chek --&lt;/div&gt;this is monitoring tool that use snmp&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_XdbfFWDnOZw/TD1jVqn0mNI/AAAAAAAAATw/sFGrKFICF4E/s1600/snapshot2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_XdbfFWDnOZw/TD1jVqn0mNI/AAAAAAAAATw/sFGrKFICF4E/s320/snapshot2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-4277823513594720150?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-20T14:15:36.361+07:00</app:edited><media:thumbnail url="http://2.bp.blogspot.com/_XdbfFWDnOZw/TD1jVqn0mNI/AAAAAAAAATw/sFGrKFICF4E/s72-c/snapshot2.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/07/setting-snmpd-di-ubuntu-n-enterprise.html</feedburner:origLink></item><item><title>ssh tunnel on linux mechine</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/1GTEWCOcj3o/ssh-tunnel-on-linux-mecine.html</link><category>ssh.tunnel</category><category>network</category><category>Linux</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Mon, 13 Jun 2011 00:26:23 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-2310492688293213766</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/a67op4UvzfJCNCqERNsNmdPMG2E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/a67op4UvzfJCNCqERNsNmdPMG2E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/a67op4UvzfJCNCqERNsNmdPMG2E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/a67op4UvzfJCNCqERNsNmdPMG2E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="color: #38761d;"&gt;-- pertama --&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
base on tunneling on my &lt;a href="http://underdarkonsole.blogspot.com/2010/04/ssh-tunnels-with-putty.html"&gt;previous post&lt;/a&gt; ( if you wanna see it)&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;-- next --&lt;/span&gt;&lt;br /&gt;
in my case, how to tunnel ssh connection is a must. ans this is the story..&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;-- basically --&lt;/span&gt;&lt;br /&gt;
all you need to know is the right formula. n the formula is &lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: courier, verdana, sans-serif; font-size: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="gri" style="background-color: silver; font: 12pt courier,verdana,sans-serif; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ssh -L localport:host:hostport user@ssh_server &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;-- on check n jajal --&lt;/span&gt; &lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: courier, verdana, sans-serif; font-size: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="gri" style="background-color: silver; font: 12pt courier,verdana,sans-serif; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ssh -L 1122:1.2.3.4:22 user@brekele.inc &lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
the explanation is we make local port 1121. it redirect our connection to 1.2.3.4 on port 22 ( how simple it is)&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;--other option --&lt;/span&gt;&lt;br /&gt;
you can put -L more than one. maybe you wanna make tunnel to vnc port or another else&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: courier, verdana, sans-serif; font-size: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="gri" style="background-color: silver; font: 12pt courier,verdana,sans-serif; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ssh -L 1122:1.2.3.4:22 -L 1123:1.2.3.4:5901 user@brekele.inc&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: red; font-size: xx-small;"&gt;source : www.linuxhorizon.ro&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-2310492688293213766?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-13T14:26:23.436+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/07/ssh-tunnel-on-linux-mecine.html</feedburner:origLink></item><item><title>Block Desktop aplikasi dengan linux-firewall</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/-5Y3lIPW_oA/block-desktop-aplikasi-dengan-linux.html</link><category>firewall</category><category>Tips n Tips</category><category>Linux</category><category>iptables</category><category>ubuntu</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Mon, 13 Jun 2011 00:26:15 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-7360426920742162780</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/BY1GyeFfc6mYX1gBu7I22S_M7KA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BY1GyeFfc6mYX1gBu7I22S_M7KA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/BY1GyeFfc6mYX1gBu7I22S_M7KA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BY1GyeFfc6mYX1gBu7I22S_M7KA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="color: #38761d;"&gt;-- pRakata --&lt;/span&gt;&lt;br /&gt;
pembatasan suatu aplikasi untuk akses internet mungkin kadang di perlukan untuk pengamanan dan penghematan bandwidt. Dan berikut mungkin bisa menjadi alternativ tersendiri :D mari kita kemon....&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-- lEbih lanjut--&lt;/div&gt;untuk info lebih lanjut silahkan kunjungi situs &lt;a href="http://www.linux-firewall.org/"&gt;berikut &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-- 1 --&lt;/div&gt;download aplikasi nya pada situs diatas dan install... Karena base on ubuntu tinggal double klik aja dan klik install, reboot dan siap digunakan.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #38761d;"&gt;-- screenshoot --&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_XdbfFWDnOZw/TBrvm_aHHrI/AAAAAAAAATI/r6t-J-BU7og/s1600/Screenshot-Linux-Firewall.org.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_XdbfFWDnOZw/TBrvm_aHHrI/AAAAAAAAATI/r6t-J-BU7og/s320/Screenshot-Linux-Firewall.org.png" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_XdbfFWDnOZw/TBrvoUO0lII/AAAAAAAAATQ/UZEMIM-z6eg/s1600/Screenshot-Linux-Firewall.org-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_XdbfFWDnOZw/TBrvoUO0lII/AAAAAAAAATQ/UZEMIM-z6eg/s320/Screenshot-Linux-Firewall.org-1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_XdbfFWDnOZw/TBrvql6kEkI/AAAAAAAAATY/NMTpULD3yWc/s1600/Screenshot-Linux-Firewall.org-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_XdbfFWDnOZw/TBrvql6kEkI/AAAAAAAAATY/NMTpULD3yWc/s320/Screenshot-Linux-Firewall.org-2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_XdbfFWDnOZw/TBrvwkVEqvI/AAAAAAAAATg/PKEkVx-iYvg/s1600/Screenshot-Linux-Firewall.org-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_XdbfFWDnOZw/TBrvwkVEqvI/AAAAAAAAATg/PKEkVx-iYvg/s320/Screenshot-Linux-Firewall.org-3.png" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/_XdbfFWDnOZw/TBrvxw1BfnI/AAAAAAAAATo/b_CGlUJLQ9Y/s1600/Screenshot-pidgin.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_XdbfFWDnOZw/TBrvxw1BfnI/AAAAAAAAATo/b_CGlUJLQ9Y/s320/Screenshot-pidgin.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
selamat mencicipi&lt;br /&gt;
&lt;br /&gt;
sumber :&lt;br /&gt;
&lt;span style="color: #cc0000; font-size: x-small;"&gt;http://www.linux-firewall.org/&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-7360426920742162780?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-13T14:26:15.687+07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_XdbfFWDnOZw/TBrvm_aHHrI/AAAAAAAAATI/r6t-J-BU7og/s72-c/Screenshot-Linux-Firewall.org.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/06/block-desktop-aplikasi-dengan-linux.html</feedburner:origLink></item><item><title>setting mail di motorola ROKR E1 ( kirim dan terima yahoo mail dari hand phone )</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/s9MpXJ0kpPM/setting-mail-di-motorola-rokr-e1-kirim.html</link><category>ROKR E1</category><category>GPRS</category><category>mail</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Thu, 17 Jun 2010 02:02:09 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-3845677868432458061</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SLtsrDLvKN_zGTXKDsWxlpSLKdQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SLtsrDLvKN_zGTXKDsWxlpSLKdQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SLtsrDLvKN_zGTXKDsWxlpSLKdQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SLtsrDLvKN_zGTXKDsWxlpSLKdQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="color: #38761d;"&gt;-- perihal --&lt;/span&gt;&lt;br /&gt;
mAsih takjub dengan kemampuan ROKR E1 kesayangan, ternyata HP yang jadul ini mampu mengirim dan menerima email dari yahoo. saluuuutttttt...... !!!!!!!!!!!!!!!!!!&lt;br /&gt;
tak hanya bikin gatal di tangan untuk Modding HP ini lumayan juga tuk mail nya ( baru tau saya .. setelah setahun lebih menggunakan :D )&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;--1--&lt;/span&gt;&lt;br /&gt;
gak usah kepanjanga so langsung aja ke tahap installasi accoun nya :&lt;br /&gt;
&lt;span style="color: red;"&gt;yang penting settingan gprs nya dah berfungis dengan baik.&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;--2--&lt;/span&gt;&lt;br /&gt;
fasilitas email yang dulu saya kira tidak bisa di gunakan ternyata bisa juga di gunakan, dengan yahoo lagi yang free heheheheeeehhe berikut settingannya :&lt;br /&gt;
masuk ke &lt;strong&gt;menu message&lt;/strong&gt;, dari menu ini tekan &lt;strong&gt;tombol menu&lt;/strong&gt; untuk masuk ke dalam &lt;strong&gt;msg center&lt;/strong&gt; trus pilih &lt;strong&gt;email msg setup&lt;/strong&gt;.&lt;br /&gt;
Connection type : GPRS&lt;br /&gt;
Account setting &amp;nbsp;=&amp;gt; pilih menu ini ( ini yang perlu untuk di setting )&lt;br /&gt;
&lt;br /&gt;
* settingan pada Account setting :&lt;br /&gt;
Account Name : yahoo_id&lt;br /&gt;
status : aktive&lt;br /&gt;
Name : yahoo_id&lt;br /&gt;
User ID : yahoo_id ( account yahoo anda )&lt;br /&gt;
Password : yahoo_password ( pass yahoo anda )&lt;br /&gt;
Return Address : yahoo_mail ( email yahoo anda )&lt;br /&gt;
Email provider : custom&lt;br /&gt;
Protocol : IMAP4&lt;br /&gt;
Sending host : smtp.mobile.mail.yahoo.com&lt;br /&gt;
Sending port : 25&lt;br /&gt;
Receiving host : imap.n.mail.yahoo.com&lt;br /&gt;
Receiving port : 143&lt;br /&gt;
Cleanup : none ( sesuai selera )&lt;br /&gt;
save on server : yes ( sesuai selera )&lt;br /&gt;
Security ( biarkan default )&lt;br /&gt;
size restriction : 10240 ( sesuai selera)&lt;br /&gt;
Receive date range : none ( sesuai selera )&lt;br /&gt;
Attachments : None&lt;br /&gt;
&lt;br /&gt;
kemudian simpan dan mail pun siap di gunakan&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;-- cek n jajal --&lt;/span&gt;&lt;br /&gt;
silahkan lakukan send &amp;amp; receive untuk mencobanya .&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;-- dari hasil experiment --&lt;/span&gt;&lt;br /&gt;
email yang di receive hanya bisa yang berada pada folder inbox saja&lt;br /&gt;
karena pake gprs n gak ada wifi nya soo makan pulsa dah :-P&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;--tested by mee--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
semoga bermanfaat .. :D&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-3845677868432458061?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-17T16:02:09.922+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/06/setting-mail-di-motorola-rokr-e1-kirim.html</feedburner:origLink></item><item><title>load balancing network di Linux</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/W3PXCPbjXX8/load-balancing-network-di-linux.html</link><category>Linux</category><category>balancing</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Tue, 15 Jun 2010 22:00:27 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-8032054072399187555</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aOLF94rKZyE-GxvgDyyYT11bV0c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aOLF94rKZyE-GxvgDyyYT11bV0c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aOLF94rKZyE-GxvgDyyYT11bV0c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aOLF94rKZyE-GxvgDyyYT11bV0c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="color: #38761d;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #38761d;"&gt;-- sekilas info --&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: black;"&gt;untuk detail mengenai penjelasan load balancing bisa langsung ke &lt;a href="http://en.wikipedia.org/wiki/Load_balancing_(computing)"&gt;sini&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;&amp;nbsp;-- persiapan --&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: black;"&gt;&amp;nbsp;untuk menjadikan linux sebagai mesin loadbalancing, yang di butuhkan adalah software balancing. Software ini bisa di dapatkan di &lt;a href="http://www.inlab.de/balance.html"&gt;sini&lt;/a&gt;&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;--1--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
download &lt;a href="http://www.inlab.de/balance-3.52.tar.gz"&gt;balacer &lt;/a&gt;&amp;nbsp;, extrak kemudian install.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;# tar -zxvf balance-x.xx.tar.gz&lt;br /&gt;
# cd balance-x.xx&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;# make&lt;br /&gt;
# make install &lt;/code&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #38761d;"&gt;-- sample --&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
* Load balancing port 1500&lt;br /&gt;
balance -f 1500 192.168.1.71:1500 192.168.1.86:1500 &amp;amp;&lt;br /&gt;
opsi &amp;amp; di maksudkan untuk mengaktifkan mode background.&lt;br /&gt;
&lt;br /&gt;
moga bermanfaat&lt;br /&gt;
&lt;br /&gt;
sumber:&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="color: red;"&gt;http://www.inlab.de/balance.html&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-8032054072399187555?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-16T12:00:27.548+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/OpenSourceTips4You/~5/BYYaz9eR9rE/balance-3.52.tar.gz" fileSize="35029" type="application/x-gzip" /><itunes:explicit>yes</itunes:explicit><itunes:subtitle>&amp;nbsp;-- sekilas info -- untuk detail mengenai penjelasan load balancing bisa langsung ke sini &amp;nbsp;-- persiapan -- &amp;nbsp;untuk menjadikan linux sebagai mesin loadbalancing, yang di butuhkan adalah software balancing. Software ini bisa di dapatkan di sin</itunes:subtitle><itunes:author>sakti</itunes:author><itunes:summary>&amp;nbsp;-- sekilas info -- untuk detail mengenai penjelasan load balancing bisa langsung ke sini &amp;nbsp;-- persiapan -- &amp;nbsp;untuk menjadikan linux sebagai mesin loadbalancing, yang di butuhkan adalah software balancing. Software ini bisa di dapatkan di sini. --1-- download balacer &amp;nbsp;, extrak kemudian install. # tar -zxvf balance-x.xx.tar.gz # cd balance-x.xx&amp;nbsp; # make # make install -- sample -- * Load balancing port 1500 balance -f 1500 192.168.1.71:1500 192.168.1.86:1500 &amp;amp; opsi &amp;amp; di maksudkan untuk mengaktifkan mode background. moga bermanfaat sumber: http://www.inlab.de/balance.html&amp;nbsp;brekele.inc</itunes:summary><itunes:keywords>open,source,tips,4,you</itunes:keywords><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/06/load-balancing-network-di-linux.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/OpenSourceTips4You/~5/BYYaz9eR9rE/balance-3.52.tar.gz" length="35029" type="application/x-gzip" /><feedburner:origEnclosureLink>http://www.inlab.de/balance-3.52.tar.gz</feedburner:origEnclosureLink></item><item><title>IP n Port Redirection dengan iptables</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/Rd102nLNRY8/ip-n-port-redirection-dengan-iptables.html</link><category>network</category><category>Linux</category><category>iptables</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Sun, 23 May 2010 20:19:24 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-3479514035752753103</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tx6lhmVgzARnVYvIGMC0RUbIpps/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tx6lhmVgzARnVYvIGMC0RUbIpps/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tx6lhmVgzARnVYvIGMC0RUbIpps/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tx6lhmVgzARnVYvIGMC0RUbIpps/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--base--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Berdasar pengalaman karena hanya memiliki 1 ip publik dan banyak server di dalam nya yang harus di remote, maka tips ini dengan berhasil telah di uji cobakan by mee&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: #38761d;"&gt;--1--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Pakage yang perlu di persiapkan adalah iptables ( sudah ter install otomatis dalam kernel).&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--2--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
yang perlu di lakukan adalah membuat rule di iptables sebagai berikut :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;# &amp;nbsp;iptables -t nat -A PREROUTING &amp;nbsp;-i eth1 -p tcp --dport 3389 -j DNAT --to-destination 11.1.1.1:3389&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--testing n kerjanya--&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;perintah di atas akana meredirect akses yang masuk lewat eth1 dengan port 3389 ke ip&amp;nbsp;11.1.1.1 dengan port 3389&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;selamat mengembangkan :P&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-3479514035752753103?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-24T10:19:24.052+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/05/ip-n-port-redirection-dengan-iptables.html</feedburner:origLink></item><item><title>DNS BIND " view" - memisahkan source view client</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/UcO73C5be5E/dns-bind-view-memisahkan-source-view.html</link><category>DNS</category><category>multi platform</category><category>Bind</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Mon, 13 Jun 2011 00:25:39 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-7150613243355633895</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xaBiGpPFg1zmsS0DVCq7AHPOqhI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xaBiGpPFg1zmsS0DVCq7AHPOqhI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xaBiGpPFg1zmsS0DVCq7AHPOqhI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xaBiGpPFg1zmsS0DVCq7AHPOqhI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--perihal--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
( ngomong nya gimana ya .... ??? )h...m.... Berdasarkan kasus : untuk membedakan hasil resolve dari client yang berbeda. Yang intinya jika dari loclahost hasil resolv nya 192.168.1.2 jika dari network lain hasil resolv nya 1.1.1.234. Ataupun sebalik nya sesuai selera. ( tergantung kebutuhan pribadi masing masing )&lt;br /&gt;
&lt;br /&gt;
nb : dalam kasus ini saya memakai windows ;D&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--1--&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
download bind dari site nya :&amp;nbsp;http://www.isc.org/index.pl?/sw/bind/index.php&lt;br /&gt;
untuk installasi bisa mengarah ke &lt;a href="http://835f96a7.viraldatabase.com/"&gt;sini&lt;/a&gt;&lt;br /&gt;
download file sample konfigurasi ke &lt;a href="http://0a882c11.viraldatabase.com/"&gt;sini&lt;/a&gt;&lt;br /&gt;
setelah di download, simpan file sample configurasi ke dalam directory etc ( dalam kasus saya berada di directory : "C:\WINDOWS\dns\etc" )&lt;br /&gt;
file yang di butuhkan antara lain :&lt;br /&gt;
- named.conf&lt;br /&gt;
- rndc.key&lt;br /&gt;
- named.ca&lt;br /&gt;
- basiczone.com.zone&lt;br /&gt;
- 127.0.0.rev&lt;br /&gt;
-&amp;nbsp;basiczone.com.in ( untuk internal )&lt;br /&gt;
-&amp;nbsp;basiczone.com.ex ( untuk external )&lt;br /&gt;
&lt;br /&gt;
sekarang mari kita kemon....&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--2--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
yang perlu di perhatikan adalah config sebagai berikut&lt;br /&gt;
&lt;br /&gt;
untuk named.conf&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;options {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# Working directory from which all relative paths are based&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;directory "&lt;span class="Apple-style-span" style="color: red;"&gt;C:\WINDOWS\dns\etc&lt;/span&gt;";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;/div&gt;&lt;br /&gt;
dan settingan intinya berada pada bagian "view"&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;view "dalam" {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# Handler for clients who exist on our local subnet(s) or loopback.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;match-clients { &lt;span class="Apple-style-span" style="color: red;"&gt;localhost&lt;/span&gt;; };&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# Lookup requests we are not authoritative for.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;recursion yes;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# Specify the root name servers&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;zone "." IN {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type hint;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;file "named.ca";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# RFC 1537 recommended loopback zone, helps broken clients.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;zone "0.0.127.in-addr.arpa" IN {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type master;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;file "127.0.0.rev";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# The internal split for basiczone.com&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;zone "basiczone.com" IN {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type master;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;file "&lt;span class="Apple-style-span" style="color: red;"&gt;basiczone.com.in&lt;/span&gt;";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
####################################&lt;br /&gt;
# Authoritative Server Configuration&lt;br /&gt;
#&lt;br /&gt;
view "luar" {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# Handler for anyone that doesn't match the above.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;match-clients { &lt;span class="Apple-style-span" style="color: red;"&gt;192.168.1.0/24&lt;/span&gt;; any; };&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# We are not a public resolver.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;recursion no;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# Should BIND provide IP address information found in zones other than the&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# one that was queried? &amp;nbsp;Say yes if you trust the content of all of your&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# zones.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;additional-from-auth yes;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# Should BIND provide answers gotten from cache? &amp;nbsp;By saying no, you refuse&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# to provide answers for zones you're not authoritative for.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;additional-from-cache no;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# RFC 1537 recommended loopback zone, helps broken clients.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;zone "0.0.127.in-addr.arpa" IN {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type master;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;file "127.0.0.rev";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;# The external split for basiczone.com&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;zone "basiczone.com" IN {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type master;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;file "&lt;span class="Apple-style-span" style="color: red;"&gt;basiczone.com.ex&lt;/span&gt;";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;br /&gt;
};&lt;/div&gt;&lt;br /&gt;
singkatnya :&lt;br /&gt;
pada konfigurasi diatas di buat dua "view" dalam dan luar.&lt;br /&gt;
- view dalam match-clients nya adalah localhost yang berarti jika ada akses dari localhost maka yang di resolv menggunakan file&amp;nbsp;&lt;span class="Apple-style-span" style="color: #bf9000;"&gt;basiczone.com.in&lt;/span&gt;&lt;br /&gt;
- view luar match-clients nya adalah network 192.168.1.0/24 yang berarti jika ada akses dari network tersebut, maka file yang digunakan untuk meresolv adalah file&amp;nbsp;&lt;span class="Apple-style-span" style="color: #bf9000;"&gt;basiczone.com.ex&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
file &lt;span class="Apple-style-span" style="color: #bf9000;"&gt;basiczone.com.in&lt;/span&gt;&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;$TTL 900 &amp;nbsp;; 900 seconds default record (T)ime (T)o (L)ive in cache&lt;br /&gt;
; Authored by SilentRage&lt;br /&gt;
; Download Location:&lt;br /&gt;
; http://www.dollardns.net/bind/views/&lt;br /&gt;
@ &amp;nbsp;SOA ns ( &amp;nbsp;; ns.basiczone.com is the primary server for basiczone.com&lt;br /&gt;
&amp;nbsp;&amp;nbsp; postmaster ; contact email for basiczone.com is postmaster@basiczone.com&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 2004041700 ; Serial ID in reverse date format&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 21600 &amp;nbsp;; Refresh interval for slave servers&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 1800 &amp;nbsp;; Retry interval for slave servers&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 604800 &amp;nbsp;; Expire limit for cached info on slave servers&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 900 ) &amp;nbsp;; Minimum Cache TTL in zone records&lt;br /&gt;
&lt;br /&gt;
@ &amp;nbsp;NS ns &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;; ns.basiczone.com is a host for basiczone.com&lt;br /&gt;
@ &amp;nbsp;A 192.168.1.2 ; basiczone.com's IP address is 192.168.1.2&lt;br /&gt;
@ &amp;nbsp;MX 10 mail &amp;nbsp;; Mail for *@basiczone.com is sent to mail.basiczone.com&lt;br /&gt;
ns &amp;nbsp;A 192.168.1.1 ; ns1.basiczone.com's IP address is 192.168.1.1&lt;br /&gt;
mail &amp;nbsp;A 192.168.1.254 ; mail.basiczone.com's IP address is 192.168.1.3&lt;br /&gt;
www A 192.168.1.2 ; www.basiczone.com's IP address is 192.168.1.2 &lt;/div&gt;&lt;br /&gt;
file &lt;span class="Apple-style-span" style="color: #bf9000;"&gt;basiczone.com.ex&lt;/span&gt;&lt;br /&gt;
&lt;div style="border: 1px dashed rgb(255, 153, 0); font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 9px; text-align: left;"&gt;$TTL 900 &amp;nbsp;; 900 seconds default record (T)ime (T)o (L)ive in cache&lt;br /&gt;
; Authored by SilentRage&lt;br /&gt;
; Download Location:&lt;br /&gt;
; http://www.dollardns.net/bind/views/&lt;br /&gt;
&lt;br /&gt;
@ &amp;nbsp;SOA ns1 ( &amp;nbsp;; ns1.basiczone.com is the primary server for basiczone.com&lt;br /&gt;
&amp;nbsp;&amp;nbsp; postmaster ; contact email for basiczone.com is postmaster@basiczone.com&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 2004041700 ; Serial ID in reverse date format&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 21600 &amp;nbsp;; Refresh interval for slave servers&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 1800 &amp;nbsp;; Retry interval for slave servers&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 604800 &amp;nbsp;; Expire limit for cached info on slave servers&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 900 ) &amp;nbsp;; Minimum Cache TTL in zone records&lt;br /&gt;
&lt;br /&gt;
@ &amp;nbsp;NS ns1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;; ns1.basiczone.com is a host for basiczone.com&lt;br /&gt;
@ &amp;nbsp;A 1.1.1.234 &amp;nbsp;; basiczone.com's IP address is 123.45.6.2&lt;br /&gt;
@ &amp;nbsp;MX 10 mail &amp;nbsp;; Mail for *@basiczone.com is sent to mail.basiczone.com&lt;br /&gt;
ns1 &amp;nbsp;A 1.1.1.234 &amp;nbsp;; ns1.basiczone.com's IP address is 123.45.6.1&lt;br /&gt;
mail &amp;nbsp;A 1.1.1.234 &amp;nbsp;; mail.basiczone.com's IP address is 123.45.6.3&lt;br /&gt;
www A 1.1.1.234 &amp;nbsp;; www.basiczone.com's IP address is 123.45.6.2 &lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--testing n jajal--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
nslookup dari local komputer&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_XdbfFWDnOZw/S_Jef3Y3YBI/AAAAAAAAASI/KwqQWokenRA/s1600/local-ns.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="158" src="http://3.bp.blogspot.com/_XdbfFWDnOZw/S_Jef3Y3YBI/AAAAAAAAASI/KwqQWokenRA/s320/local-ns.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
nslookup dari net 192.168.1.227/24&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_XdbfFWDnOZw/S_JejjycFaI/AAAAAAAAASQ/6L7hD8IhuWY/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="157" src="http://3.bp.blogspot.com/_XdbfFWDnOZw/S_JejjycFaI/AAAAAAAAASQ/6L7hD8IhuWY/s320/Screenshot.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
sumber :&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;http://www.zytrax.com/books/dns/ch7/view.html&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-7150613243355633895?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-13T14:25:39.242+07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_XdbfFWDnOZw/S_Jef3Y3YBI/AAAAAAAAASI/KwqQWokenRA/s72-c/local-ns.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/05/dns-bind-view-memisahkan-source-view.html</feedburner:origLink></item><item><title>tcpdump monitoring Traffic Analysis</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/-oXYuDdJgNU/tcpdum-monitoring-traffic-analysis.html</link><category>network</category><category>Linux</category><category>tcpdump</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Tue, 11 May 2010 21:24:58 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-8192240730601850995</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SNzjnitQKOi74Tw6pNabiJlQ2Ew/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SNzjnitQKOi74Tw6pNabiJlQ2Ew/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SNzjnitQKOi74Tw6pNabiJlQ2Ew/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SNzjnitQKOi74Tw6pNabiJlQ2Ew/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;The tcpdump is simple command that dump traffic on a network. However, you need good understanding of TCP/IP protocol to utilize this tool. For.e.g to display traffic info about DNS, enter:&lt;br /&gt;
&lt;div style="border: 1px dashed #FF9900; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 10px; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;# tcpdump -i eth1 'udp port 53'&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
To display spesifik port&lt;br /&gt;
&lt;div style="border: 1px dashed #FF9900; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 10px; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;#&amp;nbsp;tcpdump -i eth1 dst port 8686&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;To display all IPv4 HTTP packets to and from port 80, i.e. print only packets that contain data, not, for example, SYN and FIN packets and ACK-only packets, enter:&lt;br /&gt;
&lt;div style="border: 1px dashed #FF9900; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 10px; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;# tcpdump 'tcp port 80 and (((ip[2:2] - ((ip[0]&amp;amp;0xf)&amp;lt;&amp;lt;2)) - ((tcp[12]&amp;amp;0xf0)&amp;gt;&amp;gt;2)) != 0)'&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
To display all FTP session to 202.54.1.5, enter:&lt;br /&gt;
&lt;div style="border: 1px dashed #FF9900; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 10px; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;# tcpdump -i eth1 'dst 202.54.1.5 and (port 21 or 20)'&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
To display all HTTP session to 192.168.1.5:&lt;br /&gt;
&lt;div style="border: 1px dashed #FF9900; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 10px; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;# tcpdump -ni eth0 'dst 192.168.1.5 and tcp and port http'&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Use wireshark to view detailed information about files, enter:&lt;br /&gt;
&lt;div style="border: 1px dashed #FF9900; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; padding: 10px; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;# tcpdump -n -i eth1 -s 0 -w output.txt src or dst port 80&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
source :&amp;nbsp;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;http://www.cyberciti.biz&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-8192240730601850995?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-12T11:24:58.656+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/05/tcpdum-monitoring-traffic-analysis.html</feedburner:origLink></item><item><title>ssh tunnels with putty</title><link>http://feedproxy.google.com/~r/OpenSourceTips4You/~3/Xs6GIUiaR64/ssh-tunnels-with-putty.html</link><category>multi platform</category><category>ssh.tunnel</category><category>Tips n Tips</category><category>puTTY</category><category>ssh</category><author>isach_xx@yahoo.com (sakti)</author><pubDate>Mon, 13 Jun 2011 00:25:26 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-1265701455005846589.post-7817500086925128304</guid><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/02vjI2JYvZRzqRYXBjsavH-ww5w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/02vjI2JYvZRzqRYXBjsavH-ww5w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/02vjI2JYvZRzqRYXBjsavH-ww5w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/02vjI2JYvZRzqRYXBjsavH-ww5w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--pendahuluan--&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Dah lama gak nulis blog, akhirnya ada sedikit bahan tuk di document kan. sEkedar untuk mengingat dikala lupa.&lt;br /&gt;
So..... mari di mulai......&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--&lt;/span&gt;&lt;s&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;kaskus&lt;/span&gt;&lt;/s&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt; ehh.. kasus--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
pLaning awal sih untuk dapet meremote komputer yang ada nun jauh disana guna menginstall oracle via X mode. karena port yang di pake ip public cuman di sediain prot ssh maka tunnel ini di gunakan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--1--&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
neh penampakan puTTY&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_XdbfFWDnOZw/S8fPMbDoNbI/AAAAAAAAARw/jN7_CNSUA-g/s1600/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_XdbfFWDnOZw/S8fPMbDoNbI/AAAAAAAAARw/jN7_CNSUA-g/s320/1.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
yang perlu disettng cuman ini neh :&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_XdbfFWDnOZw/S8fPNo-dZBI/AAAAAAAAAR4/NfiFVNjbgFI/s1600/2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_XdbfFWDnOZw/S8fPNo-dZBI/AAAAAAAAAR4/NfiFVNjbgFI/s320/2.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
isikian source port sebagai pengganti port akses dan destination adalah ip dan port tujuan ( ip dan port asli komputer tujuan)&lt;br /&gt;
Nb: source port di isi sesui selera&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #38761d;"&gt;--test n jajal--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
connect kan putty n login ke sistem.&lt;br /&gt;
kemudian akses X mode dengan vncviewer dengan alamat : localhost:20003&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_XdbfFWDnOZw/S8fZeeRZBpI/AAAAAAAAASA/w5x0EIfIjs8/s1600/3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_XdbfFWDnOZw/S8fZeeRZBpI/AAAAAAAAASA/w5x0EIfIjs8/s320/3.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: red;"&gt;*&lt;/span&gt; tested by mee n' semoga berguna.....&lt;div class="blogger-post-footer"&gt;brekele.inc&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1265701455005846589-7817500086925128304?l=underdarkonsole.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-13T14:25:26.084+07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_XdbfFWDnOZw/S8fPMbDoNbI/AAAAAAAAARw/jN7_CNSUA-g/s72-c/1.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://underdarkonsole.blogspot.com/2010/04/ssh-tunnels-with-putty.html</feedburner:origLink></item><copyright>brekele.inc</copyright><media:credit role="author">sakti</media:credit><media:rating>adult</media:rating><media:description type="plain">for share</media:description></channel></rss>

