<?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>netninja.hu &#187; freebsd</title>
	<atom:link href="http://netninja.hu/tag/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://netninja.hu</link>
	<description>$net-&#62;ninja</description>
	<lastBuildDate>Wed, 05 Oct 2011 23:55:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>XHProf: Facebook&#039;s PHP profiler &#8211; ERROR: &#039;phpize&#039; failed</title>
		<link>http://netninja.hu/2009/07/03/xhprof-facebooks-php-profile-error-phpize-failed/</link>
		<comments>http://netninja.hu/2009/07/03/xhprof-facebooks-php-profile-error-phpize-failed/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 21:10:16 +0000</pubDate>
		<dc:creator>syck</dc:creator>
				<category><![CDATA[Trash]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php profile]]></category>
		<category><![CDATA[php profiler]]></category>
		<category><![CDATA[phpize]]></category>
		<category><![CDATA[phpize error]]></category>
		<category><![CDATA[xhprof]]></category>

		<guid isPermaLink="false">http://netninja.hu/?p=245</guid>
		<description><![CDATA[<table cellpadding='10'><tr><td valign='top' align='left'><p>Categories: <a href="http://netninja.hu/category/trash/" title="View all posts in Trash" rel="category tag">Trash</a></p><p>Tags: <a href="http://netninja.hu/tag/freebsd/" rel="tag">freebsd</a>, <a href="http://netninja.hu/tag/pecl/" rel="tag">pecl</a>, <a href="http://netninja.hu/tag/php/" rel="tag">php</a>, <a href="http://netninja.hu/tag/php-profile/" rel="tag">php profile</a>, <a href="http://netninja.hu/tag/php-profiler/" rel="tag">php profiler</a>, <a href="http://netninja.hu/tag/phpize/" rel="tag">phpize</a>, <a href="http://netninja.hu/tag/phpize-error/" rel="tag">phpize error</a>, <a href="http://netninja.hu/tag/xhprof/" rel="tag">xhprof</a></p>pecl install xhprof downloading xhprof-0.9.2.tgz ... Starting to download xhprof-0.9.2.tgz (931,660 bytes) ......................................done: 931,660 bytes 11 source files, building running: phpize Cannot find config.m4. Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module ERROR: `phpize' failed Solution: use tarball source install -&#62; http://pecl.php.net/package/xhprof /tmp/pecl/xhprof-0.9.2/extension/# phpize ./configure --with-php-config=./configure --with-php-config=/usr/local/bin/php-config make [...]<table width='100%'><tr><td align=right><p><b>(<a href='http://netninja.hu/2009/07/03/xhprof-facebooks-php-profile-error-phpize-failed/' title='XHProf: Facebook&#039;s PHP profiler - ERROR: &#039;phpize&#039; failed'>Read more...</a>)</b></p></td></tr></table></td></tr></table>]]></description>
			<content:encoded><![CDATA[<p>pecl install xhprof<br />
downloading xhprof-0.9.2.tgz ...<br />
Starting to download xhprof-0.9.2.tgz (931,660 bytes)<br />
......................................done: 931,660 bytes<br />
11 source files, building<br />
running: phpize<br />
Cannot find config.m4.<br />
Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module</p>
<p>ERROR: `phpize' failed</p>
<p>Solution: use tarball source install -&gt; <a href="http://pecl.php.net/package/xhprof">http://pecl.php.net/package/xhprof</a></p>
<p>/tmp/pecl/xhprof-0.9.2/extension/#</p>
<p>phpize</p>
<p>./configure --with-php-config=./configure --with-php-config=/usr/local/bin/php-config</p>
<p>make</p>
<p>make install</p>
<p class="author-link">Google+ <a href="http://netninja.hu/author/syck/" rel="author">syck</a></p>]]></content:encoded>
			<wfw:commentRss>http://netninja.hu/2009/07/03/xhprof-facebooks-php-profile-error-phpize-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tíz technológia amit mindenképp ismerned kell</title>
		<link>http://netninja.hu/2009/06/25/tiz-technologia-amit-mindenkepp-ismerned-kell/</link>
		<comments>http://netninja.hu/2009/06/25/tiz-technologia-amit-mindenkepp-ismerned-kell/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 15:11:32 +0000</pubDate>
		<dc:creator>syck</dc:creator>
				<category><![CDATA[core]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[smarty]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://netninja.hu/?p=182</guid>
		<description><![CDATA[<table cellpadding='10'><tr><td valign='top' align='left'><p>Categories: <a href="http://netninja.hu/category/core/" title="View all posts in core" rel="category tag">core</a></p><p>Tags: <a href="http://netninja.hu/tag/cvs/" rel="tag">cvs</a>, <a href="http://netninja.hu/tag/freebsd/" rel="tag">freebsd</a>, <a href="http://netninja.hu/tag/git/" rel="tag">git</a>, <a href="http://netninja.hu/tag/memcached/" rel="tag">memcached</a>, <a href="http://netninja.hu/tag/mysql/" rel="tag">mysql</a>, <a href="http://netninja.hu/tag/oop/" rel="tag">oop</a>, <a href="http://netninja.hu/tag/opensolaris/" rel="tag">opensolaris</a>, <a href="http://netninja.hu/tag/pear/" rel="tag">pear</a>, <a href="http://netninja.hu/tag/php/" rel="tag">php</a>, <a href="http://netninja.hu/tag/postgres/" rel="tag">postgres</a>, <a href="http://netninja.hu/tag/postgresql/" rel="tag">postgresql</a>, <a href="http://netninja.hu/tag/smarty/" rel="tag">smarty</a>, <a href="http://netninja.hu/tag/svn/" rel="tag">svn</a>, <a href="http://netninja.hu/tag/zfs/" rel="tag">zfs</a></p>Tíz technológia amit mindenképp ismerned kell, ha unix környezetben fejlesztés phpban: 1, OOP PHP Nincs mit túl ragozni rajta. Ha most vágsz bele a PHP-ba, csak és kizárólag OOP alapú tutorialt olvass. A procedural PHPnak legalább annyi lét jogosultsága van mint az OOPnak, de az OOP tudásod mindig fontosabb lesz. http://php.net/oop/ 2, FreeBSD Sokat lehet vitázni, hogy ez valóban fontos és mennyire technológia, de jó ha [...]<table width='100%'><tr><td align=right><p><b>(<a href='http://netninja.hu/2009/06/25/tiz-technologia-amit-mindenkepp-ismerned-kell/' title='Tíz technológia amit mindenképp ismerned kell'>Read more...</a>)</b></p></td></tr></table></td></tr></table>]]></description>
			<content:encoded><![CDATA[<div>Tíz technológia amit mindenképp ismerned kell, ha unix környezetben fejlesztés phpban:</p>
<div>
<div></div>
<h2>1, OOP PHP</h2>
<div>Nincs mit túl ragozni rajta. Ha most vágsz bele a PHP-ba, csak és kizárólag OOP alapú tutorialt olvass. A procedural PHPnak legalább annyi lét jogosultsága van mint az OOPnak, de az OOP tudásod mindig fontosabb lesz.</div>
<div><a href="http://php.net/oop/">http://php.net/oop/</a></div>
<h2><strong>2, FreeBSD</strong></h2>
<div>Sokat lehet vitázni, hogy ez valóban fontos és mennyire technológia, de jó ha képben vagy vele, egészen biztosan összefogsz vele futni nagy forgalmú rendszerek kapcsán. Ha nagyon cutting edge akarsz lenni, figyelj oda az OpenSolarisra. (Figyeld a post dátumát!) A 64bites rendszerben van még pár idegesítő elmaradás ami különösen APC és postgre esetén jön elő.</div>
<div><a href="http://freebsd.org">http://freebsd.org</a></div>
<h2><strong>3, SQL (MySQL, Postgresql)</strong></h2>
<div>Önmagáért beszél. Nagyon kevés rendszer létezik jelenleg, amiben ilyen vagy olyan módon ne lenne sql backend. Ez előreláthatólag jó pár évig így lesz, minden perc amit sql nyelvel és adatbáziskezelők lelkivilágával töltesz, jól kifizetődő.</div>
<div><a href="http://mysql.com/">http://mysql.com/</a></div>
<div><a href="http://postgresql.org/">http://postgresql.org/</a></div>
<h2><strong>4, Memcached</strong></h2>
<div>Per pillanat az egyik legfontosabb technológia a memória alapú cache. Az SSD drivektól javulást várok performance terén de sokat kell még aludnunk ahhoz, hogy serverinkben 1-2 terrányi SSD kapjon helyett. PHP esetén meglehetősen primitív technológiáról van szó, nem nehéz, de rengeteg performance jellegű problémát megold. Érdemes a sessiont is itt tárolni.</div>
<div><a href="http://danga.com/memcached/">http://danga.com/memcached/</a></div>
<h2><strong>5, ZFS</strong></h2>
<div>Performance. File System. Tudd, hogy mi hozható ki belőle, szükséged lesz a tudásra, mikor az üzemeltetést kell meggyőzni a használatáról.</div>
<div><a href="http://en.wikipedia.org/wiki/ZFS">http://en.wikipedia.org/wiki/ZFS</a></div>
<h2><strong>6, HTTP (apache, lightthpd)</strong></h2>
<div>Sokan csak tudják, hogy a web http-n keresztül zajlik. Muszáj megértened a http-t működését ahhoz, hogy maximális performancet tudja kihozni minden rétegből ami egy egyszerű weblap generálás és kiszolgálás alatt a dolgozik.</div>
<div><a href="http://www.w3.org/Protocols/">http://www.w3.org/Protocols/</a></div>
<h2><strong>7, Smarty </strong></h2>
<div>Masszív, kiforrt, ennek következtében baromi erőforrás igényes template rendszer. Ha egyszer már valamit lecachelt magának akkor kellően gyors, igy mindenképp ismerendő és használandó, már csak azért is, hogy lásd és megértsd a fájl alapú cache rendszereket.</div>
<div><a href="http://smarty.net/">http://smarty.net/</a></div>
<h2><strong>9, PEAR</strong></h2>
<div>Kicsit öreg, kicsit lassú, de megbizható. És főleg baromi gyors kódolást tesz lehetővé. Sok munkahelyen alap, hogy ismerd. A használata már nem annyira, de oldschool kóderek szívesen szivatjak a interjún a kezdőt, vajon ismeri-e? Jah, a lényeg. Előre megirt, szabadon használható PHP kódgyűjtemény. De ha átnézed, képben leszel.</div>
<div>http://pear.php.net/</div>
<h2><strong>10, SVN, (git, cvs)</strong></h2>
<div>Verzió követő, kódkonfliktus kezelő. Teamwork alapja, rengeteg plusz pontot kaphatsz, ha nem azzal töltőd idődet, hogy az svn alapjait tanulod.</div>
<div><a href="http://subversion.tigris.org/">http://subversion.tigris.org/</a></div>
</div>
</div>
<p class="author-link">Google+ <a href="http://netninja.hu/author/syck/" rel="author">syck</a></p>]]></content:encoded>
			<wfw:commentRss>http://netninja.hu/2009/06/25/tiz-technologia-amit-mindenkepp-ismerned-kell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CPU does not support long mode freebsd install error</title>
		<link>http://netninja.hu/2009/05/19/cpu-does-not-support-long-mode-freebsd-install-error/</link>
		<comments>http://netninja.hu/2009/05/19/cpu-does-not-support-long-mode-freebsd-install-error/#comments</comments>
		<pubDate>Tue, 19 May 2009 15:46:04 +0000</pubDate>
		<dc:creator>syck</dc:creator>
				<category><![CDATA[Trash]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[memo]]></category>

		<guid isPermaLink="false">http://netninja.hu/?p=106</guid>
		<description><![CDATA[<table cellpadding='10'><tr><td valign='top' align='left'><p>Categories: <a href="http://netninja.hu/category/trash/" title="View all posts in Trash" rel="category tag">Trash</a></p><p>Tags: <a href="http://netninja.hu/tag/freebsd/" rel="tag">freebsd</a>, <a href="http://netninja.hu/tag/install/" rel="tag">install</a>, <a href="http://netninja.hu/tag/memo/" rel="tag">memo</a></p>error: CPU does not support long mode solution: use 32bit install kit. Google+ syck<table width='100%'><tr><td align=right><p><b>(<a href='http://netninja.hu/2009/05/19/cpu-does-not-support-long-mode-freebsd-install-error/' title='CPU does not support long mode freebsd install error'>Read more...</a>)</b></p></td></tr></table></td></tr></table>]]></description>
			<content:encoded><![CDATA[<p>error: CPU does not support long mode</p>
<p>solution: use 32bit install kit.</p>
<p class="author-link">Google+ <a href="http://netninja.hu/author/syck/" rel="author">syck</a></p>]]></content:encoded>
			<wfw:commentRss>http://netninja.hu/2009/05/19/cpu-does-not-support-long-mode-freebsd-install-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failed system call was shmget postgresql freebsd</title>
		<link>http://netninja.hu/2009/05/19/failed-system-call-was-shmget-postgresql/</link>
		<comments>http://netninja.hu/2009/05/19/failed-system-call-was-shmget-postgresql/#comments</comments>
		<pubDate>Tue, 19 May 2009 15:23:42 +0000</pubDate>
		<dc:creator>syck</dc:creator>
				<category><![CDATA[Trash]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[semaphores]]></category>
		<category><![CDATA[SHMMIN]]></category>
		<category><![CDATA[sysctl]]></category>

		<guid isPermaLink="false">http://netninja.hu/?p=93</guid>
		<description><![CDATA[<table cellpadding='10'><tr><td valign='top' align='left'><p>Categories: <a href="http://netninja.hu/category/trash/" title="View all posts in Trash" rel="category tag">Trash</a></p><p>Tags: <a href="http://netninja.hu/tag/freebsd/" rel="tag">freebsd</a>, <a href="http://netninja.hu/tag/kernel/" rel="tag">kernel</a>, <a href="http://netninja.hu/tag/postgresql/" rel="tag">postgresql</a>, <a href="http://netninja.hu/tag/semaphores/" rel="tag">semaphores</a>, <a href="http://netninja.hu/tag/shmmin/" rel="tag">SHMMIN</a>, <a href="http://netninja.hu/tag/sysctl/" rel="tag">sysctl</a></p>DETAIL:  Failed system call was shmget(key=xxx, size=xxx, xxx). HINT:  This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter.  You can either reduce the request size or reconfigure the kernel with larger SHMMAX.  To reduce the request size (currently xxxxxx bytes), reduce PostgreSQL's shared_buffers parameter (currently xxxxx) and/or [...]<table width='100%'><tr><td align=right><p><b>(<a href='http://netninja.hu/2009/05/19/failed-system-call-was-shmget-postgresql/' title='Failed system call was shmget postgresql freebsd'>Read more...</a>)</b></p></td></tr></table></td></tr></table>]]></description>
			<content:encoded><![CDATA[<p>DETAIL:  Failed system call was shmget(key=xxx, size=xxx, xxx).</p>
<p>HINT:  This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter.  You can either reduce the request size or reconfigure the kernel with larger SHMMAX.  To reduce the request size (currently xxxxxx bytes), reduce PostgreSQL's shared_buffers parameter (currently xxxxx) and/or its max_connections parameter (currently xxx).</p>
<p>If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raising the request size or reconfiguring SHMMIN is called for.</p>
<p>The PostgreSQL documentation contains more information about shared memory configuration.</p>
<p>solution: raise semaphores number</p>
<pre>$ <kbd>sysctl -w kern.ipc.shmall=32768</kbd>
$ <kbd>sysctl -w kern.ipc.shmmax=134217728</kbd>
$ <kbd>sysctl -w kern.ipc.semmap=256</kbd></pre>
<pre><a title="postgresql8.3 manual kernel resource" href="http://www.postgresql.org/docs/8.3/interactive/kernel-resources.html" target="_blank">more info</a></pre>
<pre>
edit sysctl.conf:
<pre>kernel.shmall = xxxx
kernel.shmmax = xxxx</pre>
</pre>
<p class="author-link">Google+ <a href="http://netninja.hu/author/syck/" rel="author">syck</a></p>]]></content:encoded>
			<wfw:commentRss>http://netninja.hu/2009/05/19/failed-system-call-was-shmget-postgresql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to start memcached?</title>
		<link>http://netninja.hu/2009/05/18/how-to-start-memcached-usrlocalbinmemcached-l-127001-m-200-p-11211-u-nobody/</link>
		<comments>http://netninja.hu/2009/05/18/how-to-start-memcached-usrlocalbinmemcached-l-127001-m-200-p-11211-u-nobody/#comments</comments>
		<pubDate>Mon, 18 May 2009 19:04:27 +0000</pubDate>
		<dc:creator>syck</dc:creator>
				<category><![CDATA[Trash]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[memo]]></category>

		<guid isPermaLink="false">http://netninja.hu/?p=58</guid>
		<description><![CDATA[<table cellpadding='10'><tr><td valign='top' align='left'><p>Categories: <a href="http://netninja.hu/category/trash/" title="View all posts in Trash" rel="category tag">Trash</a></p><p>Tags: <a href="http://netninja.hu/tag/freebsd/" rel="tag">freebsd</a>, <a href="http://netninja.hu/tag/memcached/" rel="tag">memcached</a>, <a href="http://netninja.hu/tag/memo/" rel="tag">memo</a></p>/usr/local/bin/memcached -l 127.0.0.1 -m 200 -p 11211 -u nobody &#38; - m 200 = 200MB - l 127.0.0.1 = memcached server on localhost. -l xxx.xxx.xxx.xxx = memcached server on xxx.xxx.xxx.xxx ip address, like 192.168.0.100 Google+ syck<table width='100%'><tr><td align=right><p><b>(<a href='http://netninja.hu/2009/05/18/how-to-start-memcached-usrlocalbinmemcached-l-127001-m-200-p-11211-u-nobody/' title='how to start memcached?'>Read more...</a>)</b></p></td></tr></table></td></tr></table>]]></description>
			<content:encoded><![CDATA[<p>/usr/local/bin/memcached -l 127.0.0.1 -m 200 -p 11211 -u nobody &amp;</p>
<p>- m 200 = 200MB</p>
<p>- l 127.0.0.1 = memcached server on localhost.</p>
<p>-l xxx.xxx.xxx.xxx = memcached server on xxx.xxx.xxx.xxx ip address, like 192.168.0.100</p>
<p class="author-link">Google+ <a href="http://netninja.hu/author/syck/" rel="author">syck</a></p>]]></content:encoded>
			<wfw:commentRss>http://netninja.hu/2009/05/18/how-to-start-memcached-usrlocalbinmemcached-l-127001-m-200-p-11211-u-nobody/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>colored bash prompt</title>
		<link>http://netninja.hu/2009/05/18/colored-bash-prompt/</link>
		<comments>http://netninja.hu/2009/05/18/colored-bash-prompt/#comments</comments>
		<pubDate>Mon, 18 May 2009 12:29:01 +0000</pubDate>
		<dc:creator>syck</dc:creator>
				<category><![CDATA[Trash]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[memo]]></category>

		<guid isPermaLink="false">http://netninja.hu/?p=46</guid>
		<description><![CDATA[<table cellpadding='10'><tr><td valign='top' align='left'><p>Categories: <a href="http://netninja.hu/category/trash/" title="View all posts in Trash" rel="category tag">Trash</a></p><p>Tags: <a href="http://netninja.hu/tag/bash/" rel="tag">bash</a>, <a href="http://netninja.hu/tag/freebsd/" rel="tag">freebsd</a>, <a href="http://netninja.hu/tag/memo/" rel="tag">memo</a></p>.bash_profile-&#62; export PS1="[[e[31;1m]u[e[0m]@[e[32;1m]h[e[0m]:[e[37;1m]w/[e[0m]]# [e[0m]" user: red host:green dir: white,bold [root@box:/space/]# Google+ syck<table width='100%'><tr><td align=right><p><b>(<a href='http://netninja.hu/2009/05/18/colored-bash-prompt/' title='colored bash prompt'>Read more...</a>)</b></p></td></tr></table></td></tr></table>]]></description>
			<content:encoded><![CDATA[<p>.bash_profile-&gt; export PS1="[[e[31;1m]u[e[0m]@[e[32;1m]h[e[0m]:[e[37;1m]w/[e[0m]]# [e[0m]"</p>
<div>user: red</div>
<div>host:green</div>
<div>dir: white,bold</div>
<div>
<div>[<span style="font-family: mceinline"><span style="font-family: mceinline;color:red">root</span></span>@<span style="color: green"><span style="font-family: mceinline">box</span></span>:<strong>/space/</strong>]#</div>
</div>
<p class="author-link">Google+ <a href="http://netninja.hu/author/syck/" rel="author">syck</a></p>]]></content:encoded>
			<wfw:commentRss>http://netninja.hu/2009/05/18/colored-bash-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using memcached
Database Caching 1/28 queries in 0.005 seconds using memcached
Object Caching 731/790 objects using memcached

Served from: netninja.hu @ 2012-02-07 02:46:11 -->
