<?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"
	>

<channel>
	<title>kevin's blog</title>
	<atom:link href="http://blog.kevin-k.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.kevin-k.com</link>
	<description>Just another blog from just another blogger.</description>
	<pubDate>Tue, 09 Sep 2008 17:31:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Sony Walkman NWZ-A818 SUPER Profil für MP4 Video-Konvertierung</title>
		<link>http://blog.kevin-k.com/2008-09-09/sony-walkman-nwz-a818-super-profil-fur-mp4-video-konvertierung.html</link>
		<comments>http://blog.kevin-k.com/2008-09-09/sony-walkman-nwz-a818-super-profil-fur-mp4-video-konvertierung.html#comments</comments>
		<pubDate>Tue, 09 Sep 2008 17:31:02 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<category><![CDATA[MP4]]></category>

		<category><![CDATA[SUPER]]></category>

		<category><![CDATA[Walkman]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=146</guid>
		<description><![CDATA[Mit dem Video-Konvertierungsprogramm &#8220;SUPER&#8221; und mit dem folgedem Profil läßt sich jedes beliebiges Video in das MP4 MPEG-4 AAC LC Format konvertieren. Das Output Video läßt sich dann ohne Probleme auf dem Sony Walkman NWZ-A818 (und wohl auf der ganzen Sony Walkman A-Serie abspielen).
Super Download
Sony Walkman NWZ-A818 SUPER Profil Download
]]></description>
			<content:encoded><![CDATA[<p>Mit dem Video-Konvertierungsprogramm &#8220;SUPER&#8221; und mit dem folgedem Profil läßt sich jedes beliebiges Video in das MP4 MPEG-4 AAC LC Format konvertieren. Das Output Video läßt sich dann ohne Probleme auf dem Sony Walkman NWZ-A818 (und wohl auf der ganzen Sony Walkman A-Serie abspielen).</p>
<p><a href="http://www.erightsoft.info/GetFile.php?SUPERsetup.exe">Super Download</a></p>
<p><a href="http://blog.kevin-k.com/wp-content/uploads/2008/09/sony_walkman_a818.spf">Sony Walkman NWZ-A818 SUPER Profil Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2008-09-09/sony-walkman-nwz-a818-super-profil-fur-mp4-video-konvertierung.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Install java jdk on debian etch as deb-package</title>
		<link>http://blog.kevin-k.com/2008-09-04/install-java-jdk-on-debian-etch-as-deb-package.html</link>
		<comments>http://blog.kevin-k.com/2008-09-04/install-java-jdk-on-debian-etch-as-deb-package.html#comments</comments>
		<pubDate>Thu, 04 Sep 2008 05:56:02 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
		
		<category><![CDATA[Linux/Debian]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[jdk]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=139</guid>
		<description><![CDATA[Download java sdk: http://java.sun.com/j2se/1.5.0/download.jsp

apt-get install java-package fakeroot

java dependencies:

apt-get install libasound2 libxext6 libxi6 libxp6 libxt6 libxtst6


fakeroot make-jpkg jre-1_5_0_16-linux-i586.bin
dpkg -i sun-j2sdk1.5_1.5.0+update16_i386.deb

]]></description>
			<content:encoded><![CDATA[<p>Download java sdk: <a href="http://java.sun.com/j2se/1.5.0/download.jsp">http://java.sun.com/j2se/1.5.0/download.jsp</a></p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">apt-get install java-package fakeroot</pre></div></div>

<p>java dependencies:</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">apt-get install libasound2 libxext6 libxi6 libxp6 libxt6 libxtst6</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">fakeroot make-jpkg jre-1_5_0_16-linux-i586.bin
dpkg -i sun-j2sdk1.5_1.5.0+update16_i386.deb</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2008-09-04/install-java-jdk-on-debian-etch-as-deb-package.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>lekker Cookies</title>
		<link>http://blog.kevin-k.com/2008-08-25/lekker-cookies.html</link>
		<comments>http://blog.kevin-k.com/2008-08-25/lekker-cookies.html#comments</comments>
		<pubDate>Mon, 25 Aug 2008 15:50:04 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<category><![CDATA[Linux/Debian]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=131</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.kevin-k.com/wp-content/uploads/2008/08/dsc05436.jpg"><img class="alignnone size-full wp-image-132" title="dsc05436" src="http://blog.kevin-k.com/wp-content/uploads/2008/08/dsc05436.jpg" alt="" width="480" height="360" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2008-08-25/lekker-cookies.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>last-Access Zeitstempel im Dateisystem deaktivieren</title>
		<link>http://blog.kevin-k.com/2008-08-24/last-access-zeitstempel-im-dateisystem-deaktivieren.html</link>
		<comments>http://blog.kevin-k.com/2008-08-24/last-access-zeitstempel-im-dateisystem-deaktivieren.html#comments</comments>
		<pubDate>Sun, 24 Aug 2008 18:14:59 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
		
		<category><![CDATA[Linux/Debian]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=128</guid>
		<description><![CDATA[
mount -o noatime,remount,rw /dev/hda3

Quelle: PHP-Perfomance
]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">mount -o noatime,remount,rw /dev/hda3</pre></div></div>

<p>Quelle: <a href="http://phpperformance.de/loggen-des-letzten-dateizugriffs-deaktivieren/">PHP-Perfomance</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2008-08-24/last-access-zeitstempel-im-dateisystem-deaktivieren.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>open_basedir + upload_tmp_dir</title>
		<link>http://blog.kevin-k.com/2008-08-12/open_basedir-upload_tmp_dir.html</link>
		<comments>http://blog.kevin-k.com/2008-08-12/open_basedir-upload_tmp_dir.html#comments</comments>
		<pubDate>Tue, 12 Aug 2008 14:11:18 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=124</guid>
		<description><![CDATA[Der Standardpfad für Dateiuploads ist /tmp. Wenn für PHP der Schreibzugriff nur auf bestimmte Verzeichnisse erlaubt sein soll, darf natürlich für Dateiuploads auch der upload_tmp_dir nicht fehlen:

open_basedir = /ftp/blog.kevin-k.com:/tmp

]]></description>
			<content:encoded><![CDATA[<p>Der Standardpfad für Dateiuploads ist <em>/tmp</em>. Wenn für PHP der Schreibzugriff nur auf bestimmte Verzeichnisse erlaubt sein soll, darf natürlich für Dateiuploads auch der <em>upload_tmp_dir</em> nicht fehlen:</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">open_basedir = /ftp/blog.kevin-k.com:/tmp</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2008-08-12/open_basedir-upload_tmp_dir.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Linux wächst!</title>
		<link>http://blog.kevin-k.com/2008-08-12/linux-wachst.html</link>
		<comments>http://blog.kevin-k.com/2008-08-12/linux-wachst.html#comments</comments>
		<pubDate>Tue, 12 Aug 2008 14:07:51 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<category><![CDATA[Linux/Debian]]></category>

		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=120</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.chip.de/chip-linux-blog/linuxer-fett-im-geschaeft-20080808/"><img class="alignnone size-full wp-image-121" title="linuxbloat" src="http://blog.kevin-k.com/wp-content/uploads/2008/08/linuxbloat.jpg" alt="" width="480" height="440" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2008-08-12/linux-wachst.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>lighttpd und virtuelle Hosts mit eigener php.ini</title>
		<link>http://blog.kevin-k.com/2008-08-03/lighttpd-und-virtuelle-hosts-mit-eigener-phpini.html</link>
		<comments>http://blog.kevin-k.com/2008-08-03/lighttpd-und-virtuelle-hosts-mit-eigener-phpini.html#comments</comments>
		<pubDate>Sun, 03 Aug 2008 09:57:09 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
		
		<category><![CDATA[Linux/Debian]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Sicherheit]]></category>

		<category><![CDATA[lighttpd]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=115</guid>
		<description><![CDATA[Damit für jeden virtuellen Host eine eigene php.ini genutzt wird, legen wir mit dem setenv-Modul die Umgebungsvairable PHPRC fest, die angibt, wo die php.ini liegt.

server.modules   += ( &#34;mod_setenv&#34; )

Nun fügen wir die setenv-Anweisung für die virtuellen Hosts hinzu:

$HTTP[&#34;host&#34;] =~ &#34;^www.example.com&#34; {
	...
    setenv.add-environment = (
       [...]]]></description>
			<content:encoded><![CDATA[<p>Damit für jeden virtuellen Host eine eigene php.ini genutzt wird, legen wir mit dem setenv-Modul die Umgebungsvairable PHPRC fest, die angibt, wo die php.ini liegt.</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">server.modules   += ( &quot;mod_setenv&quot; )</pre></div></div>

<p>Nun fügen wir die setenv-Anweisung für die virtuellen Hosts hinzu:</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">$HTTP[&quot;host&quot;] =~ &quot;^www.example.com&quot; {
	...
    setenv.add-environment = (
        &quot;PHPRC&quot; =&gt; &quot;/etc/php5/cgi/php.example.com.ini&quot;
    )
}</pre></div></div>

<p>In dieser speziellen php.ini sollte man nun für jeden virtuellen Host den open_basedir-Pfad setzen, damit diese nicht untereinander auf die Verzeichnise schreiben können.</p>
<p>Quelle: <a href="http://www.jenkner.org/archive/2008/03/11/lighttpd-mit-php-und-cgi/">http://www.jenkner.org/archive/2008/03/11/lighttpd-mit-php-und-cgi/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2008-08-03/lighttpd-und-virtuelle-hosts-mit-eigener-phpini.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>PostgreSQL Backup Script für Windows</title>
		<link>http://blog.kevin-k.com/2008-08-03/postgresql-backup-script-fur-windows.html</link>
		<comments>http://blog.kevin-k.com/2008-08-03/postgresql-backup-script-fur-windows.html#comments</comments>
		<pubDate>Sun, 03 Aug 2008 05:18:28 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
		
		<category><![CDATA[Sicherheit]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=113</guid>
		<description><![CDATA[
@echo off
&#160;
set PG_BIN_PATH=C:\Programme\PostgreSQL\8.3\bin
set PG_BACKUP_PATH=C:\backup\pg
&#160;
set PGHOST=localhost
set PGUSER=postgres
set PGPASSWORD=postgres
set PGPORT=5432
set PGDATABASE=database
set PGCODING=UTF8
&#160;
&#160;
if not exist &#34;%PG_BIN_PATH%&#34; goto exit
if not exist &#34;%PG_BACKUP_PATH%&#34; goto create_pg_backup_path
&#160;
goto run
&#160;
:create_pg_backup_path
mkdir &#34;%PG_BACKUP_PATH%&#34;
&#160;
:run
set PG_BACKUP_TIME=%TIME:~1,1%_%TIME:~3,2%_%TIME:~6,2%
set PG_BACKUP_DATE=%DATE:~6,4%_%DATE:~3,2%_%DATE:~0,2%
&#160;
%PG_BIN_PATH%\pg_dump.exe -i --format c --verbose --file=%PG_BACKUP_PATH%\%PGDATABASE%-%PG_BACKUP_DATE%-%PG_BACKUP_TIME%.backup
&#160;
:exit
exit

]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">@echo off
&nbsp;
set PG_BIN_PATH=C:\Programme\PostgreSQL\8.3\bin
set PG_BACKUP_PATH=C:\backup\pg
&nbsp;
set PGHOST=localhost
set PGUSER=postgres
set PGPASSWORD=postgres
set PGPORT=5432
set PGDATABASE=database
set PGCODING=UTF8
&nbsp;
&nbsp;
if not exist &quot;%PG_BIN_PATH%&quot; goto exit
if not exist &quot;%PG_BACKUP_PATH%&quot; goto create_pg_backup_path
&nbsp;
goto run
&nbsp;
:create_pg_backup_path
mkdir &quot;%PG_BACKUP_PATH%&quot;
&nbsp;
:run
set PG_BACKUP_TIME=%TIME:~1,1%_%TIME:~3,2%_%TIME:~6,2%
set PG_BACKUP_DATE=%DATE:~6,4%_%DATE:~3,2%_%DATE:~0,2%
&nbsp;
%PG_BIN_PATH%\pg_dump.exe -i --format c --verbose --file=%PG_BACKUP_PATH%\%PGDATABASE%-%PG_BACKUP_DATE%-%PG_BACKUP_TIME%.backup
&nbsp;
:exit
exit</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2008-08-03/postgresql-backup-script-fur-windows.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Zugriffsrechte für lighttpd und proftpd</title>
		<link>http://blog.kevin-k.com/2008-08-02/zugriffsrechte-fur-lighttpd-und-proftpd.html</link>
		<comments>http://blog.kevin-k.com/2008-08-02/zugriffsrechte-fur-lighttpd-und-proftpd.html#comments</comments>
		<pubDate>Sat, 02 Aug 2008 13:42:25 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
		
		<category><![CDATA[Linux/Debian]]></category>

		<category><![CDATA[lighttpd]]></category>

		<category><![CDATA[proftpd]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=101</guid>
		<description><![CDATA[Wenn ein FTP-User (Virtual User) Dateien und Ordner ändern/erstellen, werden diese auf meinem System mit dem Benutzer ftp-data (Gruppe ftp-data) geschrieben.
Wird von lighttpd eine Dateien angelegt, wird diese mit dem Benutzer www-data (Gruppe www-data) geschrieben.
Das Problem ist nun, wenn FTP-User Zugriff auf die von lighttpd geschriebenen Dateien bekommen sollen und umgekehrt.
Als aller erstes fügen wir [...]]]></description>
			<content:encoded><![CDATA[<p>Wenn ein FTP-User (Virtual User) Dateien und Ordner ändern/erstellen, werden diese auf meinem System mit dem Benutzer ftp-data (Gruppe ftp-data) geschrieben.<br />
Wird von lighttpd eine Dateien angelegt, wird diese mit dem Benutzer www-data (Gruppe www-data) geschrieben.<br />
Das Problem ist nun, wenn FTP-User Zugriff auf die von lighttpd geschriebenen Dateien bekommen sollen und umgekehrt.</p>
<p>Als aller erstes fügen wir den Benutzer ftp-data der Gruppe www-data hinzu:</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">usermod -a -G ftp-data www-data</pre></div></div>

<p>Danach ändern wir den Benutzer und die Gruppe des FTP-Verzeichnises:</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">chown -R www-data:www-data /ftp</pre></div></div>

<p>Nun geben wir allen Dateien und Ordner folgende Zugriffsrechte: 775<br />
Das bedeutet:<br />
User (7): Schreiben, Lesen und Ausführen<br />
Gruppe (7): Schreiben, Lesen und Ausführen<br />
Jeder (5): Lesen und Ausführen</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">chmod -R 775 /ftp</pre></div></div>

<p>Werden von www-data (lighttpd, apache) Dateien angelegt, werden diese mit dem Benutzer www-data und der Gruppe www-data geschrieben.</p>
<p>Da wir allen Dateien für die Gruppe (ftp-data befindet sich ja in Gruppe www-data) alle Rechte gegeben haben, können wir nun mit dem FTP-User auf die Dateien zugreifen, die von www-data geschrieben worden sind.</p>
<p>Um nun auch www-data die Rechte zu geben, um auf Dateien von ftp-data zugreifen zu können, ändern wir wie folgt die config von proftpd (/etc/proftpd/proftpd.conf):</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">Umask 002  002</pre></div></div>

<p>Durch Unmask werden nun Dateien und Ordner die hochgeladen werden, auf folgende Rechte gesetzt:<br />
775 (777-002)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2008-08-02/zugriffsrechte-fur-lighttpd-und-proftpd.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>tcptrack - Displays a TCP connection list</title>
		<link>http://blog.kevin-k.com/2008-07-31/tcptrack-displays-a-tcp-connection-list.html</link>
		<comments>http://blog.kevin-k.com/2008-07-31/tcptrack-displays-a-tcp-connection-list.html#comments</comments>
		<pubDate>Thu, 31 Jul 2008 18:21:48 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
		
		<category><![CDATA[Linux/Debian]]></category>

		<category><![CDATA[Netzwerk]]></category>

		<category><![CDATA[linux tools]]></category>

		<guid isPermaLink="false">http://blog.kevin-k.com/?p=94</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.kevin-k.com/wp-content/uploads/2008/07/tcptrack.png"><img class="alignnone size-thumbnail wp-image-95" title="tcptrack" src="http://blog.kevin-k.com/wp-content/uploads/2008/07/tcptrack-480x336.png" alt="" width="480" height="336" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevin-k.com/2008-07-31/tcptrack-displays-a-tcp-connection-list.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
