<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>de laros blog &#187; Tips N Trick</title>
	<atom:link href="http://laros.web.id/category/tips-and-trick/feed/" rel="self" type="application/rss+xml" />
	<link>http://laros.web.id</link>
	<description>Sharing, Tutorial, Tips and Trick</description>
	<lastBuildDate>Sun, 20 May 2012 02:19:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Tips mengatasi Fatal error: Allowed memory size of</title>
		<link>http://laros.web.id/2012/04/23/tips-mengatasi-fatal-error-allowed-memory-size-of/</link>
		<comments>http://laros.web.id/2012/04/23/tips-mengatasi-fatal-error-allowed-memory-size-of/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 04:58:55 +0000</pubDate>
		<dc:creator>delaros</dc:creator>
				<category><![CDATA[Tips N Trick]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[tips n trick]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://laros.web.id/?p=552</guid>
		<description><![CDATA[Seringkali kita menemukan error seperti ini ketika menginstall plugins wordpress. Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) Berikut ini cara mudah untuk mengatasinya. 1. Login ke cPanel 2. Klik menu File Manager,  masuk ke folder installasi wordpress anda dan edit file wp-config.php kemudian tambahkan line berikut 3. Simpan]]></description>
			<content:encoded><![CDATA[<p>Seringkali kita menemukan error seperti ini ketika menginstall plugins wordpress.</p>
<blockquote><p>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes)</p></blockquote>
<p>Berikut ini cara mudah untuk mengatasinya.</p>
<p>1. Login ke cPanel</p>
<p>2. Klik menu File Manager,  masuk ke folder installasi wordpress anda dan edit file wp-config.php kemudian tambahkan line berikut<span id="more-552"></span></p>
<pre class="brush: plain; title: ; notranslate">define('WP_MEMORY_LIMIT', '64M');</pre>
<p>3. Simpan dan coba refresh halaman yang error, Selesai.</p>
<p>Jika masih belum berhasil silahkan coba naikkan nilai memory limit 128MB, dan kalau masih juga belum berhasil silahkan hubungi support webhosting yang anda gunakan.</p>
]]></content:encoded>
			<wfw:commentRss>http://laros.web.id/2012/04/23/tips-mengatasi-fatal-error-allowed-memory-size-of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips Verifikasi Paypal Gratis 2012 tanpa kartu kredit atau VCC</title>
		<link>http://laros.web.id/2012/04/22/tips-verifikasi-paypal-gratis-2012-tanpa-kartu-kredit-vcc/</link>
		<comments>http://laros.web.id/2012/04/22/tips-verifikasi-paypal-gratis-2012-tanpa-kartu-kredit-vcc/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 06:27:05 +0000</pubDate>
		<dc:creator>delaros</dc:creator>
				<category><![CDATA[Bisnis Online]]></category>
		<category><![CDATA[Tips N Trick]]></category>
		<category><![CDATA[paypal]]></category>
		<category><![CDATA[verifikasi paypal]]></category>

		<guid isPermaLink="false">http://laros.web.id/?p=492</guid>
		<description><![CDATA[Seperti yang kita ketahui verifikasi account paypal selain menggunakan kartu kredit dan VCC adalah dengan menggunakan bank lokal atau dengan cara manual yaitu kirim email yang berisi data tabungan dan KTP/SIM, sayangnya sekarang ini Paypal sudah tidak menerima verifikasi account menggunakan bank lokal ataupun secara manual. Tapi tenang masih ada cara lain.. 1. Buka account]]></description>
			<content:encoded><![CDATA[<p>Seperti yang kita ketahui verifikasi account paypal selain menggunakan kartu kredit dan VCC adalah dengan menggunakan bank lokal atau dengan cara manual yaitu kirim email yang berisi data tabungan dan KTP/SIM, sayangnya sekarang ini Paypal sudah tidak menerima verifikasi account menggunakan bank lokal ataupun secara manual. Tapi tenang masih ada cara lain..</p>
<p>1. Buka account di etrade.com</p>
<div id="attachment_494" class="wp-caption alignleft" style="width: 310px"><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard021.jpg"><img class="size-medium wp-image-494 " title="Verifikasi Paypal Gratis 2012" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard021-300x41.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="41" /></a><p class="wp-caption-text">Open account</p></div>
<p><span id="more-492"></span></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard03.jpg"><img title="Verifikasi Paypal Gratis 2012" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard03-300x133.jpg" alt="Tips Verifikasi Paypal Gratis 2012" width="300" height="133" /></a></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard04.jpg"><img title="Verifikasi Paypal Gratis 2012" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard04-300x171.jpg" alt="Verifikasi Paypal Gratis 2012" width="300" height="171" /></a></p>
<p>Pilih <strong>Individual account</strong> dan trading features pilih <strong>Margin Account</strong> selanjutnya klik <strong>Continue</strong>.</p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard05.jpg"><img title="Verifikasi paypal gratis 2012" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard05-277x300.jpg" alt="Tips Verifikasi paypal gratis 2012 tanpa VCC" width="277" height="300" /></a></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard06.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard06-300x163.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="163" /></a></p>
<p>Langkah selanjutnya adalah mengisi form data pribadi, untuk datanya kita ambil dari fakenamegenerator.com</p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard25.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard25-130x130.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="130" height="130" /></a></p>
<p>Silahkan isi semua form jika sudah selesai klik <strong>Continue</strong>.</p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard07.jpg"><img title="Verifikasi Paypal Gratis 2012" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard07-224x300.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="224" height="300" /></a></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard08.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard08-300x224.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="224" /></a></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard09.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard09-237x300.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="237" height="300" /></a></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard101.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard101-251x300.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="251" height="300" /></a></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard11.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard11-258x300.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="258" height="300" /></a></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard12.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard12-213x300.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="213" height="300" /></a></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard14.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard14-300x210.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="210" /></a></p>
<p>Jika semua form sudah terisi, maka kita akan masuk ke halaman Create User ID dan Password, username dan password disini adalah yang akan kita gunakan untuk login ke etrade.com dan untuk verifikasi account paypal secara gratis.</p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard15.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard15-300x204.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="204" /></a></p>
<p>Daftar account di etrade.com sudah selesai, berikutnya silahkan login ke etrade.com menggunakan user dan password yang anda buat tadi.</p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard18.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard18-300x226.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="226" /></a></p>
<p>Silahkan catat nomor yang tampak di account etrade.com anda seperti yang saya tandai di atas, nomor tersebut adalah nomor account bank yang akan kita gunakan untuk verifikasi account paypal kita secara gratis.</p>
<p>2. Daftar account di Paypal</p>
<p>Saya anggap semua sudah bisa untuk langkah2 pendaftaran account di paypal, bedanya disini kita menggunakan data dari fakenamegenerator.com yang tadi kita gunakan untuk daftar di etrade.com dengan mengambil lokasi negara adalah Amerika Serikat.</p>
<p>3. Cara mendapatkan status verifikasi account Paypal</p>
<p>Silahkan login ke paypal.com kemudian klik &#8220;<strong>Get Verified</strong>&#8221;</p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard16.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard16-300x158.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="158" /></a></p>
<p>Kemudian pilih &#8220;<strong>Link Bank Account&#8221;</strong></p>
<p><strong></strong><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard17.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard17-300x189.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="189" /></a></p>
<p style="text-align: left;">Selanjutnya masukkan &#8220;Account number&#8221; yang kita dapat dari etrade.com, &#8220;Routing Number&#8221; silahkan isikan 056073573 dan nama bank adalah <strong>Etrade Securities</strong> kemudian klik <strong>Continue</strong>.</p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard20.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard20-300x191.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="191" /></a></p>
<p>Langkah berikutnya silahkan masukkan user ID dan password yang kita buat di etrade.com tadi, klik <strong>Confirm Instantly.</strong></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard21.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard21-300x212.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="212" /></a></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard22.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard22-300x191.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="191" /></a></p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard23.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard23-300x215.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="215" /></a></p>
<p>Klik <strong>Go to My Account</strong> dan selamat! account paypal anda sudah berstatus<strong> Verified</strong>.</p>
<p>Langkah2nya agak panjang tapi terbukti berhasil verifikasi account paypal gratis, testing berhasil perbulan april 2012..</p>
<p><a href="http://laros.web.id/wp-content/uploads//2012/04/Clipboard24.jpg"><img title="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" src="http://laros.web.id/wp-content/uploads//2012/04/Clipboard24-300x169.jpg" alt="Tips Verifikasi Paypal Gratis 2012 tanpa VCC" width="300" height="169" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://laros.web.id/2012/04/22/tips-verifikasi-paypal-gratis-2012-tanpa-kartu-kredit-vcc/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>SQL Query yang mungkin berguna untuk wordpress Anda</title>
		<link>http://laros.web.id/2011/12/07/sql-query-yang-mungkin-berguna-untuk-wordpress-anda/</link>
		<comments>http://laros.web.id/2011/12/07/sql-query-yang-mungkin-berguna-untuk-wordpress-anda/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 04:20:42 +0000</pubDate>
		<dc:creator>delaros</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://laros.web.id/?p=485</guid>
		<description><![CDATA[Oke langsung saja.. alangkah baiknya untuk membackup database anda sebelum melakukan SQL Queries di bawah ini.. Backup database Login ke phpMyAdmin Pilih database wordpress Anda Klik Export di bagian menu atas Centang pilihan Quick pada bagian Export Method dan pilih format SQL Klik Go Bagaimana kita akan melakukan SQL Query? Login ke phpMyAdmin Klik tab]]></description>
			<content:encoded><![CDATA[<p>Oke langsung saja.. alangkah baiknya untuk membackup database anda sebelum melakukan SQL Queries di bawah ini..</p>
<p><strong>Backup database</strong></p>
<ol>
<li>Login ke <strong>phpMyAdmin</strong></li>
<li>Pilih database wordpress Anda</li>
<li>Klik <strong>Export</strong> di bagian menu atas</li>
<li>Centang pilihan <strong>Quick</strong> pada bagian <strong>Export Method</strong> dan pilih format <strong>SQL</strong></li>
<li>Klik <strong>Go</strong></li>
</ol>
<p><strong>Bagaimana kita akan melakukan SQL Query?</strong></p>
<ol>
<li>Login ke <strong>phpMyAdmin</strong></li>
<li>Klik tab <strong>SQL</strong> dibagian menu atas <strong>phpMyAdmin</strong></li>
<li>Ketikkan SQL Query di box kemudian klik <strong>Go</strong></li>
</ol>
<p>Berikut ini SQL Queries yang mungkin akan sangat berguna untuk blog Anda, saya buat kasus disini kita akan migrasi wordpress dari localhost ke server hosting..<span id="more-485"></span></p>
<p><strong>Merubah Siteurl dan Blogurl</strong></p>
<pre class="brush: plain; title: ; notranslate">UPDATE wp_options SET option_value = replace(option_value, 'http://localhost/wordpress', 'http://domainAnda.com') WHERE option_name = 'home' OR option_name = 'siteurl';</pre>
<p><strong>Merubah GUID</strong></p>
<pre class="brush: plain; title: ; notranslate">UPDATE wp_posts SET guid = REPLACE (guid, 'http://www.oldsiteurl.com', 'http://www.newsiteurl.com');</pre>
<p><strong>Merubah URL dalam konten post</strong></p>
<pre class="brush: plain; title: ; notranslate">UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://www.oldsiteurl.com', 'http://www.newsiteurl.com');</pre>
<p><strong>Hanya merubah path gambar</strong></p>
<pre class="brush: plain; title: ; notranslate">UPDATE wp_posts SET post_content = REPLACE (post_content, 'src=&quot;http://www.oldsiteurl.com', 'src=&quot;http://yourcdn.newsiteurl.com');
UPDATE wp_posts SET  guid = REPLACE (guid, 'http://www.oldsiteurl.com', 'http://yourcdn.newsiteurl.com') WHERE post_type = 'attachment';
</pre>
<p><strong>Update Post Meta</strong></p>
<pre class="brush: plain; title: ; notranslate">
UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, 'http://www.oldsiteurl.com','http://www.newsiteurl.com');</pre>
<p><strong>Merubah default username admin</strong><br />
Sql Query berikut berguna untuk alasan keamanan</p>
<pre class="brush: plain; title: ; notranslate">UPDATE wp_users SET user_login = 'Your New Username' WHERE user_login = 'Admin';</pre>
<p><strong>Reset Password</strong></p>
<pre class="brush: plain; title: ; notranslate">UPDATE wp_users SET user_pass = MD5( 'new_password' ) WHERE user_login = 'your-username';</pre>
<p><strong>Merubah author artikel</strong></p>
<pre class="brush: plain; title: ; notranslate">UPDATE wp_posts SET post_author = 'new-author-id' WHERE post_author = 'old-author-id';</pre>
<p><strong>Menghapus Revision</strong></p>
<pre class="brush: plain; title: ; notranslate">
DELETE a,b,c FROM wp_posts a
LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id)
LEFT JOIN wp_postmeta c ON (a.ID = c.post_id)
WHERE a.post_type = 'revision'
</pre>
<p><strong>Menghapus Post Meta</strong></p>
<pre class="brush: plain; title: ; notranslate">
DELETE FROM wp_postmeta WHERE meta_key = 'your-meta-key';</pre>
<p><strong>Export semua email komentator</strong><br />
SQL Query ini berguna jika Anda ingin mengambil semua email dari komentator blog Anda tanpa duplikat,</p>
<pre class="brush: plain; title: ; notranslate">SELECT DISTINCT comment_author_email FROM wp_comments;</pre>
<p>Pada bagian Query results operations pilih Export</p>
<p><strong>Hapus semua Pingback</strong></p>
<p>Berguna untuk memperkecil ukuran database</p>
<pre class="brush: plain; title: ; notranslate">DELETE FROM wp_comments WHERE comment_type = 'pingback';</pre>
<p><strong>Hapus semua komentar spam</strong></p>
<pre class="brush: plain; title: ; notranslate">DELETE FROM wp_comments WHERE comment_approved = 'spam';</pre>
<p>Semoga membantu.<br />
Diambil dari berbagai sumber dan pengalaman pribadi..</p>
]]></content:encoded>
			<wfw:commentRss>http://laros.web.id/2011/12/07/sql-query-yang-mungkin-berguna-untuk-wordpress-anda/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>LSOF (list open files)</title>
		<link>http://laros.web.id/2011/11/22/lsof-list-open-files/</link>
		<comments>http://laros.web.id/2011/11/22/lsof-list-open-files/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 06:08:07 +0000</pubDate>
		<dc:creator>delaros</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Webserver]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://laros.web.id/?p=476</guid>
		<description><![CDATA[Lsof merupakan utility yang hampir mirip dengan netstat -an tapi mungkin lebih lengkap kali ya, karena qta juga bisa melihat file2 yang sedang dijalakan apa saja oleh suatu program, mulai dr binary file, library dan file2 yang berhubungan dengan program yg sedang berjalan.. la wong namanya aja &#8220;List open files&#8221; ker.. Install lsof di FreeBSD:]]></description>
			<content:encoded><![CDATA[<p>Lsof merupakan utility yang hampir mirip dengan netstat -an tapi mungkin lebih lengkap kali ya, karena qta juga bisa melihat file2 yang sedang dijalakan apa saja oleh suatu program, mulai dr binary file, library dan file2 yang berhubungan dengan program yg sedang berjalan.. la wong namanya aja &#8220;List open files&#8221; ker..</p>
<p>Install lsof di FreeBSD:</p>
<pre class="brush: bash; title: ; notranslate">
cd /usr/ports/sysutils/lsof
make install clean
rehash
</pre>
<p><span id="more-476"></span></p>
<pre></pre>
<p>Install lsof di CentOS:</p>
<pre class="brush: bash; title: ; notranslate">
yum install lsof
</pre>
<p>&nbsp;</p>
<pre class="brush: bash; title: ; notranslate">lsof -l</pre>
<p>perintah ini akan memperlihatkan smuaaa list prog yang sedang berjalan, sengaja ga dicapture hasilnya (panjang bokkk)</p>
<pre class="brush: bash; title: ; notranslate">lsof -c named
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
named 89535 named cwd VDIR 4,12 512 16662 /chroot/named/conf
named 89535 named rtd VDIR 4,12 512 16656 /chroot/named
named 89535 named jld VDIR 4,12 512 16656 /chroot/named
named 89535 named txt VREG 4,17 3507739 7774967 /usr/local/sbin/named
named 89535 named txt VREG 4,12 142236 16549 /libexec/ld-elf.so.1
named 89535 named txt VREG 4,12 1017456 8301 /lib/libcrypto.so.3
named 89535 named txt VREG 4,12 884716 8280 /lib/libc.so.5
named 89535 named 0u VCHR 2,2 0t0 7 /dev/null
named 89535 named 1u VCHR 2,2 0t0 7 /dev/null
named 89535 named 2u VCHR 2,2 0t0 7 /dev/null
named 89535 named 3u unix 0xc40a0000 0t0 -&gt;0xc181a288
named 89535 named 4u VCHR 2,2 0t0 7 /dev/null
named 89535 named 5r VCHR 248,0 0t0 16 /dev/random
named 89535 named 22u IPv4 0xc3f980b4 0t0 UDP *:54519
</pre>
<p>lengkap kan? kalau ga mau panjang2 atau mau lihat file apa yg dijalankan tinggal ketik</p>
<pre class="brush: bash; title: ; notranslate">lsof -a -d cwd -c named
named 89535 named cwd VDIR 4,12 512 16662 /chroot/named/conf
</pre>
<p>kalau mau lihat pakai port berapa ya tinggal</p>
<pre class="brush: bash; title: ; notranslate">lsof -a -c named | grep &quot;*:&quot;
named 89535 named 22u IPv4 0xc3f980b4 0t0 UDP *:54519
</pre>
]]></content:encoded>
			<wfw:commentRss>http://laros.web.id/2011/11/22/lsof-list-open-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent user from creating custom php.ini on suphp servers</title>
		<link>http://laros.web.id/2011/10/28/prevent-user-from-creating-custom-php-ini-on-suphp-servers/</link>
		<comments>http://laros.web.id/2011/10/28/prevent-user-from-creating-custom-php-ini-on-suphp-servers/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 04:44:17 +0000</pubDate>
		<dc:creator>delaros</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Webserver]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://laros.web.id/?p=467</guid>
		<description><![CDATA[Edit: Then add the following line: Don&#8217;t forget to change the location to your php.ini configuration, as it may be different on your server than the example above and restart Apache.]]></description>
			<content:encoded><![CDATA[<p>Edit:</p>
<pre class="brush: plain; title: ; notranslate">/usr/local/apache/conf/php.conf</pre>
<p>Then add the following line:</p>
<pre class="brush: plain; title: ; notranslate">suPHP_Config /usr/local/lib/php.ini</pre>
<p>Don&#8217;t forget to change the location to your php.ini configuration, as it may be different on your server than the example above and restart Apache.</p>
]]></content:encoded>
			<wfw:commentRss>http://laros.web.id/2011/10/28/prevent-user-from-creating-custom-php-ini-on-suphp-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.htaccess on suPHP servers</title>
		<link>http://laros.web.id/2011/04/01/htaccess-on-suphp-servers/</link>
		<comments>http://laros.web.id/2011/04/01/htaccess-on-suphp-servers/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 08:45:59 +0000</pubDate>
		<dc:creator>delaros</dc:creator>
				<category><![CDATA[Tips N Trick]]></category>
		<category><![CDATA[Webserver]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://laros.web.id/?p=460</guid>
		<description><![CDATA[What should my .htaccess file look like if my account is on a suPHP server? You should remove the lines that begin with &#8220;php_value&#8221; and &#8220;php_flag&#8221;. You will need to move these files to a file named php.ini and upload php.ini into your public_html directory. Then, add the following line into the .htaccess file in]]></description>
			<content:encoded><![CDATA[<p>What should my .htaccess file look like if my account is on a suPHP server?<br />
You should remove the lines that begin with &#8220;php_value&#8221; and &#8220;php_flag&#8221;. You will need to move these files to a file named php.ini and upload php.ini into your public_html directory. Then, add the following line into the .htaccess file in your public_html:</p>
<pre class="brush: plain; title: ; notranslate">suPHP_ConfigPath /home/username/public_html</pre>
<p>where &#8220;username&#8221; is your cPanel username. You will need to remove php_value and php_flag from ALL .htaccess files you may have. However, you only need to add the suPHP_ConfigPath line in the .htaccess file in your public_html directory only.</p>
<p>Please note that you will need to change the format of your php_value and php_flag lines into the php.ini format. (Refer to the FAQ entry on how your php.ini file should be formatted).</p>
]]></content:encoded>
			<wfw:commentRss>http://laros.web.id/2011/04/01/htaccess-on-suphp-servers/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How to mass chmod file and folder ?</title>
		<link>http://laros.web.id/2010/06/16/how-to-mass-chmod-file-and-folder/</link>
		<comments>http://laros.web.id/2010/06/16/how-to-mass-chmod-file-and-folder/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 14:14:40 +0000</pubDate>
		<dc:creator>delaros</dc:creator>
				<category><![CDATA[Tips N Trick]]></category>
		<category><![CDATA[Webserver]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://laros.web.id/?p=426</guid>
		<description><![CDATA[Mass chmod folder : Mass chmod file : Tested with freebsd server and working 100% :D source]]></description>
			<content:encoded><![CDATA[<p>Mass chmod folder :</p>
<pre class="brush: bash; title: ; notranslate">find /home/*/public_html -type d -exec chmod 755 {} \;</pre>
<p>Mass chmod file :</p>
<pre class="brush: bash; title: ; notranslate">find /home/*/public_html -type f -exec chmod 644 {} \;</pre>
<p>Tested with freebsd server and working 100% :D</p>
<p><span id="more-426"></span> <a href="http://www.diskusiwebhosting.com/">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://laros.web.id/2010/06/16/how-to-mass-chmod-file-and-folder/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find r57 and c99 Shells Hidden Inside PHP and TXT Files</title>
		<link>http://laros.web.id/2010/06/16/find-r57-and-c99-shells-hidden-inside-php-and-txt-files/</link>
		<comments>http://laros.web.id/2010/06/16/find-r57-and-c99-shells-hidden-inside-php-and-txt-files/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 07:27:47 +0000</pubDate>
		<dc:creator>delaros</dc:creator>
				<category><![CDATA[Tips N Trick]]></category>
		<category><![CDATA[Webserver]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://laros.web.id/?p=412</guid>
		<description><![CDATA[When malicious intruders compromise a web server, there&#8217;s an excellent chance a famous Russian PHP script, r57shell, will follow. The r57shell PHP script gives the intruder a number of capabilities, including, but not limited to: downloading files, uploading files, creating backdoors, setting up a spam relay, forging email, bouncing a connection to decrease the risk]]></description>
			<content:encoded><![CDATA[<p>When malicious intruders compromise a web server, there&#8217;s an excellent chance a famous Russian PHP script, r57shell, will follow. The r57shell PHP script gives the intruder a number of capabilities, including, but not limited to: downloading files, uploading files, creating backdoors, setting up a spam relay, forging email, bouncing a connection to decrease the risk of being caught, and even taking control of SQL databases. All these functions become readily available through an easy to use web interface, but now you can fight back.</p>
<p>A Turkish member on a forum I participate in released this nifty little bash command, but first, make sure you execute <em>updatedb</em> so <em>find</em> has an up to date image to search:</p>
<pre class="brush: bash; title: ; notranslate">find /var/www/ -name &quot;*&quot;.php -type f -print0 | xargs -0 grep r57 | uniq -c | sort -u | cut -d&quot;:&quot; -f1 | awk '{print &quot;rm -rf &quot; $2}' | uniq</pre>
<p>You can also search regular text (.txt) files:</p>
<p><span id="more-412"></span></p>
<pre class="brush: bash; title: ; notranslate">find /var/www/  -name &quot;*&quot;.txt  -type f -print0  | xargs -0 grep r57 | uniq -c  | sort -u  | cut -d&quot;:&quot; -f1  | awk '{print &quot;rm -rf &quot; $2}' | uniq</pre>
<p>Or even cleverly disguised GIF image files:</p>
<pre class="brush: bash; title: ; notranslate">find /var/www/  -name &quot;*&quot;.gif  -type f -print0  | xargs -0 grep r57 | uniq -c  | sort -u  | cut -d&quot;:&quot; -f1  | awk '{print &quot;rm -rf &quot; $2}' | uniq</pre>
<p>The command might appear scary, or even malicious to an inexperienced Linux admin, but here&#8217;s the break down.</p>
<pre class="brush: bash; title: ; notranslate">find /var/www/</pre>
<p><em>find</em> is a must know command when dealing with Linux. <em>Find</em> is what&#8217;s used to perform command line file searches. The path <em>/var/www</em> is the directory <em>find</em> will search, in addition to all directories contained within <em>www</em>, but nothing above. For example, <em>/var/mail</em> is not searched. If your publicly accessible files are not contained in <em>/var/www</em>, then you&#8217;ll obviously need to replace <em>/var/www</em> with the correct path.</p>
<pre class="brush: bash; title: ; notranslate">-name &quot;*&quot;.php  -type f -print0</pre>
<p>This portion of the command tells <em>find</em> to search file names (not directories) ending in .php. Anything else is ignored.</p>
<pre class="brush: bash; title: ; notranslate">| xargs -0 grep r57</pre>
<p>The pipe symbol ( | ) tells Linux to take the results of the first command (the PHP files we searched for), and pass them along to the second command, <em>xargs</em>. At this point, all located files are searched for any mention of r57, not just the file names, but the actual content within the files.</p>
<pre class="brush: bash; title: ; notranslate">| uniq -c  | sort -u</pre>
<p><em>uniq</em> will prevent duplicate results from displaying. The command is smart enough to know when multiple instances are found in a single file, resulting in a single mention instead of potentially hundreds, flooding your console with repeated messages. The <em>-c</em> parameter tells <em>uniq</em> to count the number of consecutive lines that were combined. <em>sort</em> will take the unordered results, and display them in some type of orderly fashion.</p>
<pre class="brush: bash; title: ; notranslate">| cut -d&quot;:&quot; -f1</pre>
<p><em>cut</em> will prevent the line of code that contains r57 from showing up in the results. The output is just a simple mention of the filename or names, and how many occurrences. There&#8217;s no need to display the actual code if your intentions are to remove the malicious files.</p>
<pre class="brush: bash; title: ; notranslate">| awk '{print &quot;rm -rf &quot; $2}'</pre>
<p><em>awk</em>, a programming language in itself, is a very powerful command with many beneficial uses. In this command, <em>awk</em> is instructed to print <em>rm -rf</em> with the file path and file name appended. Here&#8217;s an example output:</p>
<pre class="brush: bash; title: ; notranslate">rm -rf  /var/www/users/domain.com/images/uploads/r57shell.php</pre>
<p><em>rm -rf</em> is used to delete files without asking questions. The, &#8220;<em>are you sure you want to delete &#8230;</em>&#8221; is skipped, so be careful when using the <em>-rf</em> switch, it&#8217;s very destructive if used without care. Notice the <em>print</em> portion &#8211; this means the command is only printed, not carried out. Once you&#8217;ve confirmed all the found files are malicious, you can easily dumb the results into a file, make the file executable, and delete the plague in one shot instead of manually deleting individual files one by one.</p>
<p>Another popular tool is the c99shell, which I also recommend searching for. Just change three characters:</p>
<pre class="brush: bash; title: ; notranslate">find /var/www/  -name &quot;*&quot;.php  -type f -print0  | xargs -0 grep c99 | uniq -c  | sort -u  | cut -d&quot;:&quot; -f1  | awk '{print &quot;rm -rf &quot; $2}' | uniq</pre>
<p>If you&#8217;re interested in seeing an example of the c99shell interface, here&#8217;s a rooted site:</p>
<p>http://www.iett.gov.tr/en/kitap/</p>
<p><a href="http://webcache.googleusercontent.com/search?q=cache:wNIbBzc71v0J:www.nullamatix.com/find-r57-and-c99-shells-hidden-inside-php-and-txt-files/+http://www.nullamatix.com/find-r57-and-c99-shells-hidden-inside-php-and-txt-files/&amp;cd=1&amp;hl=en&amp;ct=clnk&amp;gl=us&amp;client=firefox-a">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://laros.web.id/2010/06/16/find-r57-and-c99-shells-hidden-inside-php-and-txt-files/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Mencari file inject di webserver</title>
		<link>http://laros.web.id/2010/02/22/mencari-file-inject-di-webserver/</link>
		<comments>http://laros.web.id/2010/02/22/mencari-file-inject-di-webserver/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 07:18:15 +0000</pubDate>
		<dc:creator>delaros</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Webserver]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tips n trick]]></category>
		<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://laros.web.id/?p=375</guid>
		<description><![CDATA[OK langsung saja, command berikut adalah yang biasa saya pakai untuk scanning php file inject di webserver FreeBSD. Saya catat di sini biar gak lupa. :D 1. Scanning php files dalam path si username dan mencari 1 kata / strings dalam files php sesuai dengan kata yang kita cari: 2. Scanning php files dalam path]]></description>
			<content:encoded><![CDATA[<div id="attachment_392" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-392" title="scan" src="http://laros.web.id/wp-content/uploads//2010/02/Clipboard03-300x147.jpg" alt="" width="300" height="147" /><p class="wp-caption-text">scanning</p></div>
<p>OK langsung saja, command berikut adalah yang biasa saya pakai untuk scanning php file inject di webserver FreeBSD. Saya catat di sini biar gak lupa. :D<br />
1. Scanning php files dalam path si username dan mencari 1 kata / strings dalam files php sesuai dengan kata yang kita cari:</p>
<pre class="brush: bash; title: ; notranslate">server2# find /home/username/ -name &quot;*&quot;.php -type f -print0| xargs -0 grep &quot;powered by rapidleech&quot; | uniq -c | sort -u | cut -d&quot;:&quot; -f1 | awk '{print &quot;Warning - please check this files &quot; $2}' | uniq</pre>
<p>2. Scanning php files dalam path si username dan beberapa kata / strings dalam files php:</p>
<pre class="brush: bash; title: ; notranslate">server2# find /home/username/ -name &quot;*&quot;.php -type f -print0| xargs -0 egrep &quot;rapidleech|c99|r57&quot; | uniq -c | sort -u | cut -d&quot;:&quot; -f1 | awk '{print &quot;Warning - please check this files &quot; $2}' | uniq</pre>
<p>Tambahan&#8230;</p>
<p><span id="more-375"></span>3. Kill multiple process di FreeBSD</p>
<pre class="brush: bash; title: ; notranslate">server2# ps -aux | grep &quot;/usr/sbin/httpd&quot; | awk '{print $2}' | xargs kill</pre>
<p><em>Bash command tutorial di dapat dari diskusiwebhosting.com dan giest.org</em></p>
]]></content:encoded>
			<wfw:commentRss>http://laros.web.id/2010/02/22/mencari-file-inject-di-webserver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Begitu Mudahnya Blogger Mengadili Penyedia Webhost</title>
		<link>http://laros.web.id/2008/12/24/begitu-mudahnya-blogger-mengadili-perusahaan-webhosting-2/</link>
		<comments>http://laros.web.id/2008/12/24/begitu-mudahnya-blogger-mengadili-perusahaan-webhosting-2/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 05:33:26 +0000</pubDate>
		<dc:creator>delaros</dc:creator>
				<category><![CDATA[Tips N Trick]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[web hosting]]></category>

		<guid isPermaLink="false">http://laros.web.id/?p=89</guid>
		<description><![CDATA[Kemaren waktu blogwalking rutin sempet terhenti di satu blog yang salah satu isi postingannya mengerikan bagi penyedia web hosting menarik.. jika di lihat dari judulnya wew ampun deh langsung sebut merk hikz.. kurang lebih isinya membahas masalah si blogger dengan penyedia layanan web hosting yang dia ambil, karena salah satu accountnya di suspend. Bisa kita]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="float: left;" src="http://uriel.us/images/WebSiteHosting.jpg" alt="" width="217" height="162" />Kemaren waktu blogwalking rutin sempet terhenti di satu <a href="http://koolsonic.com/" target="_self">blog</a> yang salah satu isi <a href="http://koolsonic.com/2008/12/21/sangatmurahcom-betul-betul-super-menyebalkan-stay-away-from-it-part-2-the-end/" target="_self">postingannya</a> <span style="text-decoration: line-through;">mengerikan bagi penyedia web hosting</span> menarik.. jika di lihat dari judulnya wew ampun deh langsung sebut merk hikz.. kurang lebih isinya membahas masalah si blogger dengan <a href="http://sangatmurah.com" target="_self">penyedia layanan</a> web hosting yang dia ambil, karena salah satu accountnya di suspend.</p>
<p>Bisa kita bayangkan pengaruhnya terhadap bisnis web hosting yang di sebut merknya itu ya? apalagi blog itu termasuk blog yang rame pengunjungnya, blogger2 lain yang tidak tahu menahu soal hosting pasti langsung <span style="text-decoration: line-through;">memblacklist</span> negatif thinking atau malah mungkin menyebarkan ke temen2 yang lain &#8220;eh, jgn beli di situ.. cs nya gini.. gitu.. &#8221; dll.</p>
<p>Kalau di baca memang terkesan mengadili webhost tersebut secara sepihak, wong yang di paste di situ cuman jawaban cs nya yg lumayan ada kasarnya.. but kok pertanyaan nya gak di paste sekalian? ato jangan2 komplennya pakai kata2 yg lebih kasar ya? hehe..</p>
<p>Saya sebagai seorang blogger sekaligus juga sebagai admin salah satu penyadia web hosting hanya bisa geleng-geleng wew parahh.. berikut adalah pandangan saya mengenai kasus blogger di atas:</p>
<ul>
<li>Baca TOS dulu sebelum membeli layanan web hosting.</li>
<li>Seorang admin tidak mungkin mensuspend suatu account tanpa sebab!! apapun alasan pemilik account komplain lah dengan sopan, kali aja account bisa di unsuspend meski telah melanggar TOS.</li>
<li>Shared hosting berisi banyak account dalam satu server (ratusan domain/website), apabila terjadi over load (down) karena proses yang tinggi dari satu account saja, otomatis semua account (website) di dalam server tersebut ikut terkena dampaknya alias down semua!! nah solusinya ya di kill *baca di hentikan* proses yang tinggi tersebut agar tidak berulang, account harus di suspend. Dalam hal ini admin tidak perlu konfirmasi terlebih dahulu ke pemilik sebelum di suspend, keburu kabur semua ntar klient nya hehe.. sewalah VPS kalau memang website anda membutuhkan resource CPU yang gede..</li>
<li>Perhatikan cara komplainnya, jangan dahulukan emosi yang penting sabar dan mau menerima keputusan dengan bijak *metuwek mode ON*, baca tips2 agar komplain cepet di respon <a href="http://laros.web.id/tips-agar-komplain-kita-cepat-di-respon-2.html" target="_self">di sini.</a></li>
</ul>
<p>Saran saya buat temen2 blogger kalau ingin mempublish hal semacam itu mending di <a href="http://www.diskusiwebhosting.com/" target="_self">forum diskusi web hosting</a> di sana kita bisa saling mendengarkan jawaban dari berbagai versi, versi seorang admin/penyedia web hosting dan juga versi pelanggan/pemakai web hosting, jadi istilahnya diskusi bukan menghakimi.</p>
<p>Pandangan lain silahkan isi komentar hehe.. (ingat jangan esmosi :P )</p>
]]></content:encoded>
			<wfw:commentRss>http://laros.web.id/2008/12/24/begitu-mudahnya-blogger-mengadili-perusahaan-webhosting-2/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

