<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>.:: Volkan Altan'ın Notları ::.</title><link>http://volkanaltan.blogspot.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/volkanaltan" /><description>Karşıma çıkan şeyler...</description><language>en</language><managingEditor>noreply@blogger.com (Volkan)</managingEditor><lastBuildDate>Fri, 27 Jan 2012 07:36:52 PST</lastBuildDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">126</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><feedburner:info uri="volkanaltan" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Technology/Software How-To</media:category><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><itunes:explicit>no</itunes:explicit><itunes:subtitle>Karşıma çıkan şeyler...</itunes:subtitle><itunes:category text="Technology"><itunes:category text="Software How-To" /></itunes:category><feedburner:emailServiceId>volkanaltan</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Web sayfamda yavaslama var ne yapabilirim?</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/D1K8EH-_wAA/web-sayfamda-yavaslama-var-ne.html</link><category>xDebug</category><category>Php</category><category>Debug</category><category>Performance</category><author>noreply@blogger.com (Volkan)</author><pubDate>Fri, 27 Jan 2012 07:36:52 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-1414794216826571091</guid><description>&lt;a href="http://www.gelistiricigunlugu.com/wp-content/uploads/2012/01/pd_200807012411104_-200x200.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="http://www.gelistiricigunlugu.com/wp-content/uploads/2012/01/pd_200807012411104_-200x200.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Yeni bir yazi yazdim &lt;a href="http://www.gelistiricigunlugu.com/sayfada-yavaslama-var-ne-yapabilirim/"&gt; http://www.gelistiricigunlugu.com/sayfada-yavaslama-var-ne-yapabilirim/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-1414794216826571091?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/D1K8EH-_wAA" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-27T17:36:52.685+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2012/01/web-sayfamda-yavaslama-var-ne.html</feedburner:origLink></item><item><title>Ayrılık Vakti...</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/79a3ztk0Gyk/ayrlk-vakti.html</link><category>Genel</category><author>noreply@blogger.com (Volkan)</author><pubDate>Thu, 29 Dec 2011 11:16:14 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-1015863802056576062</guid><description>4.5 Yıldır çalışmakta olduğum şirketten bugün istifa ettim. 2 ay daha yen bir arkadaş işe alınıp işleri devredene kadar çalışmaya devam edeceğim. Bu sürecin iki taraf içinde hayırlı olmasını diliyorum... Benim için güzel anılarla dolu yıllardı üzerimde emeği geçen herkese buradan teşekkür ederim. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Bende iyi bir ekiple çalışmak için iş başvurularına başladım.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-1015863802056576062?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/79a3ztk0Gyk" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-29T21:16:14.707+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2011/12/ayrlk-vakti.html</feedburner:origLink></item><item><title>PHP İle Debug İşlemleri</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/s-HNZsPqKHs/php-ile-debug-islemleri.html</link><category>xDebug</category><category>Php</category><category>FireBug</category><category>ZFDebug</category><category>FirePHP</category><author>noreply@blogger.com (Volkan)</author><pubDate>Tue, 27 Dec 2011 11:52:50 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-5302157459444558191</guid><description>&lt;a href="http://www.gelistiricigunlugu.com/wp-content/uploads/2011/12/Screen-Shot-2011-12-25-at-7.31.31-PM-200x200.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="http://www.gelistiricigunlugu.com/wp-content/uploads/2011/12/Screen-Shot-2011-12-25-at-7.31.31-PM-200x200.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;div&gt;PHP İle Debug İşlemlerini yapmanın yollarını anlatan bir makale yazdım.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.gelistiricigunlugu.com/php-ile-debug-islemleri/"&gt;http://www.gelistiricigunlugu.com/php-ile-debug-islemleri/&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-5302157459444558191?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/s-HNZsPqKHs" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-27T21:52:50.153+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2011/12/php-ile-debug-islemleri.html</feedburner:origLink></item><item><title>InnoDB kullananacaklar için ipucları</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/RyQAirdY79k/innodb-kullananacaklar-icin-ipuclar.html</link><category>MySql</category><category>MySql innodb</category><author>noreply@blogger.com (Volkan)</author><pubDate>Mon, 21 Nov 2011 14:02:15 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-3272810374083957693</guid><description>&lt;a href="http://www.gelistiricigunlugu.com/innodb-kullananacaklar-icin-ipuclari/"&gt;InnoDB kullanacaklar için ipuçları &lt;/a&gt;isimli bir yazı yazdım. Ara sıra girip güncelliyorum.&lt;div&gt;Konu başlığında innoDB olsada iş orayı geçiyor :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-3272810374083957693?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/RyQAirdY79k" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-22T00:02:15.701+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2011/11/innodb-kullananacaklar-icin-ipuclar.html</feedburner:origLink></item><item><title>Full Petrol</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/Ake48RpjqrE/full-petrol.html</link><category>full</category><author>noreply@blogger.com (Volkan)</author><pubDate>Mon, 21 Nov 2011 13:59:14 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-870431176721715052</guid><description>Bildiğiniz üzere &lt;a href="http://www.full.com.tr"&gt;FULL&lt;/a&gt; isimli yeni bir akaryakıt istasyonu var. &lt;div&gt;İnternette hakkında bir sürü olumsuz şey var. Bende bu sebeple full'e sıcak bakmıyordum. &lt;/div&gt;&lt;div&gt;Taki bayramda kardeşim İstanbul'a gelip deposunu full den fulleyene kadar :) &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Memlekete o depo ile gitti ve çok memnun kaldı.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Bende gidip depoyu bitmek üzereyken full den doldurdum. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Sonuç : Çok memnunum çekişte felan hiç sorun yok. Ayrıca gece 02:00 da gidip uygun fiyata yakıt aldım. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-870431176721715052?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/Ake48RpjqrE" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-21T23:59:14.735+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2011/11/full-petrol.html</feedburner:origLink></item><item><title>Geliştirici günlüğü ve muhtemelen üçüncü haber</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/C-cbzWi1Im8/gelistirici-gunlugu-ve-muhtemelen.html</link><category>ggunlugu</category><category>Geliştirici Günlüğü</category><author>noreply@blogger.com (Volkan)</author><pubDate>Tue, 15 Nov 2011 00:36:10 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-6282717693902901979</guid><description>&lt;a href="http://www.gelistiricigunlugu.com/wp-content/themes/LeanBiz/images/logo.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 254px; height: 36px;" src="http://www.gelistiricigunlugu.com/wp-content/themes/LeanBiz/images/logo.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;gelistiricigunlugu.com, içerisinde benim de bulunduğum, genelde web yazılım teknolojilerindeki bilgileri paylaşan/paylaşacak bir kaç developer arkadaşın ürünü. Gönül isterdi ki wordpress yerine kendi yazılımımız olsun, ama maalesef buna herkesin ayıracak zamanı yok gibi görünüyor şimdilik.&lt;br /&gt;&lt;br /&gt;Proje için vakit ayırıp yazdığım yazıyı burdan paylaşayım. &lt;a href="http://www.gelistiricigunlugu.com/zend-framework-2-eventmanager-kullanimi-1/"&gt;Zend Framework 2 EventManager Kullanımı – 1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Bu arada anlatılan konu uzun ve anlatacak &lt;b&gt;çok&lt;/b&gt; şey olduğu için parçalara böldüm.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Hatalıysam&lt;/span&gt; volkanaltan@gmail.com :)&lt;br /&gt;&lt;br /&gt;"Bizi takip edin anacım"&lt;br /&gt;&lt;br /&gt;bknz: &lt;a href="http://yuxel.net/?module=news&amp;amp;action=show_id&amp;amp;id=484"&gt;http://yuxel.net/?module=news&amp;amp;action=show_id&amp;amp;id=484&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-6282717693902901979?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/C-cbzWi1Im8" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-15T10:36:10.824+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2011/11/gelistirici-gunlugu-ve-muhtemelen.html</feedburner:origLink></item><item><title>Fatma Berra Dünyaya Geldi</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/jQMi-w5GEAg/fatma-berra-dunyaya-geldi.html</link><category>Fatma Berra</category><category>Genel</category><author>noreply@blogger.com (Volkan)</author><pubDate>Sat, 12 Nov 2011 16:58:13 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-3430794570997721253</guid><description>Yaklaşık 9 aylık bir bekleyişin ardından 6 Temmuz 23:50'de kızımız dünyaya geldi.  &lt;a href="http://volkanaltan.blogspot.com/2010/04/ali-haydar-efendinin-resimleri.html"&gt;Ali Haydar&lt;/a&gt;'ın aksine güzel yüzlü doğdu :) Sanırım kız olduğu için kıyak geçilmiş. Gerçi şu an oğlumuzun Maşallah'ı var :)&lt;br /&gt;En önemlisi vatana, millete, ailesine hayırlı birer evlat olmaları nede olsa güzel ahlak dışında kalan herşey geçici...&lt;br /&gt;&lt;br /&gt;Ali haydar'dan edindiğimiz tecrübeler eşiğinde bu kez daha dikkatli olup sarılık ve benzeri hastalıklara yakalanmaması için elimizden gelen çabayı gösterdik. Ama buna rağmen çok ağladığı ve 2 saate anca beslenmesini tamamlayabildiği için doktora götürdük. İyi ki götürmüşüz hemen yoğun bakıma alındı dikkat edip beslenmesine özen gösterdiğimiz kızımızın sarılığı 18 çıktı. Doğumundan sonrada 300 gram zayıflamış. Bunların yanı sıra bir bağırsaklarında mikrop varmış... &lt;br /&gt;&lt;br /&gt;Şu an itibariyle durumu daha iyi anne sütü dışında başka birşey ile beslenmemesi için sürekli ilgileniyoruz. İnaşallah 4-5 gün içinde taburcu edilecek.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Allah herkese hayırlı sağlıklı evlat nasip etsin. Hasta olanlarada acil şifalar versin. Hasta olmak, hastası olmak hele bebek ise çok zor. Rabbim tüm hastalara şifa versin.&lt;br /&gt;&lt;br /&gt;Not: Hiç resim yok çünkü daha resimlerini bile çekmemiştik.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-3430794570997721253?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/jQMi-w5GEAg" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-13T02:58:13.972+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">6</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2011/11/fatma-berra-dunyaya-geldi.html</feedburner:origLink></item><item><title>MySQL Group_Concat ile sum,min,max vs. function kullanmak</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/Mjbz44iN-Eo/mysql-groupconcat-icinde-summinmax-vs.html</link><category>MySql</category><author>noreply@blogger.com (Volkan)</author><pubDate>Fri, 21 Oct 2011 07:15:51 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-8275797666790098707</guid><description>Çok basit,  çok karmaşık sorunları bile aşağıdaki gibi çözebilirsiniz.&lt;br /&gt;&lt;br /&gt;Mantık olarak ana sql de istediğiniz sonucu almak için joinler içinde ara işlemlerinizi yapıyorsunuz...&lt;br /&gt;&lt;br /&gt;&lt;pre class="sql" name="code"&gt;&lt;br /&gt; SELECT&lt;br /&gt;  CONCAT(rt.Name, '(', rtt.Name , ')') as Name,&lt;br /&gt;  r.HotelId,&lt;br /&gt;  r.RoomTypeId,&lt;br /&gt;  r.RateId,&lt;br /&gt;  GROUP_CONCAT( DISTINCT CONCAT_WS('-', &lt;br /&gt;   r.BDate, &lt;br /&gt;   CASE WHEN r.Quantity IS NULL THEN 'null' ELSE r.Quantity END, &lt;br /&gt;   r.RoomId,&lt;br /&gt;   CASE WHEN rr.Quantity IS NULL THEN 0 ELSE (rr.Quantity) END,&lt;br /&gt;   CASE WHEN r.IsClosed IS NULL THEN '' ELSE r.IsClosed END&lt;br /&gt;  ) SEPARATOR ',') as Availibility&lt;br /&gt; FROM&lt;br /&gt;  view_ratetranslate rtt&lt;br /&gt; INNER JOIN Rooms r&lt;br /&gt; ON r.RateId = rtt.RateId&lt;br /&gt; LEFT JOIN view_roomtypetranslate rt&lt;br /&gt; ON rt.RoomTypeId =  r.RoomTypeId&lt;br /&gt; AND rt.LngIsDefault = 1&lt;br /&gt; LEFT JOIN (&lt;br /&gt;  SELECT RoomId, SUM(Quantity) as Quantity FROM Reserved_Rooms &lt;br /&gt;  GROUP BY RoomId &lt;br /&gt; ) as rr&lt;br /&gt; ON rr.RoomId = r.RoomId&lt;br /&gt; WHERE&lt;br /&gt;  rtt.LngIsDEfault = 1&lt;br /&gt;  AND r.HotelId = 1&lt;br /&gt;  AND r.BDate &gt;= '2011-10-23' AND r.BDate &lt;= '2011-10-25'&lt;br /&gt;  AND r.RoomId = 1032&lt;br /&gt; GROUP BY r.RateId, r.RoomTypeId ;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Burda işi bitiren kod ;&lt;br /&gt;&lt;pre class="sql" name="code"&gt;&lt;br /&gt; LEFT JOIN (&lt;br /&gt;  SELECT RoomId, SUM(Quantity) as Quantity FROM Reserved_Rooms &lt;br /&gt;  GROUP BY RoomId &lt;br /&gt; ) as rr&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-8275797666790098707?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/Mjbz44iN-Eo" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-21T17:15:51.832+03:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2011/10/mysql-groupconcat-icinde-summinmax-vs.html</feedburner:origLink></item><item><title>Zend Framework Hızlı Başlangıç</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/I9Y2kYAHGIE/zend-framework-hizli-baslangic.html</link><category>Zend Framework</category><category>HowTo</category><category>Zend</category><author>noreply@blogger.com (Volkan)</author><pubDate>Fri, 30 Sep 2011 14:42:18 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-5248538507784447924</guid><description>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; "&gt;&lt;p class="c0 c6" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; line-height: 1; "&gt;&lt;span&gt;Merhaba,&lt;/span&gt;&lt;/p&gt;&lt;p class="c3 c0 c6" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; line-height: 1; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0 c6" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; line-height: 1; "&gt;&lt;span&gt;Dökümanı daha iyi okumak için bu linki kullanabilirisiniz.&lt;br /&gt;&lt;/span&gt;&lt;span class="c5" style="color: rgb(0, 0, 153); text-decoration: underline; "&gt;&lt;a class="c4" href="https://docs.google.com/document/d/10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o/edit?hl=tr" style="text-decoration: inherit; "&gt;https://docs.google.com/document/pub?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&lt;/a&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; "&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Bu yazımda sizlere hızlıca Zend Framework nasıl kullanılır onu anlatacağım. Ayrıca view helper, model, zend_db, render, partial render, controller, view,  module, zend view bağımsız kullanımı kullanım örneklerini göstereceğim.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Birde üstüne githubda örnek proje linkini vereceğim ve bu proje aşama aşama gelişmeye devam edecek. Bunu sıfırdan öğrenmek yerine en temel gereksinimlerin kullanıldığı bir proje olarak düşünün.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Aynı zamanda javascript işlemleri için nasıl bir yol izlediğimi inline kod yazmadan nasıl bu işleri yaptığımı göstereceğim. Tabi Burda &lt;/span&gt;&lt;span class="c1" style="color: rgb(0, 0, 153); text-decoration: underline; "&gt;&lt;a class="c5" href="http://yuxel.net/" style="text-decoration: inherit; "&gt;Osman Yüksel&lt;/a&gt;&lt;/span&gt;&lt;span&gt;’in emeği var onun yaptığı projeleri inceleyip “esinlenecek” birşeyler illaki buluyorum.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Gelelim projemize;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;IDE: Netbeans&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;PHP: 5x&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;MySQL : 5x&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;1. Öncelikle projeyi indirin : &lt;/span&gt;&lt;span class="c1" style="color: rgb(0, 0, 153); text-decoration: underline; "&gt;&lt;a class="c5" href="https://github.com/volkan/zf-sample-project" style="text-decoration: inherit; "&gt;https://github.com/volkan/zf-sample-project&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;2. sampleproject isimli bir veritabanı oluşturun.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;3. zf-sample-project/developer/scripts% dizinine geçin ve restoreDb.sh dosyasının mysql bilgilerini kendinize göre güncelleyin.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;4. Terminalden ./restoreDb.sh komutunu verin.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="15" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1tPjWv36QX3MMTOFyBfUpQf0EGParX98" width="363" /&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Veritabanının yüklendiğinden emin olun.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="116" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=105QpPljxJHlaHqmNlaeP_kHwAS5lZVo" width="216" /&gt;&lt;span&gt;&lt;br /&gt;5. Browsera http://sample.local yazdığınızda açılacak şekilde projeyi ayarlayın.&lt;br /&gt;Bunun için hosts dosyasına ve apache httpd.conf a ayar yapmanız gerekiyor.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Veya direk &lt;/span&gt;&lt;span class="c1" style="color: rgb(0, 0, 153); text-decoration: underline; "&gt;&lt;a class="c5" href="http://localhost/zf-sample-project/public" style="text-decoration: inherit; "&gt;http://localhost/zf-sample-project/public&lt;/a&gt;&lt;/span&gt;&lt;span&gt; yazdığınızda çalışacaktır&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span class="c4" style="font-weight: bold; "&gt;Şimdi dosyalarımızı tanıyalım.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;configs&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="74" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1ngVmC4L-T_poqPe1EYh1BdYhfH5y8bo" width="199" /&gt;&lt;span&gt;application.ini içerisine bütün tanımlamalarımızı yapıyoruz. Özellikle bizim kendimize ait olan Action Helper, View Helper ve dışarıdan kullanacağımız dosyaları burada belirtiyoruz. Ayrıca Genel ayarlar vs... İstersek bu dosyaların sayısını çoğaltabiliriz. &lt;/span&gt;&lt;span class="c1" style="color: rgb(0, 0, 153); text-decoration: underline; "&gt;&lt;a class="c5" href="https://github.com/kebab-project" style="text-decoration: inherit; "&gt;kebab project &lt;/a&gt;&lt;/span&gt;&lt;span&gt;de bununla ilgili örnekler mevcut oraya bakabilirsiniz.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;library&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="255" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1Eam8M1uA2VEbQXqrPiOaUZJxsQ7rDKY" width="233" /&gt;&lt;span&gt;Zend’in kendi Action’ını kullanmak yerine kendi oluşturduğumu kullanıp onuda Zend den extend ediyorum böylece araya bir katman daha atmış olduğumdan rahatlıkla çeşitli müdahalelerde bulunabiliyorum. Örnek session kullanımı.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Action.php&lt;br /&gt;&lt;/span&gt;&lt;img height="186" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1W2gL3uGCIlV1_vXUw7OxyvvuROoU0B8" width="521" /&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Bu actionu kullanan IndexContoller.php&lt;br /&gt;&lt;/span&gt;&lt;img height="264" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1x-8QYzdV-Dx00H0bDoLn6szpGNdGG_w" width="352" /&gt;&lt;span&gt;Görüldüğü üzere sesion işlemlerini hızlıca hallettim.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;My/Controller/Action/Helper altında Email.php var. Controller üzerinden bu helper’a ulaşıp email atabilirim. Mevcut kodlarda hata anında email atması sağlandı ama application.ini de email ayarlarını yapmanız gerek. Ayrıca resources.frontController.throwExceptions = 0 olmalı. Yoksa hataları ekrana basar.&lt;br /&gt;&lt;/span&gt;&lt;img height="291" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1ZrUO1no0_75ZaFbCXqd14H7E3cpLAxo" width="629" /&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Email.php dosyasına yazdığım metodlara ismini yazarak kolayca ulaşabilirim.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;My/Module/Email.php dosyasında ise Zend_Email kullanılarak email atma işlemleri hallediliyor.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Gelelim view dosyalarından tek hamleyle çağırdığımız view helper dosyalarına.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;My/View/Helper&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;        Cdn.php -&amp;gt; application.ini de ayarları mevcut burdan istediğiniz şekilde içeriğinizi farklı yerlerde tutup kullanmanıza olanak sağlayan bir sistem. Aynı zamanda hızlı bir şekilde dosyalara ulaşmanızı sağlıyor.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;default.phtml den örnek;&lt;br /&gt;&lt;/span&gt;&lt;img height="57" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=19INSaCevAOCUSHULb2O0LtQqHPMf7IA" width="785" /&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;application.ini de ayarlar şu şekilde;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;img height="342" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1yGmnCFylpZWZLBzOP7-K5B96i5IWCT8" width="444" /&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;GetRequest.php adı üstünde.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span class="c4" style="font-weight: bold; "&gt;JsModules.php&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Bu dosya önemli çünkü bunun sayesinde hangi sayfada olduğumuzu javascript’e söylüyoruz o da sayfamız neyse ona göre arkada kod çalıştırıyor. Böylece html içine hiç js kodu yazmamış oluyoruz.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="59" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=11RpDUMjJuPvF8eplWcWGgI6UtHnIgss" width="650" /&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;çıktısı&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="65" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1eBw67O07oGox5eb0pW88acW019bQDkI" width="597" /&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Bootstrap.php burda da her zaman çalışacak komutlarımızı application.ini içerisine yazamayacağımız şeyleri yazıyoruz. Daha amacı var ama bu kadarı şimdilik yeterli.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="420" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1O2jGswzd4zhlBkjb4tqc8BQm38A0QhI" width="265" /&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Şimdi bu büyük resme bakarak kalan eksikleri yazalım.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span class="c4" style="font-weight: bold; "&gt;layout&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Burda projenin ana hatları belirleniyor. yine default olarak default.phtml in açılacağını application.ini den yazıyoruz. Daha sonra elle değiştirebiliriz. Controller içerisinden bu işi yapmak için komut : &lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="235" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1a6gi7AYhpiJa_nyGu0z88OVj9AEHvZA" width="522" /&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Aynı zamanda eğer istersek bu actiona ait render işlemini iptal edebiliriz.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Veya layout u iptal edebiliriz.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Olmadı başka sayfadan render ettirebiliriz.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;$this-&amp;gt;renderScript('static/static.phtml'); Bu komut ile index.phtml yerine istediğiniz sayfayı render ettirirsiniz.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;$this-&amp;gt;render('static'); Bu komut ile scripts/index altındaki static.phtml dosyasını render ederseniz ve bunu bir değişkene atabilirsiniz.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Ayrıca render işlemi maliyetli geliyorsa &lt;/span&gt;&lt;span class="c4" style="font-weight: bold; "&gt;partial&lt;/span&gt;&lt;span&gt; ile belirli parçaları view dosyalarından layoutdan çağırıp parçaları birleştirebilirsiniz. &lt;/span&gt;&lt;span class="c4" style="font-weight: bold; "&gt;left.phtml right.phtml &lt;/span&gt;&lt;span&gt;gibi...&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="126" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=10qwa5UNTAQF9lJ0KcYoBShAwU-aLj3w" width="415" /&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Aynı zamanda örnek bir view helper erişimide mevcut. $this-&amp;gt; dediğimiz an view helperler elimizde... view helper dosyalarından &lt;/span&gt;&lt;span class="c4" style="font-weight: bold; "&gt;değişkenlere müdahele edebiliriz&lt;/span&gt;&lt;span&gt; bunu unutmayın...&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Ek olarak bazı dosyaların içinde php kodu çalıştırmak ve bir takım işlemler yapmak istiyorsunuz. O zaman devreye Zend_View giriyor.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Email.php&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="170" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1Rr4AEHrI8vk2A6OlFZiE8OoAM66BdF0" width="593" /&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Dosya yolunu gösterip değişken ataması yapıyorum. Ve o muhteşem an. İşlem başarılı.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Modullerde aynı şekilde çalışıyor modül adını yazıp altına controller helper scripts dosyaları atıyorsunuz. &lt;/span&gt;&lt;span class="c4" style="font-weight: bold; "&gt;Ama modül altına attığınız helperi sadece o modül çağırır bunu unutmayın.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span class="c4" style="font-weight: bold; "&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span class="c4" style="font-weight: bold; "&gt;Veritabanı İşlemleri&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Zend_Db bir ORM bunun yerine Doctrin de kullanabilirsiniz. Yukarda belirttiğim gibi kebab projesinde Doctrinli örnek mevcut.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0 c2" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;models/DbTable altına veritabanındaki tablolarımızla uygun isimlendirilmiş dosyalar oluşturuyoruz.  Önemli olan içindeki ayarların doğru yapılması.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="186" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1RwEQ5jnIvirQqigmI5Gw2ZJEdpe5lO8" width="324" /&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Örnek kullanım:&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;img height="90" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1D1-GX3eXPILLD-_QFY6UPKosXIKxloA" width="469" /&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Burda en basit haliyle tablodan data çektik daha fazlası için manuel ne güne duruyor değil mi ?&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Son olarak gelelim JavaScript işlemlerine. Nasıl yapsakda html içine tek satır kod yazmadan bütün işlerimizi halletsek ?&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Bunun için şu yöntem çok iyi.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span class="c4" style="font-weight: bold; "&gt;body&lt;/span&gt;&lt;span&gt; içine &lt;/span&gt;&lt;span class="c4" style="font-weight: bold; "&gt;data-jsModules  &lt;/span&gt;&lt;span&gt;isimli bir özellik açıyoruz. Buraya mevcut sayfayı yazıp js nin burayı okumasını sağlıyoruz. Böylece eşleşme olduğunda bu sayfaya ait kodlar çalışıyor.&lt;/span&gt;&lt;img height="256" src="https://docs.google.com/document/pubimage?id=10YHOANBO59DNOOmgvRE0LBrofO6jnARq9tZguG1Pa1o&amp;amp;image_id=1H01j2d_pMwOHM73qQDWX0Al09oz3itY" width="492" /&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Örnek kod:&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;sampleproject.pages.denemeIndex = {};&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;(function ($, index, env) {    &lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;   var onload = function() {&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;       $.jGrowl(env.denemeIndex)&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;   };&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;   &lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;   index.init = function () {      &lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;       onload()&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;   }&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;   &lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;}(jQuery, sampleproject.pages.denemeIndex, sampleproject.env));&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Şimdilik aklıma gelenler bunlar.&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span&gt;Eğer talep olursa ve fırsat olursa ilerleyen günlerde admin tarafında ACL ile güvenlik kontrolü için örnek Plugin işlemleri user işlemleri vs.. anlatacağım.&lt;/span&gt;&lt;/p&gt;&lt;p class="c2 c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; height: 11pt; direction: ltr; "&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span class="c1" style="color: rgb(0, 0, 153); text-decoration: underline; "&gt;&lt;a class="c5" href="http://volkanaltan.com/" style="text-decoration: inherit; "&gt;http://volkanaltan.com&lt;/a&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span class="c1" style="color: rgb(0, 0, 153); text-decoration: underline; "&gt;&lt;a class="c5" href="http://framework.zend.com/manual/" style="text-decoration: inherit; "&gt;http://framework.zend.com/manual/&lt;/a&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span class="c1" style="color: rgb(0, 0, 153); text-decoration: underline; "&gt;&lt;a class="c5" href="https://github.com/volkan/zf-sample-project" style="text-decoration: inherit; "&gt;https://github.com/volkan/zf-sample-project&lt;/a&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="c0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; direction: ltr; "&gt;&lt;span class="c1" style="color: rgb(0, 0, 153); text-decoration: underline; "&gt;&lt;a class="c5" href="https://github.com/kebab-project" style="text-decoration: inherit; "&gt;https://github.com/kebab-project&lt;/a&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-5248538507784447924?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/I9Y2kYAHGIE" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-01T00:42:18.739+03:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2011/10/zend-framework-hizli-baslangic.html</feedburner:origLink></item><item><title>Ruby On Rails Bölüm 2 İlişkisel Veritabanı</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/Nzk6q_zv45g/ruby-on-rails-bolum-2-iliskisel.html</link><category>ROR</category><category>Ruby On Rails</category><author>noreply@blogger.com (Volkan)</author><pubDate>Wed, 05 Oct 2011 01:47:24 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-5009810529004405039</guid><description>Merhaba,&lt;br /&gt;&lt;br /&gt;&lt;a href="http://volkanaltan.blogspot.com/2011/09/ruby-on-rails-bolum-1.html"&gt;http://volkanaltan.blogspot.com/2011/09/ruby-on-rails-bolum-1.html&lt;/a&gt; Burda yapılanları unutup tekrar projemizi oluşturup alanları yeniden gönül rahalığı ile doğru bir şekilde oluşturalım. İlk yazı başlangıç problemleriyle geçen bir yazı olduğu için kod yazmanın tadına varamadık burda ilkinden edindiğimiz tecrübeler ile daha hızlı ilerleyeceğiz.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Kaynak kod: &lt;a href="https://github.com/volkan/cms"&gt;cms&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;İşlemlerin detayları hakkında bilgimiz olduğu için (hangi dizinden yapıldığı gibi) sadece komutları topladım.&lt;br /&gt;Ayrıca burda fazladan tablolar ve güncelleştirmeler olabilir bu sebepten dökümana sadık kalmanızı tavsiye ediyorum.&lt;br /&gt;&lt;pre class="rails" name="code"&gt;rails new cms -d mysql&lt;br /&gt;#bir önceki yazıdan database.yml dosyası bilgilerini alıp buraya girdim&lt;br /&gt;rails generate scaffold Content site_id:integer parent_id:integer category_id:integer title:string description:text status:boolean&lt;br /&gt;rails generate scaffold ContentCategory title:string status:boolean&lt;br /&gt;rails g scaffold Site parent_id:integer title:string url:string folder_name:string host_name:string status:boolean&lt;br /&gt;rails g scaffold Language code:string&lt;br /&gt;rails g scaffold ContentTranslation language_id:integer content_id:integer field_name:string content:text status:boolean&lt;br /&gt;rake db:create&lt;br /&gt;rake db:migrate&lt;br /&gt;rails server&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Yukardaki komutları çalıştırdığınızda ContentCategory isimli bir tablo değil content_categories isimli bir tablo oluştuğunu göreceksiniz. Çoğul isimlendirmeyi sizin yerinize Rails hallediyor.&lt;br /&gt;&lt;br /&gt;Yukarda yapmaya çalıştığımız sistemi biraz anlatmaya çalışayım böylece ne yaptığımızdan haberimiz olsun :)&lt;br /&gt;&lt;br /&gt;1. Yapacağımız sistem de tek kod altında çalışan bir sürü site olacak.&lt;br /&gt;2. Her sitenin kendine ait birden fazla domaini olabilir.&lt;br /&gt;3. Her site içeriğinin (content) birden fazla içerik kategorisiyle ilişkisi olabilir. (ContentCategory)&lt;br /&gt;Ama bu ilişkileri şimdilik ayrı bir tabloda tutmayacağım.&lt;br /&gt;4. Her içerik birden fazla dile sahip olabilir. Bunun için ContentTranslate var. &lt;span style="font-weight:bold;"&gt;field_name&lt;/span&gt; alanına title gibi bir field,  &lt;span style="font-weight:bold;"&gt;content&lt;/span&gt; alanında ise bu field a ait içerik bilgisi barındırılacak. Her içeriğin birden fazla field_name ve content alanı olabilecek.&lt;br /&gt;Ayrıca Dil tanımlamasıda burda yapılacak. Yani field_name'i title olan bir kayıt için Türkçe ve İngilizce olarak 2 kayıt girilecek.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Aşağıdaki şekilde browser ile data girişi yapabiliyor olmamız gerek. Sorun varsa &lt;a href="http://volkanaltan.blogspot.com/2011/09/ruby-on-rails-bolum-1.html"&gt;ilk makaleye&lt;/a&gt; dönüp burayı kontrol edin.&lt;br /&gt;http://localhost:3000/sites http://localhost:3000/sites/new&lt;br /&gt;http://localhost:3000/contents http://localhost:3000/contents/new&lt;br /&gt;http://localhost:3000/content_translates ..&lt;br /&gt;http://localhost:3000/translates ..&lt;br /&gt;&lt;br /&gt;Önce &lt;span style="font-weight:bold;"&gt;veritabanı ilişkileri&lt;/span&gt; olmaksızın direk console üzerinden data girişi yapalım.&lt;br /&gt;&lt;br /&gt;&lt;pre class="rails" name="code"&gt;[volkan@volkans-MacBook]~/Development/rubyonrails/cms% rails console&lt;br /&gt;Loading development environment (Rails 3.1.0)&lt;br /&gt;ruby-1.9.2-p290 :001 &amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="rails" name="code"&gt;ruby-1.9.2-p290 :002 &amp;gt; site1 = Site.create(:title =&amp;gt; "deneme sitesi", :url =&amp;gt;"deneme.com", :folder_name =&amp;gt; "denemecom", :host_name =&amp;gt; "deneme.com,test.deneme.com", :status =&amp;gt; true)&lt;br /&gt;  (0.3ms)  BEGIN&lt;br /&gt; SQL (0.4ms)  INSERT INTO `sites` (`created_at`, `folder_name`, `host_name`, `parent_id`, `status`, `title`, `updated_at`, `url`) VALUES ('2011-09-27 18:05:27', 'denemecom', 'deneme.com,test.deneme.com', NULL, 1, 'deneme sitesi', '2011-09-27 18:05:27', 'deneme.com')&lt;br /&gt;  (0.7ms)  COMMIT&lt;br /&gt;=&amp;gt; #&lt;site deneme="" 27=""&gt;&lt;br /&gt;&lt;/site&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Oluşturduğumuz kayda erişip bir kaç ufak deneme yapalım.&lt;br /&gt;&lt;pre class="rails" name="code"&gt;ruby-1.9.2-p290 :005 &amp;gt; site1.title&lt;br /&gt;=&amp;gt; "deneme sitesi"&lt;br /&gt;ruby-1.9.2-p290 :006 &amp;gt; site1.title.length&lt;br /&gt;=&amp;gt; 13&lt;br /&gt;ruby-1.9.2-p290 :007 &amp;gt; site1.title.reverse&lt;br /&gt;=&amp;gt; "isetis emened"&lt;br /&gt;ruby-1.9.2-p290 :008 &amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;İçerik girişi&lt;br /&gt;&lt;br /&gt;&lt;pre class="rails" name="code"&gt;ruby-1.9.2-p290 :008 &amp;gt; content1 = Content.create(:site_id =&amp;gt; 1, :category_id =&amp;gt; 1, :title =&amp;gt; "ilk icerik", :description =&amp;gt; "aciklama")&lt;br /&gt;  (0.2ms)  BEGIN&lt;br /&gt; SQL (0.3ms)  INSERT INTO `contents` (`category_id`, `created_at`, `description`, `parent_id`, `site_id`, `title`, `updated_at`) VALUES (2, '2011-09-27 18:13:25', 'aciklama', NULL, 2, 'ilk icerik', '2011-09-27 18:13:25')&lt;br /&gt;  (0.6ms)  COMMIT&lt;br /&gt;=&amp;gt; #&lt;content ilk="" 27=""&gt;&lt;br /&gt;&lt;/content&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Şimdi site_id 1 olan kayıtları çağıralım.&lt;br /&gt;&lt;pre class="rails" name="code"&gt;ruby-1.9.2-p290 :008 &amp;gt; Site.find(1).contents&lt;br /&gt;Site Load (0.5ms)  SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1&lt;br /&gt;NoMethodError: undefined method `contents' for #&lt;site:0x000001042d2eb8&gt;&lt;br /&gt;&lt;/site:0x000001042d2eb8&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Ama görüldüğü üzere hataların ardı arkası kesilmedi. Çünkü şu anda bu ilişkiler tanımlanmamış.&lt;br /&gt;önce &lt;span style="font-weight:bold;"&gt;exit&lt;/span&gt; yapıp console dan çıkalım.&lt;br /&gt;&lt;br /&gt;ilk olarak bu dosyayı düzenleyelim.&lt;br /&gt;app/models/site.rb&lt;br /&gt;&lt;br /&gt;sites tablosuna bağlı birden fazla content olabilir. bunu has_many komutu ile tanımlıyoruz. Aynı zamanda özel olarak tanımlama yapabiliriz mesela Sites'a bağlı content çağrıldığında sadece şunları çağır gibi.&lt;br /&gt;Bu özel tanımlama için conditions komutu kullanılıyor.&lt;br /&gt;&lt;br /&gt;&lt;pre class="rails" name="code"&gt;:conditions =&amp;gt; ['status = ?', true]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="rails" name="code"&gt;class Site &amp;lt; ActiveRecord::Base   has_many :contents,            :foreign_key =&amp;gt; "site_id"&lt;br /&gt;end&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;app/models/content.rb&lt;br /&gt;&lt;br /&gt;Bu dosyada ise ihtiyaçları tanımlıyoruz. Yani bu tablo şuna ihtiyaç duyar gibi.&lt;br /&gt;&lt;br /&gt;&lt;pre class="rails" name="code"&gt;class Content &amp;lt; ActiveRecord::Base   belongs_to :sites   has_many :content_translations   end &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Burda aynı zamanda çeviri tablosunuda tanımladık.&lt;br /&gt;&lt;br /&gt;Şimdi tekrar console geçip aynı komutu yazalım.&lt;br /&gt;&lt;br /&gt;-------------------------------Ara kod---------------------------------&lt;br /&gt;Ben burda contents için status alanını oluşturmamıştım o nedenle hata verdi. Tabi yukarda var çünkü güncelledim :) Kısa güncelleştirmeler için şöyle yapıyorum.&lt;br /&gt;&lt;pre class="rails" name="code"&gt;rails g migration AlterContent&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Dosyanın içini şu şekilde doldurdum&lt;br /&gt;&lt;pre class="rails" name="code"&gt;class AlterContent &amp;lt; ActiveRecord::Migration   def up     add_column :contents, :status, :boolean   end    def down     remove_colmn :contents, :status, :boolean   end end &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="rails" name="code"&gt;rake db:migrate&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;-------------------------------Ara kod Bitiş---------------------------------&lt;br /&gt;&lt;pre class="rails" name="code"&gt;ruby-1.9.2-p290 :001 &amp;gt; Site.find(1).contents&lt;br /&gt; Site Load (0.5ms)  SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1&lt;br /&gt; Content Load (0.4ms)  SELECT `contents`.* FROM `contents` WHERE `contents`.`site_id` = 1 AND (status = 1)&lt;br /&gt;=&amp;gt; []&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Görüldüğü üzere Status = 1 eklenmiş. Bunu gördük site.rb  dosyasından bu kısmı kaldırıyorum.&lt;br /&gt;çıkıp tekrar girmemiz gerek. (Artık çıkıp tekrar girme gerektiği konusunu hatırlatmayacağım bunu aklınızda tutun :) )&lt;br /&gt;&lt;pre class="rails" name="code"&gt;ruby-1.9.2-p290 :001 &amp;gt; Site.find(1).contents&lt;br /&gt; Site Load (0.5ms)  SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1&lt;br /&gt; Content Load (0.4ms)  SELECT `contents`.* FROM `contents` WHERE `contents`.`site_id` = 1&lt;br /&gt;=&amp;gt; [#&lt;content ilk="" 27="" nil=""&gt;]&lt;br /&gt;&lt;/content&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;İlişkisini tanımladığımız tablolarda tek hamleyle aşağıdaki gibi istediğimiz kadar kayıt oluşturabiliriz.&lt;br /&gt;Buda işleri hızlandırmada bize yardımcı olacak bir unsur.&lt;br /&gt;&lt;pre class="rails" name="code"&gt;ruby-1.9.2-p290 :003 &amp;gt; site = Site.create(:title =&amp;gt; "site 4")&lt;br /&gt;ruby-1.9.2-p290 :004 &amp;gt; content = site.contents.create(:title =&amp;gt; "icerik 4")&lt;br /&gt;(0.2ms)  BEGIN&lt;br /&gt; SQL (0.4ms)  INSERT INTO `contents` (`category_id`, `created_at`, `description`, `parent_id`, `site_id`, `status`, `title`, `updated_at`) VALUES (NULL, '2011-09-27 19:28:03', NULL, NULL, 4, NULL, 'icerik 4', '2011-09-27 19:28:03')&lt;br /&gt;  (0.9ms)  COMMIT&lt;br /&gt;=&amp;gt; #&lt;content icerik="" 27="" nil=""&gt;&lt;br /&gt;&lt;br /&gt;ruby-1.9.2-p290 :007 &amp;gt; content.content_translations.create(:language_id =&amp;gt; 1, :field_name =&amp;gt; "[title-1]", :content =&amp;gt; "title1 in basligi")&lt;br /&gt;&lt;/content&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Sanırım olayın mantığı anlaşıldı. Aynı şekilde hiç yeni site oluşturmadan kayıt çekip onun üstünden gitmek istersek&lt;br /&gt;aşağıdaki komut işimizi görecek. Gerisi yukardaki gibi devam ediyor.&lt;br /&gt;&lt;pre class="rails" name="code"&gt;ruby-1.9.2-p290 :008 &amp;gt; site2 = Site.find(2)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Kaynak kod: &lt;a href="https://github.com/volkan/cms"&gt;cms&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-5009810529004405039?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/Nzk6q_zv45g" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-05T11:47:24.798+03:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2011/09/ruby-on-rails-bolum-2-iliskisel.html</feedburner:origLink></item><item><title>Ruby On Rails Bölüm 1</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/0-seG8yBJew/ruby-on-rails-bolum-1.html</link><category>ROR</category><category>Ruby On Rails</category><author>noreply@blogger.com (Volkan)</author><pubDate>Tue, 27 Sep 2011 10:57:05 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-3390397514024706286</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-8_08dpXFMPk/Tnuco8lwe8I/AAAAAAAAAIE/f6P3IWfxI1A/s1600/ruby-on-rails.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 300px; height: 188px;" src="http://1.bp.blogspot.com/-8_08dpXFMPk/Tnuco8lwe8I/AAAAAAAAAIE/f6P3IWfxI1A/s320/ruby-on-rails.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5655285984366984130" /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;ROR a başlayan biri olarak sanırım karşılaştığım şeyleri yazsam hem bana hemde başkalarına oldukça faydası olacak.
&lt;br /&gt;Yeni bir dil öğrenmenin adımlarını hızlıca ve gereksiz detaylara girmeden anlatmaya çalışacağım. Yazıda ayrıca yaptığım hataları sizinde yapmanız sağlanıyor böylece çözümüde aramaya yardım ediyorum çünkü ben o hatayı yaptım başkasıda yapabilir veya bana denk gelen bir taş olabilir(belki bana göre taştır)
&lt;br /&gt;
&lt;br /&gt;Kullandığım işletim sistemi Mac OS Lion
&lt;br /&gt;
&lt;br /&gt;Ruby : 1.9.2p290
&lt;br /&gt;Rails : 3.1.0
&lt;br /&gt;gem  : 1.8.10
&lt;br /&gt;IDE   : Netbeans
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;https://github.com/joshfng/railsready
&lt;br /&gt;
&lt;br /&gt;Burda kurulum işlemlerini yaptıktan sonra logout yapıp yeni console ile rvm enter dediğinizde komutu bulamıyorsa PATH lerin eklendiği dosyaya elle müdahale etmeniz gerekiyor demektir.
&lt;br /&gt;
&lt;br /&gt;~/.bash_profile de eklenen satırları ~/.zshrc içine atmam gerekti.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;Sonrası burada : https://rvm.beginrescueend.com/rubies/default/
&lt;br /&gt;Böylece ruby versyon olayını istediğiniz gibi değiştirebileceksiniz.
&lt;br /&gt;
&lt;br /&gt;Burda ana hedef Rails framework u kullanılarak bir içerik yönetim sistemi yazma.
&lt;br /&gt;
&lt;br /&gt;&lt;pre class="ruby" name="code"&gt;
&lt;br /&gt;[volkan@volkans-MacBook]~/Development/rubyonrails% rails new cms -d mysql
&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;Şimdi bir sürü gereksinim kurup ayarlama yapılacak eğer bir hata meydana gelirse projeyi silip yeniden bu adıma dönün sorun büyük ihtimalle çözülebilir.
&lt;br /&gt;
&lt;br /&gt;Veritabanı mysql olan bir cms projesi oluşturduk.
&lt;br /&gt;İpucu: Veritabanı ayarları için cms/config/database.yml
&lt;br /&gt;
&lt;br /&gt;Şimdi projeyi aktif edelim. Bunun için proje içine girip şu komutu yazıyoruz.
&lt;br /&gt;
&lt;br /&gt;&lt;pre class="ruby" name="code"&gt;
&lt;br /&gt;[volkan@volkans-MacBook]~/Development/rubyonrails/cms% rails server
&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;Browser dan http://localhost:3000/ dediğimizde işlem tamam.
&lt;br /&gt;Şimdi projemizi geliştirelim.
&lt;br /&gt;
&lt;br /&gt;Database oluşturalım
&lt;br /&gt;
&lt;br /&gt;&lt;pre class="ruby" name="code"&gt;
&lt;br /&gt;~/Development/rubyonrails/cms% rake db:create
&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;Öncelikle veritabanı yapısını oluşturalım. Tablo ve Field isimlendirmede şuralara göz atabilirsiniz.
&lt;br /&gt;http://itsignals.cascadia.com.au/?p=7
&lt;br /&gt;
&lt;br /&gt;Alanlara vereceğiniz tipler için ise şurası iyi bir kaynak: http://www.orthogonalthought.com/blog/index.php/2007/06/mysql-and-ruby-on-rails-datatypes/
&lt;br /&gt;
&lt;br /&gt;&lt;pre class="rails" name="code"&gt;
&lt;br /&gt;rails generate scaffold Content site_id:integer parent_id:integer category_id:integer title:string description:text
&lt;br /&gt;
&lt;br /&gt;rails g scaffold Site parent_id:integer name:string title:string url:string status:boolean
&lt;br /&gt;
&lt;br /&gt;rails g scaffold ContentTranslate translate_id:integer content_id:integer field:string content:text status:boolean
&lt;br /&gt;
&lt;br /&gt;rails g scaffold Translate code:string
&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;Şimdi bu tabloları db ye aktaralım. Eğer DB yoksa aşağıdaki komut eksik olur, öncesinde rake db:create çalıştırmak gerek.
&lt;br /&gt;
&lt;br /&gt;&lt;pre class="ruby" name="code"&gt;
&lt;br /&gt;rake db:migrate
&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;Sonradan güncelleme yapmak istersek direk dosyalardan bunu yapıp tekrar migrate komutunu çalıştırmalıyız.
&lt;br /&gt;cms/db/migrate/20110920185806_create_contents.rb
&lt;br /&gt;Ama bu işe yaramayacaktır :) Nedeni aşağıda yazıyor. 
&lt;br /&gt;
&lt;br /&gt;db oluşturduktan sonra kurulacak ilişkileri anlamak için
&lt;br /&gt;http://guides.rubyonrails.org/association_basics.html
&lt;br /&gt;http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html
&lt;br /&gt;
&lt;br /&gt;Oluşturulan tabloda güncelleme yapmak için.
&lt;br /&gt;
&lt;br /&gt;&lt;pre class="ruby" name="code"&gt;
&lt;br /&gt;rails g migration FixColumnName
&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;gibi bir isimle işlem dosyası oluşturuyoruz.
&lt;br /&gt;
&lt;br /&gt;&lt;pre class="ruby" name="code"&gt;
&lt;br /&gt;class FixColumnName &lt; ActiveRecord::Migration   def up     change_table :volkans do |t|       t.rename :content_id, :cmd_id     end   end    def down   end end 
&lt;br /&gt;rake db:migrate  
&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;ile değişikliklerin db ye gitmesini sağlıyoruz.  Yeni kolon eklemek ve daha fazla örnek için: http://api.rubyonrails.org/classes/ActiveRecord/Migration.html
&lt;br /&gt;http://stackoverflow.com/questions/1992019/how-to-rename-a-database-column-in-rails-using-migration
&lt;br /&gt;
&lt;br /&gt;İpucu: Db de işlem yapmak için oluşturduğunuz dosya bir kere eşitleme yaptıktan sonra aynı komutla bir daha çalışmıyor.
&lt;br /&gt;Çünkü schema_migrations tablosunda işlemleri tutup dosyaların kullanılıp kullanılmadığını tutuyor. Böylece size eski sürümlere dönme imkanı tanyor. Yenilik için yeniden dosya oluşturmak gerek. içine up ve down isimli iki tanımlama yapıp istersek sadece up veya downu çalıştırabiliriz. Zaten varsayılan olarak up çalışıyor.
&lt;br /&gt;
&lt;br /&gt;Örnek : 
&lt;br /&gt;&lt;pre class="ruby" name="code"&gt;
&lt;br /&gt;rake db:migrate:down VERSION=20110921190908
&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;İlla son değişikliği yaptım dosya çalışsın istiyorsanız    tablosundan 20110920205424 şu biçimdeli ilgili dosyanın bilgisini silin ve tekrar
&lt;br /&gt;rake db:migrate yazın. Bu kezde daha önceden yapılan değişiklikler için hata verecektir...
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;O nedenle en güzeli değişiklikler için yeni dosya oluşturmak.
&lt;br /&gt;
&lt;br /&gt;Bu işlemlerden sonra oluşturduğumuz tablolara hızlıca data girmek için web sayfamızdan tablo adı ile giriş yapabiliyoruz.
&lt;br /&gt;
&lt;br /&gt;http://localhost:3000/contents dediğimizde çalışacaktır.
&lt;br /&gt;
&lt;br /&gt;http://localhost:3000/content_translate yazıp "new Content" oluşturmak istediğimizde hata veriyor.
&lt;br /&gt;
&lt;br /&gt;"field_changed? is defined by ActiveRecord"
&lt;br /&gt;
&lt;br /&gt;Şu hatanın sebebini bulmam biraz uzun sürdü ama sonunda buldum :) ROR tarafından reserve edilmiş isimlerden biri olan "field"
&lt;br /&gt;adını kullandığımız için bu hata geliyormuş. Bu konuya dikkat etmek gerektiğini hatırlatmakta fayda var. Ben field yerine field_name kullandım. Ama bu hatayı almanız için yukardaki kodu güncellemedim :)&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Not: http://oldwiki.rubyonrails.org/rails/pages/ReservedWords
&lt;br /&gt;
&lt;br /&gt;Projede değişiklik olduğu zaman silip yeniden oluşturmak düzenlemekten daha kolay hem başlarda olduğumuz için hemde
&lt;br /&gt;komutlar notlarım arasında (yukarda olduğundan yazmak kolay oluyor.)&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Yeri gelmişken ROR da Kod tekrar etmeme muhabbetine girmekte fayda var. Amaç kısa kod yazarak çok iş yapmak bunun bir örneğini veritabanı dosyamızdaki ayarlarda yapalım.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;config/database.yml dosyasında normalde geliştirme ortamları tanımlanıp tek tek bütün bilgiler giriliyor ama aşağıdaki gibi yaparsak ana tanımlamayı yapıp sadece değişen kısmı yeniden tanımlayarak bir nevi üzerine yazarak işimizi hızlandırabiliriz.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;pre class="ruby" name="code"&gt;
&lt;br /&gt;common: &amp;shared
&lt;br /&gt;  adapter: mysql2
&lt;br /&gt;  encoding: utf8
&lt;br /&gt;  reconnect: false
&lt;br /&gt;  pool: 5
&lt;br /&gt;  socket: /Applications/MAMP/tmp/mysql/mysql.sock
&lt;br /&gt;  username: root
&lt;br /&gt;  password: root
&lt;br /&gt;  
&lt;br /&gt;development:
&lt;br /&gt;  database: cms_development
&lt;br /&gt;  &lt;&lt;: *shared
&lt;br /&gt;  
&lt;br /&gt;test:
&lt;br /&gt;  database: cms_test
&lt;br /&gt;  &lt;&lt;: *shared
&lt;br /&gt;
&lt;br /&gt;production:
&lt;br /&gt;  database: cms_production
&lt;br /&gt;  &lt;&lt;: *shared
&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;1. Bölüm bu kadar. İnşallah devamı gelicek...
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;Kullanabileceğiniz kaynaklar:
&lt;br /&gt;&lt;a href="http://www.quora.com/Ruby-on-Rails/"&gt;http://www.quora.com/Ruby-on-Rails/&lt;/a&gt;
&lt;br /&gt;&lt;a href="http://railscasts.com/"&gt;http://railscasts.com/&lt;/a&gt;
&lt;br /&gt;&lt;a href="http://www.buildingwebapps.com/"&gt;http://www.buildingwebapps.com/&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;Not: Az kalsın &lt;a href="http://www.onurozgurozkan.com/"&gt;Onur Özgür ÖZKAN&lt;/a&gt;'a teşekkür etmeyi unutuyordum neyseki uyumadan önce hatırladım ve bu notu ekledim. 
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-3390397514024706286?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/0-seG8yBJew" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-27T20:57:05.954+03:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/-8_08dpXFMPk/Tnuco8lwe8I/AAAAAAAAAIE/f6P3IWfxI1A/s72-c/ruby-on-rails.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2011/09/ruby-on-rails-bolum-1.html</feedburner:origLink></item><item><title>cPanel'den DirectAdmin'e site taşıma</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/PLijEcx4Pk0/cpanelden-directadmine-site-tasima.html</link><category>cPanel to DirectAdmin</category><author>noreply@blogger.com (Volkan)</author><pubDate>Mon, 02 Aug 2010 01:31:22 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-5940420863784373586</guid><description>&lt;pre name="code" class="php"&gt;&lt;br /&gt;mkdir /cpanelyedek&lt;br /&gt;cd /&lt;br /&gt;nano yedekal&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;for i in $(ls /var/cpanel/users);&lt;br /&gt;do /scripts/pkgacct $i /cpanelyedek;&lt;br /&gt;done&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Bu kodu sorunsuca çalıştırmak için cron kullanabilirsiniz.&lt;br /&gt;&lt;br /&gt;Ben tembellik yaptım.&lt;br /&gt;&lt;br /&gt;crontab -e yazıp dosyanın çalışma zamanını server saatinden 3 dk sonrasına aldım&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;40 10 31 * * /yedekal  &gt;/dev/null 2&gt;&amp;1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Yani saat 10:40 ve ayin 31'inde çalışacak&lt;br /&gt;&lt;br /&gt;Bu işlem sonrası yedek aldığım dosyaları yeni servere çekmem gerekiyor.&lt;br /&gt;&lt;br /&gt;Yeni server'a login olup aşağıdaki şekilde devam ediyorum.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;nano scpconnect.exp&lt;br /&gt;&lt;br /&gt;#Kaynak: http://bash.cyberciti.biz/security/expect-ssh-login-script/&lt;br /&gt;&lt;br /&gt;#Aşağısını yapıştırın&lt;br /&gt;&lt;br /&gt;#!/usr/bin/expect -f&lt;br /&gt;&lt;br /&gt;set password [lrange $argv 0 0]&lt;br /&gt;set timeout -1&lt;br /&gt;# now connect to remote UNIX box (ipaddr) with given script to execute&lt;br /&gt;spawn scp root@host:/cpanelyedek/* /data/tasimaislemleri&lt;br /&gt;match_max 100000&lt;br /&gt;# Look for passwod prompt&lt;br /&gt;expect "*?assword:*"&lt;br /&gt;# Send password aka $password&lt;br /&gt;send -- "$password\r"&lt;br /&gt;# send blank line (\r) to make sure we get back to gui&lt;br /&gt;send -- "\r"&lt;br /&gt;expect eof&lt;br /&gt;#----------------------------------------------------&lt;br /&gt;./scpconnect.exp password &amp; &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Dediğiniz zaman taşıma işlemi başlayacaktır.&lt;br /&gt;&lt;br /&gt;Sonrası için;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.directadmin.com/forum/showthread.php?p=184375#post184375"&gt;http://www.directadmin.com/forum/showthread.php?p=184375#post184375&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-5940420863784373586?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/PLijEcx4Pk0" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-02T11:31:22.095+03:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2010/08/cpanelden-directadmine-site-tasima.html</feedburner:origLink></item><item><title>Iframe virüsü ve temizlenmesi</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/Sjc-z2CF2h0/iframe-virusu-ve-temizlenmesi.html</link><category>iframe virüsü</category><author>noreply@blogger.com (Volkan)</author><pubDate>Sat, 31 Jul 2010 13:25:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-4050220492246424680</guid><description>Hayatımızın bir parçası olan bilinçsiz kullanıcılar yüzünden illaki hepimizin başına böylesi acı dolu olaylar geliyor.  Ama ne yapalım birgün bizde o bilinçsiz kullanıcı olacağız...&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Windows için Find And Replace programı oldukça mükkemmel ve iş görüzü.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Linux içinse araştırmalarım sonucu bulduğum şu komutlar çok güzel.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Burda virüs bulaşan dosyaları buluyoruz.&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;find ./ -type f -name \*.* -exec grep -El "&lt;script type="\&amp;quot;text/javascript\&amp;quot;" src="\&amp;quot;http:\/\/.+:8080\/.+"&gt;&lt;/script&gt;" {} \;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Burda da temizliyoruz.&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;find ./ -type f -name \*.* -exec sed -r 's@&lt;script type="\&amp;quot;text/javascript\&amp;quot;" src="\&amp;quot;http:\/\/.+:8080\/.+"&gt;&lt;/script&gt;@\t@g' -i {} \;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;js bulan&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;find ./mezunarama/ -type f -name \*.* -exec grep -El "document.write\(.+type=\"text/javascript\" src=\"http:\/\/.+:8080\/.+&gt;.+" {} \;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Temizleyen&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;find ./mezunarama/ -type f -name \*.js -exec sed -r 's@document.write\(.+type=\"text/javascript\" src=\"http:\/\/.+:8080\/.+&gt;.+@\t@g' -i {} \;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Son olarak şurayı okuyun.&lt;br /&gt;&lt;a href="http://www.fatihhayrioglu.com/iframe-virusu-ve-saldirgan-site-damgalamasindan-kurtulmanin-yolu/"&gt;http://www.fatihhayrioglu.com/iframe-virusu-ve-saldirgan-site-damgalamasindan-kurtulmanin-yolu/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Şimdiden kolay gelsin.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-4050220492246424680?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/Sjc-z2CF2h0" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-31T23:25:02.616+03:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2010/07/iframe-virusu-ve-temizlenmesi.html</feedburner:origLink></item><item><title>Server 2008 Standart Edition r2 uzerinde web platform ile  php_mssql kurulum hatasi</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/wE-LVrZJ2bo/server-2008-standart-edition-r2.html</link><category>php extension</category><category>Php</category><category>Windows Server 2008</category><author>noreply@blogger.com (Volkan)</author><pubDate>Fri, 30 Jul 2010 13:29:53 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-6649482814371999059</guid><description>PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_mssql.dll' - The specified module could not be found.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Bu hata hayatınızı karartabilir. &lt;/div&gt;&lt;div&gt;Sorulara öneriler şöyle;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1-Php.ini dosyasında extension ların yolunun kontrolu &lt;/div&gt;&lt;div&gt;2-Sql server client kurulup kurulmadığı &lt;/div&gt;&lt;div&gt;3-Bunu kullanma performansı iyi değil sqlserv kullan&lt;/div&gt;&lt;div&gt;4-Path leri kontrol edin&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Peki sorun gördüğümüzde nasıl çözmeliyiz ?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1-Öncelikle windows değişkenlerini kontrol edip PHP kurulum ayarlarının doğru yere bakıp bakmadığını tespit edin. (PHPRC,Path,PHP_PEAR_PHP_BIN vs..)&lt;/div&gt;&lt;div&gt;2-Sonra konsoldan PHP nin kurulu olduğu dizine gidip "php -v" yazın. Burda çıkan hatalar gerçekten sorununuz olduğunu gösteriyor demektir. İşte bu noktada &lt;b&gt;MSVCR71.DLL &lt;/b&gt;dll'i hata veriyorsa &lt;b&gt;php_mssql &lt;/b&gt;in çalışmama sebebi budur.&lt;/div&gt;&lt;div&gt;Netten indirmeden elinizin altından bir yerden bu dosyayı bulup PHP nin kurulu olduğu dizine atın. Gerekirse sunucuyu yeniden başlatın. Veee mutlu son....&lt;/div&gt;&lt;div&gt;Çıkan diğer hatalarda aynı şekilde DLL eksikliğinden kaynaklanıyor onları bulup PHP dizinine atarsanız sorun kalmaz.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-6649482814371999059?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/wE-LVrZJ2bo" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-30T23:29:53.785+03:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2010/07/server-2008-standart-edition-r2.html</feedburner:origLink></item><item><title>Projeleri svn ile tek yerden yönetmek</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/I0U6x9ivcOE/projeleri-svn-ile-tek-yerden-yonetmek.html</link><category>SSL</category><category>Php</category><category>SVN</category><category>PECL</category><author>noreply@blogger.com (Volkan)</author><pubDate>Fri, 02 Jul 2010 11:35:20 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-7286911858426040452</guid><description>Projelerde olmazsa olmaz olan svn kullanımını iyi yönetebilmek için şöyle bir yol izlenebilir.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Öncelikle ;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Pecl &lt;/b&gt;kütüphanesinden &lt;b&gt;svn &lt;/b&gt;paketini kurun. Server da bir yere &lt;b&gt;svnyonetimi &lt;/b&gt;seklinde bir klasor atip içine index.php dosyası atın. Dosyanın içinde aşağıdaki kodlar olsun.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_USERNAME, 'user');&lt;br /&gt;svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_PASSWORD, 'passs');&lt;br /&gt;svn_auth_set_parameter(PHP_SVN_AUTH_PARAM_IGNORE_SSL_VERIFY_ERRORS, true);&lt;br /&gt;$u = svn_update('/home/user/app/');&lt;br /&gt;&lt;br /&gt;echo $u;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;--&lt;br /&gt;Bunları öğrenmem zaman aldı ama eğer şöyle bir hata alıyorsanız yukardaki kodlar hayatınızı kurtaracaktır.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;&lt;div&gt;Error validating server certificate for '&lt;a href="https://site.com:8443/" target="_blank" style="color: rgb(17, 65, 112); "&gt;https://site.com:8443&lt;/a&gt;':&lt;/div&gt;&lt;div&gt; - The certificate is not issued by a trusted authority. Use the&lt;/div&gt;&lt;div&gt;   fingerprint to validate the certificate manually!&lt;/div&gt;&lt;div&gt;Certificate information:&lt;/div&gt;&lt;div&gt; - Hostname: &lt;a href="http://svn.medyanova.com/" target="_blank" style="color: rgb(17, 65, 112); "&gt;s&lt;/a&gt;ite.com&lt;/div&gt;&lt;div&gt; - Valid: from Jun 28 15:03:03 2010 GMT until Jun 28 15:03:03 2011 GMT&lt;/div&gt;&lt;div&gt; - Issuer: Istanbul, Istanbul, TR, site, site&lt;/div&gt;&lt;div&gt; - Fingerprint: &lt;/div&gt;&lt;div&gt;(R)eject, accept (t)emporarily or accept (p)ermanently? &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hiç bir sertifika ıvır zıvırla uğraşmadan direk kullanabilirsiniz. Ayrıca başka kullanıcılara ait, svn içeren projelerede burdaki dosya (index.php) ile ulaşabilirsiniz. Yalnız svn kullanıcı adı ve şifresini bilmeniz gerekiyor.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Son olarak &lt;b&gt;svnyonetimi &lt;/b&gt;isimli klasöre .htaccess ile şifre ve IP koruması koyarsanız daha güvenli olur.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Tecrübelerim sonucunda cPanel veya benzeri sistemler kurulu makinelerde system,shell_exec ve benzeri komutlar ile bu işi yapmanın biraz sıkıntılı olduğunu düşünüyorum :)&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-7286911858426040452?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/I0U6x9ivcOE" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-02T21:35:20.953+03:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2010/07/projeleri-svn-ile-tek-yerden-yonetmek.html</feedburner:origLink></item><item><title>Web projesini webe çıkartıp yolunu ayarlamak public_html -&gt; public</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/xSBtGx-lT0s/web-projesini-webe-ckartp-ayarlamak.html</link><category>trick tip</category><category>mvc</category><author>noreply@blogger.com (Volkan)</author><pubDate>Fri, 02 Jul 2010 11:37:29 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-2421665083711986415</guid><description>MVC çatısı altında geliştirdiğiniz projeleri webe attığınızda aynı haliyle klasör yapısını hiç bozmadan kullanmak için ;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Windows üzerinde IIS de path i elle veriyorsunuz.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Linux üzerinde ise sırasıyla apache config ayarları ile oynamadan aşağıdaki komutları çalıştırmanız yeterli;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Projemizin /home/user/application altında olduğunu varsayıyorum. application altında public klasörü var.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;rm -rf /home/user/public_html&lt;br /&gt;ln -s /home/user/application/public public_html&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;public_html'i klasör olmaktan çkartıp kısayol haline getirdik. Hiçbir ayarı değiştirmeden bu işten sıyrılmış olduk...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-2421665083711986415?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/xSBtGx-lT0s" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-02T21:37:29.173+03:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2010/07/web-projesini-webe-ckartp-ayarlamak.html</feedburner:origLink></item><item><title>Ali Haydar Efendinin Resimleri</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/ize_15d5KQ4/ali-haydar-efendinin-resimleri.html</link><category>Ali Haydar</category><author>noreply@blogger.com (Volkan)</author><pubDate>Wed, 14 Apr 2010 02:27:15 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-5390309852443965225</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1i0vqCL0TCs/S8NvF4eyzYI/AAAAAAAAAGA/pXLmiBjwj3Y/s1600/IMG_0793.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_1i0vqCL0TCs/S8NvF4eyzYI/AAAAAAAAAGA/pXLmiBjwj3Y/s320/IMG_0793.JPG" alt="" id="BLOGGER_PHOTO_ID_5459329320154746242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1i0vqCL0TCs/S8NuoqA_EQI/AAAAAAAAAF4/3q-3oDyblg4/s1600/IMG_0792.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_1i0vqCL0TCs/S8NuoqA_EQI/AAAAAAAAAF4/3q-3oDyblg4/s320/IMG_0792.JPG" alt="" id="BLOGGER_PHOTO_ID_5459328818055418114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_1i0vqCL0TCs/S8NuoEIf-CI/AAAAAAAAAFw/ITohV-UAEB0/s1600/IMG_0800.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_1i0vqCL0TCs/S8NuoEIf-CI/AAAAAAAAAFw/ITohV-UAEB0/s320/IMG_0800.JPG" alt="" id="BLOGGER_PHOTO_ID_5459328807886387234" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_1i0vqCL0TCs/S8Nunlq2lKI/AAAAAAAAAFo/vIW7KhTeOmY/s1600/IMG_0801.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_1i0vqCL0TCs/S8Nunlq2lKI/AAAAAAAAAFo/vIW7KhTeOmY/s320/IMG_0801.JPG" alt="" id="BLOGGER_PHOTO_ID_5459328799708976290" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1 Nisan da dünyaya gelen oğlumuz Ali Haydar'ın birkaç resmini burdan paylaşmak istedim...&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Mâşaallah&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-5390309852443965225?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/ize_15d5KQ4" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-14T12:27:15.245+03:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_1i0vqCL0TCs/S8NvF4eyzYI/AAAAAAAAAGA/pXLmiBjwj3Y/s72-c/IMG_0793.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">13</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2010/04/ali-haydar-efendinin-resimleri.html</feedburner:origLink></item><item><title>Nevruz Duası ve Nevruz</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/9ZIL-CfUpXI/nevruz-duas-ve-nevruz.html</link><category>Nevruz</category><author>noreply@blogger.com (Volkan)</author><pubDate>Sun, 21 Mar 2010 02:45:56 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-1640442477485942758</guid><description>Ey kalpleri ve görüşleri değiştirip döndüren,&lt;div&gt;Ey gece ve gündüzü çeviren!&lt;/div&gt;&lt;div&gt;Ey güç ve halleri değiştirip döndüren,&lt;/div&gt;&lt;div&gt;Halimizi en güzel hale döndür.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Yeni gün anlamına gelen Nevruz'un tarihi insanlık tarihi kadar eskidir. Baharın ve kardeşliğin bayramı olan Nevruz hem dini hemde güzel geleneklerin yaşatıldığı bayram olmasıyla da önemlidir.&lt;/div&gt;&lt;div&gt;Asırlardır bu bayram özellikle Azeri Türkleri tarafından aslına uygun olarak kutlanmakta, barışın, saflığın ve yeni güzel günlere kapı aralamanın bir simgesi olarak yaşatılmaktadır. Bu gün güzel elbiseler giymek,gusül almak, güzel kokular sürünmek, oruç tutmak, 4 rekat namaz kılmak tavsiye edilmiştir. Bu bayramda göze çarpan bir farklılık ise büyüklerin küçükleri özellikle evli kız çocuklarını ziyaret etmesidir. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Bahar bayramı Nevruzun Milletimize ve insanlığa huzur ve saadet getirmesini temenni ederim.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-1640442477485942758?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/9ZIL-CfUpXI" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-21T11:45:56.534+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2010/03/nevruz-duas-ve-nevruz.html</feedburner:origLink></item><item><title>Değişim Başlıyor Windows'tan Ubuntu ya doğru</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/x0HsMBc6wdk/ubuntu-kurmak.html</link><category>Virtualbox</category><category>Windows</category><category>Sanallaştırma</category><category>Ubuntu</category><author>noreply@blogger.com (Volkan)</author><pubDate>Mon, 15 Feb 2010 00:30:27 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-3798089537939869975</guid><description>&lt;span class="Apple-style-span"   style="  ;font-family:'Times New Roman';font-size:medium;"&gt;&lt;div   style="margin-top: 6px; margin-right: 6px; margin-bottom: 6px; margin-left: 6px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;   background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); min-height: 1100px; counter-reset: __goog_page__ 0; line-height: normal; font-family:'Times New Roman';font-size:12pt;"&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;p style="margin-top: 0pt; margin-right: 0pt; margin-bottom: 10pt; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:Calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'Times New Roman';"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span class="Apple-style-span"  style="font-family:Calibri;"&gt;&lt;div   style="margin-top: 6px; margin-right: 6px; margin-bottom: 6px; margin-left: 6px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;   background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); min-height: 1100px; counter-reset: __goog_page__ 0; line-height: normal; font-family:'Times New Roman';font-size:12pt;"&gt;&lt;p style="margin-top: 0pt; margin-right: 0pt; margin-bottom: 10pt; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'Times New Roman';"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;div   style="margin-top: 6px; margin-right: 6px; margin-bottom: 6px; margin-left: 6px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;   background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); min-height: 1100px; counter-reset: __goog_page__ 0; line-height: normal; direction: ltr; font-family:'Times New Roman';font-size:12pt;"&gt;&lt;p style="margin-top: 0pt; margin-right: 0pt; margin-bottom: 10pt; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'Times New Roman';"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div face="'Times New Roman'" size="12pt" style="margin-top: 6px; margin-right: 6px; margin-bottom: 6px; margin-left: 6px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;   background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); min-height: 1100px; counter-reset: __goog_page__ 0; line-height: normal; "&gt;&lt;p style="margin-top: 0pt; margin-right: 0pt; margin-bottom: 10pt; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; "&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="margin-top: 6px; margin-right: 6px; margin-bottom: 6px; margin-left: 6px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Times New Roman'; font-size: 12pt; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); min-height: 1100px; counter-reset: __goog_page__ 0; line-height: normal; "&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; margin-left: 6px; margin-right: 6px; "&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; margin-left: 6px; margin-right: 6px; "&gt;&lt;div   style="margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); direction: ltr; margin-left: 6px; margin-right: 6px; font-family:'Times New Roman';font-size:12pt;"&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; margin-left: 6px; margin-right: 6px; "&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Değişim Başlıyor Windows'tan Ubuntu ya doğru&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Güncel link: &lt;a href="https://docs.google.com/View?id=dgndh2qr_110frfzpqhn" id="a0b0" title="http://docs.google.com/View?id=dgndh2qr_110frfzpqhn"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;b&gt;http://docs.google.com/View?id=dgndh2qr_110frfzpqhn&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;img alt="" height="302" src="https://docs.google.com/File?id=dgndh2qr_1117m9zvgft_b" width="329" style="border-color: initial; border-width: initial; " /&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;( bu resim güzel ama sözler fazla olmuş…)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Uzun zamandan beri linux sürümlerini vmware olarak windows üzerinde kullanıyorum. Ama nedense direk linuxa geçmeyi yapmıyordum belkide bunun çocukluktan kalma korkularla alakası vardır ( iki kere diski uçurdum tamamiyle benim dikkatsizliğim ve hatam yüzünden) sonunda bir karar aldım&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; artık direk&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; linux kullanmalıydım. Ama ya server 2003/2008 sql server onlar ne olacaktı ? İşte bu noktada windows'ta kullandığım sanallaştırmanın linux da ne kadar kaliteli olacağını düşünmeye başladım. Tecrübesi olan insanlara danıştım. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://friendfeed.com/volkanaltan/ac5bde9d/arkadaslar-masaustu-bilgisayarma-ubuntu-64" style="color: rgb(85, 26, 139); "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;u&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="color:#444444;"&gt;http://friendfeed.com/volkanaltan/ac5bde9d/arkadaslar&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;u&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="color:#444444;"&gt;-masaustu-bilgisayarma-ubuntu-64&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Kararım ubuntu(64) üzerine virtualbox kurup diğer sistemleri sanal kullanmak oldu. Şimdi size aşama aşama yeni bir ubuntu kurularken yaptıklarımı yazacağım. Eğer sizinde öneri ve görüşleriniz olursa memnuniyetle dökümanı güncellerim.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;0. Kitabı masaüstüne koy ! &lt;a href="http://www.thegeekstuff.com/linux-101-hacks-free-ebook/" id="vu22" title="http://www.thegeekstuff.com/linux-101-hacks-free-ebook/" style="color: rgb(85, 26, 139); "&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;http://www.thegeekstuff.com/linux-101-hacks-free-ebook/&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 36pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;1.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Cd den kurulum için zaten iso yu yazdırıyorsunuz ama usb den kurulum yapacaksanız &lt;/span&gt;&lt;/span&gt;&lt;a href="http://sourceforge.net/projects/unetbootin/"&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;u&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="color:#444444;"&gt;http://sourceforge.net/projects/unetbootin/&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; bu araç işinize yarayabilir.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 36pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;2.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Kurul&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;u&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;m ve güncelleştirme s&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;onras&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;ı havalı bir görünüm için &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Sag tıkla -&gt; change desktop backround -&gt; Visual Effects | Extra&lt;/span&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;seçin eğer gerekirse eklenti yükler sonrasında sistem hazır.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 36pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;3.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Rahatça film izlemek müzik dinlemek için bütün codec ve gerekli aletleri ve daha fazlasını yüklemek içinse hiç uğraşmanıza gerek yok. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://ubuntu-tweak.com/"&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;u&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="color:#444444;"&gt;http://ubuntu-tweak.com/&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; sitesine girip bu uygulamayı indirin. Üzerine çift tıklayınca kuruluyor.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; Applications-&gt; System Tools&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;-&gt; Ubuntu Tweak | tıklayın&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; Ardından listeleri güncelleyin ve multimedia ile ilgili olan herşeyi kurun &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:wingdings;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; bütün codec leri tek tıkla indirip hazır hale getiricek. &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Ubuntu tweak&lt;/span&gt;&lt;/b&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;hayat kurtaran bir uygulama.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 36pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;4.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Kısa yol tuşlarını ayarlamak hızlı çalışmak için çok önemli. Terminali her defasından yerinden çağırmak yerine, system -&gt; Preferences -&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Keyboard Shortcuts | Desktop a gelin burda “Run a terminal” in karşısında disabled yazıyor. Ordayken atamak istediğiniz kısa yola tıklayın. Benim tercihim “F2” oldu.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 36pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;5.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Ubuntu da root password aktif olarak gelmiyor ctrl+f2 ye basıp terminali açınca :~$ sudo passwd root yazıp şifremizi iki kere giriyoruz. Başka zaman hızlıca root olmak için “su –“ yazmak yeterli . şifrenizi yazınca root oldunuz…&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 36pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;6.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Virtualbox I kurmak için komut: apt-get install virtualbox-ose yeterli&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 36pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;7.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Şimdi Apac&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;he/MySQL /PHP kurulumunu yapmak&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;da sıra. Bunun için geliştirilmiş tek komut var.&lt;/span&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;sudo tasksel install lamp-server&lt;/span&gt;&lt;/b&gt;&lt;/span&gt; &lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;burda ayrıntılı bilgi : &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;u&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;a href="https://help.ubuntu.com/community/ApacheMySQLPHP"&gt;&lt;span class="Apple-style-span"  style="color:#444444;"&gt;https://help.ubuntu.com/community/ApacheMySQLPHP&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;8. Wine kurulumu&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;9. /etc/sysctl.conf ile Hard disk hızı ayrlama &lt;/span&gt;&lt;a href="http://www.websiteci.com/blog/?p=146" id="pfix" title="Link"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="color:#444444;"&gt;Link&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;10. Ubuntu Mac yapmak ve temaları yönetmek vs.. &lt;a href="http://ubuntuguide.net/3-steps-to-make-ubuntu-910karmic-looks-like-mac-os-x" id="yysz" title="http://ubuntuguide.net/3-steps-to-make-ubuntu-910karmic-looks-like-mac-os-x"&gt;&lt;span class="Apple-style-span"  style="color:#444444;"&gt;http://ubuntuguide.net/3-steps-to-make-ubuntu-910karmic-looks-like-mac-os-x&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;11. vmware kurulumu. Ciddi hatalar aldım. Ama bu arkadaş sağolsun... &lt;a href="http://radu.cotescu.com/2009/10/30/how-to-install-vmware-server-2-0-x-on-ubuntu-9-10-karmic-koala/" id="fu08" title="http://radu.cotescu.com/2009/10/30/how-to-install-vmware-server-2-0-x-on-ubuntu-9-10-karmic-koala/"&gt;&lt;span class="Apple-style-span"  style="color:#444444;"&gt;http://radu.cotescu.com/2009/10/30/how-to-install-vmware-server-2-0-x-on-ubuntu-9-10-karmic-koala/&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;12. ntfs disk bölümü için otomatik mount sorunu ve yazma izni verilmemesi.&lt;a href="http://www.ubuntugeek.com/widows-ntfs-partitions-readwrite-support-made-easy-in-ubuntu-feisty.html" id="i:8j" title="http://www.ubuntugeek.com/widows-ntfs-partitions-readwrite-support-made-easy-in-ubuntu-feisty.html"&gt;http://www.ubuntugeek.com/widows-ntfs-partitions-readwrite-support-made-easy-in-ubuntu-feisty.html&lt;/a&gt;  &lt;a href="http://ubuntuguide.net/auto-mount-ntfs-driver-in-ubuntu" id="cfs3" title="http://ubuntuguide.net/auto-mount-ntfs-driver-in-ubuntu"&gt;&lt;span class="Apple-style-span"  style="color:#444444;"&gt;http://ubuntuguide.net/auto-mount-ntfs-driver-in-ubuntu&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;13. stardict sözlük babylone yerine &lt;a href="http://www.basrikahveci.com/stardict-ubuntuda-babylon-sozluklerini-kullanmak/" id="egf1" title="http://www.basrikahveci.com/stardict-ubuntuda-babylon-sozluklerini-kullanmak/"&gt;&lt;span class="Apple-style-span"  style="color:#444444;"&gt;http://www.basrikahveci.com/stardict-ubuntuda-babylon-sozluklerini-kullanmak/&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;14. 10 things to do after installing Ubuntu 9.10 &lt;span class="Apple-style-span"  style="color:#444444;"&gt;&lt;a href="http://www.detector-pro.com/2009/11/10-things-to-do-after-installing-ubuntu.html" id="xdcr" title="http://www.detector-pro.com/2009/11/10-things-to-do-after-installing-ubuntu.html"&gt;http://www.detector-pro.com/2009/11/10-things-to-do-after-installing-ubuntu.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;15. Disk yönetimi / otomatik mount Disk mount edilmişse unmount et. &lt;b&gt;df -h&lt;/b&gt; ile görüyorsan mount edilmiş demektir. Gözükmüyorsa "&lt;b&gt;fdisk -l&lt;/b&gt;" ile bölümleri gör ona göre mount et. Otomatik mount için: "&lt;b&gt;sudo nano /etc/fstab&lt;/b&gt;" alt satıra &lt;b&gt;/dev/sda5 /media/bolum2 ntfs-3g rw,auto,user,utf8 0 0&lt;/b&gt; yazarsan işlem tamam.Tabi burda ilgili yerleri kednine göre düzenle.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;16. Ekran görüntüsü ve saat kurma... Applications -&gt; Ubuntu Software Center -&gt; &lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="color:#333333;"&gt;Screenlets aratın kurun...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Şimdilik aklıma gelen adımlar bunlar. Benim veya sizin aklınıza gelen birşey olursa buraya ilave edebiliriz. &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;( nede olsa google dökümanı)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: medium; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-3798089537939869975?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/x0HsMBc6wdk" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-15T10:30:27.275+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2010/01/ubuntu-kurmak.html</feedburner:origLink></item><item><title>Zend Framework icinde FCKeditor kullanmak</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/vyebcXgjVZo/zend-framework-icinde-fckeditor.html</link><category>Zend Framework</category><category>Php</category><category>FCKeditor</category><author>noreply@blogger.com (Volkan)</author><pubDate>Tue, 19 Jan 2010 01:00:42 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-6134792397690533904</guid><description>Burda Zend Framework ile geliştirilen bir projede en basit haliyle FCKeditor un kullanımını anlatacağım. Basit bir örnek olacak siz istediğiniz gibi geliştirebilirsiniz....&lt;br /&gt;&lt;br /&gt;FCKeditor un son halini buradan indirin : &lt;a href="http://ckeditor.com/download"&gt;http://ckeditor.com/download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;proje içerisinde public/scripts/library/fckeditor içerisine dosyaları atın.&lt;br /&gt;&lt;br /&gt;Controller içerisinde inite aşağıdaki atamayı yapın&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;public function init() {&lt;br /&gt;  $this-&gt;view-&gt;assign('fckeditorPath','http://'.getenv ( 'HTTP_HOST' ) . APPLICATION_ROOT.'/scripts/library/fckeditor/');&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;view de ise şu şekilde kullanıma hazır ;&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;    window.onload = function()&lt;br /&gt;    {&lt;br /&gt;        if(document.getElementById('description')) {&lt;br /&gt;            var oFCKeditor = new FCKeditor('description') ;&lt;br /&gt;            oFCKeditor.BasePath = "&lt;?php echo $this-&gt;fckeditorPath?&gt;" ;&lt;br /&gt;            oFCKeditor.Height = 450;&lt;br /&gt;            oFCKeditor.Width = 700;&lt;br /&gt;            oFCKeditor.ReplaceTextarea() ;       &lt;br /&gt;        }&lt;br /&gt;    } &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;config.php dosyasına ( public\scripts\library\fckeditor\editor\filemanager\connectors\php\config.php )&lt;br /&gt;Aşağıdaki satırları ekleyin.&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;require_once 'Zend/Auth.php';&lt;br /&gt;$isAuth = Zend_Auth::getInstance ()-&gt;hasIdentity ();&lt;br /&gt;&lt;br /&gt;if( !isset($isAuth) || $isAuth == false ) {&lt;br /&gt; return false;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Böylece sisteme login olan kişi sadece dosya yükleyebilecek. Yoksa fck nin yolunu bilen herkes bu işlemi yapabilirdi.&lt;br /&gt;&lt;br /&gt;Ayrıca şu kodlarda yolları ayarlamada işinizi görecektir.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;defined ( 'APPLICATION_ROOT' )&lt;br /&gt; || define ( 'APPLICATION_ROOT', substr ( $_SERVER ['PHP_SELF'], 0, strpos ( $_SERVER ['PHP_SELF'], '/scripts/library/fckeditor/editor/filemanager/connectors/php/connector.php' ) ) );&lt;br /&gt;&lt;br /&gt;// Path to user files relative to the document root.&lt;br /&gt;$Config['UserFilesPath'] = APPLICATION_ROOT. '/uploads/' ;&lt;br /&gt;&lt;br /&gt;// Fill the following value it you prefer to specify the absolute path for the&lt;br /&gt;// user files directory. Useful if you are using a virtual directory, symbolic&lt;br /&gt;// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.&lt;br /&gt;// Attention: The above 'UserFilesPath' must point to the same directory.&lt;br /&gt;$Config['UserFilesAbsolutePath'] = $_SERVER ['DOCUMENT_ROOT'] .'/'. APPLICATION_ROOT. '/uploads/';&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Not: Yukardaki kodların tam düzgün çalışması için sessionun kaydediliği yerin varsayılan yer olması gerekiyor. Bu durumda   &lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;Zend_Session::start ( array ('save_path' =&gt; APPLICATION_PATH . '/../tmp/session' ) );&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Gibi bir kod çalıştırırsanız aynısını fckeditor deki configdede yapmalısınız.&lt;br /&gt;Varsayılan ;&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;Zend_Session::start();&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-6134792397690533904?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/vyebcXgjVZo" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-19T11:00:42.109+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2010/01/zend-framework-icinde-fckeditor.html</feedburner:origLink></item><item><title>Windows Server 2008 IIS 7 Uzerinde Guvenli PHP Kullanma</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/AhxZAoORlJg/windows-server-2008-iis-uzerine-guvenli.html</link><category>Security</category><category>Php</category><category>IIS 7</category><category>Windows Server 2008</category><author>noreply@blogger.com (Volkan)</author><pubDate>Thu, 27 May 2010 23:30:50 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-3110796142223964868</guid><description>&lt;div&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;Windows Server 2008 uzerine IIS7 &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;ile PHP yi GUVENLİ Kullanma&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Merhabalar,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Kullandiginiz serverde Plesk gibi bir araci program kullanmiyorsaniz guvenlik ayarlariniza cok dikkat etmelisiniz. Normalde bunu sizin yerinize Plesk gibi programlar yapar ama o yoksa isinizi şansa kalmasın.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Server 2008 Uzerine PHP + MySQL Kurup IIS7 ile calistirinca gayet guzel calisiyor. Ama sitelerin birinden &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;include&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; metoduyla herhangi bir yere girip dosya cekmeniz mumkun. Burdan dogacak kıyameti siz düşünün…&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Normalde Apache + PHP kullandiginizda eğer PHP FastCGI olarak çalışmıyorsa &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;php_admin_value open_basedir&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; “d:\webspace\volkanaltan.com”&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Yazarsaniz kullanici bu dizinden yukari cikamaz. Ama maalesef IIS7 de veya Apache uzerinde php yi fastcgi olarak calistiri&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;r&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;saniz bu komutlar cal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;ismaz &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.zend.com/en/support/knowledgebase.php?kbid=252&amp;amp;view_only=1"&gt;&lt;span style=" ;font-family:Calibri;color:#0000ff;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;http://www.zend.com/en/support/knowledgebase.php?kbid=252&amp;amp;view_only=1&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Peki bunun önüne geçmek için ne yapmak gerekiyor ?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;Benim anlatacagim Server Web 2008 IIS + PHP &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Bilgisayar üzerine sağ tıkla  -&amp;gt; Manage -&amp;gt;Configuration -&amp;gt; Local Users And Group&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Groups üzerine sağ tıkla -&amp;gt; Yeni grup ekle&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Adına : &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;IIS_WPG&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;İçine -&amp;gt; LOCAL SERVICE , NETWORK SERVICE ekliyoruz&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;img src="http://docs.google.com/File?id=dgndh2qr_100hfhvsdcs_b" width="277" height="306" alt="C:\Users\Volkan\AppData\Roaming\PixelMetrics\CaptureWiz\LastCaptures\2009-12-19_11-49-23-559.png" style="border:none" /&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Users Tabına Sağ tıkla -&amp;gt; New User&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Burda her site için bir user oluşturuyoruz. Ama bu userlar IIS &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;kullanıcısı&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; olacagi için isimlendirmeyi şöyle yapiyorum. IUSR_volkanaltancom &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;img src="http://docs.google.com/File?id=dgndh2qr_101cjp89zc2_b" width="300" height="292" alt="C:\Users\Volkan\AppData\Roaming\PixelMetrics\CaptureWiz\LastCaptures\2009-12-19_11-52-00-025.png" style="border:none" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Şimdi bu usere sağ tıklayıp Properties den “Member Of” tabına geçiyorum&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;img src="http://docs.google.com/File?id=dgndh2qr_102cqtw9mf4_b" width="321" height="397" alt="C:\Users\Volkan\AppData\Roaming\PixelMetrics\CaptureWiz\LastCaptures\2009-12-19_11-54-05-481.png" style="border:none" /&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Profile Tabına geçip ordada sitenin yolunu veriyorum.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;img src="http://docs.google.com/File?id=dgndh2qr_103dvb9zvgm_b" width="307" height="377" alt="C:\Users\Volkan\AppData\Roaming\PixelMetrics\CaptureWiz\LastCaptures\2009-12-19_11-55-36-668.png" style="border:none" /&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Şimdi IIS üzerinde işlem yapacağız.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Bilgisayar üzerine sağ tıkla  -&amp;gt; Manage -&amp;gt; Roles -&amp;gt;  Web Server -&amp;gt; IIS -&amp;gt; Server Name&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Sites sağ tıkla -&amp;gt; Add Web Site&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Physical path e d:\volkanaltan.com\www yazıp  Test Settings’e tıklıyoruz.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;img src="http://docs.google.com/File?id=dgndh2qr_104dzrc7tfp_b" width="325" height="219" alt="C:\Users\Volkan\AppData\Roaming\PixelMetrics\CaptureWiz\LastCaptures\2009-12-19_11-58-44-258.png" style="border:none" /&gt;&lt;br /&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:85%;"&gt;The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that &amp;lt;domain&amp;gt;\&amp;lt;computer_name&amp;gt;$ has Read access to the physical path. Then test these settings again.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Gö&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;rdüğünüz gibi yetkisizlik durumu söz konusu.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Bu kez  “Connect as” a tıklıyoruz. Ve daha once oluşturduğumuz useri seçiyoruz.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;img src="http://docs.google.com/File?id=dgndh2qr_105gmgm3pcr_b" width="447" height="521" alt="C:\Users\Volkan\AppData\Roaming\PixelMetrics\CaptureWiz\LastCaptures\2009-12-19_12-01-02-058.png" style="border:none" /&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Eğer site kırmızı olursa &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;img src="http://docs.google.com/File?id=dgndh2qr_106dthwf6gq_b" width="153" height="39" alt="C:\Users\Volkan\AppData\Roaming\PixelMetrics\CaptureWiz\LastCaptures\2009-12-19_12-01-48-768.png" style="border:none" /&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Sağdaki “Basic Settings”e tıklayıp Ok’a basın.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Şimdi klasör ayarlarına bakıyoruz;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;img src="http://docs.google.com/File?id=dgndh2qr_107g7wrr6c5_b" width="269" height="114" alt="C:\Users\Volkan\AppData\Roaming\PixelMetrics\CaptureWiz\LastCaptures\2009-12-19_12-03-15-159.png" style="border:none" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Site -&amp;gt; Sağ tıkla Edit Permissions&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Security tabına geçtiğinizde sizing users a tam yetki verildiğini göreceksiniz. Ama bu işin başında &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;sizin&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt; web sitelerini tuttuğunuz klasöre yetki olarak “Network Service”, “Users” Okuma yetkisini vermeniz gerekmektedir.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=" margin:0pt 0pt 10pt"&gt;&lt;span style="font-family:Calibri;"&gt;&lt;span style="font-size:100%;"&gt;Olayımız bitmiştir. Sorularınız olursa sorabilirsiniz.&lt;/span&gt;&lt;br /&gt;Daha iyi görmek için : &lt;a href="http://docs.google.com/View?id=dgndh2qr_99f7vrr47x"&gt;http://docs.google.com/View?id=dgndh2qr_99f7vrr47x&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-3110796142223964868?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/AhxZAoORlJg" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-28T09:30:50.694+03:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2009/12/windows-server-2008-iis-uzerine-guvenli.html</feedburner:origLink></item><item><title>server 2008+Apache+php 5.2.x ile mssql_connect hatası</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/tOd_jd7VI5Q/server-2008apachephp-52x-ile.html</link><category>error</category><category>mssql_connect</category><author>noreply@blogger.com (Volkan)</author><pubDate>Wed, 09 Dec 2009 07:49:25 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-4406943446837258381</guid><description>server 2008 + Apache + php 5.2.x ile mssql_connect hatası&lt;br /&gt;&lt;br /&gt;Hatanin tamami ;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warning&lt;/b&gt;:  mssql_connect() [&lt;a href='function.mssql-connect'&gt;function.mssql-connect&lt;/a&gt;]: Unable to connect to server:  ip,port in &lt;b&gt;D:\mssql_error.php&lt;/b&gt; on line &lt;b&gt;147&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Couldn't connect to SQL Server on ip,port&lt;br /&gt;&lt;br /&gt;Yapilacak ;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dlldll.com/ntwdblib.dll_download.html"&gt;http://www.dlldll.com/ntwdblib.dll_download.html&lt;/a&gt;  Adresinden dll i indirip &lt;br /&gt;&lt;br /&gt;c:\Windows\system32\ altına atıyoruz.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-4406943446837258381?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/tOd_jd7VI5Q" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-09T17:49:25.561+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2009/12/server-2008apachephp-52x-ile.html</feedburner:origLink></item><item><title>Taşınabilir Satranç Takımı</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/LgtK1Q03iiw/tasnabilir-satranc-takm.html</link><category>Satranç Takımı</category><author>noreply@blogger.com (Volkan)</author><pubDate>Sun, 06 Dec 2009 05:12:54 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-5383924281038552619</guid><description>Taşınabilir Satranç Takımı&lt;br /&gt;&lt;br /&gt;Araştırmalarım sonucunda taşınabilir olarak bulduğum en iyi satranç takımı &lt;a href="http://staroyun.com.tr/satrancr.html"&gt;http://staroyun.com.tr/satrancr.html&lt;/a&gt; tarafından satılmaktadır. &lt;br /&gt;&lt;br /&gt;&lt;img src="http://staroyun.com.tr/gorsellerBUYUK/satranctakimlari/star%20rulo%20satranc.jpg"&gt;&lt;br /&gt;&lt;br /&gt;Bu satranş takımını alabileceğiniz yer MMM Migros lardır. Bunun dışında bir yerde var mı bilmiyorum. Ama aşağıdakilerde olmadığı kesin.&lt;br /&gt;&lt;br /&gt;Toyzzshop, Cevahirdeki oyuncakcılar, NT, D&amp;R hiçbirinden bu kalitede satranç takımı bulunmamaktadır.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Şimdi oyun zamanı :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-5383924281038552619?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/LgtK1Q03iiw" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-06T15:12:54.019+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2009/12/tasnabilir-satranc-takm.html</feedburner:origLink></item><item><title>Windows Media Player'da rastgele muzik dinlemek için kısayol tuşları</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/kGjt-aqnUk8/windows-media-player-da-rastgele-muzik.html</link><category>Kısayol</category><category>Windows Media Player</category><author>noreply@blogger.com (Volkan)</author><pubDate>Sun, 15 Nov 2009 05:53:51 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-394967598303953113</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_1i0vqCL0TCs/SwAHsRW717I/AAAAAAAAAEg/ivDc50YJIIs/s1600-h/media_player.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 318px;" src="http://3.bp.blogspot.com/_1i0vqCL0TCs/SwAHsRW717I/AAAAAAAAAEg/ivDc50YJIIs/s320/media_player.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5404328009999833010" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Windows Media Player da rastgele muzik dinlemek.&lt;br /&gt;&lt;br /&gt;Play liste muzikleri atip rastgele dinlemek icin kullanılan kısayol CONTROL+H&lt;br /&gt;&lt;br /&gt;Sürekli unutuyorum! Artık unutmam herhalde.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-394967598303953113?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/kGjt-aqnUk8" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-15T15:53:51.103+02:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_1i0vqCL0TCs/SwAHsRW717I/AAAAAAAAAEg/ivDc50YJIIs/s72-c/media_player.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://volkanaltan.blogspot.com/2009/11/windows-media-player-da-rastgele-muzik.html</feedburner:origLink></item><item><title>DirectAdmin olan sisteme ioncube kurmak (Linux - Centos)</title><link>http://feedproxy.google.com/~r/volkanaltan/~3/PfMhZHWQF0c/directadmin-olan-sisteme-ioncube-kurmak.html</link><category>ioncube</category><category>installation</category><category>kurulum</category><author>noreply@blogger.com (Volkan)</author><pubDate>Sat, 14 Nov 2009 13:56:14 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6590504022815262237.post-5419015587549432994</guid><description>DirectAdmin olan sisteme ioncube kurmak&lt;br /&gt;&lt;br /&gt;En önce &lt;a href="http://www.ioncube.com/loader_download.php"&gt;http://www.ioncube.com/loader_download.php&lt;/a&gt; linux için olan son versiyonu çekiyoruz.&lt;br /&gt;&lt;br /&gt;wget &lt;a href="http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz"&gt;http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;tar -zxvf ioncube_loaders_lin_x86.tar.gz&lt;br /&gt;&lt;br /&gt;çıkan dosyaları /usr/local/lib/ioncube altına atın.&lt;br /&gt;&lt;br /&gt;İçindeki ioncube-loader-helper.php dosyasını serverdaki bir sitenin altına atın.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.volkanaltan.com/ioncube-loader-helper.php"&gt;www.volkanaltan.com/ioncube-loader-helper.php&lt;/a&gt; dediğimizde açılan ekranda size server için hangi dosyayı yüklemeniz gerektiğini söyleyecektir. Centos için aşağıdaki biçim;&lt;br /&gt;&lt;br /&gt;nano /usr/local/lib/php.ini yazark php.ini içine aşağıdaki satırı ekliyoruz;&lt;br /&gt;&lt;br /&gt;zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so&lt;br /&gt;&lt;br /&gt;/etc/init.d/httpd restart &lt;br /&gt;&lt;br /&gt;Mutlu son.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6590504022815262237-5419015587549432994?l=volkanaltan.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/volkanaltan/~4/PfMhZHWQF0c" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-14T23:56:14.400+02:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><enclosure url="http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz" length="2782197" type="application/x-gzip" /><media:content url="http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz" fileSize="2782197" type="application/x-gzip" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>DirectAdmin olan sisteme ioncube kurmak En önce http://www.ioncube.com/loader_download.php linux için olan son versiyonu çekiyoruz. wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz tar -zxvf ioncube_loaders_lin_x86.tar.gz</itunes:subtitle><itunes:author>noreply@blogger.com (Volkan)</itunes:author><itunes:summary>DirectAdmin olan sisteme ioncube kurmak En önce http://www.ioncube.com/loader_download.php linux için olan son versiyonu çekiyoruz. wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz tar -zxvf ioncube_loaders_lin_x86.tar.gz çıkan dosyaları /usr/local/lib/ioncube altına atın. İçindeki ioncube-loader-helper.php dosyasını serverdaki bir sitenin altına atın. www.volkanaltan.com/ioncube-loader-helper.php dediğimizde açılan ekranda size server için hangi dosyayı yüklemeniz gerektiğini söyleyecektir. Centos için aşağıdaki biçim; nano /usr/local/lib/php.ini yazark php.ini içine aşağıdaki satırı ekliyoruz; zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so /etc/init.d/httpd restart Mutlu son.</itunes:summary><itunes:keywords>ioncube, installation, kurulum</itunes:keywords><feedburner:origLink>http://volkanaltan.blogspot.com/2009/11/directadmin-olan-sisteme-ioncube-kurmak.html</feedburner:origLink></item><media:rating>nonadult</media:rating></channel></rss>

