<?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>Bits, Bytes and my 5 cents &#187; Fedora</title> <atom:link href="http://blog.encodingit.ch/category/os/linux/fedora/feed/" rel="self" type="application/rss+xml" /><link>http://blog.encodingit.ch</link> <description>Life is just a technical game</description> <lastBuildDate>Fri, 27 Aug 2010 12:13:27 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>Paketieren unter Linux</title><link>http://blog.encodingit.ch/2010/06/paketieren-unter-linux/</link> <comments>http://blog.encodingit.ch/2010/06/paketieren-unter-linux/#comments</comments> <pubDate>Fri, 04 Jun 2010 07:08:05 +0000</pubDate> <dc:creator>Patrick</dc:creator> <category><![CDATA[Fedora]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[RPM]]></category><guid isPermaLink="false">http://blog.encodingit.ch/?p=893</guid> <description><![CDATA[Vorgestern und heute konnte ich mein erstes rpm-Paket erstellen. Da ich so was noch nie gemacht hatte, war es für mich eine gewisse Herausforderung.
Das Ergebnis sollte ein RPM-Paket sein, welches beim Installieren eine Ordnerstruktur anlegt, Files kopiert und danach ein Script ausführt. Beim Deinstallieren soll zuerst ein Script ausgeführt werden und dann die Kopierten Files wieder gelöscht werden.Für jemand, der das schon ein paar mal gemacht hat, mag das einfach klingen, ich weiss - für mich war es aber alles andere als das.]]></description> <content:encoded><![CDATA[<p>Vorgestern und heute konnte ich mein erstes rpm-Paket erstellen. Da ich so was noch nie gemacht hatte, war es für mich eine gewisse Herausforderung.<br /> Das Ergebnis sollte ein RPM-Paket sein, welches beim Installieren eine Ordnerstruktur anlegt, Files kopiert und danach ein Script ausführt. Beim Deinstallieren soll zuerst ein Script ausgeführt werden und dann die Kopierten Files wieder gelöscht werden.</p><p>Für jemand, der das schon ein paar mal gemacht hat, mag das einfach klingen, ich weiss &#8211; für mich war es aber alles andere als das <img src='http://blog.encodingit.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>Jedoch, da ich auch schon mal für Windows paketiert habe, kann ich auch gleich einen Vergleich anstellen: Es ist viel unkomplizierter und einfacher unter Linux, wenn das SPEC-File mal steht&#8230; wenn <img src='http://blog.encodingit.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Doch nun zum Vorgehen!<br /> Der Kern des Paketieren stellt das Programm rpmbuild und eine selbst erstellte SPEC-Datei dar.<br /> Die SPEC-Datei kann man dabei wie eine Art Anleitung ansehen, wo aufgeschrieben wird, wann was getan werden soll. Anhand dieser Anleitung erstellt rpmbuild dann ein Paket.</p><p>Die allgemeine Funktionsweise habe ich mir aus dem Internet angeeignet. Besonders geholfen dabei hat mir <a href="http://www.tc-world.de/RPM-build-HOWTO-german.htm">diese</a> Anleitung.</p><p>Das Problem aber, all diese Anleitungen basieren darauf, dass der Source aus dem Internet nachgeladen wird. Mein Paket musste aber alle Dateien lokal zur Verfügung haben.</p><p>Nun die erste Herausforderung: Wie mach ich das?<br /> Nach viel probieren und testen hatte ich endlich eine Lösung&#8230; Unter dem Punkt <strong>%files</strong> werden die Dateien so aufgelistet, wie sie danach beim Zielsystem kopiert werden:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">%</span>files
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>soe-rootadd
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>soe-updatepubkeys
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>prepost<span style="color: #000000; font-weight: bold;">/</span>install_post.sh
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>prepost<span style="color: #000000; font-weight: bold;">/</span>remove_post.sh
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>.sshsoe_id</pre></td></tr></table></div><p>Während dem Erstellen des Paketes mussten die Dateien aber im Ordner <strong>~/rpmbuild/BUILDROOT/Paketname/opt/itc/../</strong> liegen, damit es korrekt in das RPM integriert wird.</p><p>Die zweite Herausforderung war das Script: Unter <strong>%pre</strong>, wo ich auch alle Ordner erstellen liess, konnte ich das Script nicht starten, da zuerst <strong>%pre</strong> und danach erst <strong>%files</strong> abgearbeitet wird, wodurch das Script beim Starten noch gar nicht an seinem Platz ist.<br /> Also habe ich es kurzerhand unter <strong>%install</strong> abgelegt. Doch aus welchem Grund auch immer &#8211; da wurde es nie gestartet&#8230;<br /> Darauf habe ich ohne noch lange weiterzuprobieren, das Script unter <strong>%post</strong> abgelegt, welcher nach der Installation abgearbeitet wird.</p><p>Das die Dateien dann beim Deinstallieren wieder gelöscht werden, war ein kleines Problem. Einfach alles unter %preun eintragen und gut ist.</p><p>Mein SPEC-File sah am Schluss so aus:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">...
<span style="color: #000000; font-weight: bold;">%</span>pre
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>ssh<span style="color: #000000; font-weight: bold;">/</span>pubkeys<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>prepost<span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">%</span>post
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>install_post.sh
&nbsp;
<span style="color: #000000; font-weight: bold;">%</span>preun
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>remove_post.sh
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>soe-rootadd
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>soe-updatepubkeys
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>install_post.sh
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>remove_post.sh
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>.sshsoe_id
&nbsp;
<span style="color: #000000; font-weight: bold;">%</span>prep
<span style="color: #000000; font-weight: bold;">%</span>build
<span style="color: #000000; font-weight: bold;">%</span><span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #000000; font-weight: bold;">%</span>clean
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #007800;">$RPM_BUILD_ROOT</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">%</span>files
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>soe-rootadd
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>soe-updatepubkeys
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>prepost<span style="color: #000000; font-weight: bold;">/</span>install_post.sh
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>prepost<span style="color: #000000; font-weight: bold;">/</span>remove_post.sh
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>itc<span style="color: #000000; font-weight: bold;">/</span>.sshsoe_id</pre></td></tr></table></div><p>Beim erstellen des Paketes zeigt sich dann die Stärke von Linux. Auf dem 32Bit System, welches ich zur Erstellung verwendet habe, habe ich ohne Probleme mit dem Parameter &#8211;target x86_64 ein Paket für 64Bit Systeme erstellt.<br /> Das Begeistert mich deshalb so, denn unter Windows konnte ich auf einem 32Bit-Host auch nur ein Paket für dessen Architektur machen.<br /> Und da ich schon damit gerechnet hatte, für jede Architektur ein eigenes Hostsystem aufzusetzen, war ich umso erfreuter <img src='http://blog.encodingit.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr"><ul class="socials"><li class="shr-delicious"> <a href="http://delicious.com/post?url=http://blog.encodingit.ch/2010/06/paketieren-unter-linux/&amp;title=Paketieren+unter+Linux" rel="" class="external" title="Empfehle diesen Artikel bei del.icio.us">Empfehle diesen Artikel bei del.icio.us</a></li><li class="shr-digg"> <a href="http://digg.com/submit?phase=2&amp;url=http://blog.encodingit.ch/2010/06/paketieren-unter-linux/&amp;title=Paketieren+unter+Linux" rel="" class="external" title="Digg this!">Digg this!</a></li><li class="shr-facebook"> <a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.encodingit.ch/2010/06/paketieren-unter-linux/&amp;t=Paketieren+unter+Linux" rel="" class="external" title="Empfehle diesen Artikel bei Facebook">Empfehle diesen Artikel bei Facebook</a></li><li class="shr-gmail"> <a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Paketieren+unter+Linux&amp;body=Link: http://blog.encodingit.ch/2010/06/paketieren-unter-linux/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Vorgestern%20und%20heute%20konnte%20ich%20mein%20erstes%20rpm-Paket%20erstellen.%20Da%20ich%20so%20was%20noch%20nie%20gemacht%20hatte%2C%20war%20es%20f%C3%BCr%20mich%20eine%20gewisse%20Herausforderung.%0D%0ADas%20Ergebnis%20sollte%20ein%20RPM-Paket%20sein%2C%20welches%20beim%20Installieren%20eine%20Ordnerstruktur%20anlegt%2C%20Files%20kopiert%20und%20danach%20ein%20Script%20ausf%C3%BChrt.%20Beim%20Deinstallieren%20soll%20zuerst%20ein%20Script%20ausgef%C3%BChrt%20werden%20und%20dann%20die%20Kopierten%20Files%20wieder%20gel%C3%B6scht%20werden.%0D%0A%0D%0AF%C3%BCr%20jemand%2C%20der%20das%20schon%20ein%20paar%20mal%20gemacht%20hat%2C%20mag%20das%20einfach%20klingen%2C%20ich%20weiss%20-%20f%C3%BCr%20mich%20war%20es%20aber%20alles%20andere%20als%20das." rel="" class="external" title="Email this via Gmail">Email this via Gmail</a></li><li class="shr-googlebookmarks"> <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://blog.encodingit.ch/2010/06/paketieren-unter-linux/&amp;title=Paketieren+unter+Linux" rel="" class="external" title="Füge hinzu zu Google Bookmarks">Füge hinzu zu Google Bookmarks</a></li><li class="shr-identica"> <a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Paketieren+unter+Linux&quot;+-+from+http://tinyurl.com/3xfjwta" rel="" class="external" title="Sende dies zu Identica">Sende dies zu Identica</a></li><li class="shr-linkedin"> <a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://blog.encodingit.ch/2010/06/paketieren-unter-linux/&amp;title=Paketieren+unter+Linux&amp;summary=Vorgestern%20und%20heute%20konnte%20ich%20mein%20erstes%20rpm-Paket%20erstellen.%20Da%20ich%20so%20was%20noch%20nie%20gemacht%20hatte%2C%20war%20es%20f%C3%BCr%20mich%20eine%20gewisse%20Herausforderung.%0D%0ADas%20Ergebnis%20sollte%20ein%20RPM-Paket%20sein%2C%20welches%20beim%20Installieren%20eine%20Ordnerstruktur%20anlegt%2C%20Files%20kopiert%20und%20danach%20ein%20Script%20ausf%C3%BChrt.%20Beim%20Deinstallieren%20soll%20zuerst%20ein%20Script%20ausgef%C3%BChrt%20werden%20und%20dann%20die%20Kopierten%20Files%20wieder%20gel%C3%B6scht%20werden.%0D%0A%0D%0AF%C3%BCr%20jemand%2C%20der%20das%20schon%20ein%20paar%20mal%20gemacht%20hat%2C%20mag%20das%20einfach%20klingen%2C%20ich%20weiss%20-%20f%C3%BCr%20mich%20war%20es%20aber%20alles%20andere%20als%20das.&amp;source=Bits, Bytes and my 5 cents" rel="" class="external" title="Empfehle diesen Artikel bei LinkedIn">Empfehle diesen Artikel bei LinkedIn</a></li><li class="shr-technorati"> <a href="http://technorati.com/faves?add=http://blog.encodingit.ch/2010/06/paketieren-unter-linux/" rel="" class="external" title="Empfehle diesen Artikel bei Technorati">Empfehle diesen Artikel bei Technorati</a></li><li class="shr-twitter"> <a href="http://twitter.com/home?status=Paketieren+unter+Linux+-+http://tinyurl.com/3xfjwta&amp;source=shareaholic" rel="" class="external" title="Twittere diesen Artikel!">Twittere diesen Artikel!</a></li></ul><div style="clear:both;"></div></div>]]></content:encoded> <wfw:commentRss>http://blog.encodingit.ch/2010/06/paketieren-unter-linux/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>SELinux mag kein VMware</title><link>http://blog.encodingit.ch/2010/03/selinux-mag-kein-vmware/</link> <comments>http://blog.encodingit.ch/2010/03/selinux-mag-kein-vmware/#comments</comments> <pubDate>Fri, 26 Mar 2010 15:39:59 +0000</pubDate> <dc:creator>Patrick</dc:creator> <category><![CDATA[Fedora]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[SELinux]]></category><guid isPermaLink="false">http://blog.encodingit.ch/?p=813</guid> <description><![CDATA[Da ich soeben einen neuen PC erhalten habe, musste ich mein Fedora 12, mit welchem ich mich während der Arbeit rumschlage, neu installieren.
Das ganze war ja keine wirklich grosse Sache, neu installieren, Paketliste importieren und Home-Verzeichnis kopieren.
Trotzdem gibt es ja auch noch Pakete wie VMware Workstation, welche nicht im Repository gelistet sind.
Und gerade zum Testen finde ich VMware das beste was es gibt.]]></description> <content:encoded><![CDATA[<p>Da ich soeben einen neuen PC erhalten habe, musste ich mein Fedora 12, mit welchem ich mich während der Arbeit rumschlage, neu installieren.<br /> Das ganze war ja keine wirklich grosse Sache, neu installieren, Paketliste importieren und Home-Verzeichnis kopieren.<br /> Trotzdem gibt es ja auch noch Pakete wie VMware Workstation, welche nicht im Repository gelistet sind.<br /> Und gerade zum Testen finde ich VMware das beste was es gibt.</p><p>Die Installation von VMware ist ja spätestens seit Workstation 7 überhaupt kein Problem mehr. Downloaden, ausführen und dem Agent folgen. Doch nach der Installation, noch vor dem ersten Start, meldet VMware Workstation, dass es gerne noch ein paar Module kompilieren und in den Kernel laden würde. Doch als nach 20 Minuten immer noch nichts passiert ist, wurde ich stutzig.</p><p>Also habe ich mir während dem Starten mal die laufenden Prozesse angesehen, und auffällig war, dass sobald VMware mit seinen Anpassungen loslegen sollte, schnelle SELinux in die Höhe&#8230;</p><p>Also habe ich SELinux mal temporär deaktiviert:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">&gt;/</span>selinux<span style="color: #000000; font-weight: bold;">/</span>enforce</pre></td></tr></table></div><p>Und man glaubt es kaum, plötzlich macht auch VMware was es sollte&#8230;<br /> Für mich wirft sich nun die Frage auf, wieso SELinux blockiert, ohne etwas zu melden?</p><p>Will man SELinux dann wieder aktivieren reicht ein reboot oder folgender Befehl:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;/</span>selinux<span style="color: #000000; font-weight: bold;">/</span>enforce</pre></td></tr></table></div><p>Oder man macht es wie ich und setzt in der Datei /etc/selinux/config den Punkt SELINUX auf disabled:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># disabled - No SELinux policy is loaded.</span>
<span style="color: #007800;">SELINUX</span>=disabled
<span style="color: #666666; font-style: italic;"># SELINUXTYPE= can take one of these two values:</span></pre></td></tr></table></div><p>Nun ist SELinux nach einem Reboot komplett deaktiviert und wird sich nie mehr einmischen.</p><div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr"><ul class="socials"><li class="shr-delicious"> <a href="http://delicious.com/post?url=http://blog.encodingit.ch/2010/03/selinux-mag-kein-vmware/&amp;title=SELinux+mag+kein+VMware" rel="" class="external" title="Empfehle diesen Artikel bei del.icio.us">Empfehle diesen Artikel bei del.icio.us</a></li><li class="shr-digg"> <a href="http://digg.com/submit?phase=2&amp;url=http://blog.encodingit.ch/2010/03/selinux-mag-kein-vmware/&amp;title=SELinux+mag+kein+VMware" rel="" class="external" title="Digg this!">Digg this!</a></li><li class="shr-facebook"> <a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.encodingit.ch/2010/03/selinux-mag-kein-vmware/&amp;t=SELinux+mag+kein+VMware" rel="" class="external" title="Empfehle diesen Artikel bei Facebook">Empfehle diesen Artikel bei Facebook</a></li><li class="shr-gmail"> <a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=SELinux+mag+kein+VMware&amp;body=Link: http://blog.encodingit.ch/2010/03/selinux-mag-kein-vmware/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Da%20ich%20soeben%20einen%20neuen%20PC%20erhalten%20habe%2C%20musste%20ich%20mein%20Fedora%2012%2C%20mit%20welchem%20ich%20mich%20w%C3%A4hrend%20der%20Arbeit%20rumschlage%2C%20neu%20installieren.%0D%0ADas%20ganze%20war%20ja%20keine%20wirklich%20grosse%20Sache%2C%20neu%20installieren%2C%20Paketliste%20importieren%20und%20Home-Verzeichnis%20kopieren.%0D%0ATrotzdem%20gibt%20es%20ja%20auch%20noch%20Pakete%20wie%20VMware%20Workstation%2C%20welche%20nicht%20im%20Repository%20gelistet%20sind.%0D%0AUnd%20gerade%20zum%20Testen%20finde%20ich%20VMware%20das%20beste%20was%20es%20gibt." rel="" class="external" title="Email this via Gmail">Email this via Gmail</a></li><li class="shr-googlebookmarks"> <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://blog.encodingit.ch/2010/03/selinux-mag-kein-vmware/&amp;title=SELinux+mag+kein+VMware" rel="" class="external" title="Füge hinzu zu Google Bookmarks">Füge hinzu zu Google Bookmarks</a></li><li class="shr-identica"> <a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;SELinux+mag+kein+VMware&quot;+-+from+http://tinyurl.com/3567bnl" rel="" class="external" title="Sende dies zu Identica">Sende dies zu Identica</a></li><li class="shr-linkedin"> <a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://blog.encodingit.ch/2010/03/selinux-mag-kein-vmware/&amp;title=SELinux+mag+kein+VMware&amp;summary=Da%20ich%20soeben%20einen%20neuen%20PC%20erhalten%20habe%2C%20musste%20ich%20mein%20Fedora%2012%2C%20mit%20welchem%20ich%20mich%20w%C3%A4hrend%20der%20Arbeit%20rumschlage%2C%20neu%20installieren.%0D%0ADas%20ganze%20war%20ja%20keine%20wirklich%20grosse%20Sache%2C%20neu%20installieren%2C%20Paketliste%20importieren%20und%20Home-Verzeichnis%20kopieren.%0D%0ATrotzdem%20gibt%20es%20ja%20auch%20noch%20Pakete%20wie%20VMware%20Workstation%2C%20welche%20nicht%20im%20Repository%20gelistet%20sind.%0D%0AUnd%20gerade%20zum%20Testen%20finde%20ich%20VMware%20das%20beste%20was%20es%20gibt.&amp;source=Bits, Bytes and my 5 cents" rel="" class="external" title="Empfehle diesen Artikel bei LinkedIn">Empfehle diesen Artikel bei LinkedIn</a></li><li class="shr-technorati"> <a href="http://technorati.com/faves?add=http://blog.encodingit.ch/2010/03/selinux-mag-kein-vmware/" rel="" class="external" title="Empfehle diesen Artikel bei Technorati">Empfehle diesen Artikel bei Technorati</a></li><li class="shr-twitter"> <a href="http://twitter.com/home?status=SELinux+mag+kein+VMware+-+http://tinyurl.com/3567bnl&amp;source=shareaholic" rel="" class="external" title="Twittere diesen Artikel!">Twittere diesen Artikel!</a></li></ul><div style="clear:both;"></div></div>]]></content:encoded> <wfw:commentRss>http://blog.encodingit.ch/2010/03/selinux-mag-kein-vmware/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Kampf mit dem Citrix Receiver</title><link>http://blog.encodingit.ch/2010/02/citrix-receiver/</link> <comments>http://blog.encodingit.ch/2010/02/citrix-receiver/#comments</comments> <pubDate>Fri, 05 Feb 2010 11:48:13 +0000</pubDate> <dc:creator>Patrick</dc:creator> <category><![CDATA[Citrix]]></category> <category><![CDATA[Fedora]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category><guid isPermaLink="false">http://blog.encodingit.ch/?p=779</guid> <description><![CDATA[Um auf ein paar unserer Server zugreiffen zu können musste ich heute auf meinem Fedora 12 den Citrix Receiver installieren.
Am Anfang war ich noch glücklich darüber, dass ich die Installation nicht unter Debian / Ubuntu durchführen musste, da es schon fertige RPM-Pakete von Citrix gibt.]]></description> <content:encoded><![CDATA[<p>Um auf ein paar unserer Server zugreifen zu können, musste ich heute auf meinem Fedora 12 den Citrix Receiver installieren.<br /> Am Anfang war ich noch glücklich darüber, dass ich die Installation nicht unter Debian / Ubuntu durchführen musste, da es schon fertige RPM-Pakete von Citrix gibt für Fedora.</p><p>Frisch fröhlich habe ich mit der Installation des <a href="http://www.citrix.com/site/SS/downloads/details.asp?dID=2755&#038;downloadID=3323#top">Paketes</a> begonnen:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">rpm <span style="color: #660033;">-i</span> ICAClient-<span style="color: #000000;">11.0</span>-1.i386.rpm</pre></td></tr></table></div><p>Dummerweise besteht ein Abhängigkeitsproblem, also gleich mal yum durchrennen lassen:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> ICAClient-<span style="color: #000000;">11.0</span>-1.i386.rpm</pre></td></tr></table></div><p>Doch dummerweise findet auch yum das benötigte Paket libXm.so.3 nicht&#8230;</p><p>Nach ein bisschen googeln habe ich dann herausgefunden, dass man unbedingt openmotif installieren muss. Doch auch das scheint nirgends in den Paketquellen vorhanden zu sein??<br /> Also lade ich mir <a href="http://www.motifzone.net/filebrowser/openmotif/2.3/2.3.1">das Paket</a> halt manuell herunter und installiere es:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">yum localinstall <span style="color: #660033;">--nogpgcheck</span> openmotif-2.3.1-1.RHEL3.0.i386.rpm</pre></td></tr></table></div><p>Soweit so gut, also gleich nochmal versucht den Receiver zu installieren.</p><p>Doch noch immer scheint libXm.so.3 nicht vorhanden zu sein&#8230; Nach weiterer Suchzeit auf Google habe ich noch ein weiteres benötigtes Paket gefunden:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>4
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> libXaw</pre></td></tr></table></div><p>Doch damit wurde libXm.so.6 und nicht wie benötigt libXm.so.3 installiert. Also muss man noch ein bisschen bescheissen:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>5
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</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>libXm.so.6 <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>libXm.so.3</pre></td></tr></table></div><p>Auch bin ich oft über die Aussage gestolpert, dass möglichweise ein paar Fonts rumzicken könnten:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>6
7
8
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>fonts<span style="color: #000000; font-weight: bold;">/</span>cjkuni-uming<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">mv</span> fonts.dir fonts.dir.disabled
<span style="color: #c20cb9; font-weight: bold;">mv</span> fonts.scale fonts.scale.disabled</pre></td></tr></table></div><p>und dann war es endlich soweit:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>9
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> ICAClient-<span style="color: #000000;">11.0</span>-1.i386.rpm</pre></td></tr></table></div><p>Jetzt konnte ich den Receiver endlich installieren.<br /> Doch damit noch nicht genug, man sollte die Applikation ja auch starten können&#8230; Und genau daran haperte es noch!<br /> Als Ausgabe erhielt ich immer:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>10
</pre></td><td 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>lib<span style="color: #000000; font-weight: bold;">/</span>ICAClient<span style="color: #000000; font-weight: bold;">/</span>wfcmgr: Zeile <span style="color: #000000;">197</span>: Vereinbarung: Kommando nicht gefunden.</pre></td></tr></table></div><p>Doch nach ein bisschen Überlegen und Nachdenken war das ein kleineres Problem. Denn wenn man den Fehler so liest, so habe ich gleich an ein Problem mit der Eula gedacht. Also mal recherchieren, wie man das Anzeigen der Lizenz umgehen kann <img src='http://blog.encodingit.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>11
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">touch</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ICAClient<span style="color: #000000; font-weight: bold;">/</span>.eula_accepted</pre></td></tr></table></div><p>Und von nun an kann ich auch unter Fedora alle Citrix Applikationen gebrauchen:</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>12
</pre></td><td 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>lib<span style="color: #000000; font-weight: bold;">/</span>ICAClient<span style="color: #000000; font-weight: bold;">/</span>wfcmgr <span style="color: #660033;">-icaroot</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>ICAClient</pre></td></tr></table></div><p><a href="http://blog.encodingit.ch/wp-content/uploads/2010/02/Bildschirmfoto-Citrix-Receiver.png" rel="lightbox[779]"><img src="http://blog.encodingit.ch/wp-content/uploads/2010/02/Bildschirmfoto-Citrix-Receiver-300x154.png" alt="" title="Bildschirmfoto-Citrix Receiver" width="300" height="154" class="alignleft size-medium wp-image-783" /></a></p><div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr"><ul class="socials"><li class="shr-delicious"> <a href="http://delicious.com/post?url=http://blog.encodingit.ch/2010/02/citrix-receiver/&amp;title=Kampf+mit+dem+Citrix+Receiver" rel="" class="external" title="Empfehle diesen Artikel bei del.icio.us">Empfehle diesen Artikel bei del.icio.us</a></li><li class="shr-digg"> <a href="http://digg.com/submit?phase=2&amp;url=http://blog.encodingit.ch/2010/02/citrix-receiver/&amp;title=Kampf+mit+dem+Citrix+Receiver" rel="" class="external" title="Digg this!">Digg this!</a></li><li class="shr-facebook"> <a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.encodingit.ch/2010/02/citrix-receiver/&amp;t=Kampf+mit+dem+Citrix+Receiver" rel="" class="external" title="Empfehle diesen Artikel bei Facebook">Empfehle diesen Artikel bei Facebook</a></li><li class="shr-gmail"> <a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Kampf+mit+dem+Citrix+Receiver&amp;body=Link: http://blog.encodingit.ch/2010/02/citrix-receiver/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Um%20auf%20ein%20paar%20unserer%20Server%20zugreiffen%20zu%20k%C3%B6nnen%20musste%20ich%20heute%20auf%20meinem%20Fedora%2012%20den%20Citrix%20Receiver%20installieren.%0D%0AAm%20Anfang%20war%20ich%20noch%20gl%C3%BCcklich%20dar%C3%BCber%2C%20dass%20ich%20die%20Installation%20nicht%20unter%20Debian%20%2F%20Ubuntu%20durchf%C3%BChren%20musste%2C%20da%20es%20schon%20fertige%20RPM-Pakete%20von%20Citrix%20gibt." rel="" class="external" title="Email this via Gmail">Email this via Gmail</a></li><li class="shr-googlebookmarks"> <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://blog.encodingit.ch/2010/02/citrix-receiver/&amp;title=Kampf+mit+dem+Citrix+Receiver" rel="" class="external" title="Füge hinzu zu Google Bookmarks">Füge hinzu zu Google Bookmarks</a></li><li class="shr-identica"> <a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Kampf+mit+dem+Citrix+Receiver&quot;+-+from+http://tinyurl.com/3yndzms" rel="" class="external" title="Sende dies zu Identica">Sende dies zu Identica</a></li><li class="shr-linkedin"> <a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://blog.encodingit.ch/2010/02/citrix-receiver/&amp;title=Kampf+mit+dem+Citrix+Receiver&amp;summary=Um%20auf%20ein%20paar%20unserer%20Server%20zugreiffen%20zu%20k%C3%B6nnen%20musste%20ich%20heute%20auf%20meinem%20Fedora%2012%20den%20Citrix%20Receiver%20installieren.%0D%0AAm%20Anfang%20war%20ich%20noch%20gl%C3%BCcklich%20dar%C3%BCber%2C%20dass%20ich%20die%20Installation%20nicht%20unter%20Debian%20%2F%20Ubuntu%20durchf%C3%BChren%20musste%2C%20da%20es%20schon%20fertige%20RPM-Pakete%20von%20Citrix%20gibt.&amp;source=Bits, Bytes and my 5 cents" rel="" class="external" title="Empfehle diesen Artikel bei LinkedIn">Empfehle diesen Artikel bei LinkedIn</a></li><li class="shr-technorati"> <a href="http://technorati.com/faves?add=http://blog.encodingit.ch/2010/02/citrix-receiver/" rel="" class="external" title="Empfehle diesen Artikel bei Technorati">Empfehle diesen Artikel bei Technorati</a></li><li class="shr-twitter"> <a href="http://twitter.com/home?status=Kampf+mit+dem+Citrix+Receiver+-+http://tinyurl.com/3yndzms&amp;source=shareaholic" rel="" class="external" title="Twittere diesen Artikel!">Twittere diesen Artikel!</a></li></ul><div style="clear:both;"></div></div>]]></content:encoded> <wfw:commentRss>http://blog.encodingit.ch/2010/02/citrix-receiver/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Dynamic Page Served (once) in 1.159 seconds -->
