<?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>WEBPIRATEN &#187; Linux</title>
	<atom:link href="http://webpiraten.de/index.php/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://webpiraten.de</link>
	<description>Techblog / Photographie</description>
	<lastBuildDate>Fri, 18 May 2012 10:03:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>crontab schnell erklärt</title>
		<link>http://webpiraten.de/index.php/server/crontab-schnell-erklart/</link>
		<comments>http://webpiraten.de/index.php/server/crontab-schnell-erklart/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 15:42:55 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[users]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=391</guid>
		<description><![CDATA[im ubuntu users wiki ist eine schöne knappe erklärung zu crontab: wiki.ubuntuusers.de/Cron]]></description>
			<content:encoded><![CDATA[<p>im ubuntu users wiki ist eine schöne knappe erklärung zu crontab:</p>
<p><a href="http://wiki.ubuntuusers.de/Cron" target="_blank">wiki.ubuntuusers.de/Cron</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/server/crontab-schnell-erklart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>howto purge url mit squidclient</title>
		<link>http://webpiraten.de/index.php/javascript/howto-purge-url-mit-squidclient/</link>
		<comments>http://webpiraten.de/index.php/javascript/howto-purge-url-mit-squidclient/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 08:58:34 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Layout & Styles]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[purge]]></category>
		<category><![CDATA[sguid]]></category>
		<category><![CDATA[squidclient]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=387</guid>
		<description><![CDATA[um mit dem squidclient veraltete dateien aus dem cache zu entfernen, geht man wie folgt vor:]]></description>
			<content:encoded><![CDATA[<p>um mit dem squidclient veraltete dateien aus dem cache zu entfernen, geht man wie folgt vor:</p>
<pre class="brush: bash; title: ; notranslate">

user@server:/www$ squidclient -m PURGE http://www.example.com/js/javascript.js
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/javascript/howto-purge-url-mit-squidclient/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>howto setup ramfs und tmpfs</title>
		<link>http://webpiraten.de/index.php/server/howto-setup-ramfs-und-tmpfs/</link>
		<comments>http://webpiraten.de/index.php/server/howto-setup-ramfs-und-tmpfs/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 12:26:04 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[ramfs]]></category>
		<category><![CDATA[tmpfs]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=382</guid>
		<description><![CDATA[um schnelle dateizugriffe für caches zu realisieren, ist es angebracht diese dateistruktur im ram des rechners zu erzeugen. tmpfs und ramfs benutzen jeweils den ram des rechners und unterscheiden sich folgendermaßen: tmpfs wächst nicht dynamisch, sondern hält immer die grösse &#8230; <a href="http://webpiraten.de/index.php/server/howto-setup-ramfs-und-tmpfs/">weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>um schnelle dateizugriffe für caches zu realisieren, ist es angebracht diese dateistruktur im ram des rechners zu erzeugen. tmpfs und ramfs benutzen jeweils den ram des rechners und unterscheiden sich folgendermaßen:</p>
<p>tmpfs wächst nicht dynamisch, sondern hält immer die grösse mit der es angelegt wurde.<br />
tmpfs benutzt den swap bereich bei überladung.</p>
<p>ramfs wächst dynamisch und kann sämtlichen speicher aufbrauchen.<br />
ramfs benutzt keinen swap.</p>
<pre class="brush: bash; title: ; notranslate">

# mkdir -p /mnt/tmpcache

# mount -t tmpfs -o size=100m tmpfs /mnt/tmpcache

# mkdir -p /mnt/ramcache

# mount -t ramfs -o size=100m ramfs /mnt/ramcache
</pre>
<p>der befehl <em>mount</em> zeigt alle derzeit gemounteten dateisysteme.<br />
die auslastung kann mittels <em>df -k</em> angezeigt werden</p>
<pre class="brush: bash; title: ; notranslate">

# df -k tmpcache/
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   102400      1588    100812   2% /mnt/tmpcache

# mount
...
tmpfs on /mnt/tmpcache type tmpfs (rw,size=100m)
ramfs on /mnt/ramcache type ramfs (rw,size=100m)
</pre>
<p>um diese ordner permanent zu mounten (auch nach systemstart) muss ein eintrag in die <em>/etc/fstab</em> geschrieben werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/server/howto-setup-ramfs-und-tmpfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>howto copy merge svn branch trunk</title>
		<link>http://webpiraten.de/index.php/versionierung/howto-copy-merge-svn-branch-trunk/</link>
		<comments>http://webpiraten.de/index.php/versionierung/howto-copy-merge-svn-branch-trunk/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 09:48:58 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Versionierung]]></category>
		<category><![CDATA[branch]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[trunk]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=375</guid>
		<description><![CDATA[Branch erzeugen Branch aktuell halten Es sollte immer in kurzen Abständen der Trunk in den Branch überführt werden, damit es bei späterem Zurückführen keine größeren Konflikte gibt. Mit &#8211;dry-run kann man vorher testen was bei merge passieren würde. Branch in &#8230; <a href="http://webpiraten.de/index.php/versionierung/howto-copy-merge-svn-branch-trunk/">weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Branch erzeugen</strong></p>
<pre class="brush: bash; title: ; notranslate">
dev@server:~/project&gt; svn cp https://svn.example.com:88/svn/project/trunk https://svn.example.com:88/svn/project/branches/[BRANCH_NAME]
</pre>
<p><strong>Branch aktuell halten</strong></p>
<p>Es sollte immer in kurzen Abständen der Trunk in den Branch überführt werden, damit es bei späterem Zurückführen keine größeren Konflikte gibt. Mit <em>&#8211;dry-run</em> kann man vorher testen was bei <em>merge </em>passieren würde.</p>
<pre class="brush: bash; title: ; notranslate">
dev@server:~/project/branches/[BRANCH_NAME]&gt; svn up
dev@server:~/project/branches/[BRANCH_NAME]&gt; svn merge --dry-run https://svn.example.com:88/svn/project/trunk
dev@server:~/project/branches/[BRANCH_NAME]&gt; svn merge https://svn.example.com:88/svn/project/trunk
</pre>
<p><strong>Branch in den Trunk zurückführen</strong></p>
<p>Mit <em>&#8211;dry-run</em> kann man vorher testen was bei <em>merge &#8211;reintegrate</em> passieren würde.</p>
<pre class="brush: bash; title: ; notranslate">
dev@server:~/project/trunk&gt; svn merge --dry-run --reintegrate https://svn.example.com:88/svn/project/branches/[BRANCH_NAME]
dev@server:~/project/trunk&gt; svn merge --reintegrate https://svn.example.com:88/svn/project/branches/[BRANCH_NAME]
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/versionierung/howto-copy-merge-svn-branch-trunk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu bluetooth bei start deaktivieren</title>
		<link>http://webpiraten.de/index.php/linux/ubuntu-bluetooth-bei-start-deaktivieren/</link>
		<comments>http://webpiraten.de/index.php/linux/ubuntu-bluetooth-bei-start-deaktivieren/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 11:13:31 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[VIM]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[deaktivieren]]></category>
		<category><![CDATA[permanent]]></category>
		<category><![CDATA[rfkill]]></category>
		<category><![CDATA[start]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=345</guid>
		<description><![CDATA[um unter ubuntu die bluetooth funktionen permanent (bei system start) auszuschalten, öffne die datei /etc/rc.local und editiere die datei mit folgendem: so das die datei etwa so aussieht: bluetooth kann natürlich jederzeit über die settings wieder aktiviert werden.]]></description>
			<content:encoded><![CDATA[<p>um unter ubuntu die bluetooth funktionen permanent (bei system start) auszuschalten,<br />
öffne die datei <em>/etc/rc.local</em></p>
<pre class="brush: bash; title: ; notranslate">
sudoedit /etc/rc.local
</pre>
<p>und editiere die datei mit folgendem:</p>
<pre class="brush: bash; title: ; notranslate">
rfkill block bluetooth
</pre>
<p>so das die datei etwa so aussieht:</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will &quot;exit 0&quot; on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

rfkill block bluetooth

exit 0
</pre>
<p>bluetooth kann natürlich jederzeit über die settings wieder aktiviert werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/linux/ubuntu-bluetooth-bei-start-deaktivieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ant task &#8211; mysqldump mit gzip</title>
		<link>http://webpiraten.de/index.php/mysql/ant-task-mysqldump-mit-gzip/</link>
		<comments>http://webpiraten.de/index.php/mysql/ant-task-mysqldump-mit-gzip/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 14:47:38 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[ANT]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[pipe]]></category>
		<category><![CDATA[target]]></category>
		<category><![CDATA[task]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=343</guid>
		<description><![CDATA[um mit ant einen gezipten mysqldump zu erstellen, gehe wie folgt vor]]></description>
			<content:encoded><![CDATA[<p>um mit ant einen gezipten mysqldump zu erstellen, gehe wie folgt vor</p>
<pre class="brush: xml; title: ; notranslate">
    &lt;target name=&quot;tstamp&quot; description=&quot;create timestamp for further usage&quot;&gt;
        &lt;echo message=&quot;create timestamp for further usage&quot;/&gt;
        &lt;tstamp/&gt;
    &lt;/target&gt;

    &lt;target name=&quot;mkdir&quot; description=&quot;create backup directory&quot;&gt;
        &lt;echo message=&quot;create backup directory&quot;/&gt;
        &lt;mkdir dir=&quot;${backups}&quot;/&gt;
    &lt;/target&gt;

    &lt;target name=&quot;dump&quot; description=&quot;create db dump and gzip it - depends on tstamp, mkdir&quot; depends=&quot;tstamp, mkdir&quot;&gt;
        &lt;echo message=&quot;create db dump and gzip it&quot;/&gt;
        &lt;exec executable=&quot;bash&quot; dir=&quot;${backups}&quot;&gt;
            &lt;arg value=&quot;-c&quot;/&gt;
            &lt;arg line='&quot;mysqldump ${db} -u${db_user} -p${db_pass} | gzip &gt; ${backups}/${db}_${DSTAMP}_${TSTAMP}.sql.gz&quot;'/&gt;
        &lt;/exec&gt;
    &lt;/target&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/mysql/ant-task-mysqldump-mit-gzip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mit jhead image metadaten manipulieren</title>
		<link>http://webpiraten.de/index.php/server/mit-jhead-image-metadaten-manipulieren/</link>
		<comments>http://webpiraten.de/index.php/server/mit-jhead-image-metadaten-manipulieren/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 16:46:56 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[iptc]]></category>
		<category><![CDATA[jhead]]></category>
		<category><![CDATA[jpg]]></category>
		<category><![CDATA[manipulation]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=340</guid>
		<description><![CDATA[nach einigen erfolglosen manipulationsversuchen von exif und iptc daten in images, kam jhead. damit ist es möglich, photoshop und windows metadaten in images zu löschen und eigene, echte metadaten in das image zu schreiben. sentex.net/~mwandel/jhead/ einfach die bin an geeignete &#8230; <a href="http://webpiraten.de/index.php/server/mit-jhead-image-metadaten-manipulieren/">weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>nach einigen erfolglosen manipulationsversuchen von exif und iptc daten in images, kam jhead. damit ist es möglich, photoshop und windows metadaten in images zu löschen und eigene, echte metadaten in das image zu schreiben.</p>
<p><a href="http://www.sentex.net/~mwandel/jhead/" title="jhead">sentex.net/~mwandel/jhead/</a></p>
<p>einfach die bin an geeignete stelle kopieren, ausführbar machen und bspw. mit php verwenden:</p>
<pre class="brush: php; title: ; notranslate">
exec('/usr/bin/jhead -purejpg source.jpg target.jpg');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/server/mit-jhead-image-metadaten-manipulieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysqldump ohne definer</title>
		<link>http://webpiraten.de/index.php/mysql/mysqldump-ohne-definer/</link>
		<comments>http://webpiraten.de/index.php/mysql/mysqldump-ohne-definer/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 09:21:16 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[definer]]></category>
		<category><![CDATA[dump]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=329</guid>
		<description><![CDATA[um hostunabhängige mysql dumps zu erzeugen, muss man die definer aus dem jeweiligen dump entfernen. mit sed kann man das gleich beim erzeugen des dumps:]]></description>
			<content:encoded><![CDATA[<p>um hostunabhängige mysql dumps zu erzeugen, muss man die definer aus dem jeweiligen dump entfernen.<br />
mit sed kann man das gleich beim erzeugen des dumps:</p>
<pre class="brush: bash; title: ; notranslate">
mysqldump database -ufoo -pbar | sed &quot;s/\/\*[^\/]*DEFINER.*\*\///g&quot; &gt; dump_without_definer.sql
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/mysql/mysqldump-ohne-definer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mit find, grep und xargs dateien rekursiv aus svn working copies löschen</title>
		<link>http://webpiraten.de/index.php/versionierung/mit-find-grep-und-xargs-dateien-rekursiv-aus-svn-working-copies-loschen/</link>
		<comments>http://webpiraten.de/index.php/versionierung/mit-find-grep-und-xargs-dateien-rekursiv-aus-svn-working-copies-loschen/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 12:28:13 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Versionierung]]></category>
		<category><![CDATA[dateien]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[löschen]]></category>
		<category><![CDATA[rekursiv]]></category>
		<category><![CDATA[xargs]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=326</guid>
		<description><![CDATA[Findet alle Dateien die mit ._ anfangen, ignoriert die .svn eigenen kopien und markiert diese zum löschen via svn.]]></description>
			<content:encoded><![CDATA[<p>Findet alle Dateien die mit ._ anfangen, ignoriert die .svn eigenen kopien und markiert diese zum löschen via svn.</p>
<pre class="brush: bash; title: ; notranslate">
find . -name '._*' -type f | grep -v '.svn/'  | xargs svn rm
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/versionierung/mit-find-grep-und-xargs-dateien-rekursiv-aus-svn-working-copies-loschen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpmyadmin mit ssl erzwingen</title>
		<link>http://webpiraten.de/index.php/php/phpmyadmin-mit-ssl-erzwingen/</link>
		<comments>http://webpiraten.de/index.php/php/phpmyadmin-mit-ssl-erzwingen/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 15:17:36 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PhpMyAdmin]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[my]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[verschlüsselung]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=314</guid>
		<description><![CDATA[trage einfach in die config.inc.php folgendes ans ende der datei:]]></description>
			<content:encoded><![CDATA[<p>trage einfach in die <em>config.inc.php</em> folgendes ans ende der datei:</p>
<pre class="brush: php; title: ; notranslate">
// am ende der config.inc.php
$cfg['ForceSSL'] = true;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/php/phpmyadmin-mit-ssl-erzwingen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

