<?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>Purrucker Page Blog &#187; Ubuntu</title>
	<atom:link href="http://blog.purrucker.de/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.purrucker.de</link>
	<description>Informationstechnologie, Sport und anderes ...</description>
	<lastBuildDate>Tue, 07 Feb 2012 12:20:38 +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>1-wire Wetterstation (Teil 3: Anzeige)</title>
		<link>http://blog.purrucker.de/2011/03/29/1-wire-wetterstation-teil-3-anzeige-2/</link>
		<comments>http://blog.purrucker.de/2011/03/29/1-wire-wetterstation-teil-3-anzeige-2/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 10:14:21 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Computer & Technik]]></category>
		<category><![CDATA[Hersteller]]></category>
		<category><![CDATA[Kommunikationstechnik]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Alix]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[Geode]]></category>
		<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Sensoren]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Wetter]]></category>
		<category><![CDATA[Wetterstation]]></category>

		<guid isPermaLink="false">http://blog.purrucker.de/?p=980</guid>
		<description><![CDATA[Nachdem man sich eine 1-wire Wetterstation nach dem Artikel 1-wire Wetterstation (Teil 1: Installation) gebaut und die Daten wie im Artikel 1-wire Wetterstation (Teil 2: Datenbank) beschrieben in einer MySQL Tabelle speichert möchte man die gesammelten Werte natürlich auch angezeigt &#8230; <a href="http://blog.purrucker.de/2011/03/29/1-wire-wetterstation-teil-3-anzeige-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nachdem man sich eine 1-wire Wetterstation nach dem Artikel <a href="http://blog.purrucker.de/2010/03/01/1-wire-wetterstation-teil-1-installation/">1-wire Wetterstation (Teil 1: Installation)</a> gebaut und die Daten wie im Artikel <a href="http://blog.purrucker.de/2011/02/13/1-wire-wetterstation-teil-2-datenbank-2/">1-wire Wetterstation (Teil 2: Datenbank)</a> beschrieben in einer MySQL Tabelle speichert möchte man die gesammelten Werte natürlich auch angezeigt bekommen.</p>
<p>Um möglichst einfach die gemessenen Werte der Wetterstation in einer Webseite anzuzeigen, habe ich die jpgraph verwendet. Diese Software darf für private Zwecke kostenlos verwendet werden. Da sie ansonsten Geld kostet ist sie nicht im Repository zu finden. Man kann sie aber unter der URL http://jpgraph.net/download runterladen. Ich habe mir von dort die aktuelle Version 3.07 geholt und in das Verzeichnis <code>/usr/share/jpgraph3</code> entpackt. Danach benötigt man noch das Paket <code>php5-gd</code>. Diese ist im Repository enthalten und kann mit dem folgenden Befehl installiert werden.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> php5-gd</pre></div></div>

<p>Um aus den gesammelten Wetterdaten eine Grafik mit den Werten des letzten Tages erstellen zu lassen, habe ich das Verzeichnis <code>/var/www/grafiken</code> angelegt und das folgenden PHP-Programm geschrieben, welches die Grafiken aus erzeugt.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//****************************************************************************</span>
<span style="color: #666666; font-style: italic;">//Darstellung von Temperatur und Feuchtigkeit der letzten 24 Stunden als Graph</span>
<span style="color: #666666; font-style: italic;">//14.02.2011 Kristian Purrucker</span>
<span style="color: #666666; font-style: italic;">//****************************************************************************</span>
&nbsp;
<span style="color: #b1b100;">include</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/usr/share/jpgraph3/jpgraph.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">include</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/usr/share/jpgraph3/jpgraph_line.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">include</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/usr/share/jpgraph3/jpgraph_mgraph.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">include</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/usr/share/jpgraph3/jpgraph_date.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$DatabaseHost</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$DatabaseUser</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;root&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$DatabasePassword</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;asdfgh&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$Database</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;wetterstation&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$Table</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;daten_min&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$fileName</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;/var/www/grafiken/graph_daily.png&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Datenbankanbindung</span>
<span style="color: #666666; font-style: italic;">//******************</span>
<span style="color: #000088;">$DatabasePointer</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$DatabaseHost</span><span style="color: #339933;">,</span> <span style="color: #000088;">$DatabaseUser</span><span style="color: #339933;">,</span> <span style="color: #000088;">$DatabasePassword</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Keine Verbindung moeglich&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Database</span><span style="color: #339933;">,</span> <span style="color: #000088;">$DatabasePointer</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Die Datenbank existiert nicht&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">//Auslesen der letzten 1440 Zeilen (= Tag) aus der Datenbank</span>
<span style="color: #666666; font-style: italic;">//**********************************************************</span>
<span style="color: #000088;">$ResultPointer</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT zeitstempel, temp_clara, humidity_clara, temp_simon, humidity_simon FROM <span style="color: #006699; font-weight: bold;">$Table</span> ORDER BY zeitstempel DESC LIMIT 1440&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$temp_clara_average</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$temp_simon_average</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$humidity_clara_average</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$humidity_simon_average</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Export</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #990000;">mysql_num_rows</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ResultPointer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
   <span style="color: #000088;">$Daten</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_object</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ResultPointer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #000088;">$temp_clara</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$Daten</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">temp_clara</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$temp_clara_average</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$temp_clara_average</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$Daten</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">temp_clara</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$temp_simon</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$Daten</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">temp_simon</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$temp_simon_average</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$temp_simon_average</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$Daten</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">temp_simon</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$humidity_clara</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$Daten</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">humidity_clara</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$humidity_clara_average</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$humidity_clara_average</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$Daten</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">humidity_clara</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$humidity_simon</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$Daten</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">humidity_simon</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$humidity_simon_average</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$humidity_simon_average</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$Daten</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">humidity_simon</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$xdata</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$Daten</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">zeitstempel</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$temp_clara_average</span> <span style="color: #339933;">=</span> <span style="color: #990000;">round</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$temp_clara_average</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$temp_clara_average</span> <span style="color: #339933;">/</span> <span style="color: #cc66cc;">1440</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$humidity_clara_average</span> <span style="color: #339933;">=</span> <span style="color: #990000;">round</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$humidity_clara_average</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$humidity_clara_average</span> <span style="color: #339933;">/</span> <span style="color: #cc66cc;">1440</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$temp_simon_average</span> <span style="color: #339933;">=</span> <span style="color: #990000;">round</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$temp_simon_average</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$temp_simon_average</span> <span style="color: #339933;">/</span> <span style="color: #cc66cc;">1440</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$humidity_simon_average</span> <span style="color: #339933;">=</span> <span style="color: #990000;">round</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$humidity_simon_average</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$humidity_simon_average</span> <span style="color: #339933;">/</span> <span style="color: #cc66cc;">1440</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">//Funktion zur Konvertierung des TimeStamp in Minuten und Sekunden</span>
<span style="color: #666666; font-style: italic;">//****************************************************************</span>
<span style="color: #000000; font-weight: bold;">function</span>  TimeCallback<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$aVal</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">#return Date ('H:i:s d.m Y',$aVal);
</span>    <span style="color: #b1b100;">return</span> <span style="color: #990000;">Date</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'H:i'</span><span style="color: #339933;">,</span><span style="color: #000088;">$aVal</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">//Erzeugung eines Graphen fuer Claras Zimmer</span>
<span style="color: #666666; font-style: italic;">//******************************************</span>
<span style="color: #000088;">$graph</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Graph<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">700</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">200</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetScale</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'datint'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetY2Scale</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'int'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_temp_clara</span><span style="color: #339933;">=</span><span style="color: #000000; font-weight: bold;">new</span> LinePlot<span style="color: #009900;">&#40;</span><span style="color: #000088;">$temp_clara</span><span style="color: #339933;">,</span> <span style="color: #000088;">$xdata</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_humidity_clara</span><span style="color: #339933;">=</span><span style="color: #000000; font-weight: bold;">new</span> LinePlot<span style="color: #009900;">&#40;</span><span style="color: #000088;">$humidity_clara</span><span style="color: #339933;">,</span> <span style="color: #000088;">$xdata</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Grafik Formatieren</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">img</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetMargin</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">50</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">50</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">20</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#000000&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetMarginColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#333333&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetShadow</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Titel</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Claras Zimmer&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFont</span><span style="color: #009900;">&#40;</span>FF_FONT2<span style="color: #339933;">,</span>FS_BOLD<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">subtitle</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Aktuell: <span style="color: #006699; font-weight: bold;">$temp_clara[0]</span> C / <span style="color: #006699; font-weight: bold;">$humidity_clara[0]</span>%   Durchschnittlich: <span style="color: #006699; font-weight: bold;">$temp_clara_average</span> C / <span style="color: #006699; font-weight: bold;">$humidity_clara_average</span>%&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">subtitle</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Legende</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">legend</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Pos</span><span style="color: #009900;">&#40;</span><span style="color:#800080;">0.50</span><span style="color: #339933;">,</span><span style="color:#800080;">0.95</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;center&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;bottom&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">legend</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetLayout</span><span style="color: #009900;">&#40;</span>LEGEND_HOR<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">legend</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetShadow</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_temp_clara</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetLegend</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Lufttemperatur (C) &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_humidity_clara</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetLegend</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Luftfeuchtigkeit &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//X-Achse</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">xaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">xaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Zeit&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">xaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetLabelFormatCallback</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'TimeCallback'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">xaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">xaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFont</span><span style="color: #009900;">&#40;</span>FF_FONT1<span style="color: #339933;">,</span>FS_BOLD<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Y-Achse</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">yaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#FF7777&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">y2axis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#1111ee&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">yaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Grad Celsius&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">y2axis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;% Luftfeuchtigkeit&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">yaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">y2axis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">yaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFont</span><span style="color: #009900;">&#40;</span>FF_FONT1<span style="color: #339933;">,</span>FS_BOLD<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">y2axis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFont</span><span style="color: #009900;">&#40;</span>FF_FONT1<span style="color: #339933;">,</span>FS_BOLD<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Linie 1</span>
<span style="color: #000088;">$lineplot_temp_clara</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#FF8888&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_temp_clara</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFillColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#EE0000@0.6&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_temp_clara</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetWeight</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Linie 2</span>
<span style="color: #000088;">$lineplot_humidity_clara</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#8888ff&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_humidity_clara</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFillColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#2222DD@0.6&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_humidity_clara</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetWeight</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Die Linien zu der Grafik hinzufügen</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Add</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$lineplot_temp_clara</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">AddY2</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$lineplot_humidity_clara</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Erzeugung eines Graphen fuer Simons Zimmer</span>
<span style="color: #666666; font-style: italic;">//******************************************</span>
<span style="color: #000088;">$graph2</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Graph<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">700</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">200</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetScale</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'datint'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetY2Scale</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'int'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_temp_simon</span><span style="color: #339933;">=</span><span style="color: #000000; font-weight: bold;">new</span> LinePlot<span style="color: #009900;">&#40;</span><span style="color: #000088;">$temp_simon</span><span style="color: #339933;">,</span> <span style="color: #000088;">$xdata</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_humidity_simon</span><span style="color: #339933;">=</span><span style="color: #000000; font-weight: bold;">new</span> LinePlot<span style="color: #009900;">&#40;</span><span style="color: #000088;">$humidity_simon</span><span style="color: #339933;">,</span> <span style="color: #000088;">$xdata</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Grafik Formatieren</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">img</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetMargin</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">50</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">50</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">20</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#000000&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetMarginColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#333333&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetShadow</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Titel</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Simons Zimmer&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFont</span><span style="color: #009900;">&#40;</span>FF_FONT2<span style="color: #339933;">,</span>FS_BOLD<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">subtitle</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Aktuell: <span style="color: #006699; font-weight: bold;">$temp_simon[0]</span> C / <span style="color: #006699; font-weight: bold;">$humidity_simon[0]</span>%   Durchschnittlich: <span style="color: #006699; font-weight: bold;">$temp_simon_average</span> C / <span style="color: #006699; font-weight: bold;">$humidity_simon_average</span>%&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">subtitle</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Legende</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">legend</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Pos</span><span style="color: #009900;">&#40;</span><span style="color:#800080;">0.50</span><span style="color: #339933;">,</span><span style="color:#800080;">0.95</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;center&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;bottom&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">legend</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetLayout</span><span style="color: #009900;">&#40;</span>LEGEND_HOR<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">legend</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetShadow</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_temp_simon</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetLegend</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Lufttemperatur (C) &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_humidity_simon</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetLegend</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Luftfeuchtigkeit &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//X-Achse</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">xaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">xaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Zeit&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">xaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetLabelFormatCallback</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'TimeCallback'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">xaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">xaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFont</span><span style="color: #009900;">&#40;</span>FF_FONT1<span style="color: #339933;">,</span>FS_BOLD<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Y-Achse</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">yaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#FF7777&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">y2axis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#1111ee&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">yaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Grad Celsius&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">y2axis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;% Luftfeuchtigkeit&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">yaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">y2axis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#CCCCCC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">yaxis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFont</span><span style="color: #009900;">&#40;</span>FF_FONT1<span style="color: #339933;">,</span>FS_BOLD<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">y2axis</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFont</span><span style="color: #009900;">&#40;</span>FF_FONT1<span style="color: #339933;">,</span>FS_BOLD<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Linie 1</span>
<span style="color: #000088;">$lineplot_temp_simon</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#FF8888&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_temp_simon</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFillColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#EE0000@0.6&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_temp_simon</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetWeight</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Linie 2</span>
<span style="color: #000088;">$lineplot_humidity_simon</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#8888ff&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_humidity_simon</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetFillColor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#2222DD@0.6&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$lineplot_humidity_simon</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetWeight</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Die Linien zu der Grafik hinzufügen</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Add</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$lineplot_temp_simon</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$graph2</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">AddY2</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$lineplot_humidity_simon</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Graphen zusammen bauen</span>
<span style="color: #666666; font-style: italic;">//**********************</span>
<span style="color: #000088;">$mgraph</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> MGraph<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">700</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">400</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;auto&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$mgraph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">SetMargin</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$mgraph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Add</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$graph</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$mgraph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Add</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$graph2</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">200</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$mgraph</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Stroke</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fileName</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Anschließend habe ich zum anzeigen der Grafiken die folgende, einfache HTML-Seite geschrieben und in das Verzeichnis /var/www gelegt.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
   &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
&lt;head&gt;
    &lt;title&gt;Herzlich Willkommen bei preetz.dnsalias.net!&lt;/title&gt;
    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;/&gt;
    &lt;link rel=&quot;shortcut icon&quot; href=&quot;/favicon.ico&quot; /&gt;
    &lt;meta name=&quot;robots&quot; content=&quot;noindex&quot; /&gt;
        &lt;style type=&quot;text/css&quot;&gt;&lt;!--
    body {
        color: #444444;
        background-color: #EEEEEE;
        font-family: 'Trebuchet MS', sans-serif;
        font-size: 80%;
    }
    h1 {}
    h2 {
        font-size: 1.2em;
        text-align: center;
    }
    p.center { text-align: center; }
    #page{
        background-color: #FFFFFF;
        width: 60%;
        margin: 24px auto;
        padding: 12px;
    }
    #header{
        padding: 6px ;
        text-align: center;
    }
    .header{ background-color: #997; color: #FFFFFF; }
    #content {
        padding: 4px 0 24px 0;
    }
    #footer {
        color:#666666;
        background: #f9f9f9;
        padding: 10px 20px;
        border-top: 5px #efefef solid;
        font-size: 0.8em;
        text-align: center;
    }
    #footer a {
        color: #999999;
    }
    --&gt;&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div id=&quot;page&quot;&gt;
        &lt;div id=&quot;header&quot; class=&quot;header&quot;&gt;
            &lt;h1&gt;Herzlich Willkommen bei &lt;!--ADRESSE//--&gt;preetz.dnsalias.net!&lt;!--ADRESSE//--&gt;&lt;/h1&gt;
        &lt;/div&gt;
        &lt;div id=&quot;content&quot;&gt;
            &lt;h2&gt;Hier finden Sie die aktuellen Wetterdaten aus Preetz&lt;/h2&gt;
            &lt;p class=&quot;center&quot;&gt;&lt;img src=&quot;grafiken/graph_daily.png&quot; alt=&quot;Daily Graph&quot;&gt;&lt;/p&gt;
        &lt;/div&gt;
        &lt;div id=&quot;footer&quot;&gt;
            &lt;p&gt;Powered by &lt;a href=&quot;http://www.isilife.de&quot;&gt;Isilife GbR&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></div></div>

