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

<channel>
	<title>Maxi GEN TR &#187; Linux</title>
	<atom:link href="http://www.maxi.gen.tr/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.maxi.gen.tr</link>
	<description>ki$isel bir weBlog</description>
	<lastBuildDate>Tue, 31 Jan 2012 12:06:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Linux LVM disk Mount Etme / Mounting a Linux LVM volume</title>
		<link>http://www.maxi.gen.tr/linux-lvm-disk-mount-etme-mounting-a-linux-lvm-volume.html</link>
		<comments>http://www.maxi.gen.tr/linux-lvm-disk-mount-etme-mounting-a-linux-lvm-volume.html#comments</comments>
		<pubDate>Tue, 31 Jan 2012 11:46:00 +0000</pubDate>
		<dc:creator>Sinan SEN</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux lvm]]></category>
		<category><![CDATA[lvm disk mount]]></category>
		<category><![CDATA[lvm mount]]></category>

		<guid isPermaLink="false">http://www.maxi.gen.tr/?p=305</guid>
		<description><![CDATA[You do not mount a partition of type &#8220;Linux LVM&#8221; the same way you mount a partition using a standard Linux file system (e.g. ext2, ext3). &#160; # fdisk -l /dev/hda Disk /dev/hda: 160.0 GB, 160041885696 bytes255 heads, 63 sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes&#160;&#160; Device Boot&#160;&#160;&#160;&#160;&#160; Start&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; End&#160;&#160;&#160;&#160;&#160; [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><h4>You do not mount a partition of type &#8220;Linux LVM&#8221; the same way you mount a partition using a standard Linux file system (e.g. ext2, ext3).<br /></h4>
<p><font face="Courier New"><strong></strong></font>&nbsp;</p>
<p><font face="Courier New"><strong># fdisk -l /dev/hda</p>
<p></strong>Disk /dev/hda: 160.0 GB, 160041885696 bytes<br />255 heads, 63 sectors/track, 19457 cylinders<br />Units = cylinders of 16065 * 512 = 8225280 bytes<br />&nbsp;&nbsp; Device Boot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Blocks&nbsp;&nbsp; Id&nbsp; System<br />/dev/hda1&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 104391&nbsp;&nbsp; 83&nbsp; Linux<br />/dev/hda2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 19457&nbsp;&nbsp; 156183930&nbsp;&nbsp; 8e&nbsp; Linux LVM</p>
<p></font>
<p><font face="Courier New"><strong># mount /dev/hda2 /tmp/mnt<br /></strong>mount: /dev/hda2 already mounted or /tmp/mnt busy</p>
<p><font face="Arial">First, let&#8217;s determine the volume group containing the physical volume /dev/hda2.<br /></font><br /><strong># pvs<br /></strong>&nbsp; PV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fmt&nbsp; Attr PSize&nbsp;&nbsp; PFree<br />&nbsp; /dev/hda2&nbsp; VolGroup01 lvm2 a-&nbsp;&nbsp; 148.94G 32.00M<br />&nbsp; /dev/hdb2&nbsp; VolGroup00 lvm2 a-&nbsp;&nbsp; 114.94G 96.00M</font></p>
<p><font face="Courier New">
<p><font face="Arial">Next, let&#8217;s list the logical volumes in VolGroup01.<br /></font></p>
<p><strong># lvdisplay /dev/VolGroup01<br /></strong>&nbsp; &#8212; Logical volume &#8212;<br />&nbsp; LV Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/VolGroup01/LogVol00<br />&nbsp; VG Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VolGroup01<br />&nbsp; LV UUID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zOQogm-G8I7-a4WC-T7KI-AhWe-Ex3Y-JVzFcR<br />&nbsp; LV Write Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; read/write<br />&nbsp; LV Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; available<br />&nbsp; # open&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />&nbsp; LV Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 146.97 GB<br />&nbsp; Current LE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4703<br />&nbsp; Segments&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />&nbsp; Allocation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inherit<br />&nbsp; Read ahead sectors&nbsp;&nbsp;&nbsp;&nbsp; 0<br />&nbsp; Block device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 253:2</p>
<p>&nbsp; &#8212; Logical volume &#8212;<br />&nbsp; LV Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/VolGroup01/LogVol01<br />&nbsp; VG Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VolGroup01<br />&nbsp; LV UUID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; araUBI-4eer-uh5L-Dvnr-3bI6-4gYg-APgYy2<br />&nbsp; LV Write Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; read/write<br />&nbsp; LV Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; available<br />&nbsp; # open&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />&nbsp; LV Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.94 GB<br />&nbsp; Current LE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 62<br />&nbsp; Segments&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />&nbsp; Allocation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inherit<br />&nbsp; Read ahead sectors&nbsp;&nbsp;&nbsp;&nbsp; 0<br />&nbsp; Block device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 253:3</p>
<p><font face="Arial">The logical volume I would like to &#8220;mount&#8221; (in purely the computing-related sense) is /dev/VolGroup01/LogVol00. The other logical volume is a swap partition.</font></p>
<p><strong># mount /dev/VolGroup01/LogVol00 /tmp/mnt</strong></font></p>
<p>&nbsp;</p>
<p>Kaynak: <a href="http://www.brandonhutchinson.com/Mounting_a_Linux_LVM_volume.html">http://www.brandonhutchinson.com/Mounting_a_Linux_LVM_volume.html</a></p>
<div class="shr-publisher-305"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-fblike' data-shr_layout='standard' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.maxi.gen.tr%2Flinux-lvm-disk-mount-etme-mounting-a-linux-lvm-volume.html' data-shr_title='Linux+LVM+disk+Mount+Etme+%2F+Mounting+a+Linux+LVM+volume'></a><a class='shareaholic-googleplusone' data-shr_size='standard' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.maxi.gen.tr%2Flinux-lvm-disk-mount-etme-mounting-a-linux-lvm-volume.html' data-shr_title='Linux+LVM+disk+Mount+Etme+%2F+Mounting+a+Linux+LVM+volume'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.maxi.gen.tr/linux-lvm-disk-mount-etme-mounting-a-linux-lvm-volume.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH2 test php script</title>
		<link>http://www.maxi.gen.tr/ssh2-test-php-script.html</link>
		<comments>http://www.maxi.gen.tr/ssh2-test-php-script.html#comments</comments>
		<pubDate>Sun, 07 Aug 2011 12:38:34 +0000</pubDate>
		<dc:creator>Sinan SEN</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh2]]></category>
		<category><![CDATA[ssh2 php]]></category>
		<category><![CDATA[ssh2_connect]]></category>

		<guid isPermaLink="false">http://www.maxi.gen.tr/?p=222</guid>
		<description><![CDATA[Sunucu üzerinden SSH2 test edebilmemiz için basit ike adet php script aşağıdaki gibidir. 1. SSH2 üzerinden belirlediğimiz sunucuya bağlanır ve belirlediğimiz komutları çalıştırıp ekran çıktısını yazar. Örnek çalıştıracak komutlar: pwd (hangi dizine bağlandığını gösterir); /bin/uname -a (sunucu kernel bilgilerini gösterir) İsterseniz &#8220;$stream&#160;=&#160;ssh2_exec($connection,&#8217;pwd;/bin/uname&#160;&#8722;a&#8216;);&#8221; satırını bulup kırmızı ile belirlediğimiz yere çalıştırmak istediğiniz komutu yazabilirsiniz. &#60;?php&#160;$ip = '123.123.123.123';$user [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Sunucu üzerinden SSH2 test edebilmemiz için basit ike adet php script aşağıdaki gibidir.</p>
<p><strong>1.</strong> SSH2 üzerinden belirlediğimiz sunucuya bağlanır ve belirlediğimiz komutları çalıştırıp ekran çıktısını yazar.</p>
<p>Örnek çalıştıracak komutlar: <strong>pwd</strong> (hangi dizine bağlandığını gösterir); <strong>/bin/uname -a</strong> (sunucu kernel bilgilerini gösterir)</p>
<p>İsterseniz &#8220;$stream&nbsp;=&nbsp;ssh2_exec($connection,&#8217;<span style="color: #ff0000;">pwd;/bin/uname&nbsp;&minus;a</span>&#8216;);&#8221; satırını bulup kırmızı ile belirlediğimiz yere çalıştırmak istediğiniz komutu yazabilirsiniz.</p>
<p><span id="more-222"></span></p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li><span style="color: #000000; font-weight: bold;">&lt;?php</span></li><li>&nbsp;</li><li><span style="color: #000088;">$ip</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'123.123.123.123'</span><span style="color: #339933;">;</span></li><li><span style="color: #000088;">$user</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'kullaniciadi'</span><span style="color: #339933;">;</span></li><li><span style="color: #000088;">$pass</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'sifre'</span><span style="color: #339933;">;</span></li><li>&nbsp;</li><li><span style="color: #000088;">$connection</span> <span style="color: #339933;">=</span> <span style="color: #990000;">ssh2_connect</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ip</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">22</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #990000;">ssh2_auth_password</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$connection</span><span style="color: #339933;">,</span><span style="color: #000088;">$user</span><span style="color: #339933;">,</span><span style="color: #000088;">$pass</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #000088;">$shell</span> <span style="color: #339933;">=</span> <span style="color: #990000;">ssh2_shell</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$connection</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;bash&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li>&nbsp;</li><li><span style="color: #000088;">$stream</span> <span style="color: #339933;">=</span> <span style="color: #990000;">ssh2_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$connection</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'pwd;/bin/uname -a'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #990000;">stream_set_blocking</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$stream</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #990000;">stream_set_blocking</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$stream</span><span style="color: #339933;">,</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$buffer</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fread</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$stream</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1024</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span></li><li><span style="color: #009900;">&#123;</span></li><li><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$buffer</span><span style="color: #339933;">;</span></li><li><span style="color: #009900;">&#125;</span></li><li><span style="color: #000000; font-weight: bold;">?&gt;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p><strong>2.</strong> SSH2 üzerinden uzak bir sunucuya istek gönderir eğer SSH2 çalışıyor ise CALISIYOR diye mesaj alırsınız çalışmıyor ise direk SSH satırına geri düşersiniz.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li><span style="color: #000000; font-weight: bold;">&lt;?php</span></li><li><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;SSH2 TEST EDILIYOR &quot;</span><span style="color: #339933;">;</span></li><li><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$resource</span><span style="color: #339933;">=@</span><span style="color: #990000;">ssh2_connect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;123.123.123.123&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></li><li><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[SSH2 CALISMIYOR]<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></li><li><span style="color: #990000;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #009900;">&#125;</span></li><li><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>[CALISIYOR]<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></li><li><span style="color: #000000; font-weight: bold;">?&gt;</span></li><li></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<div class="shr-publisher-222"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-fblike' data-shr_layout='standard' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.maxi.gen.tr%2Fssh2-test-php-script.html' data-shr_title='SSH2+test+php+script'></a><a class='shareaholic-googleplusone' data-shr_size='standard' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.maxi.gen.tr%2Fssh2-test-php-script.html' data-shr_title='SSH2+test+php+script'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.maxi.gen.tr/ssh2-test-php-script.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux centOS libssl2 ve ssh2 kurulumu</title>
		<link>http://www.maxi.gen.tr/libssl-ve-ssh2-kurulumu.html</link>
		<comments>http://www.maxi.gen.tr/libssl-ve-ssh2-kurulumu.html#comments</comments>
		<pubDate>Sun, 07 Aug 2011 11:59:43 +0000</pubDate>
		<dc:creator>Sinan SEN</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Libgcrypt]]></category>
		<category><![CDATA[libgcrypt-devel]]></category>
		<category><![CDATA[libssl]]></category>
		<category><![CDATA[libssl2]]></category>
		<category><![CDATA[OpenSSL or Libgcrypt]]></category>
		<category><![CDATA[ssh2]]></category>
		<category><![CDATA[ssh2 kurulumu]]></category>

		<guid isPermaLink="false">http://www.maxi.gen.tr/?p=217</guid>
		<description><![CDATA[Linux CentOS üzerine libssl2 ve ssh2 kurulumu yapacağız. Kurulum işlemini SSH üzerinden yapacağımız için öncelikle centos işletim sistemi yüklü sunucumuza SSH ile bağlanalım.&#160;Bağlandıktan sonra aşağıdaki işlemleri tek tek uygulayalım. 1. Bize kurulum sırasında yardımcı olacak, ve problemin hatasız olarak kurabilmemiz için gerekli olan paketleri yum yardımı ile sunucuya yükleyelim yum install –y gcc php-devel php-pear [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Linux <strong>CentOS</strong> üzerine <strong>libssl2</strong> ve <strong>ssh2</strong> kurulumu yapacağız.</p>
<p>Kurulum işlemini SSH üzerinden yapacağımız için öncelikle centos işletim sistemi yüklü sunucumuza SSH ile bağlanalım.&nbsp;Bağlandıktan sonra aşağıdaki işlemleri tek tek uygulayalım.</p>
<p><strong>1.</strong> Bize kurulum sırasında yardımcı olacak, ve problemin hatasız olarak kurabilmemiz için gerekli olan paketleri yum yardımı ile sunucuya yükleyelim<br />
<pre>yum install –y gcc php-devel php-pear libssh2 libssh2-devel make</pre><br />
<strong>2.</strong> Gerekli paketleri yükledikten sonra öncelik olarak sunucumuza libssh2 paketini kuruyoruz.</p>
<p>Bunun için aşağıdaki işlemleri tek tek yapmamız yeterli olacaktır.<br />
<pre>cd /usr/local/src 
wget http://www.libssh2.org/download/libssh2-1.2.8.tar.gz 
tar -zxvf libssh2-1.2.8.tar.gz 
cd libssh2-1.2.8 
./configure 
make all install</pre><br />
<strong><span id="more-217"></span>Not:</strong> libssh2 kurulum sırasında aşağıdaki hata alınıyor ise;</p>
<blockquote><p><strong>configure: error: cannot find OpenSSL or Libgcrypt,</strong></p>
<p><strong>try &#8211;with-libssl-prefix=PATH or &#8211;with-libgcrypt-prefix=PATH</strong></p></blockquote>
<p><strong>libgcrypt-devel</strong> paketini kurarak problemi düzelte bilirsiniz bunun için aşağıdaki komut’u SSH üzerinden çalıştırmanız yeterli olacaktır.<br />
<pre>yum install –y libgcrypt-devel</pre><br />
<strong>3.</strong> libssh2 kurulumunu gerçekleştirdikten sonra sunucumuza ssh2 paketini kurabiliriz.</p>
<p>Bunun için aşağıdaki işlemleri tek tek yapmamız yeterli olacaktır.<br />
<pre>cd /usr/local/src
wget http://pecl.php.net/get/ssh2-0.11.2.tgz
tar -zxvf ssh2-0.11.2.tgz
cd ssh2-0.11.2
phpize && ./configure --with-ssh2 && make && make install</pre><br />
Evet ssh2 kurulumu tamamlanmıştır, şimdi sıra php ‘ye ssh2 modülünü eklememiz gerekmektedir.</p>
<p>Bunun için aşağıdaki işlemleri tek tek yapmamız yeterli olacaktır.<br />
<pre>touch /etc/php.d/ssh2.ini
echo "extension=ssh2.so" > /etc/php.d/ssh2.ini
/etc/init.d/httpd restart</pre><br />
Evet libssh2 ve ssh2 kurulumumuz problemsiz olarak tamamlanmıştır.</p>
<p>Aşağıdaki “php –m” komutu ile php modül listesine SSH2 gelip gelmediğini görebilirsiniz.<br />
<pre>php -m | grep ssh2</pre><br />
Yukarıdaki komutu çalıştırdıktan sonra, çıkan sonuçta “ssh2” var ise PHP tarafından SSH2 problemsiz olarak çalışıyor demektedir.</p>
<p><strong>Doküman yazarı</strong>: Sinan ŞEN</p>
<div class="shr-publisher-217"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-fblike' data-shr_layout='standard' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.maxi.gen.tr%2Flibssl-ve-ssh2-kurulumu.html' data-shr_title='Linux+centOS+libssl2+ve+ssh2+kurulumu'></a><a class='shareaholic-googleplusone' data-shr_size='standard' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.maxi.gen.tr%2Flibssl-ve-ssh2-kurulumu.html' data-shr_title='Linux+centOS+libssl2+ve+ssh2+kurulumu'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.maxi.gen.tr/libssl-ve-ssh2-kurulumu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Lenny PHP 5.3 ve üst bir sürüme güncelleme</title>
		<link>http://www.maxi.gen.tr/debian-lenny-php-5-3-ve-ust-bir-surume-guncelleme.html</link>
		<comments>http://www.maxi.gen.tr/debian-lenny-php-5-3-ve-ust-bir-surume-guncelleme.html#comments</comments>
		<pubDate>Fri, 05 Aug 2011 15:42:10 +0000</pubDate>
		<dc:creator>Sinan SEN</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian 5.3]]></category>
		<category><![CDATA[Debian Lenny]]></category>
		<category><![CDATA[dotdeb]]></category>
		<category><![CDATA[PHP 5.3]]></category>

		<guid isPermaLink="false">http://www.maxi.gen.tr/?p=278</guid>
		<description><![CDATA[Debian Lenny kullanan bir linux sürümünde PHP sürümünü PHP 5.3 ve üst bir sürüme update etmek isterseniz aşağıdaki adımları uygulamanız yeterli olacaktır. 1.&#160;apt sources listesine aşağıdaki satırları ekleyelim. &#8220;/etc/apt/sources.list&#8221; deb http://packages.dotdeb.org oldstable all deb-src http://packages.dotdeb.org oldstable all deb http://php53.dotdeb.org oldstable all deb-src http://php53.dotdeb.org oldstable all 2.&#160;Dotdeb repo anaktarını indirmek ve yüklemek için aşağıdaki işlemleri yapınız. [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Debian Lenny kullanan bir linux sürümünde PHP sürümünü PHP 5.3 ve üst bir sürüme update etmek isterseniz aşağıdaki adımları uygulamanız yeterli olacaktır.</p>
<p>1.&nbsp;apt sources listesine aşağıdaki satırları ekleyelim. &#8220;/etc/apt/sources.list&#8221;<br />
<pre>deb http://packages.dotdeb.org oldstable all
deb-src http://packages.dotdeb.org oldstable all

deb http://php53.dotdeb.org oldstable all
deb-src http://php53.dotdeb.org oldstable all</pre><br />
2.&nbsp;Dotdeb repo anaktarını indirmek ve yüklemek için aşağıdaki işlemleri yapınız.<br />
<pre>wget http://www.dotdeb.org/dotdeb.gpg
cat dotdeb.gpg | apt-key add</pre><br />
3. Debian Lenny Sürümünü ve PHP güncellemek için aşağıdaki komutları çalıştırınız.<br />
<pre>apt-get update
apt-get dist-upgrade</pre></p>
<div class="shr-publisher-278"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-fblike' data-shr_layout='standard' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.maxi.gen.tr%2Fdebian-lenny-php-5-3-ve-ust-bir-surume-guncelleme.html' data-shr_title='+Debian+Lenny+PHP+5.3+ve+%C3%BCst+bir+s%C3%BCr%C3%BCme+g%C3%BCncelleme'></a><a class='shareaholic-googleplusone' data-shr_size='standard' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.maxi.gen.tr%2Fdebian-lenny-php-5-3-ve-ust-bir-surume-guncelleme.html' data-shr_title='+Debian+Lenny+PHP+5.3+ve+%C3%BCst+bir+s%C3%BCr%C3%BCme+g%C3%BCncelleme'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.maxi.gen.tr/debian-lenny-php-5-3-ve-ust-bir-surume-guncelleme.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>-ERR Authentication failed (bad password?)</title>
		<link>http://www.maxi.gen.tr/err-authentication-failed-bad-password.html</link>
		<comments>http://www.maxi.gen.tr/err-authentication-failed-bad-password.html#comments</comments>
		<pubDate>Wed, 03 Aug 2011 15:56:15 +0000</pubDate>
		<dc:creator>Sinan SEN</dc:creator>
				<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[0x800CCC92]]></category>
		<category><![CDATA[Authentication failed (bad password?)]]></category>
		<category><![CDATA[bad password?]]></category>
		<category><![CDATA[courierup]]></category>
		<category><![CDATA[eximup]]></category>
		<category><![CDATA[popa3d]]></category>

		<guid isPermaLink="false">http://www.maxi.gen.tr/?p=211</guid>
		<description><![CDATA[cPanel üzerinde tanımlı, bir mail hesabınız Outlook üzerinden mail alırken aşağıdaki hatayı alıyorsanız. &#8216;test@domainadi.com &#8211; Alınıyor&#8217; görevi bir hata bildirdi (0x800CCC92) : &#8216;E-posta sunucunuz oturum açmanızı engelledi. Hesap Ayarları&#8217;nda bu hesaba yönelik kullanıcı adınızı ve parolanızı doğrulayın.  Sunucu yanıtı: -ERR Authentication failed (bad password?)&#8217; Problem cPanel pop3 servisinin bozulmasın dan dolayıdır. Çözüm için aşağıdaki işlemleri [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><strong>cPanel</strong> üzerinde tanımlı, bir mail hesabınız Outlook üzerinden mail alırken aşağıdaki hatayı alıyorsanız.</p>
<blockquote><p>&#8216;test@domainadi.com &#8211; Alınıyor&#8217; görevi bir hata bildirdi (<strong>0x800CCC92</strong>) : &#8216;E-posta sunucunuz oturum açmanızı engelledi. Hesap Ayarları&#8217;nda bu hesaba yönelik kullanıcı adınızı ve parolanızı doğrulayın.  Sunucu yanıtı: <strong>-ERR Authentication failed (bad password?</strong>)&#8217;</p></blockquote>
<p>Problem cPanel pop3 servisinin bozulmasın dan dolayıdır.</p>
<p>Çözüm için aşağıdaki işlemleri sırasıyla yapmanız yeterlidir.</p>
<p>cPanel yüklü olan sunucunuza SSH ile giriş sağladıktan sonra aşağıdaki komutları sırasıyla uygulayınız.<br />
<pre>cd /etc/xinetd.d/

mv  popa3d popa3d.old;mv popa3ds popa3ds.old;service xinetd restart

/scripts/courierup -force

/scripts/eximup –force</pre><br />
Yukarıdaki işlemleri yaptıktan sonra probleminiz düzelecek ve tekrar Outlook üzerinden mail almaya başlayacaksınız.</p>
<div class="shr-publisher-211"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-fblike' data-shr_layout='standard' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.maxi.gen.tr%2Ferr-authentication-failed-bad-password.html' data-shr_title='-ERR+Authentication+failed+%28bad+password%3F%29'></a><a class='shareaholic-googleplusone' data-shr_size='standard' data-shr_count='false' data-shr_href='http%3A%2F%2Fwww.maxi.gen.tr%2Ferr-authentication-failed-bad-password.html' data-shr_title='-ERR+Authentication+failed+%28bad+password%3F%29'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.maxi.gen.tr/err-authentication-failed-bad-password.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

