<?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>siyahsapka.org &#187; Linux</title>
	<atom:link href="http://www.siyahsapka.org/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.siyahsapka.org</link>
	<description>Software Development &#38; Research Team</description>
	<lastBuildDate>Sat, 04 Feb 2012 10:41:25 +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>bash lf/else karşılaştırma operatörleri</title>
		<link>http://www.siyahsapka.org/2011/10/17/bash-lfelse-karsilastirma-operatorleri/</link>
		<comments>http://www.siyahsapka.org/2011/10/17/bash-lfelse-karsilastirma-operatorleri/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 08:22:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell scripting]]></category>

		<guid isPermaLink="false">http://www.siyahsapka.org/?p=952</guid>
		<description><![CDATA[#!/bin/sh # This is some secure program that uses security. VALID_PASSWORD="secret" #this is our password. echo "Please enter the password:" read PASSWORD if [ "$PASSWORD" == "$VALID_PASSWORD" ]; then echo "You have access!" else echo "ACCESS DENIED!" &#160; Karşılaştırma: -eq equal to -ne not equal to -lt less than -le less than or equal to [...]]]></description>
			<content:encoded><![CDATA[<pre>#!/bin/sh
# This is some secure program that uses security.

VALID_PASSWORD="secret" #this is our password.

echo "Please enter the password:"
read PASSWORD

if [ "$PASSWORD" == "$VALID_PASSWORD" ]; then
	echo "You have access!"
else
	echo "ACCESS DENIED!"</pre>
<p>&nbsp;</p>
<p><strong>Karşılaştırma:</strong></p>
<table border="1">
<tbody>
<tr>
<td><strong>-eq</strong></td>
<td>equal to</td>
</tr>
<tr>
<td><strong>-ne</strong></td>
<td>not equal to</td>
</tr>
<tr>
<td><strong>-lt</strong></td>
<td>less than</td>
</tr>
<tr>
<td><strong>-le</strong></td>
<td>less than or equal to</td>
</tr>
<tr>
<td><strong>-gt</strong></td>
<td>greater than</td>
</tr>
<tr>
<td><strong>-ge</strong></td>
<td>greater than or equal to</td>
</tr>
</tbody>
</table>
<p><strong>Dosya işlemleri:</strong></p>
<table border="1">
<tbody>
<tr>
<td><strong>-s</strong></td>
<td>file exists and is not empty</td>
</tr>
<tr>
<td><strong>-f</strong></td>
<td>file exists and is not a directory</td>
</tr>
<tr>
<td><strong>-d</strong></td>
<td>directory exists</td>
</tr>
<tr>
<td><strong>-x</strong></td>
<td>file is executable</td>
</tr>
<tr>
<td><strong>-w</strong></td>
<td>file is writable</td>
</tr>
<tr>
<td><strong>-r</strong></td>
<td>file is readable</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.siyahsapka.org/2011/10/17/bash-lfelse-karsilastirma-operatorleri/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openldap: LDAP password information update failed: Insufficient access</title>
		<link>http://www.siyahsapka.org/2011/10/17/openldap-ldap-password-information-update-failed-insufficient-access/</link>
		<comments>http://www.siyahsapka.org/2011/10/17/openldap-ldap-password-information-update-failed-insufficient-access/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 06:46:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[openldap]]></category>

		<guid isPermaLink="false">http://www.siyahsapka.org/?p=949</guid>
		<description><![CDATA[solution: access to * by self write by users read by anonymous auth]]></description>
			<content:encoded><![CDATA[<pre><strong>solution:</strong></pre>
<pre>access to *
        by self write
        by users read
        by anonymous auth</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.siyahsapka.org/2011/10/17/openldap-ldap-password-information-update-failed-insufficient-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uzaktaki sunucuya vncserver kurulumu</title>
		<link>http://www.siyahsapka.org/2011/10/11/uzaktaki-sunucuya-vncserver-kurulumu/</link>
		<comments>http://www.siyahsapka.org/2011/10/11/uzaktaki-sunucuya-vncserver-kurulumu/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 06:30:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.siyahsapka.org/?p=941</guid>
		<description><![CDATA[vnc ile bağlanmak istediğim kullanıcı adı oracle,  aşağıdaki komutları kendi kullanıcıza göre düzelemelisiniz, [root@ares log]# cat /etc/redhat-release CentOS release 5.7 (Final) [root@ares ~]# yum install vnc-server [root@ares ~]# echo 'VNCSERVERS="1:oracle"' &#62;&#62; /etc/sysconfig/vncservers [root@ares ~]# echo 'VNCSERVERARGS[1]="-geometry 1024x768"' &#62;&#62; /etc/sysconfig/vncservers [root@ares ~]# mkdir /home/oracle/.vnc [root@ares ~]# echo '#!/bin/sh' &#62;&#62; /home/oracle/.vnc/xstartup [root@ares ~]# echo exec /etc/X11/xinit/xinitrc &#62;&#62; [...]]]></description>
			<content:encoded><![CDATA[<pre>vnc ile bağlanmak istediğim kullanıcı adı <strong>oracle</strong>, 
aşağıdaki <strong>komutları kendi kullanıcıza göre düzelemelisiniz,</strong></pre>
<pre>[root@ares log]# cat /etc/redhat-release
CentOS release 5.7 (Final)
[root@ares ~]# yum install vnc-server
[root@ares ~]# echo 'VNCSERVERS="1:oracle"' &gt;&gt; /etc/sysconfig/vncservers
[root@ares ~]# echo 'VNCSERVERARGS[1]="-geometry 1024x768"' &gt;&gt; /etc/sysconfig/vncservers
[root@ares ~]# mkdir /home/oracle/.vnc
[root@ares ~]# echo '#!/bin/sh' &gt;&gt; /home/oracle/.vnc/xstartup
[root@ares ~]# echo exec /etc/X11/xinit/xinitrc &gt;&gt; /home/oracle/.vnc/xstartup
[root@ares ~]# chmod +x /home/oracle/.vnc/xstartup
[root@ares ~]# chown -R oracle /home/oracle/.vnc
[root@ares ~]# su - oracle
[root@ares ~]$ vncpasswd
[root@ares ~]# su -
[root@ares ~]# service vncserver start</pre>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.siyahsapka.org/2011/10/11/uzaktaki-sunucuya-vncserver-kurulumu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 xmms kurulumu</title>
		<link>http://www.siyahsapka.org/2009/10/11/ubuntu-9-04-xmms-kurulumu/</link>
		<comments>http://www.siyahsapka.org/2009/10/11/ubuntu-9-04-xmms-kurulumu/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 21:03:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.knyksl.com/?p=250</guid>
		<description><![CDATA[source.list dosyasını düzenleyerek aşağıda yer alan ilgili satırları ekliyoruz: sudo gedit /etc/apt/sources.list seçiminize göre aşağıdaki satırları ekleyerek dosyayı kaydediyoruz. ubuntu 9.04: deb http://www.pvv.ntnu.no/~knuta/xmms/jaunty ./ deb-src http://www.pvv.ntnu.no/~knuta/xmms/jaunty ./ ubuntu 8.04: deb http://www.pvv.ntnu.no/~knuta/xmms/hardy ./ deb-src http://www.pvv.ntnu.no/~knuta/xmms/hardy ./ Update ve install xmms sudo apt-get update sudo apt-get install xmms]]></description>
			<content:encoded><![CDATA[<p>source.list dosyasını düzenleyerek aşağıda yer alan ilgili satırları ekliyoruz:</p>
<div>
<div>
<pre style="font-family: monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list</pre>
</div>
</div>
<p>seçiminize göre aşağıdaki satırları ekleyerek dosyayı kaydediyoruz.</p>
<p><em>ubuntu 9.04:</em></p>
<div>
<div>
<pre style="font-family: monospace;">deb http:<span style="color: #000000; font-weight: bold;">//</span>www.pvv.ntnu.no<span style="color: #000000; font-weight: bold;">/</span>~knuta<span style="color: #000000; font-weight: bold;">/</span>xmms<span style="color: #000000; font-weight: bold;">/</span>jaunty .<span style="color: #000000; font-weight: bold;">/</span>
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>www.pvv.ntnu.no<span style="color: #000000; font-weight: bold;">/</span>~knuta<span style="color: #000000; font-weight: bold;">/</span>xmms<span style="color: #000000; font-weight: bold;">/</span>jaunty .<span style="color: #000000; font-weight: bold;">/</span></pre>
</div>
</div>
<p><em>ubuntu 8.04:</em></p>
<div>
<div>
<pre style="font-family: monospace;">deb http:<span style="color: #000000; font-weight: bold;">//</span>www.pvv.ntnu.no<span style="color: #000000; font-weight: bold;">/</span>~knuta<span style="color: #000000; font-weight: bold;">/</span>xmms<span style="color: #000000; font-weight: bold;">/</span>hardy .<span style="color: #000000; font-weight: bold;">/</span>
deb-src http:<span style="color: #000000; font-weight: bold;">//</span>www.pvv.ntnu.no<span style="color: #000000; font-weight: bold;">/</span>~knuta<span style="color: #000000; font-weight: bold;">/</span>xmms<span style="color: #000000; font-weight: bold;">/</span>hardy .<span style="color: #000000; font-weight: bold;">/</span></pre>
</div>
</div>
<p>Update ve install xmms</p>
<div>
<div>
<pre style="font-family: monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xmms</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.siyahsapka.org/2009/10/11/ubuntu-9-04-xmms-kurulumu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