<p>Das Ergebnis sieht dann ungefähr so aus:<br />
<img src="http://blog.purrucker.de/wp-content/uploads/2011/03/wetterstation.jpg" alt="" title="Wetterstation" width="540" height="310" class="aligncenter size-full wp-image-996" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.purrucker.de/2011/03/29/1-wire-wetterstation-teil-3-anzeige-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>1-wire Wetterstation (Teil 2: Datenbank)</title>
		<link>http://blog.purrucker.de/2011/02/13/1-wire-wetterstation-teil-2-datenbank-2/</link>
		<comments>http://blog.purrucker.de/2011/02/13/1-wire-wetterstation-teil-2-datenbank-2/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 17:25:04 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Computer & Technik]]></category>
		<category><![CDATA[Kommunikationstechnik]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[1-wire]]></category>
		<category><![CDATA[Alix]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[Geode]]></category>
		<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Sensoren]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Wetter]]></category>
		<category><![CDATA[Wetterstation]]></category>

		<guid isPermaLink="false">http://blog.purrucker.de/?p=919</guid>
		<description><![CDATA[Nachdem man sich eine 1-wire Wetterstation nach dem Artikel 1-wire Wetterstation (Teil 1: Installation) gebaut hat, ist es sinnvoll die gesammelten Daten in einer Datenbank zu speichern. Dazu habe ich mir eine MySQL-Datenbank angelegt. mysql -u root -p CREATE DATABASE &#8230; <a href="http://blog.purrucker.de/2011/02/13/1-wire-wetterstation-teil-2-datenbank-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nachdem man sich eine 1-wire Wetterstation nach dem Artikel <a href="http://blog.purrucker.de/2010/03/01/1-wire-wetterstation-teil-1-installation/">1-wire Wetterstation (Teil 1: Installation)</a> gebaut hat, ist es sinnvoll die gesammelten Daten in einer Datenbank zu speichern. Dazu habe ich mir eine MySQL-Datenbank angelegt.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql <span style="color: #660033;">-u</span> root <span style="color: #660033;">-p</span>
CREATE DATABASE wetterstation;
quit</pre></div></div>

<p>In der Datenbank wird danach noch eine Tabelle für die Werte der 1-wire Sensoren benötigt. Da ich pro Minute einen Wert festhalten will habe ich diese daten_min genannt.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql <span style="color: #660033;">-u</span> root <span style="color: #660033;">-p</span>
connect wetterstation; 
CREATE TABLE daten_min <span style="color: #7a0874; font-weight: bold;">&#40;</span> 
zeitstempel int UNSIGNED, 
temp_clara FLOAT<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">7</span>,<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> NOT NULL, 
humidity_clara FLOAT<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">7</span>,<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> NOT NULL, 
temp_simon FLOAT<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">7</span>,<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> NOT NULL, 
humidity_simon FLOAT<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">7</span>,<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> NOT NULL, 
PRIMARY KEY <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">`</span>zeitstempel<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
quit</pre></div></div>

<p>Zum Schluss habe ich mir dann noch ein PHP-Programm geschrieben, dass die Werte der Sensoren abfragt und in die Tabelle schreibt. Dieses habe ich in der Datei <code>/usr/local/sbin/datensammeln.php</code> gespeichert.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$DatabaseHost</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$DatabaseUser</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;root&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$DatabasePassword</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;geheim&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$Database</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;wetterstation&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$Table</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;daten_min&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Aktuelle UNIX-Zeit abfagen</span>
<span style="color: #990000;">date_default_timezone_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Europe/Berlin&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$zeitstempel</span> <span style="color: #339933;">=</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;U&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// ##### Werte der Sensoren abfragen #####</span>
<span style="color: #666666; font-style: italic;">// Claras Zimmer</span>
<span style="color: #000088;">$temp_clara</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/var/1wire/26.7ECCCF000000/temperature&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$humidity_clara</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/var/1wire/26.7ECCCF000000/humidity&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Simons Zimmer</span>
<span style="color: #000088;">$temp_simon</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/var/1wire/26.A0AECF000000/temperature&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$humidity_simon</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/var/1wire/26.A0AECF000000/humidity&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// ##### Daten in die Datenbank schreiben #####</span>
<span style="color: #000088;">$DatabasePointer</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$DatabaseHost</span><span style="color: #339933;">,</span> <span style="color: #000088;">$DatabaseUser</span><span style="color: #339933;">,</span> <span style="color: #000088;">$DatabasePassword</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Keine Verbindung moeglich&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Database</span><span style="color: #339933;">,</span> <span style="color: #000088;">$DatabasePointer</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Die Datenbank existiert nicht&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$ResultPointer</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;INSERT INTO <span style="color: #006699; font-weight: bold;">$Table</span> (
     zeitstempel, temp_clara, humidity_clara, temp_simon, humidity_simon
   ) VALUES (
     '<span style="color: #006699; font-weight: bold;">$zeitstempel</span>', '<span style="color: #006699; font-weight: bold;">$temp_clara</span>', '<span style="color: #006699; font-weight: bold;">$humidity_clara</span>', '<span style="color: #006699; font-weight: bold;">$temp_simon</span>', '<span style="color: #006699; font-weight: bold;">$humidity_simon</span>'
   )&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Damit man php in der Shell laufen lassen kann wird übrigens das Paket php5-cli benötigt. Dieses kann man mit dem folgenden Befehl installieren</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> php-cli</pre></div></div>

<p>Zum Schluss habe ich einen Cronjob angelegt, der alle 60 Sekunden das PHP-Script ausführt.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.purrucker.de/2011/02/13/1-wire-wetterstation-teil-2-datenbank-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ubuntu: WLAN beim booten automatisch starten</title>
		<link>http://blog.purrucker.de/2011/02/13/ubuntu-wlan-beim-booten-automatisch-starten/</link>
		<comments>http://blog.purrucker.de/2011/02/13/ubuntu-wlan-beim-booten-automatisch-starten/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 16:13:01 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Computer & Technik]]></category>
		<category><![CDATA[Kommunikationstechnik]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WLAN]]></category>

		<guid isPermaLink="false">http://blog.purrucker.de/?p=930</guid>
		<description><![CDATA[Bei Ubuntu wird das WLAN-Interface normaler Weise über den Networkmanager gestartet. Dies bedeutet, dass man sich mit einem Benutzer an der grafischen Oberfläche anmelden muss, damit sich das WLAN aktiviert. Bei Servern und anderen Gräten ohne grafische Oberfläche möchte man &#8230; <a href="http://blog.purrucker.de/2011/02/13/ubuntu-wlan-beim-booten-automatisch-starten/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Bei Ubuntu wird das WLAN-Interface normaler Weise über den Networkmanager gestartet. Dies bedeutet, dass man sich mit einem Benutzer an der grafischen Oberfläche anmelden muss, damit sich das WLAN aktiviert. Bei Servern und anderen Gräten ohne grafische Oberfläche möchte man aber oft sofort nach dem Booten ein funktionierendes WLAN. In diesem Fall sollte man wpa_supplicant installieren und konfigurieren. Eine Anleitung dazu findet man auf der Webseite <a href="http://wiki.ubuntuusers.de/WLAN/wpa_supplicant">wiki.ubuntuusers.de</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.purrucker.de/2011/02/13/ubuntu-wlan-beim-booten-automatisch-starten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu als Router verwenden</title>
		<link>http://blog.purrucker.de/2011/01/24/ubuntu-als-router-verwenden/</link>
		<comments>http://blog.purrucker.de/2011/01/24/ubuntu-als-router-verwenden/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 17:05:55 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Computer & Technik]]></category>
		<category><![CDATA[Hersteller]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Router]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.purrucker.de/?p=915</guid>
		<description><![CDATA[Bei einer Standard-Installation von Ubuntu ist das Routing bzw. IP-Forwarding deaktiviert. Das IP-Forwarding kann aber mit dem folgenden Befehl temporär aktiviert werden: sudo sysctl -w net.ipv4.ip_forward=1 Wenn man es dauerhaft einschalten möchte muss in der Datei /etc/sysctl.conf die Variable net.ipv4.ip_forward &#8230; <a href="http://blog.purrucker.de/2011/01/24/ubuntu-als-router-verwenden/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Bei einer Standard-Installation von Ubuntu ist das Routing bzw. IP-Forwarding deaktiviert. Das IP-Forwarding kann aber mit dem folgenden Befehl temporär aktiviert werden:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> sysctl <span style="color: #660033;">-w</span> net.ipv4.ip_forward=<span style="color: #000000;">1</span></pre></div></div>

<p>Wenn man es dauerhaft einschalten möchte muss in der Datei <code>/etc/sysctl.conf</code> die Variable <code>net.ipv4.ip_forward</code> auf <code>1</code> gesetzt werden. Die Zeile sollte dann wie folgt aussehen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">net.ipv4.ip_forward=<span style="color: #000000;">1</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.purrucker.de/2011/01/24/ubuntu-als-router-verwenden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OMSA unter Ubuntu für den Dell PERC H700 einrichten</title>
		<link>http://blog.purrucker.de/2011/01/24/omsa-unter-ubuntu-fur-den-dell-perc-h700-einrichten/</link>
		<comments>http://blog.purrucker.de/2011/01/24/omsa-unter-ubuntu-fur-den-dell-perc-h700-einrichten/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 12:53:03 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Computer & Technik]]></category>
		<category><![CDATA[Hersteller]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[OMSA]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.purrucker.de/?p=904</guid>
		<description><![CDATA[In den Dell PowerEdge Servern wird aktuell häufig der PERC H700 RAID-Controler verbaut. Als ich Heute bei einem solchen Server &#8211; der mit der aktuellen &#8220;Long Term Support&#8221; Ubuntu-Version &#8220;10.04 LTS&#8221; läuft &#8211; den OMSA (OpenManage Server Administrator) installierte, überraschte &#8230; <a href="http://blog.purrucker.de/2011/01/24/omsa-unter-ubuntu-fur-den-dell-perc-h700-einrichten/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In den Dell PowerEdge Servern wird aktuell häufig der PERC H700 RAID-Controler verbaut. Als ich Heute bei einem solchen Server &#8211; der mit der aktuellen &#8220;Long Term Support&#8221; Ubuntu-Version  &#8220;10.04 LTS&#8221; läuft &#8211; den OMSA (OpenManage Server Administrator) installierte, überraschte mich dieser gleich mit der Warnung: <code>Controller 0 [PERC H700 Integrated]: Driver '00.00.04.01' is out of date</code>.</p>
<p>Nach ein wenig Recherche im Internet zeigte sich, dass der Treiber 00.00.04.01 eigentlich o.k. ist. Da bei RedHat und SuSe aber inzwischen neuere Treiber verwendet werden, verlangt der OMSA hier den neuen.</p>
<p>Da mich die Warnung in der Überwachung stört, habe ich diese einfach abgeschaltet. Dazu ändert man einfach die Datei <code>lsiver.cfg</code> entsprechend ab. Wenn man das OMSA 6.4 Paket von Dell installiert hat (dieses finde man unter der URL: <a href="http://linux.dell.com/repo/community/deb/">http://linux.dell.com/repo/community/deb/</a>), liegt diese Datei in dem Verzeichnis <code>/opt/dell/srvadmin/etc/srvadmin-storage/</code>.</p>
<p>In der Datei <code>lsiver.cfg</code> gibt es einen Abschnitt der wie folgt beginnt:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">ID</span>=0x1F17
<span style="color: #007800;">VENDORID</span>=<span style="color: #000000;">4</span>
<span style="color: #007800;">NAME</span>=PERC H700 Integrated</pre></div></div>

<p>In diesem Abschnitt steht etwas weiter unten die Zeile:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">DEF-LX26-<span style="color: #000000;">64</span>=00.00.04.27</pre></div></div>

<p>Wenn man hier die <code>27</code> in <code>01</code> ändert und alle OMSA Services (am besten den ganzen Server) neu startet ist der Alarm weg.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.purrucker.de/2011/01/24/omsa-unter-ubuntu-fur-den-dell-perc-h700-einrichten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Tools unter Ubuntu 10.04 installieren</title>
		<link>http://blog.purrucker.de/2010/11/08/vmware-tools-unter-ubuntu-10-04-installieren/</link>
		<comments>http://blog.purrucker.de/2010/11/08/vmware-tools-unter-ubuntu-10-04-installieren/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 13:48:17 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Computer & Technik]]></category>
		<category><![CDATA[Hersteller]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VM-Ware]]></category>

		<guid isPermaLink="false">http://blog.purrucker.de/?p=853</guid>
		<description><![CDATA[Bei Windows Gastsystemen können die VMware Tools per Mausklick über den &#8220;VMware Infrastucture Client&#8221; installiert werden. Bei Ubuntu muss man selber Hand anlegen. Dies war leider auch schon bei älteren VMware Tools und Ubuntu 9.04 so. Zudem ist zu beachten, &#8230; <a href="http://blog.purrucker.de/2010/11/08/vmware-tools-unter-ubuntu-10-04-installieren/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Bei Windows Gastsystemen können die VMware Tools per Mausklick über den &#8220;VMware Infrastucture Client&#8221; installiert werden. Bei Ubuntu muss man selber Hand anlegen. Dies war leider auch schon bei älteren <a href="http://blog.purrucker.de/2009/05/01/vmware-tools-unter-ubuntu-904-installieren/">VMware Tools und Ubuntu 9.04</a> so. Zudem ist zu beachten, dass man bei vSphere 4.0 mindestens das Update 2 installiert haben muss, damit die VMware Tools unter Ubuntu 10.04 laufen.</p>
<p>Um die VMware Tools bei Ubuntu 10.04 zu installieren, benötigt man das zum VMware Server oder zur VMware Workstation passende CD-Image der &#8220;VMware Tools CD&#8221;. Diese kann über den vSphere Client gemountet werden. Dies geschieht automatisch, wenn man in den Einstellungen der virtuellen Maschine als virtuelles CDROM den Gerätetyp &#8220;Clientgerät&#8221; aktiviert hat und im Menü unter Gast die Aktion &#8220;Installation und Aktualisierung von VMware Tools&#8221; anklickt. Danach muss man sich über die VMware Console an dem Gast anmelden und die CD einbinden:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>cdrom <span style="color: #000000; font-weight: bold;">/</span>mnt</pre></div></div>

<p>Wenn man die CD eingebunden hat, braucht man nur noch das Archiv auf die Festplatte kopieren, auspacken und mit dem Installationsprogramm vmware-install.pl installieren (dies funktioniert allerdings nur wenn man als root auf der VMware-Konsole angemeldet ist. Bei einer SSH-Verbindung schlägt die Installation fehl!):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential linux-headers-<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #000000; font-weight: bold;">`</span> psmisc
<span style="color: #7a0874; font-weight: bold;">cd</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>VMwareTools<span style="color: #000000; font-weight: bold;">*</span>.tar.gz .
<span style="color: #c20cb9; font-weight: bold;">tar</span> xvf VMwareTools<span style="color: #000000; font-weight: bold;">*</span>.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> vmware-tools-distrib<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>vmware-install.pl</pre></div></div>

<p>Bei der Installation können normaler Weise alle vorgeschlagenen Einstellungen übernommen werden. Nachdem die Installation abgeschlossen ist werden die VMware Tools automatisch gestartet. Weitere Informationen über die VMware Tools unter Ubuntu kann man im <a href="http://wiki.ubuntuusers.de/VMware/Tools">Wiki der deutschen Ubuntu User finden</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.purrucker.de/2010/11/08/vmware-tools-unter-ubuntu-10-04-installieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ab sofort gibt es den Dell OMSA 6.3 für Ubuntu</title>
		<link>http://blog.purrucker.de/2010/07/30/ab-sofort-gibt-es-den-dell-omsa-6-3-fur-ubuntu/</link>
		<comments>http://blog.purrucker.de/2010/07/30/ab-sofort-gibt-es-den-dell-omsa-6-3-fur-ubuntu/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 15:49:00 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Computer & Technik]]></category>
		<category><![CDATA[Hersteller]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[OMSA]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.purrucker.de/?p=769</guid>
		<description><![CDATA[Ubuntu und Dell haben ein natives Paket für den OMSA breit gestellt. Dieses kann jetzt direkt von der Webseite von Dell unter der URL http://linux.dell.com/repo/community/deb/ bezogen werden. Bis jetzt hatten immer die freundlichen Niederländer der Firma Sara die RedHat Pakete &#8230; <a href="http://blog.purrucker.de/2010/07/30/ab-sofort-gibt-es-den-dell-omsa-6-3-fur-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu und Dell haben ein natives Paket für den OMSA breit gestellt. Dieses kann jetzt direkt von der Webseite von Dell unter der URL <a href="http://linux.dell.com/repo/community/deb/">http://linux.dell.com/repo/community/deb/</a> bezogen werden. Bis jetzt hatten immer die freundlichen Niederländer der Firma Sara die RedHat Pakete in DEB-Pakete konvertiert. </p>
<p>Siehe hierzu:</p>
<ul>
<li><a href="http://blog.purrucker.de/2009/07/28/dell-open-manage-server-agent-6-0-1-fur-debian-und-ubuntu/">Dell Open Manage Server Agent 6.0.1 für Debian und Ubuntu</a></li>
<li><a href="http://blog.purrucker.de/2009/02/10/dell-open-manage-server-agent-55-fur-debian-und-ubuntu/">Dell Open Manage Server Agent 5.5 für Debian und Ubuntu</a></li>
<li><a href="http://blog.purrucker.de/2008/05/04/dell-open-manage-server-agent-54-fur-debian-und-ubuntu/">Dell Open Manage Server Agent 5.4 für Debian und Ubuntu</a></li>
<li><a href="http://blog.purrucker.de/2008/04/16/dell-open-manage-server-agent-53-fur-debian/">Dell Open Manage Server Agent 5.3 für Debian und Ubuntu</a></li>
<li><a href="http://blog.purrucker.de/2007/05/25/dell-open-manage-server-agent-52-fur-debian/">Dell Open Manage Server Agent 5.2 für Debian und Ubuntu</a></li>
<li><a href="http://blog.purrucker.de/2007/05/16/dell-open-manage-server-agent-51-fur-debian/">Dell Open Manage Server Agent 5.1 für Debian und Ubuntu</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.purrucker.de/2010/07/30/ab-sofort-gibt-es-den-dell-omsa-6-3-fur-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Keine Ubuntu-PCs mehr im Webshop von Dell Deutschland?</title>
		<link>http://blog.purrucker.de/2010/07/29/keine-ubuntu-pcs-mehr-im-webshop-von-dell-deutschland/</link>
		<comments>http://blog.purrucker.de/2010/07/29/keine-ubuntu-pcs-mehr-im-webshop-von-dell-deutschland/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 09:59:14 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Computer & Technik]]></category>
		<category><![CDATA[Hersteller]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.purrucker.de/?p=767</guid>
		<description><![CDATA[Seit einer Woche bietet Dell Deutschland in seinem Webshop keine Ubuntu-PCs mehr an. Auf nachfrage von Golem spielt Dell dies herunter und behauptet das man den Webshop nur für die Kunden vereinfachen wollte. Interessant ist aber das auf Diversen Webseiten &#8230; <a href="http://blog.purrucker.de/2010/07/29/keine-ubuntu-pcs-mehr-im-webshop-von-dell-deutschland/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Seit einer Woche bietet Dell Deutschland in seinem Webshop keine Ubuntu-PCs mehr an. Auf nachfrage von <a href="http://www.golem.de/1007/76790.html">Golem</a> spielt Dell dies herunter und behauptet das man den Webshop nur für die Kunden vereinfachen wollte. Interessant ist aber das auf Diversen Webseiten von Dell, die Ubuntu angepriesen haben, plötzlich der Satz &#8220;Leben ohne Grenzen. Dell empfiehlt Windows 7&#8243; zu lesen ist. Vor diesem Hintergrund stellt sich natürlich die Frage, ob Dell andere Beweggründe hatte. Ich kann mich jedenfalls noch gut daran erinnern, dass Dell von Intel Geld bekommen hat, damit sie keine CPUs von AMD verkaufen.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.purrucker.de/2010/07/29/keine-ubuntu-pcs-mehr-im-webshop-von-dell-deutschland/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation von Oracle XE unter Ubuntu 10.04</title>
		<link>http://blog.purrucker.de/2010/07/19/installation-von-oracle-xe-unter-ubuntu-10-04/</link>
		<comments>http://blog.purrucker.de/2010/07/19/installation-von-oracle-xe-unter-ubuntu-10-04/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 14:04:55 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Computer & Technik]]></category>
		<category><![CDATA[Hersteller]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Datenbank]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.purrucker.de/?p=692</guid>
		<description><![CDATA[Installation des Paketes bc aus dem Repository von Ubuntu mit dem Befehl aptitude install bc Bei 64-Bit Systemen ist zusätzlich die Installation des Paketes ia32-libs notwendig aptitude install ia32-libs Download der aktuellsten Version von Oracle XE (in meinem Fall war &#8230; <a href="http://blog.purrucker.de/2010/07/19/installation-von-oracle-xe-unter-ubuntu-10-04/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ol>
<li>Installation des Paketes bc aus dem Repository von Ubuntu mit dem Befehl

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">bc</span></pre></div></div>

<p> Bei 64-Bit Systemen ist zusätzlich die Installation des Paketes ia32-libs notwendig</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ia32-libs</pre></div></div>

</li>
<li>Download der aktuellsten Version von Oracle XE (in meinem Fall war das die Version 10.2.0.1). Man findet diese auf der Webseite von Oracle unter <a href="http://www.oracle.com/technology/software/products/database/xe/index.html">http://www.oracle.com/technology/software/products/database/xe/index.html</a></li>
<li>Installation des DEB.Paketes mit

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> oracle-xe_10.2.0.1-<span style="color: #000000;">1.1</span>_i386.deb</pre></div></div>

<p> (vorher natürlich in das Verzeichnis wechseln, indem man das Paket herunter geladen hat). Wenn man ein 64-Bit System installiert hat muss mit dem Parameter <code>--force-architecture</code> die installation erzwungen werden.</li>
<li>Konfiguration der Installation mit

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>oracle-xe configure</pre></div></div>

</li>
<li>Um die Kommandozeilen-Befehle von Oracle nutzen zu können, sollte man noch die Datei <code>.bashrc</code> im Homeverzeichnis um die folgenden Zeilen erweitern:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">ORACLE_HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>oracle<span style="color: #000000; font-weight: bold;">/</span>xe<span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>oracle<span style="color: #000000; font-weight: bold;">/</span>product<span style="color: #000000; font-weight: bold;">/</span>10.2.0<span style="color: #000000; font-weight: bold;">/</span>server
<span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<span style="color: #007800;">$ORACLE_HOME</span><span style="color: #000000; font-weight: bold;">/</span>bin
<span style="color: #7a0874; font-weight: bold;">export</span> ORACLE_HOME
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">ORACLE_SID</span>=XE
<span style="color: #7a0874; font-weight: bold;">export</span> PATH</pre></div></div>

</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.purrucker.de/2010/07/19/installation-von-oracle-xe-unter-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installation einer Advantage Database unter Ubuntu 10.04</title>
		<link>http://blog.purrucker.de/2010/03/11/installation-einer-advantage-database-unter-ubuntu-10-04/</link>
		<comments>http://blog.purrucker.de/2010/03/11/installation-einer-advantage-database-unter-ubuntu-10-04/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 10:02:22 +0000</pubDate>
		<dc:creator>kristian</dc:creator>
				<category><![CDATA[Computer & Technik]]></category>
		<category><![CDATA[Kommunikationstechnik]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[Advantage Database]]></category>
		<category><![CDATA[Dateisystem]]></category>
		<category><![CDATA[Datenbank]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.purrucker.de/?p=602</guid>
		<description><![CDATA[Bei der Installation einer Advantage Database unter einem Ubuntu 10.04 mit 64 Bit gibt es neben der normalen Installationsanleitung noch zwei weitere Punkte zu beachten: Bei einem Ubuntu mit 64 Bit müssen für die Installation auch die 32 Bit Bibliotheken &#8230; <a href="http://blog.purrucker.de/2010/03/11/installation-einer-advantage-database-unter-ubuntu-10-04/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Bei der Installation einer Advantage Database unter einem Ubuntu 10.04 mit 64 Bit gibt es neben der normalen Installationsanleitung noch zwei weitere Punkte zu beachten:</p>
<ol>
<li>Bei einem Ubuntu mit 64 Bit müssen für die Installation auch die 32 Bit Bibliotheken installiert werden. Dies geschieht mit dem Befehlt

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ia32-libs</pre></div></div>

<p>.</li>
<li>Da Linux bei Dateinamen zwischen großen und kleinen Buchstaben unterscheidet, sollte man in der Datei

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>advantage<span style="color: #000000; font-weight: bold;">/</span>ads.conf</pre></div></div>

<p> den Wert <code>LOWERCASE_ALL_PATHS</code> auf <code>1</code> setzen. Dies bringt dieAdvantage Database dazu nur kleine Buchstaben für Datei- und Verzeichnisnamen zu verwenden. Danach sollte man natürlich darauf achten, dass die Verzeichnisse und Dateien auf dem Server auch keine großen Buchstaben mehr enthalten. Einen Befehl für die Konvertierung der Datei- und Verzeichnisnamen findet man <a href="http://blog.purrucker.de/2010/03/11/nur-kleine-buchstaben-bei-datei-und-verzeichnisnamen/">hier</a>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.purrucker.de/2010/03/11/installation-einer-advantage-database-unter-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

