<?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>Leoman's blog &#187; how to</title>
	<atom:link href="http://leoman.gen.tr/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://leoman.gen.tr</link>
	<description>bi blÃ¶g</description>
	<lastBuildDate>Mon, 28 Feb 2011 06:55:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>BIND ile DNS bÃ¶lÃ¼mleme (Split DNS)</title>
		<link>http://leoman.gen.tr/2011/02/bind-ile-dns-bolumleme-split-dns/</link>
		<comments>http://leoman.gen.tr/2011/02/bind-ile-dns-bolumleme-split-dns/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 22:20:41 +0000</pubDate>
		<dc:creator>leoman</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Sistem YÃ¶netimi]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linkedin]]></category>

		<guid isPermaLink="false">http://leoman.gen.tr/?p=267</guid>
		<description><![CDATA[BildiÄŸiniz Ã¼zere BIND dÃ¼nya Ã¼zerinde en Ã§ok kullanÄ±lan ve popÃ¼ler olan DNS sunucusudur. Bu Ã¼stÃ¼nlÃ¼k Domain Name System [1] protokolÃ¼nÃ¼n ortaya koyulduÄŸu 1983 yÄ±lÄ±nÄ±nÄ± takip eden 1984 yÄ±lÄ±nda geliÅŸtirilmeye baÅŸlanmÄ±ÅŸ olmasÄ± gibi gÃ¶zÃ¼kse de bu kadarla da sÄ±nÄ±rlÄ± deÄŸildir. Bu popÃ¼lerliÄŸin arkasÄ±nda yatan etkenlerden biri de yeterince esnek bir yapÄ±ya sahip olmasÄ±ndan da geliyor. Esnek [...]]]></description>
			<content:encoded><![CDATA[<p>BildiÄŸiniz Ã¼zere BIND dÃ¼nya Ã¼zerinde en Ã§ok kullanÄ±lan ve popÃ¼ler olan DNS sunucusudur. Bu Ã¼stÃ¼nlÃ¼k Domain Name System <strong>[1] </strong>protokolÃ¼nÃ¼n ortaya koyulduÄŸu 1983 yÄ±lÄ±nÄ±nÄ± takip eden 1984 yÄ±lÄ±nda geliÅŸtirilmeye baÅŸlanmÄ±ÅŸ olmasÄ± gibi gÃ¶zÃ¼kse de bu kadarla da sÄ±nÄ±rlÄ± deÄŸildir. Bu popÃ¼lerliÄŸin arkasÄ±nda yatan etkenlerden biri de yeterince esnek bir yapÄ±ya sahip olmasÄ±ndan da geliyor.</p>
<p><strong>Esnek derken?</strong><br />
 Esnek bir yapÄ± derken BIND size neler saÄŸlayabilir? Daha Ã¶nceki blog girdilerimden birinde bahsettiÄŸim gibi mysql-bind <strong>[2]</strong> gibi bir veritabanÄ± sÃ¼rÃ¼cÃ¼sÃ¼ ile zone&#8217;larÄ±nÄ±zÄ± MySQL Ã¼zerinde tutabilirsiniz. Yine Dynamically Loadable Zones <strong>[3] </strong>(DLZ) ile farklÄ± veri kaynaklarÄ± Ã¼zerinde (MySQL, PostgreSQL, File system, ODBC, LDAP) zone&#8217;larÄ±nÄ±zÄ± saklayabilirsiniz. DNS Spliting ile isteyeceÄŸiniz herhangi bir kaynaÄŸa isteyeceÄŸiniz herhangi bir cevabÄ± dÃ¶ndÃ¼rebilirsiniz.</p>
<p><strong>Split DNS mi?</strong><br />
 Ã‡ok basit bir deÄŸiÅŸ ile aynÄ± alan adÄ± iÃ§in yapÄ±lan DNS sorgulamasÄ±nda isteÄŸi yapan kaynak IP adreslerine gÃ¶re deÄŸiÅŸik IP cevaplarÄ± verme iÅŸlemine split-horizon/split-view/split-brain <strong>[4]</strong> DNS adÄ±nÄ± veriyoruz. Bir Ã§ok DNS sununucu tarafÄ±ndan desteklenen bu metot <strong>[5]</strong> BIND&#8217;Ä±n iÃ§erisinde de Ã¶n tanÄ±mlÄ± olarak desteklenmektedir.</p>
<p><strong>NasÄ±l?</strong></p>
<p>Bind konfigrasyonu iÃ§erisinde bunu anlatan ifade &#8220;view&#8221;&#8216;dÄ±r. OluÅŸturacaÄŸÄ±nÄ±z view bloklarÄ±na gÃ¶re <strong>[6]</strong> istediÄŸiniz kaynaklara istediÄŸiniz cevaplarÄ± dÃ¶ndÃ¼rebilirsiniz.</p>
<p><code lang="apache[lines-notools]">view "local" {<br />
	match-clients { 192.168.0.0/24; };<br />
	recursion yes;<br />
	.<br />
	.<br />
	.<br />
	.<br />
	zone "domain.tld" {<br />
		type master;<br />
		file "virt/db.domain.tld.conf.local";<br />
	};<br />
};<br />
view "others" {<br />
	match-clients { any; };<br />
	recursion no;<br />
	.<br />
	.<br />
	.<br />
	.<br />
	.<br />
 	zone "domain.tld" {<br />
 		type master;<br />
 		file "virt/db.domain.tld.conf";<br />
 	};<br />
 };</code></p>
<p>Bunun gibi bir named.conf konfigÃ¼rasyonu ile yapÄ±landÄ±racaÄŸÄ±mÄ±z DNS sunucumuza 192.168.0 ile baÅŸlayan bir client&#8217;tan gelecek istek dahilinde db.domain.tld.conf.local konfigÃ¼rasyon dosyamÄ±zÄ±n iÃ§erindeki zone tanÄ±mlamalarÄ± geÃ§erli olacak ve bu clientlar aynÄ± zamanda recursive query&#8217;ler iÃ§in de kullanabilecekler, bunun haricinde olan tÃ¼m IP adresleri bu DNS sunucuya recursive query&#8217;ler iÃ§in kullanmazkan domain.tld isteklerinde db.domain.tld.conf konfigÃ¼rasyon dosyasÄ± iÃ§erisinde tanÄ±mlÄ± olan zone&#8217;lara gÃ¶re cevap alacaklar.</p>
<p> Daha dÃ¼zenli konfigÃ¼rasyon ve daha anlaÅŸÄ±lÄ±r olmasÄ± iÃ§in ÅŸÃ¶yle bir Ã¶rnek senaryo Ã§izebiliriz. Elimizde Internet Ã¼zerinde Ã§alÄ±ÅŸacak bir proje geliÅŸtiren bir ekip bÃ¼tÃ¼nÃ¼ var. Ä°ki farklÄ± lokasyonda VPN ile birbirine baÄŸlÄ± ve ofisler birbirine eriÅŸebiliyor. Ekip aynÄ± ofisi paylaÅŸan yazÄ±lÄ±m geliÅŸtiriciler ve geliÅŸtiricilerin kullandÄ±ÄŸÄ± sunucu, geliÅŸtiriciler ile aynÄ± ofisi paylaÅŸan test ekibi, ikinci lokasyonda bulunan pre-live izleyicileri ve yine ikinci lokasyonda bulunan test ekibi.<br />
 Bu coÄŸrafik olarak daÄŸÄ±tÄ±k fakat aynÄ± network iÃ§inde Ã§alÄ±ÅŸan ofis Ã¶rneÄŸinde dev.newapp.com&#8217;a istek gÃ¶nderen her ekibin farklÄ± sunucuya eriÅŸmesini ÅŸu ÅŸekilde saÄŸlarÄ±z.</p>
<p><a href="http://leoman.gen.tr/files/2011/02/DNSSplit.jpg"><img class="alignnone size-medium wp-image-271" title="DNSSplit" src="http://leoman.gen.tr/files/2011/02/DNSSplit-300x198.jpg" alt="" width="300" height="198" /></a></p>
<p> Ã–ncelikle DNS sunucumuza bir Access Control List (ACL)&#8217;leri (istek yapan IP kaynaklarÄ±nÄ± belirleyen) alt bir konfigÃ¼rasyon dosyasÄ± oluÅŸturmakla baÅŸlayalÄ±m.&nbsp; Bunun iÃ§in /etc/bind9/named.conf.acls adÄ±nda bir dosya oluÅŸturarak iÃ§erisine ilgili acl listelerini oluÅŸturuyoruz.</p>
<p><code lang="apache[lines-notools]">acl "developers" {<br />
 	#developerlara ait IP blogu<br />
 	192.168.0.0/26;<br />
};<br />
acl "testers" {<br />
 	#ofis 1 test ekibine ait IP blogu<br />
 	192.168.0.64/26;<br />
 	#ofis 2 test ekibine ait IP blogu<br />
 	192.168.1.128/26;<br />
};<br />
acl "managers" {<br />
	#sirket yoneticilerin ait ip blogu<br />
 	192.168.1.0/26;<br />
}; </code></p>
<p>Bu iÅŸlemin ardÄ±ndan sÄ±rasÄ±yla zone detaylarÄ±nÄ±n yer alacaÄŸÄ± konfigÃ¼rasyon dosyalarÄ±nÄ± yaratÄ±yoruz.</p>
<p><code lang="apache[lines-notools]">/* db.dev.newapp.com.developers */<br />
dev.newapp.com.        	600   IN      SOA     nsdev.newapp.com. sysadm.newapp.com. (<br />
                         2011022101 ; Serial<br />
                         600 ; Refresh<br />
                         600 ; Retry<br />
                         600 ; Expire<br />
                         600 ); Negative Cache TTL ;<br />
                IN      NS      nsdev.newapp.com.<br />
		IN      A       192.168.0.128<br />
www		IN      A       192.168.0.128 </code></p>
<p><code lang="apache[lines-notools]">/* db.dev.newapp.com.testers */<br />
dev.newapp.com.        	600   IN      SOA     nsdev.newapp.com. sysadm.newapp.com. (<br />
                         2011022101 ; Serial<br />
                         600 ; Refresh<br />
                         600 ; Retry<br />
                         600 ; Expire<br />
                         600 ); Negative Cache TTL ;<br />
                IN      NS      nsdev.newapp.com.<br />
		IN      A       88.88.88.88<br />
www		IN      A       88.88.88.88</code></p>
<p><code lang="apache[lines-notools]">/* db.dev.newapp.com.prelive */<br />
dev.newapp.com.        	600   IN      SOA     nsdev.newapp.com. sysadm.newapp.com. (<br />
                         2011022101 ; Serial<br />
                         600 ; Refresh<br />
                         600 ; Retry<br />
                         600 ; Expire<br />
                         600 ); Negative Cache TTL ;<br />
                IN      NS      nsdev.newapp.com.<br />
		IN      A       88.88.88.99<br />
www		IN      A       88.88.88.99 </code></p>
<p>Bu dosyalarÄ±n arÄ±ndan varolan named.conf&#8217;unuzunu iÃ§erisine Ã¶ncelikle named.conf.acls dosyasÄ±nÄ± include etmeniz ve her Ã¼Ã§ durum iÃ§in de ayrÄ± bir view eklemeniz yeterli olacaktÄ±r.</p>
<p><code lang="apache[lines-notools]">view "developers-view" {<br />
  	match-clients { "developers"; };<br />
	zone "dev.newapp.com" {<br />
 		type master;<br />
 		file "db.dev.newapp.com.developers";<br />
 	};<br />
};<br />
view "testers-view" {<br />
	match-clients { "testers"; };<br />
  	zone "dev.newapp.com" {<br />
 		type master;<br />
 		file "db.dev.newapp.com.testers";<br />
 	};<br />
};<br />
view "prelive-view" {<br />
  	match-clients { "managers"; };<br />
 	 	zone "dev.newapp.com" {<br />
 		type master;<br />
 		file "db.dev.newapp.com.prelive";<br />
 	};<br />
};</code></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>[1] <a href="http://tr.wikipedia.org/wiki/DNS" target="_blank">http://tr.wikipedia.org/wiki/DNS</a><br />
 [2] <a href="http://mysql-bind.sourceforge.net/" target="_blank">http://mysql-bind.sourceforge.net/</a><br />
 [3] <a href="http://bind-dlz.sourceforge.net/" target="_blank">http://bind-dlz.sourceforge.net/</a><br />
 [4] <a href="http://en.wikipedia.org/wiki/Split-horizon_DNS" target="_blank">http://en.wikipedia.org/wiki/Split-horizon_DNS</a><br />
 [5] <a href="http://en.wikipedia.org/wiki/Comparison_of_DNS_server_software#Feature_matrix" target="_blank">http://en.wikipedia.org/wiki/Comparison_of_DNS_server_software#Feature_matrix</a><br />
 [6] <a href="http://www.isc.org/files/arm96.html#id2549625" target="_blank">http://www.isc.org/files/arm96.html#id2549625</a></p>
<div style="height:66px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fleoman.gen.tr%2F2011%2F02%2Fbind-ile-dns-bolumleme-split-dns%2F&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=recommend&amp;colorscheme=light&amp;send=false&amp;height=62" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:62px;" allowTransparency="true"></iframe></div><div class="really_simple_share_google1" style="width:80px;"><div class="g-plusone" data-size="tall" data-href="http://leoman.gen.tr/2011/02/bind-ile-dns-bolumleme-split-dns/" ></div></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share" data-counter="top" data-url="http://leoman.gen.tr/2011/02/bind-ile-dns-bolumleme-split-dns/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http://leoman.gen.tr/2011/02/bind-ile-dns-bolumleme-split-dns/&amp;title=BIND ile DNS b&Atilde;&para;l&Atilde;&frac14;mleme (Split DNS)"></a></div><div class="really_simple_share_stumbleupon" style="width:100px;"><script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://leoman.gen.tr/2011/02/bind-ile-dns-bolumleme-split-dns/"></script></div><div class="really_simple_share_twitter" style="width:100px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" 
						data-text="BIND ile DNS bÃ¶lÃ¼mleme (Split DNS)" data-url="http://leoman.gen.tr/2011/02/bind-ile-dns-bolumleme-split-dns/" 
						data-via="leventyalcinn"   data-related="leoman:The author of this post" ></a></div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://leoman.gen.tr/2011/02/bind-ile-dns-bolumleme-split-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parallels Plesk Asp.NET MVC2 &#8216;Access is denied&#8217; hatasÄ±</title>
		<link>http://leoman.gen.tr/2011/01/parallels-plesk-asp-net-mvc2-access-is-denied-hatasi/</link>
		<comments>http://leoman.gen.tr/2011/01/parallels-plesk-asp-net-mvc2-access-is-denied-hatasi/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 11:35:39 +0000</pubDate>
		<dc:creator>leoman</dc:creator>
				<category><![CDATA[Sistem YÃ¶netimi]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[parallels]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://leoman.gen.tr/?p=232</guid>
		<description><![CDATA[Plesk yÃ¼klÃ¼ sunucunuza Asp.NET MVC2 yÃ¼kledikten sonra applicationlar Ã¼zerinde aÅŸaÄŸÄ±daki gibi bir hata almanÄ±z olasÄ±dÄ±r. Server Error in &#8216;/&#8217; Application Access is denied. (Exception from HRESULT: 0&#215;80070005 (E_ACCESSDENIED)) Could not load file or assembly &#8216;System.ServiceModel, Version=3.0.0.0 Culture&#8230;.. Bunun nedeni MVC ile yÃ¼klenen assembly&#8217;lerin Microsoft.NET kurulum dizini yerine %windir%\assembly iÃ§erisinde olmasÄ±ndandÄ±r. Bu dizine gerekli izinlerin verilmesi [...]]]></description>
			<content:encoded><![CDATA[<p>
Plesk yÃ¼klÃ¼ sunucunuza Asp.NET MVC2 yÃ¼kledikten sonra applicationlar Ã¼zerinde aÅŸaÄŸÄ±daki gibi bir hata almanÄ±z olasÄ±dÄ±r.
</p>
<p>
<strong><font color="red">Server Error in &#8216;/&#8217; Application</font></strong>
</p>
<p><strong>Access is denied. (Exception from HRESULT: 0&#215;80070005 (E_ACCESSDENIED))</strong> </p>
<p>
<strong>Could not load file or assembly &#8216;System.ServiceModel, Version=3.0.0.0 Culture&#8230;..</strong>
</p>
<p>
Bunun nedeni MVC ile yÃ¼klenen assembly&#8217;lerin Microsoft.NET kurulum dizini yerine %windir%\assembly iÃ§erisinde olmasÄ±ndandÄ±r.<br />
Bu dizine gerekli izinlerin verilmesi iÃ§in %plesk_dir%\etc\DiskSecurity\DiskSecurity.xml iÃ§erisine <Entries></Entries> tagleri arasÄ±na aÅŸaÄŸÄ±daki satÄ±rlarÄ± ekleyerek Plesk Reconfigurator Tool iÃ§erisinden Correct disk permissions&#8217;Ä± Ã§alÄ±ÅŸtÄ±rmak bu problemi Ã§Ã¶zmek iÃ§in yeterli olacaktÄ±r.
</p>
<p><code lang="xml"><Entry AccounType="1" Account="Psacln" Path="C:\Windows\assembly" AceFlags="FilesOnly" AccessMask="Read" EntryFlags="0x0" /></code></p>
<div style="height:66px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fleoman.gen.tr%2F2011%2F01%2Fparallels-plesk-asp-net-mvc2-access-is-denied-hatasi%2F&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=recommend&amp;colorscheme=light&amp;send=false&amp;height=62" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:62px;" allowTransparency="true"></iframe></div><div class="really_simple_share_google1" style="width:80px;"><div class="g-plusone" data-size="tall" data-href="http://leoman.gen.tr/2011/01/parallels-plesk-asp-net-mvc2-access-is-denied-hatasi/" ></div></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share" data-counter="top" data-url="http://leoman.gen.tr/2011/01/parallels-plesk-asp-net-mvc2-access-is-denied-hatasi/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http://leoman.gen.tr/2011/01/parallels-plesk-asp-net-mvc2-access-is-denied-hatasi/&amp;title=Parallels Plesk Asp.NET MVC2 &amp;#8216;Access is denied&amp;#8217; hatas&Auml;&plusmn;"></a></div><div class="really_simple_share_stumbleupon" style="width:100px;"><script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://leoman.gen.tr/2011/01/parallels-plesk-asp-net-mvc2-access-is-denied-hatasi/"></script></div><div class="really_simple_share_twitter" style="width:100px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" 
						data-text="Parallels Plesk Asp.NET MVC2 &#8216;Access is denied&#8217; hatasÄ±" data-url="http://leoman.gen.tr/2011/01/parallels-plesk-asp-net-mvc2-access-is-denied-hatasi/" 
						data-via="leventyalcinn"   data-related="leoman:The author of this post" ></a></div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://leoman.gen.tr/2011/01/parallels-plesk-asp-net-mvc2-access-is-denied-hatasi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parallels Plesk Windows Ã¼zerinde MS DNS problemi</title>
		<link>http://leoman.gen.tr/2010/12/parallels-plesk-windows-uzerinde-ms-dns-problemi/</link>
		<comments>http://leoman.gen.tr/2010/12/parallels-plesk-windows-uzerinde-ms-dns-problemi/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 13:53:23 +0000</pubDate>
		<dc:creator>leoman</dc:creator>
				<category><![CDATA[Sistem YÃ¶netimi]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[parallels]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://leoman.gen.tr/?p=219</guid>
		<description><![CDATA[Windows 2008 Ã¼zerinde Parallels Plesk kurulumu yaptÄ±nÄ±z ve standart olarak gelen DNS sunucu olan Bind&#8217;Ä± Microsoft DNS Server ile deÄŸiÅŸtirmek istiyorsanÄ±z bu iÅŸlemi yaptÄ±ÄŸÄ±nÄ±zda ya da DNS ile ilgili bir iÅŸlem yapmak istediÄŸinizde; dnsmng.exe REMOVE * also worked without any errors Benzeri bir hata almanÄ±z olasÄ±dÄ±r. AynÄ± hatanÄ±n farklÄ± versiyonlarÄ±nÄ± yine DNS ile ilgili iÅŸlemler [...]]]></description>
			<content:encoded><![CDATA[<p>Windows 2008 Ã¼zerinde Parallels Plesk kurulumu yaptÄ±nÄ±z ve standart olarak gelen DNS sunucu olan Bind&#8217;Ä± Microsoft DNS Server ile deÄŸiÅŸtirmek istiyorsanÄ±z bu iÅŸlemi yaptÄ±ÄŸÄ±nÄ±zda ya da DNS ile ilgili bir iÅŸlem yapmak istediÄŸinizde; </p>
<blockquote><p><em>dnsmng.exe REMOVE * also worked without any errors</em></p></blockquote>
<p>Benzeri bir hata almanÄ±z olasÄ±dÄ±r. AynÄ± hatanÄ±n farklÄ± versiyonlarÄ±nÄ± yine DNS ile ilgili iÅŸlemler sÄ±rasÄ±nda almanÄ±z mÃ¼mkÃ¼ndÃ¼r.</p>
<p>Bu problemi MS tarafÄ±ndan yayÄ±nlanmÄ±ÅŸ &#8220;Visual C++ 2005 Redistributable Package ATL Security Update&#8221;  paketi ve Parallels&#8217;in yeniden yayÄ±nladÄ±ÄŸÄ± bir DLL&#8217;i gÃ¼ncelleyerek Ã§Ã¶zebilirsiniz .</p>
<p>Bunun iÃ§in Microsoft download sayfasÄ±ndan linkteki dosyayÄ± indirerek yÃ¼klemeniz; </p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=766a6af7-ec73-40ff-b072-9112bab119c2&#038;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=766a6af7-ec73-40ff-b072-9112bab119c2&#038;displaylang=en</a></p>
<p>ArÄ±ndan da %plesk_bin%\MsProv.dll dosyasÄ±nÄ± Plesk sÃ¼rÃ¼mÃ¼nÃ¼ze uygun olanla (her ihtimale karÅŸÄ±n eski dosyayÄ± yedeklemeyi unutmayÄ±nÄ±z) deÄŸiÅŸtirmeniz yeterli olacaktÄ±r. </p>
<p><strong>Plesk 8.6;</strong><br />
<a href="http://kb.parallels.com/Attachments/13357/Attachments/MsProv86.zip">http://kb.parallels.com/Attachments/13357/Attachments/MsProv86.zip</a><br />
<strong>Plesk 9.0-9.3;</strong><br />
<a href="http://kb.parallels.com/Attachments/13357/Attachments/MsProv.dll.900-930.zip">http://kb.parallels.com/Attachments/13357/Attachments/MsProv.dll.900-930.zip</a></p>
<p><strong>Plesk 9.5;</strong><br />
<a href="http://kb.parallels.com/Attachments/13357/Attachments/MsProv.950.zip">http://kb.parallels.com/Attachments/13357/Attachments/MsProv.950.zip</a> </p>
<p>
<strong>DÃ¶kÃ¼manÄ±n orjinali iÃ§in;</strong></p>
<p><a href="http://kb.parallels.com/en/8652">http://kb.parallels.com/en/8652</a></p>
<div style="height:66px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fleoman.gen.tr%2F2010%2F12%2Fparallels-plesk-windows-uzerinde-ms-dns-problemi%2F&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=recommend&amp;colorscheme=light&amp;send=false&amp;height=62" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:62px;" allowTransparency="true"></iframe></div><div class="really_simple_share_google1" style="width:80px;"><div class="g-plusone" data-size="tall" data-href="http://leoman.gen.tr/2010/12/parallels-plesk-windows-uzerinde-ms-dns-problemi/" ></div></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share" data-counter="top" data-url="http://leoman.gen.tr/2010/12/parallels-plesk-windows-uzerinde-ms-dns-problemi/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http://leoman.gen.tr/2010/12/parallels-plesk-windows-uzerinde-ms-dns-problemi/&amp;title=Parallels Plesk Windows &Atilde;&frac14;zerinde MS DNS problemi"></a></div><div class="really_simple_share_stumbleupon" style="width:100px;"><script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://leoman.gen.tr/2010/12/parallels-plesk-windows-uzerinde-ms-dns-problemi/"></script></div><div class="really_simple_share_twitter" style="width:100px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" 
						data-text="Parallels Plesk Windows Ã¼zerinde MS DNS problemi" data-url="http://leoman.gen.tr/2010/12/parallels-plesk-windows-uzerinde-ms-dns-problemi/" 
						data-via="leventyalcinn"   data-related="leoman:The author of this post" ></a></div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://leoman.gen.tr/2010/12/parallels-plesk-windows-uzerinde-ms-dns-problemi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-V Ã¼zerine Debian Lenny kurulumu</title>
		<link>http://leoman.gen.tr/2010/07/hyper-v-uzerine-debian-lenny-kurulumu/</link>
		<comments>http://leoman.gen.tr/2010/07/hyper-v-uzerine-debian-lenny-kurulumu/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 18:49:02 +0000</pubDate>
		<dc:creator>leoman</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Sistem YÃ¶netimi]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://leoman.gen.tr/?p=182</guid>
		<description><![CDATA[Hyper-V Ã¼zerinde Lenny guest kurulumu yapacaksanÄ±z dikkat etmeniz gereken sadece iki ufak nokta vardÄ±r. Bunlardan birincisi Lenny Ã¼zerinde henÃ¼z default kernel 2.6.26 olduÄŸu iÃ§in Hyper-V tarafÄ±ndan saÄŸlanan synthetic device&#8217;lar ile konuÅŸamamktadÄ±r (kernel 2.6.32 upgrade&#8217;i ile de bunu aÅŸabilirsiniz). Bunun iÃ§in sanal makineye normal bir ethernet kartÄ± deÄŸil &#8220;Legacy Network Adapter&#8221; eklemeniz gerekmektedir. BÃ¶ylece problemsiz olarak [...]]]></description>
			<content:encoded><![CDATA[<p>Hyper-V Ã¼zerinde Lenny guest kurulumu yapacaksanÄ±z dikkat etmeniz gereken sadece iki ufak nokta vardÄ±r. </p>
<p>Bunlardan birincisi Lenny Ã¼zerinde henÃ¼z default kernel 2.6.26 olduÄŸu iÃ§in Hyper-V tarafÄ±ndan saÄŸlanan synthetic device&#8217;lar ile konuÅŸamamktadÄ±r (kernel 2.6.32 upgrade&#8217;i ile de bunu aÅŸabilirsiniz). Bunun iÃ§in sanal makineye normal bir ethernet kartÄ± deÄŸil &#8220;Legacy Network Adapter&#8221; eklemeniz gerekmektedir.</p>
<p><img src="http://leoman.gen.tr/files/2010/07/hypervdebeth.jpg" alt="" /></p>
<p>BÃ¶ylece problemsiz olarak ethernet kartlarÄ±nÄ± kullanmaya baÅŸlayabilirsiniz.</p>
<p>&nbsp;</p>
<p>Bir diÄŸer problem ise Ã¶ntanÄ±mlÄ± olarak framebuffer device&#8217;tan dolayÄ± installer ekranlarÄ±nÄ±n geÃ§ render olmasÄ±. Bunun iÃ§in boot etmeden Ã¶nce fb=off parametresi ile framebuffer device&#8217;Ä± disable edebilir ve console ortamÄ±nda daha rahat Ã§alÄ±ÅŸabilirsiniz.</p>
<p><img src="http://leoman.gen.tr/files/2010/07/download-1.jpg" alt="" /></p>
<div style="height:66px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fleoman.gen.tr%2F2010%2F07%2Fhyper-v-uzerine-debian-lenny-kurulumu%2F&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=recommend&amp;colorscheme=light&amp;send=false&amp;height=62" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:62px;" allowTransparency="true"></iframe></div><div class="really_simple_share_google1" style="width:80px;"><div class="g-plusone" data-size="tall" data-href="http://leoman.gen.tr/2010/07/hyper-v-uzerine-debian-lenny-kurulumu/" ></div></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share" data-counter="top" data-url="http://leoman.gen.tr/2010/07/hyper-v-uzerine-debian-lenny-kurulumu/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http://leoman.gen.tr/2010/07/hyper-v-uzerine-debian-lenny-kurulumu/&amp;title=Hyper-V &Atilde;&frac14;zerine Debian Lenny kurulumu"></a></div><div class="really_simple_share_stumbleupon" style="width:100px;"><script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://leoman.gen.tr/2010/07/hyper-v-uzerine-debian-lenny-kurulumu/"></script></div><div class="really_simple_share_twitter" style="width:100px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" 
						data-text="Hyper-V Ã¼zerine Debian Lenny kurulumu" data-url="http://leoman.gen.tr/2010/07/hyper-v-uzerine-debian-lenny-kurulumu/" 
						data-via="leventyalcinn"   data-related="leoman:The author of this post" ></a></div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://leoman.gen.tr/2010/07/hyper-v-uzerine-debian-lenny-kurulumu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mikrotik betiklerinde dÃ¶ngÃ¼ler ve koÅŸullar</title>
		<link>http://leoman.gen.tr/2009/01/mikrotik-betiklerinde-donguler-ve-kosullar/</link>
		<comments>http://leoman.gen.tr/2009/01/mikrotik-betiklerinde-donguler-ve-kosullar/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 06:34:45 +0000</pubDate>
		<dc:creator>leoman</dc:creator>
				<category><![CDATA[Gezegen]]></category>
		<category><![CDATA[Programlama]]></category>
		<category><![CDATA[Sistem YÃ¶netimi]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[mikrotik]]></category>
		<category><![CDATA[nasÄ±l]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://leoman.gen.tr/?p=14</guid>
		<description><![CDATA[Belli bir Ã¶ÄŸe dizisi iÃ§in bir Ã¶zelliÄŸi belli koÅŸullara gÃ¶re ayarlamamÄ±z gerekiyorsa bunu winbox Ã¼zerinden defalarca tÄ±klayarak yapmak bir Ã§Ã¶zÃ¼m olabileceÄŸi gibi aynÄ± iÅŸi bir betik aracÄ±lÄ±ÄŸÄ± ile de yapmak mÃ¼mkÃ¼n olacaktÄ±r. Kabuk Ã¼zerinde koÅŸul dizilimi ÅŸu ÅŸekildedir. [admin@Mikrotik] > :global deger1 "degerli" [admin@Mikrotik] > :global deger2 "degersiz" [admin@Mikrotik] > :if ($deger1 = $deger2) do={:put [...]]]></description>
			<content:encoded><![CDATA[<p>Belli bir Ã¶ÄŸe dizisi iÃ§in bir Ã¶zelliÄŸi belli koÅŸullara gÃ¶re ayarlamamÄ±z gerekiyorsa bunu winbox Ã¼zerinden defalarca tÄ±klayarak yapmak bir Ã§Ã¶zÃ¼m olabileceÄŸi gibi aynÄ± iÅŸi bir betik aracÄ±lÄ±ÄŸÄ± ile de yapmak mÃ¼mkÃ¼n olacaktÄ±r.</p>
<p>Kabuk Ã¼zerinde koÅŸul dizilimi ÅŸu ÅŸekildedir.</p>
<p><code lang="bash"><br />
[admin@Mikrotik] > :global deger1 "degerli"<br />
[admin@Mikrotik] > :global deger2 "degersiz"<br />
[admin@Mikrotik] > :if ($deger1 = $deger2) do={:put "Eslesiyor"}\<br />
[admin@Mikrotik] > else={:put "Eslesmiyor"}<br />
</code></p>
<p>Bu ÅŸekilde ÅŸartlara gÃ¶re seÃ§imimizi yapabilir ve iÅŸlemlerimizi gerÃ§ekleÅŸtirebiliriz.</p>
<p>DÃ¶ngÃ¼ler; belirtmiÅŸ olduÄŸumuz durum saÄŸlanÄ±ncaya kadar iÅŸlem tekrarÄ±dÄ±r.<br />
Kabuk iÃ§erisindeki sÃ¶z dizimi ise ÅŸu ÅŸekildedir;</p>
<p><code lang="bash"><br />
[admin@Mikrotik] > :for i from=1 to=10 do={:put $i}<br />
</code></p>
<p>ile 1&#8242;den 10&#8242;a kadar sayÄ±larÄ± ekrana bastÄ±rabiliriz.</p>
<p>Daha reel bir uygulama yapacak olursak kuyruk listemizde ekli olan tÃ¼m kurallarÄ±n maksimum download ve upload&#8217;Ä±nÄ± 1Mb ile limitlendirelim;</p>
<p><code lang="bash"><br />
[admin@Mikrotik] > :local queueLen [ :len [ /queue simple find ]]; \<br />
:for i from=0 to=$queueLen do={ /queue simple set $i max-limit=1000000/1000000}<br />
</code></p>
<p>Bu Ã¶rnekte Ã¶ncelikle :len ile tÃ¼m kuyrukta yer alan kurallarÄ±n sayÄ±sÄ± aldÄ±k. Bu deÄŸeri daha sonra kullanabilmek iÃ§in lokal bir deÄŸiÅŸken olan queueLen&#8217;e atadÄ±k. Bir sonraki komut dizesinde ise tÃ¼m kuyruk boyunca max-limit deÄŸerini 1Mb olarak atamÄ±ÅŸ olduk.</p>
<p>Yine diÄŸer programlama dillerinden aÅŸina olduÄŸumuz diziler Ã¼zerinde Ã§alÄ±ÅŸabilmeyi mÃ¼mkÃ¼n kÄ±lan foreach dÃ¶ngÃ¼sÃ¼nÃ¼ de kabuk Ã¼zerinde kullanabilmekteyiz.</p>
<p><code lang="bash"></p>
<p>[admin@Mikrotik] > :local toplamIP [/ip address find interface="ether1"];\<br />
:foreach idIP in=$toplamIP do={\<br />
:local durum [/ip address get $idIP disabled];\<br />
:local IPadresi [/ip address get $idIP address];\<br />
:if ($durum="false") do={:put ($IPadresi . " Kapali\n")}\<br />
else={:put ($IPadresi . " Acik\n")}}<br />
</code></p>
<p>Burdaki Ã¶rnekle beraber ether1 Ã¼zerindeki IP adreslerinin KapalÄ± ya da AÃ§Ä±k olmasÄ± durumuna dair bir listesi alÄ±nabilir. </p>
<p>Sadece belli sayÄ±daki iÅŸlemler iÃ§in deÄŸil belirli bir koÅŸula gÃ¶re iÅŸleyebilecek bir dÃ¶ngÃ¼mÃ¼z de var. Bu dÃ¶ngÃ¼mÃ¼z do..while ya da while&#8230;do dÃ¶ngÃ¼sÃ¼. Bu dÃ¶ngÃ¼ye ait sÃ¶z dizilimi de ÅŸu ÅŸekildedir.</p>
<p><code lang="bash"></p>
<p>[admin@Mikrotik] > :global ethernetCount [:len [/interface find type=ether]]; :global $i 0;<br />
[admin@Mikrotik] > :while ($i < $ethernetCount) do={\<br />
:put [/interface ethernet $i name]; :set i ($i+1);}<br />
</code></p>
<p><code lang="bash"><br />
[admin@Mikrotik] > :global i 11;<br />
[admin@Mikrotik] > :do {:put $i; :set i ($i - 1);} while=($i > 0)<br />
[admin@Mikrotik] > :unset i;<br />
</code></p>
<div style="height:66px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fleoman.gen.tr%2F2009%2F01%2Fmikrotik-betiklerinde-donguler-ve-kosullar%2F&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=recommend&amp;colorscheme=light&amp;send=false&amp;height=62" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:62px;" allowTransparency="true"></iframe></div><div class="really_simple_share_google1" style="width:80px;"><div class="g-plusone" data-size="tall" data-href="http://leoman.gen.tr/2009/01/mikrotik-betiklerinde-donguler-ve-kosullar/" ></div></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share" data-counter="top" data-url="http://leoman.gen.tr/2009/01/mikrotik-betiklerinde-donguler-ve-kosullar/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http://leoman.gen.tr/2009/01/mikrotik-betiklerinde-donguler-ve-kosullar/&amp;title=Mikrotik betiklerinde d&Atilde;&para;ng&Atilde;&frac14;ler ve ko&Aring;Ÿullar"></a></div><div class="really_simple_share_stumbleupon" style="width:100px;"><script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://leoman.gen.tr/2009/01/mikrotik-betiklerinde-donguler-ve-kosullar/"></script></div><div class="really_simple_share_twitter" style="width:100px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" 
						data-text="Mikrotik betiklerinde dÃ¶ngÃ¼ler ve koÅŸullar" data-url="http://leoman.gen.tr/2009/01/mikrotik-betiklerinde-donguler-ve-kosullar/" 
						data-via="leventyalcinn"   data-related="leoman:The author of this post" ></a></div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://leoman.gen.tr/2009/01/mikrotik-betiklerinde-donguler-ve-kosullar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mikrotik betik programcÄ±lÄ±ÄŸÄ± &#8211; DeÄŸiÅŸkenler</title>
		<link>http://leoman.gen.tr/2009/01/mikrotik-betik-programciligi-degiskenler/</link>
		<comments>http://leoman.gen.tr/2009/01/mikrotik-betik-programciligi-degiskenler/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 04:08:07 +0000</pubDate>
		<dc:creator>leoman</dc:creator>
				<category><![CDATA[Gezegen]]></category>
		<category><![CDATA[Programlama]]></category>
		<category><![CDATA[Sistem YÃ¶netimi]]></category>
		<category><![CDATA[betik]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[mikrotik]]></category>
		<category><![CDATA[nasÄ±l]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://leoman.gen.tr/?p=39</guid>
		<description><![CDATA[Mikrotik betik dili Ã¼zerinde iki tip deÄŸiÅŸken bulunmaktadÄ±r. global &#8211; TÃ¼m aktif kullanÄ±cÄ±lar ve betikler tarafÄ±ndan eriÅŸilebilen deÄŸiÅŸken tipidir. global deyimi ile tanÄ±mlanÄ±r. local &#8211; Sadece tanÄ±mlandÄ±ÄŸÄ± blok iÃ§erisinden eriÅŸilebilen deÄŸiÅŸken tipidir, yine local deyimi ile tanÄ±mlanÄ±r. [admin@Mikrotik] > :local testDegiskeni; :set testDegiskeni "Test ediyoruz"; :put $testDegiskeni AynÄ± kod bloÄŸu iÃ§erisinde Ã¶ncelikle local bir testDegiskeni [...]]]></description>
			<content:encoded><![CDATA[<p>Mikrotik betik dili Ã¼zerinde iki tip deÄŸiÅŸken bulunmaktadÄ±r.</p>
<ul>
<li>global &#8211; TÃ¼m aktif kullanÄ±cÄ±lar ve betikler tarafÄ±ndan eriÅŸilebilen deÄŸiÅŸken tipidir. global deyimi ile tanÄ±mlanÄ±r.</li>
<li>local &#8211; Sadece tanÄ±mlandÄ±ÄŸÄ± blok iÃ§erisinden eriÅŸilebilen deÄŸiÅŸken tipidir, yine local deyimi ile tanÄ±mlanÄ±r.</li>
</ul>
<p><code lang="bash"><br />
[admin@Mikrotik] > :local testDegiskeni; :set testDegiskeni "Test ediyoruz"; :put $testDegiskeni<br />
</code><br />
AynÄ± kod bloÄŸu iÃ§erisinde Ã¶ncelikle local bir testDegiskeni adÄ±nda bir deÄŸiÅŸken oluÅŸturduk, deÄŸerini Test ediyoruz olarak atadÄ±k, daha sonrada deÄŸiÅŸkenimizin deÄŸerini ekrana bastÄ±rdÄ±k.</p>
<p>Peki bu deÄŸiÅŸkeni daha birden fazla satÄ±rÄ± ve/veya kod bloÄŸu olan bir betik iÃ§erisinde kullanma ihtiyacÄ±mÄ±z olsa idi?<br />
<code lang="bash"><br />
[admin@Mikrotik] > :global testDegiskeni<br />
[admin@Mikrotik] > :set testDegiskeni "Mikrotik dunyasina hosgeldin\n"<br />
[admin@Mikrotik] > :for i from=1 to=3 do={:put $testDegiskeni}<br />
</code><br />
Bu Ã¶rnekte de gÃ¶rÃ¼lebileceÄŸi gibi testDegiskeni adÄ±nda bir global deÄŸiÅŸken tanÄ±mladÄ±k ve daha sonraki kod bloklarÄ±mÄ±zdan deÄŸiÅŸkenimize ulaÅŸarak gerekli iÅŸlemleri yaptÄ±k.</p>
<div style="height:66px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fleoman.gen.tr%2F2009%2F01%2Fmikrotik-betik-programciligi-degiskenler%2F&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=recommend&amp;colorscheme=light&amp;send=false&amp;height=62" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:62px;" allowTransparency="true"></iframe></div><div class="really_simple_share_google1" style="width:80px;"><div class="g-plusone" data-size="tall" data-href="http://leoman.gen.tr/2009/01/mikrotik-betik-programciligi-degiskenler/" ></div></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share" data-counter="top" data-url="http://leoman.gen.tr/2009/01/mikrotik-betik-programciligi-degiskenler/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http://leoman.gen.tr/2009/01/mikrotik-betik-programciligi-degiskenler/&amp;title=Mikrotik betik programc&Auml;&plusmn;l&Auml;&plusmn;&Auml;Ÿ&Auml;&plusmn; &amp;#8211; De&Auml;Ÿi&Aring;Ÿkenler"></a></div><div class="really_simple_share_stumbleupon" style="width:100px;"><script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://leoman.gen.tr/2009/01/mikrotik-betik-programciligi-degiskenler/"></script></div><div class="really_simple_share_twitter" style="width:100px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" 
						data-text="Mikrotik betik programcÄ±lÄ±ÄŸÄ± &#8211; DeÄŸiÅŸkenler" data-url="http://leoman.gen.tr/2009/01/mikrotik-betik-programciligi-degiskenler/" 
						data-via="leventyalcinn"   data-related="leoman:The author of this post" ></a></div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://leoman.gen.tr/2009/01/mikrotik-betik-programciligi-degiskenler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mikrotik Ã¼zerinde betik programcÄ±lÄ±ÄŸÄ±</title>
		<link>http://leoman.gen.tr/2009/01/mikrotik-uzerinde-betik-programciligi/</link>
		<comments>http://leoman.gen.tr/2009/01/mikrotik-uzerinde-betik-programciligi/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 04:05:48 +0000</pubDate>
		<dc:creator>leoman</dc:creator>
				<category><![CDATA[Gezegen]]></category>
		<category><![CDATA[Programlama]]></category>
		<category><![CDATA[Sistem YÃ¶netimi]]></category>
		<category><![CDATA[betik]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[mikrotik]]></category>
		<category><![CDATA[nasÄ±l]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://leoman.gen.tr/?p=32</guid>
		<description><![CDATA[Mikrotik bildiÄŸiniz Ã¼zre kolay kullanÄ±mÄ± iÃ§in gÃ¼zel bir gÃ¶rsel kullanÄ±cÄ± arayÃ¼zÃ¼ne sahiptir.Â  Bu arayÃ¼z sayesinde Ã§ok kolay ayarlanabilen, takip edilebilen, kullanÄ±cÄ± dostu bir iÅŸletim sistmidir. Bu kadar kolaylÄ±k arasÄ±nda ya kendimize/duruma Ã¶zel iÅŸlemler yapmak istersek? Ya aynÄ± iÅŸlemi defalarca yapmak zorunda isek? Ya da bir iÅŸlemi sayÄ±sÄ±z kere belirli aralÄ±klarla yapmak zorunda isek? Bu kadar [...]]]></description>
			<content:encoded><![CDATA[<p>Mikrotik bildiÄŸiniz Ã¼zre kolay kullanÄ±mÄ± iÃ§in gÃ¼zel bir gÃ¶rsel kullanÄ±cÄ± arayÃ¼zÃ¼ne sahiptir.Â  Bu arayÃ¼z sayesinde Ã§ok kolay ayarlanabilen, takip edilebilen, kullanÄ±cÄ± dostu bir iÅŸletim sistmidir.</p>
<p>Bu kadar kolaylÄ±k arasÄ±nda ya kendimize/duruma Ã¶zel iÅŸlemler yapmak istersek? Ya aynÄ± iÅŸlemi defalarca yapmak zorunda isek? Ya da bir iÅŸlemi sayÄ±sÄ±z kere belirli aralÄ±klarla yapmak zorunda isek?</p>
<p>Bu kadar esnek bir sistem tabi ki de buna da imkan tanÄ±yacaktÄ±r. Mikrotik gÃ¼Ã§lÃ¼ kabuÄŸu sayesinde tÃ¼m iÅŸlerinizi otomatik hale getirmenize ya da durumlara Ã¶zel Ã§areler Ã¼retmenize yardÄ±mcÄ± olacaktÄ±r.Â  Kabuk Ã¼zerinden (Telnet/SSH/Winbox/Serial) iÅŸinize uygun bir betik yazarak dilediÄŸiniz gibi tÃ¼m iÅŸlemlerinizi gerÃ§ekleÅŸtirebilirsiniz.</p>
<p>Genel anlamda kullanacaÄŸÄ±mÄ±z kabuk *nix Ã¼zerinde yer alan kabuklardan pek te farklÄ± deÄŸildir. Bash ya da sh&#8217;ta kullanmÄ±ÅŸ olduÄŸumuz &#8220;\&#8221;, &#8220;;&#8221; ,&#8221;#&#8221;,&#8221;{}&#8221;,&#8221;[]&#8220;Â  sÄ±nÄ±rlayÄ±cÄ±lar pek fark olmadan yine bu kabuk Ã¼zerinde kullanÄ±labilir.</p>
<h2><strong>Veri tipleri</strong></h2>
<p>Betik yazÄ±mÄ± sÄ±rasÄ±nda sÄ±k sÄ±k kullanacaÄŸÄ±mÄ±z deÄŸiÅŸkenler iÃ§in Ã¶nceden belirlenmiÅŸ tipler mevcuttur. Bunlar;</p>
<ul>
<li>number &#8211; 64 bitlik Integer tipi deÄŸiÅŸken tÃ¼rÃ¼ (iÅŸaretli +/-), aynÄ± zamanda hexadecimal veri giriÅŸi de mÃ¼mkÃ¼ndÃ¼r.</li>
<li>boolean &#8211; doÄŸru/yanlÄ±ÅŸ veri tipi, true ya da false deÄŸerlerini alabilmektedir.</li>
<li>string &#8211; karakter dizisidir. &#8220;test verisi&#8221; gibi bir deÄŸer alabilir.</li>
<li>IP &#8211; IP adresi barÄ±ndÄ±rabilen veri tipidir.</li>
<li>time &#8211; tarih ve zaman tutan veri tipidir.</li>
<li>array &#8211; dizi verileri tutabilen veri tipidir.</li>
<li>nil &#8211; Ã¶ntanÄ±mlÄ± veri tipidir, deÄŸiÅŸken deÄŸer verilmediÄŸi sÃ¼rece deÄŸeri nil&#8217;dir.</li>
</ul>
<h2><strong>AyrÄ±mlama iÅŸaretleri</strong></h2>
<ul>
<li>\&#8221;Â  Â Â Â  Â -Â  Ã§ift tÄ±rnak</li>
<li>\\ Â Â Â  &#8211; ters bÃ¶lÃ¼</li>
<li>\n Â Â Â  &#8211; yeni satÄ±r</li>
<li>\r Â Â Â  &#8211; satÄ±r baÅŸÄ±</li>
<li>\t Â Â Â  &#8211; yatay sekme</li>
<li>\$</li>
<li>\?</li>
<li>\_ Â Â Â  &#8211; boÅŸluk</li>
<li>\a Â Â Â  &#8211; zil</li>
<li>\b Â Â Â  &#8211; gerisilme</li>
<li>\f Â Â Â  &#8211; sayfa ileri</li>
<li>\v Â Â Â  &#8211; yatay sekme</li>
<li>\xx Â Â Â  &#8211; onaltÄ±lÄ±k dÃ¼zende deÄŸer</li>
</ul>
<h2><strong>OperatÃ¶rler</strong></h2>
<h3>Aritmetiksel OperatÃ¶rler</h3>
<ul>
<li>+Â  toplama</li>
<li>- Â  Ã§Ä±karna</li>
<li>/Â  bÃ¶lme</li>
<li>*Â  Ã§arpma</li>
<li>-Â  negatif</li>
</ul>
<h3>KarÅŸÄ±laÅŸtÄ±rma OperatÃ¶rleri</h3>
<ul>
<li>&lt; kÃ¼Ã§Ã¼kse</li>
<li>&gt; bÃ¼yÃ¼kse</li>
<li>&lt;= kÃ¼Ã§Ã¼k ve eÅŸitse</li>
<li>&gt;= bÃ¼yÃ¼k ve eÅŸitse</li>
<li>= eÅŸitse</li>
<li>!= eÅŸit deÄŸilse</li>
</ul>
<h3>MantÄ±ksal OperatÃ¶rler</h3>
<ul>
<li>&#8220;!&#8221; / &#8220;not&#8221;Â  deÄŸilse</li>
<li>&#8220;&amp;&amp;&#8221; / &#8220;and&#8221; ve</li>
<li>&#8220;||&#8221; / &#8220;or&#8221; veya</li>
</ul>
<h3>Bitsel OperatÃ¶rler</h3>
<p>Bitsel operatÃ¶rler yanlÄ±zca number ve IP veritiplerindeki deÄŸiÅŸkenler/deÄŸerler iÃ§in kullanÄ±labilmektedir.</p>
<ul>
<li>&#8220;~&#8221;Â  deÄŸil, bitin tersini alma</li>
<li>&#8220;&amp;&#8221; ve (1 ve iÅŸleminde etkisiz, 0 biti ise yutan elemandÄ±r)</li>
<li>&#8220;|&#8221; veya (0 ve iÅŸleminde etkisiz, 1 biti ise yutan elemandÄ±r)</li>
<li>&#8220;^&#8221; Ã¶zel veya (aynÄ± bitler iÃ§in 0, farklÄ± bitler iÃ§in 1 elde eder)</li>
<li>&#8220;&lt;&lt;&#8221; sola kaydÄ±rmaÂ  (belirtilen deÄŸer kadar bitleri sola kaydÄ±rÄ±r)</li>
<li>&#8220;&gt;&gt;&#8221; saÄŸa kaydÄ±rma (belirtilen deÄŸer kadar bitleri saÄŸa kaydÄ±rÄ±r)</li>
</ul>
<h3>BirleÅŸtirme operatÃ¶rleri</h3>
<ul>
<li>&#8220;.&#8221; Ä°ki karakter dizisini birbirine baÄŸlar.</li>
<li>&#8220;,&#8221; Dizi elemanlarÄ±nÄ± birbiri ardÄ±na sÄ±ralar/Diziye yeni deÄŸer ekler.</li>
</ul>
<div style="height:66px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fleoman.gen.tr%2F2009%2F01%2Fmikrotik-uzerinde-betik-programciligi%2F&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=recommend&amp;colorscheme=light&amp;send=false&amp;height=62" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:62px;" allowTransparency="true"></iframe></div><div class="really_simple_share_google1" style="width:80px;"><div class="g-plusone" data-size="tall" data-href="http://leoman.gen.tr/2009/01/mikrotik-uzerinde-betik-programciligi/" ></div></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share" data-counter="top" data-url="http://leoman.gen.tr/2009/01/mikrotik-uzerinde-betik-programciligi/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http://leoman.gen.tr/2009/01/mikrotik-uzerinde-betik-programciligi/&amp;title=Mikrotik &Atilde;&frac14;zerinde betik programc&Auml;&plusmn;l&Auml;&plusmn;&Auml;Ÿ&Auml;&plusmn;"></a></div><div class="really_simple_share_stumbleupon" style="width:100px;"><script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://leoman.gen.tr/2009/01/mikrotik-uzerinde-betik-programciligi/"></script></div><div class="really_simple_share_twitter" style="width:100px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" 
						data-text="Mikrotik Ã¼zerinde betik programcÄ±lÄ±ÄŸÄ±" data-url="http://leoman.gen.tr/2009/01/mikrotik-uzerinde-betik-programciligi/" 
						data-via="leventyalcinn"   data-related="leoman:The author of this post" ></a></div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://leoman.gen.tr/2009/01/mikrotik-uzerinde-betik-programciligi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

