<?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; Deployment</title>
	<atom:link href="http://webpiraten.de/index.php/category/deployment/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>kohana 3.1 unittest mit phpunit</title>
		<link>http://webpiraten.de/index.php/frameworks/kohana-3-1-unittest-mit-phpunit/</link>
		<comments>http://webpiraten.de/index.php/frameworks/kohana-3-1-unittest-mit-phpunit/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 12:46:02 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Kohana]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHPUnit]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[kohana]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[unit]]></category>
		<category><![CDATA[unittest]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=396</guid>
		<description><![CDATA[wie man das kohana unittest modul richtig einbindet um für seine applikation bzw. module ein taugliches testframework zu haben, ist hier blog.lysender.com trefflich beschrieben.]]></description>
			<content:encoded><![CDATA[<p>wie man das kohana unittest modul richtig einbindet um für seine applikation bzw. module ein taugliches testframework zu haben, ist hier <a href="http://blog.lysender.com/2011/02/kohana-3-1-migration-unit-testing/">blog.lysender.com</a> trefflich beschrieben.</p>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/frameworks/kohana-3-1-unittest-mit-phpunit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>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>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>webpiraten auf github</title>
		<link>http://webpiraten.de/index.php/frameworks/kohana-framework/webpiraten-auf-github/</link>
		<comments>http://webpiraten.de/index.php/frameworks/kohana-framework/webpiraten-auf-github/#comments</comments>
		<pubDate>Tue, 17 May 2011 19:31:02 +0000</pubDate>
		<dc:creator>webpirat</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[GIT]]></category>
		<category><![CDATA[Kohana]]></category>
		<category><![CDATA[Versionierung]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[webpiraten]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=319</guid>
		<description><![CDATA[endlich haben die webpiraten auch ihre opensource repos bei github am start. https://github.com/webpiraten]]></description>
			<content:encoded><![CDATA[<p>endlich haben die webpiraten auch ihre opensource repos bei github am start.</p>
<p><a href="https://github.com/webpiraten" title="webpiraten auf github">https://github.com/webpiraten</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/frameworks/kohana-framework/webpiraten-auf-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>suchen und ersetzen mit vim</title>
		<link>http://webpiraten.de/index.php/server/suchen-und-ersetzen-mit-vim/</link>
		<comments>http://webpiraten.de/index.php/server/suchen-und-ersetzen-mit-vim/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 12:37:33 +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[VIM]]></category>
		<category><![CDATA[ersetzen]]></category>
		<category><![CDATA[pattern]]></category>
		<category><![CDATA[replacement]]></category>
		<category><![CDATA[suchen]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://webpiraten.de/?p=310</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: bash; title: ; notranslate">

# sucht im inhalt der datei nach suchbegriff
/suchbegriff

# ersetzt im inhalt der datei alt mit neu
# slashes und * im patter/replacement müssen escaped werden
:%s/alt/neu/g
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webpiraten.de/index.php/server/suchen-und-ersetzen-mit-vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

