<?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>#jirikuv.chlivek.com</title>
	<atom:link href="http://jirikuv.chlivek.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jirikuv.chlivek.com</link>
	<description>Postřehy, zápisník o Linuxu, UNIXu, webOS, a obecně OS</description>
	<lastBuildDate>Sun, 22 Apr 2012 19:47:44 +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>Botanicula &#8211; Fedora 16</title>
		<link>http://jirikuv.chlivek.com/2012/04/21/botanicula-fedora-16/</link>
		<comments>http://jirikuv.chlivek.com/2012/04/21/botanicula-fedora-16/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 10:34:30 +0000</pubDate>
		<dc:creator>jrg</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[aplikace]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[hry]]></category>

		<guid isPermaLink="false">http://jirikuv.chlivek.com/?p=134</guid>
		<description><![CDATA[Great game made by Czech Amanita Design studio team in Fedora 16... <a href="http://jirikuv.chlivek.com/2012/04/21/botanicula-fedora-16/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>0/ Buy Bothanicula e.g. from there: <a href="http://www.humblebundle.com/">http://www.humblebundle.com/</a></p>
<p>1/ Get shitty  old AdobeAir 2.6 from Adobe archive &#8211; <a href="http://helpx.adobe.com/air/kb/archived-air-sdk-version.html">ARCHIVE</a></p>
<p>2/ Install some depencencies for this crap:</p>
<pre class="brush: plain; title: ; notranslate">
sudo yum install -y ld-linux.so.2 gtk2-devel.i686 libdbus-glib-1.so.2 rpm-devel.i686 libXt.so.6 gnome-keyring-devel.i686 libDCOP.so.4 libxml2-devel.i686 nss-devel.i686 libxslt.i686 xterm rpm-build libgnome-keyring.i686
</pre>
<p>3/ Install AdobeAir </p>
<pre class="brush: plain; title: ; notranslate">
chmod +x AdobeAIRInstaller.bin
sudo ./AdobeAIRInstaller.bin (or try to run this as root directly...there can be some problem with rights)
</pre>
<p>4/ Install Botanicula and play/enjoy it! <img src='http://jirikuv.chlivek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jirikuv.chlivek.com/2012/04/21/botanicula-fedora-16/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Virtualni windows pod KVM s SPICE &#8211; migrace z vmware</title>
		<link>http://jirikuv.chlivek.com/2012/02/27/virtualni-windows-pod-kvm-s-spice-migrace-z-vmware/</link>
		<comments>http://jirikuv.chlivek.com/2012/02/27/virtualni-windows-pod-kvm-s-spice-migrace-z-vmware/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 09:29:55 +0000</pubDate>
		<dc:creator>jrg</dc:creator>
				<category><![CDATA[KVM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nezařazené]]></category>
		<category><![CDATA[OS - Linux, UNIX, Windows, VMS ...]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Virtualizace]]></category>
		<category><![CDATA[Windows/Microsoft]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[spice]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://jirikuv.chlivek.com/?p=127</guid>
		<description><![CDATA[naprosta nahrada vmware/virtualboxu, navic vse nativne... <a href="http://jirikuv.chlivek.com/2012/02/27/virtualni-windows-pod-kvm-s-spice-migrace-z-vmware/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Konverze disku z vmware formatu na KVM:</p>
<pre class="brush: plain; title: ; notranslate">qemu-img convert disk.vmdk -O qcow2 disk.qemu</pre>
<p>instalace KVM:</p>
<pre class="brush: plain; title: ; notranslate">yum groupinstall 'Virtualization'</pre>
<p>instalace SPICE:</p>
<pre class="brush: plain; title: ; notranslate">yum -y install spice-server spice-protocol spice-client </pre>
<p>Vytvorime virtualni stroj pomoci Virtual machine manager, definujeme prekonvertovany disk jako disk stroje, typ qcow2. </p>
<p>Upravime virtualni stroj tak, aby jako grafiku pouzival spice a qxl (smazeme sekce graphics a video a nahradime ho timto):</p>
<pre class="brush: plain; title: ; notranslate">virsh edit virt-machine</pre>
<pre class="brush: plain; title: ; notranslate">
    &lt;graphics type='spice' port='5930' autoport='no' listen='0.0.0.0' passwd='password'/&gt;
    &lt;video&gt;
      &lt;model type='qxl' vram='32768' heads='1'/&gt;
      &lt;address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/&gt;
    &lt;/video&gt;
</pre>
<p>Nabootujeme windowsy, stahneme z <a href="http://spice-space.org/download.html">http://spice-space.org/download.html</a> QXL drivery a jako administrator nainstalujeme (spustit cmd jako admin):<br />
<a href="http://spice-space.org/download/binaries/qxl-0.10-20112808.zip">http://spice-space.org/download/binaries/qxl-0.10-20112808.zip</a></p>
<pre class="brush: plain; title: ; notranslate">pnputil -i -a qxl.inf</pre>
<p>ze stejne adresy stahneme a nainstalujeme vd-agent  &#8211; Windows guest agent, opet pod admin pravy:<br />
<a href="http://spice-space.org/download/binaries/vdagent-win32_20111124.zip">http://spice-space.org/download/binaries/vdagent-win32_20111124.zip</a></p>
<pre class="brush: plain; title: ; notranslate">vdservice isntall</pre>
<p>Stahneme a nainstalujeme virtuo drivers pro windows 7:<br />
<a href="http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/">http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/</a></p>
<pre class="brush: plain; title: ; notranslate">
d:\
cd Windows7
cd x86
pnputil -i -a *.inf
</pre>
<p>Reboot virtualky <img src='http://jirikuv.chlivek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Prihlasime se do virtualky pomoci spice</p>
<pre class="brush: plain; title: ; notranslate">spicec -h 0.0.0.0 -p 5930 -w password</pre>
<p>popripade z windowsu clientem stahnutym z <a href="http://www.spice-space.org/download.html">http://www.spice-space.org/download.html</a> vzdalene..</p>
<p>odstraneni vmware: <img src='http://jirikuv.chlivek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre class="brush: plain; title: ; notranslate">vmware-installer --uninstall-component=vmware-player</pre>
]]></content:encoded>
			<wfw:commentRss>http://jirikuv.chlivek.com/2012/02/27/virtualni-windows-pod-kvm-s-spice-migrace-z-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP Touchpad + OTG USB</title>
		<link>http://jirikuv.chlivek.com/2012/02/13/hp-touchpad-otg-usb/</link>
		<comments>http://jirikuv.chlivek.com/2012/02/13/hp-touchpad-otg-usb/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 12:51:17 +0000</pubDate>
		<dc:creator>jrg</dc:creator>
				<category><![CDATA[HP Touchpad]]></category>
		<category><![CDATA[Nezařazené]]></category>
		<category><![CDATA[OS - Linux, UNIX, Windows, VMS ...]]></category>
		<category><![CDATA[webOS]]></category>

		<guid isPermaLink="false">http://jirikuv.chlivek.com/?p=117</guid>
		<description><![CDATA[Jak na pripojeni USB zarizeni k HP touchpadu pomoci USB OTG modulu? <a href="http://jirikuv.chlivek.com/2012/02/13/hp-touchpad-otg-usb/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Jak na pripojeni USB zarizeni k HP touchpadu pomoci USB OTG modulu?</p>
<p>&nbsp;</p>
<p>Potrebny material:</p>
<p>HP TP <img src='http://jirikuv.chlivek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>USB OTG modul:</p>
<p><a href="http://www.dealextreme.com/p/micro-usb-on-the-go-host-otg-adapter-pair-50774">http://www.dealextreme.com/p/micro-usb-on-the-go-host-otg-adapter-pair-50774<br />
	</a></p>
<p>USB mobilni zdroj(zde s moznosti dobijet pres solar. energii):</p>
<p><a href="http://www.dealextreme.com/p/solar-powered-2000mah-rechargeable-portable-emergency-power-with-phone-adapters-led-light-42139">http://www.dealextreme.com/p/solar-powered-2000mah-rechargeable-portable-emergency-power-with-phone-adapters-led-light-42139<br />
	</a></p>
<p>vysledek:</p>
<p>&nbsp;</p>
<p>Touchpad s pripojenym moblnim zdrojem a usb flashdiskem:</p>
<p>&nbsp;</p>
<a href="http://jirikuv.chlivek.com/wp-content/uploads/2012/02/13022012391-800x800.jpg"><img alt="touchpad + otg+ flashdisk" class="size-full wp-image-118" height="600" src="http://jirikuv.chlivek.com/wp-content/uploads/2012/02/13022012391-800x800.jpg" title="13022012391-800x800" width="800" /></a>
<p>&nbsp;</p>
<p>Samotny zdroj + flashdisk:</p>
<p>&nbsp;</p>
<p><a href="http://jirikuv.chlivek.com/wp-content/uploads/2012/02/13022012392-800x800.jpg"><img alt="samotny power modul + usb flashdisk" class="aligncenter size-full wp-image-119" height="600" src="http://jirikuv.chlivek.com/wp-content/uploads/2012/02/13022012392-800x800.jpg" title="13022012392-800x800" width="800" /></a></p>
<p>&nbsp;</p>
<p>Pripojeni v touchpadu:</p>
<p>&nbsp;</p>
<p><a href="http://jirikuv.chlivek.com/wp-content/uploads/2012/02/wterm_2012-13-02_131943.png"><img alt="" class="aligncenter size-full wp-image-120" height="768" src="http://jirikuv.chlivek.com/wp-content/uploads/2012/02/wterm_2012-13-02_131943.png" title="wterm_2012-13-02_131943" width="1024" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jirikuv.chlivek.com/2012/02/13/hp-touchpad-otg-usb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Česká klávesnice pro webOS 3.05 na Touchpadu</title>
		<link>http://jirikuv.chlivek.com/2012/02/09/ceska-klavesnice-pro-webos-3-05-na-touchpadu/</link>
		<comments>http://jirikuv.chlivek.com/2012/02/09/ceska-klavesnice-pro-webos-3-05-na-touchpadu/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 18:54:12 +0000</pubDate>
		<dc:creator>jrg</dc:creator>
				<category><![CDATA[HP Touchpad]]></category>
		<category><![CDATA[OS - Linux, UNIX, Windows, VMS ...]]></category>

		<guid isPermaLink="false">http://jirikuv.chlivek.com/?p=115</guid>
		<description><![CDATA[Jak na háčky a čárky do webOS 3.05 na Touchpadu? <a href="http://jirikuv.chlivek.com/2012/02/09/ceska-klavesnice-pro-webos-3-05-na-touchpadu/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Jak na háčky a čárky do webOS 3.05 na Touchpadu?</p>
<p>Na webu webosnation.com se objevil stručný návod jak upravit stávající klávesnici pro touchpad. Více zde:<br />
<a href="http://forums.webosnation.com/hp-touchpad-homebrew/297295-virtual-keyboard-layouts-patches-arrow-keys.html">http://forums.webosnation.com/hp-touchpad-homebrew/297295-virtual-keyboard-layouts-patches-arrow-keys.html</a></p>
<p>Díky webu palmcesky.cz je k dispozici i česká lokalizace.<br />
Více zde:<br />
<a href="http://release.palmcesky.cz/czech-r2.json">http://release.palmcesky.cz/czech-r2.json</a></p>
<p>Pomocí nějakého z předem připravené mutace pro jiný jazyk je lehké zkompletovat lokalizaci českou.</p>
<p>Zde přikládám již hotový archiv s lokalizací, který jsem vytvořil pomoci výše zmíněných:</p>
<p><a href="http://jirikuv.chlivek.com/files/czech.keypatch.v2.305.zip">ARCHIV</a></p>
<p>Zde ukázka jak na to (archiv rozbalit a spustit script patch.sh s argumentem&#8230;):</p>
<pre class="brush: plain; title: ; notranslate">
JirisHPTouchPad custom.keypatch # sh patch.sh patch czech-r2.json
Keyboard layout patcher for HP (TM) TouchPad (r).
Copyright (C) 2011 by Dmitry V. Silaev aka Compvir (compvir@compvir.com), Isaac Garzon aka isagar2004
Checking main file...
Main file 3.0.5 device version found
Checking backup file...
Backup file not found
Main file will be used
Reading data from file /usr/bin/LunaSysMgr
Storing data into 305.data
Reading template czech-r2.json and redefining variables
Copying source file to temp location
Applying patch to tempfile
Patching regional keys
Patched file 305.patched generated
Installation started
Remounting / as rw
Backuping original file into /usr/bin/LunaSysMgr.orig
Stopping Luna
Coping file 305.patched to /usr/bin/LunaSysMgr
Starting Luna
Remounting / back as ro
Removing temp file 305.patched
Ok.
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jirikuv.chlivek.com/2012/02/09/ceska-klavesnice-pro-webos-3-05-na-touchpadu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenCV v Ubuntu</title>
		<link>http://jirikuv.chlivek.com/2012/02/08/opencv-v-ubuntu/</link>
		<comments>http://jirikuv.chlivek.com/2012/02/08/opencv-v-ubuntu/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 15:16:58 +0000</pubDate>
		<dc:creator>jrg</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS - Linux, UNIX, Windows, VMS ...]]></category>
		<category><![CDATA[aplikace]]></category>

		<guid isPermaLink="false">http://jirikuv.chlivek.com/?p=112</guid>
		<description><![CDATA[Strucny navod na instalaci OpenCV knihoven v Ubuntu <a href="http://jirikuv.chlivek.com/2012/02/08/opencv-v-ubuntu/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nainstalovani potrebnych zavislosti:</p>
<pre class="brush: plain; title: ; notranslate">
sudo apt-get install build-essential libgtk2.0-dev libjpeg62-dev libtiff4-dev libjasper-dev libopenexr-dev cmake python-dev python-numpy libtbb-dev libeigen2-dev yasm libfaac-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev
</pre>
<p>Stazeni a kompilace ffmpeg:</p>
<pre class="brush: plain; title: ; notranslate">
cd ~
wget http://ffmpeg.org/releases/ffmpeg-0.7-rc1.tar.gz
tar -xvzf ffmpeg-0.7-rc1.tar.gz
cd ffmpeg-0.7-rc1
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libxvid --enable-x11grab --enable-swscale --enable-shared
make
sudo make install
</pre>
<p>Stazeni a kompilace OpenCV pro Linux:</p>
<pre class="brush: plain; title: ; notranslate">
cd ~
wget http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.2/OpenCV-2.2.0.tar.bz2
tar -xvf OpenCV-2.2.0.tar.bz2
cd OpenCV-2.2.0/
cmake -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=OFF -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON .
make
sudo make install
</pre>
<p>Editace LD do souboru opencv.conf(ktery vytvorime):</p>
<pre class="brush: plain; title: ; notranslate">
sudo nano /etc/ld.so.conf.d/opencv.conf
</pre>
<p>vlozime:</p>
<pre class="brush: plain; title: ; notranslate">/usr/local/lib</pre>
<p>a uplatnime:</p>
<pre class="brush: plain; title: ; notranslate">sudo ldconfig</pre>
<p>HOTOVO <img src='http://jirikuv.chlivek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jirikuv.chlivek.com/2012/02/08/opencv-v-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zakladni ESXi prikazy</title>
		<link>http://jirikuv.chlivek.com/2012/02/08/zakladni-esxi-prikazy/</link>
		<comments>http://jirikuv.chlivek.com/2012/02/08/zakladni-esxi-prikazy/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 15:04:58 +0000</pubDate>
		<dc:creator>jrg</dc:creator>
				<category><![CDATA[OS - Linux, UNIX, Windows, VMS ...]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://jirikuv.chlivek.com/?p=110</guid>
		<description><![CDATA[seznam nejpouzivanejsich prikazu <a href="http://jirikuv.chlivek.com/2012/02/08/zakladni-esxi-prikazy/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>List VMs (get vmIds):</p>
<pre class="brush: plain; title: ; notranslate">vim-cmd vmsvc/getallvms</pre>
<p>VM status:</p>
<pre class="brush: plain; title: ; notranslate">vim-cmd vmsvc/power.getstate vmId</pre>
<p>Power on/off a VM:</p>
<pre class="brush: plain; title: ; notranslate">vim-cmd vmsvc/power.[on/off] vmId</pre>
<p>Get the IP address of a VM:</p>
<pre class="brush: plain; title: ; notranslate">vim-cmd vmsvc/get.summary vmId | grep ipAddress</pre>
<p>To list available commands:</p>
<pre class="brush: plain; title: ; notranslate">
vim-cmd help
vim-cmd vmsvc
</pre>
<p>Standard VM operations:</p>
<pre class="brush: plain; title: ; notranslate">
vim-cmd vmsvc/power.getstate vmId
vim-cmd vmsvc/power.on vmId
vim-cmd vmsvc/power.off vmId
vim-cmd vmsvc/power.suspend vmId
vim-cmd vmsvc/power.reset vmId
vim-cmd vmsvc/power.shutdown vmId
vim-cmd vmsvc/power.reboot vmId
vim-cmd vmsvc/power.hibernate vmId
vim-cmd vmsvc/snapshot.create vmId snapshotName snapshotDescription includeMemory
Ex:
vim-cmd &quot;vmsvc/snapshot.create XXXX FIRST_SNAPSHOT MY_FIRST_SNAPSHOT_1&quot;
vim-cmd vmsvc/snapshot.revert VmId snapshotLevel snapshotIndex
Ex:
vim-cmd &quot;vmsvc/snapshot.revert XXXX 1&quot;
vim-cmd vmsvc/snapshot.removeall VmId
vim-cmd vmsvc/snapshot.remove VmId removeChildren snapshotLevel snapshotIndex
vim-cmd vmsvc/snapshot.get vmId
</pre>
<p>Remove a VM:</p>
<pre class="brush: plain; title: ; notranslate">
vim-cmd vmsvc/unregister vmId
</pre>
<p>then delete the vm directory from the datastore (/vmfs/&#8230;)</p>
<p>Maintenance mode for ESX host:<br />
**(unfortunately this command will not evacuate/VMotion your VMs to rest of the cluster)</p>
<pre class="brush: plain; title: ; notranslate">
vim-cmd hostsvc/maintenance_mode_enter
vim-cmd hostsvc/maintenance_mode_exit
</pre>
<p>show the DCUI (direct console user interface)</p>
<pre class="brush: plain; title: ; notranslate">
dcui
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jirikuv.chlivek.com/2012/02/08/zakladni-esxi-prikazy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel 82579 Gigabit LAN controller v ESXi 5 (pridani nenativniho ovladace)</title>
		<link>http://jirikuv.chlivek.com/2012/02/08/intel-82579-gigabit-lan-controller-v-esxi-5-pridani-nenativniho-ovladace/</link>
		<comments>http://jirikuv.chlivek.com/2012/02/08/intel-82579-gigabit-lan-controller-v-esxi-5-pridani-nenativniho-ovladace/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 15:01:19 +0000</pubDate>
		<dc:creator>jrg</dc:creator>
				<category><![CDATA[OS - Linux, UNIX, Windows, VMS ...]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://jirikuv.chlivek.com/?p=108</guid>
		<description><![CDATA[Navod jak prinutit ESXi 5 rozpoznat Intel 82579 Gigabit LAN controller - defaultne bohuzel neni podporovan. <a href="http://jirikuv.chlivek.com/2012/02/08/intel-82579-gigabit-lan-controller-v-esxi-5-pridani-nenativniho-ovladace/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Vylistovani sitovek:</p>
<pre class="brush: plain; title: ; notranslate">
~ # esxcfg-nics -l
Name    PCI           Driver      Link Speed     Duplex MAC Address       MTU    Description
vmnic0  0000:02:00.00 tg3         Up   100Mbps   Full   00:10:18:af:8c:5c 1500   Broadcom Corporation NetXtreme BCM5722 Gigabit Ethernet
</pre>
<p>Prepnuti software acceptance na podporovane komunitou:</p>
<pre class="brush: plain; title: ; notranslate">
~ # esxcli software acceptance set --level=CommunitySupported
Host acceptance level changed to 'CommunitySupported'.
</pre>
<p>Stahnuti a nainstalovani ovladace:</p>
<pre class="brush: plain; title: ; notranslate">
~ # esxcli software vib install -v http://files.v-front.de/net-e1001e-1.0.0.x86_64.vib
Installation Result
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
   Reboot Required: true
   VIBs Installed: Chilly_bootbank_net-e1001e_1.0.0
   VIBs Removed:
   VIBs Skipped:
</pre>
<p>Reboot:</p>
<pre class="brush: plain; title: ; notranslate">
~ # reboot
</pre>
<p>Po prihlaseni jiz zde vidime sitovku pripojenou:</p>
<pre class="brush: plain; title: ; notranslate">
~ # esxcfg-nics -l
Name    PCI           Driver      Link Speed     Duplex MAC Address       MTU    Description
vmnic0  0000:02:00.00 tg3         Up   100Mbps   Full   00:10:18:af:8c:5c 1500   Broadcom Corporation NetXtreme BCM5722 Gigabit Ethernet
vmnic1  0000:00:19.00 e1000e      Up   1000Mbps  Full   18:03:73:de:1b:4b 1500   Intel Corporation 82579LM Gigabit Network Connection
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jirikuv.chlivek.com/2012/02/08/intel-82579-gigabit-lan-controller-v-esxi-5-pridani-nenativniho-ovladace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Little how-to Kerberos</title>
		<link>http://jirikuv.chlivek.com/2012/02/08/little-how-to-kerberos/</link>
		<comments>http://jirikuv.chlivek.com/2012/02/08/little-how-to-kerberos/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 14:37:46 +0000</pubDate>
		<dc:creator>jrg</dc:creator>
				<category><![CDATA[Nezařazené]]></category>
		<category><![CDATA[OS - Linux, UNIX, Windows, VMS ...]]></category>
		<category><![CDATA[Security, bezpečnost]]></category>
		<category><![CDATA[kerberos]]></category>

		<guid isPermaLink="false">http://jirikuv.chlivek.com/?p=105</guid>
		<description><![CDATA[handling with kerberos auth. service <a href="http://jirikuv.chlivek.com/2012/02/08/little-how-to-kerberos/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>Important KRB files/dirs</h3>
<p>/var/kerberos/krb5kdc	RHEL&#8217;s default kerberos dir<br />
/etc/krb5.conf	contains parameters used by the Kerberos libraries<br />
kerberos_dir/principal	kerberos database file<br />
kerberos_dir/slave_datatrans	kerberos database backup/dump file<br />
kerberos_dir/var/kdc.conf	KDC-specific configuration file</p>
<p>dump/export the kerberos database</p>
<pre class="brush: plain; title: ; notranslate">/path/to/kdb5_util dump /path/to/dump_file</pre>
<p>Ex:</p>
<pre class="brush: plain; title: ; notranslate">
/usr/kerberos/sbin/kdb5_util dump /var/kerberos/krb5kdc/slave_datatrans
/usr/kerberos/sbin/kdb5_util dump `hostname -f`_krb_db-`date +%Y%m%d`
</pre>
<h3>load/import a kerberos database</h3>
<p>    make sure you have a database dump to import using the above instructions</p>
<p>    become root</p>
<pre class="brush: plain; title: ; notranslate">sudo -s</pre>
<p>    stop kerberos</p>
<pre class="brush: plain; title: ; notranslate">/sbin/service krb5kdc stop</pre>
<p>    cd to kerberos directory</p>
<pre class="brush: plain; title: ; notranslate">cd /var/kerberos/krb5kdc</pre>
<p>    backup the existing kerberos database</p>
<pre class="brush: plain; title: ; notranslate">cp principal principal.backup.`date +%Y%m%d`</pre>
<p>    wipe old kerberos realm</p>
<pre class="brush: plain; title: ; notranslate">/usr/kerberos/sbin/kdb5_util destroy EXAMPLE.COM</pre>
<p>    create new kerberos realm<br />
    (you will need the kerberos master password)</p>
<pre class="brush: plain; title: ; notranslate">/usr/kerberos/sbin/kdb5_util create EXAMPLE.COM</pre>
<p>    load new kerberos database</p>
<pre class="brush: plain; title: ; notranslate">/usr/kerberos/sbin/kdb5_util load -update /path/to/new/databse</pre>
<p>    start kerberos</p>
<pre class="brush: plain; title: ; notranslate">/sbin/service krb5kdc start</pre>
<ul>
<h3>synchronization/propagation/replication</h3>
</ul>
<li>first, host principals must be created for all the replica KDCs and extracted to a keytab.</li>
<li>replication is handled by kpropd, the kerberos propagation daemon, which only runs on the replica servers</li>
<li>each KDC replica must have an ACL (kpropd.acl) with the master&#8217;s principal (the ACL lists all the principals that are authorized to connect to kpropd)</li>
<li>kpropd must be set up as a service on the replica servers, and set to run continuously for replication</li>
<li>kpropd works by listening for dump files that are sent to the KDC replica servers by the KDC master</li>
<li>replication is handled over port 754 TCP</li>
<li>because the master won&#8217;t automatically send dump files to the replica servers, a script must be written that dumps the database and sends it to the replica servers.  then it should be set up in cron so it runs periodically on the master server </li>
<h3>explanation of keytabs</h3>
<p>each principal in the kerberos database is associated with a key.  this key can be exported to a file called a keytab file which allows use of that principal without authenticating using a password.  when a keytab is created using the ktadd command in kadmin, the key version number (kvno) is incremented in the kerberos database.  the kvno of the keytab must match the version in the database.  so if you already have created a keytab for a server and wish to export it to another keytab file without incrementing the version number, you must use ktutil to read in the keytab file containing the keytab corresponding to the current kvno, and then write they keytab out to a new file.</p>
<h3>create a keytab</h3>
<p>    make sure the keytab directory exists</p>
<pre class="brush: plain; title: ; notranslate">sudo mkdir /root/keytabs</pre>
<p>    log in to kadmin</p>
<pre class="brush: plain; title: ; notranslate">sudo /path/to/kadmin</pre>
<p>    or:</p>
<pre class="brush: plain; title: ; notranslate">sudo /path/to/kadmin.local</pre>
<p>    make sure the principals don&#8217;t already exist</p>
<pre class="brush: plain; title: ; notranslate">listprincs *FQDN*</pre>
<p>    Ex:</p>
<pre class="brush: plain; title: ; notranslate">listprincs *server1.example.com*</pre>
<p>    create the principal for the machine/service</p>
<pre class="brush: plain; title: ; notranslate">
    ank [-policy policy_name] -randkey host/FQDN
    and/or:
    ank [-policy policy_name] -randkey service_name/FQDN
</pre>
<p>    Ex:</p>
<pre class="brush: plain; title: ; notranslate">
    ank -policy server -randkey host/ldap.example.com
    ank -policy server -randkey ldap/ldap.example.com
</pre>
<p>    create the keytab, adding all of the applicable principals to the keytab</p>
<pre class="brush: plain; title: ; notranslate"> ktadd -k /root/keytabs/FQDN.keytab host/FQDN [service_name/FQDN]</pre>
<p>    Ex:</p>
<pre class="brush: plain; title: ; notranslate">
    ktadd -k /root/keytabs/server1.example.com.keytab host/server1.example.com
    ktadd -k /root/keytabs/ldap.example.com.keytab host/ldap.example.com ldap/ldap.example.com
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jirikuv.chlivek.com/2012/02/08/little-how-to-kerberos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Lync 2010 client in Office Communications Server 2007 R2 environment</title>
		<link>http://jirikuv.chlivek.com/2012/02/08/using-lync-2010-client-in-office-communications-server-2007-r2-environment/</link>
		<comments>http://jirikuv.chlivek.com/2012/02/08/using-lync-2010-client-in-office-communications-server-2007-r2-environment/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 13:19:21 +0000</pubDate>
		<dc:creator>jrg</dc:creator>
				<category><![CDATA[Nezařazené]]></category>
		<category><![CDATA[Windows/Microsoft]]></category>
		<category><![CDATA[aplikace]]></category>

		<guid isPermaLink="false">http://jirikuv.chlivek.com/?p=103</guid>
		<description><![CDATA[simple how-to <a href="http://jirikuv.chlivek.com/2012/02/08/using-lync-2010-client-in-office-communications-server-2007-r2-environment/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At default,&nbsp; Lync 2010 client is unable to connect to Office Communications Server 2007 R2 environment</p>
<p>Solution is bypassing a version check. To bypass this check, you have to create a new registry entry:</p>
<p>Key: HKEY_CURRENT_USER\Software\Policies\Microsoft\Communicator<br />
	Name: &nbsp;DisableServerCheck<br />
	Type: DWORD<br />
	Value: 1 (00000001)</p>
]]></content:encoded>
			<wfw:commentRss>http://jirikuv.chlivek.com/2012/02/08/using-lync-2010-client-in-office-communications-server-2007-r2-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jak presunout logickou volumu z jedne volum grupy do jine (nove)?</title>
		<link>http://jirikuv.chlivek.com/2012/02/08/jak-presunout-logickou-volumu-z-jedne-volum-grupy-do-jine-nove/</link>
		<comments>http://jirikuv.chlivek.com/2012/02/08/jak-presunout-logickou-volumu-z-jedne-volum-grupy-do-jine-nove/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 09:37:05 +0000</pubDate>
		<dc:creator>jrg</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[OS - Linux, UNIX, Windows, VMS ...]]></category>

		<guid isPermaLink="false">http://jirikuv.chlivek.com/?p=101</guid>
		<description><![CDATA[Strucny navod jak na to... <a href="http://jirikuv.chlivek.com/2012/02/08/jak-presunout-logickou-volumu-z-jedne-volum-grupy-do-jine-nove/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Jak presunout logickou volumu z jedne volum grupy do jine (nove)?</p>
<p>Vytvoreni nove volume group pres smitty</p>
<p>Zkopirovani stare logicke volumy do nove volume grupy prave vytvorene:</p>
<pre class="brush: plain; title: ; notranslate">cplv -v newvg oldlv</pre>
<p>Vytvorenni JFS2 log volumy v nove volume grupe:</p>
<pre class="brush: plain; title: ; notranslate">mklv -t jfs2log  newvg 1</pre>
<p>Najdeme nazev JFS2 log volumy pro novou VG a zformatujeme ji pro nove pouziti:</p>
<pre class="brush: plain; title: ; notranslate">
lsvg -l newvg|grep jfs2log
logform /dev/loglv00
</pre>
<p>Nastaveni pouzivani nove JFS2 log volumy pro novou LV a nastaveni puvodniho mountpointu:</p>
<pre class="brush: plain; title: ; notranslate">chfs -a dev=/dev/newlv -a log=/dev/loglv00 /mountpoint</pre>
<p>POuziti fsck kvuli integrite filesystemu:</p>
<pre class="brush: plain; title: ; notranslate">fsck -p /dev/newvl</pre>
<p>Smazani puvodni logicke volumy a prejmenovani nove:</p>
<pre class="brush: plain; title: ; notranslate">
rmlv oldlv
chlv -n newlv lv00
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jirikuv.chlivek.com/2012/02/08/jak-presunout-logickou-volumu-z-jedne-volum-grupy-do-jine-nove/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

