<?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>Hodžův blog &#187; Distribuce</title>
	<atom:link href="http://hodza.net/category/linux/distribuce/feed/" rel="self" type="application/rss+xml" />
	<link>http://hodza.net</link>
	<description>I přestože jsem paranoidní neznamená, že mě nedostanou...</description>
	<lastBuildDate>Sat, 05 May 2012 08:18:49 +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>HowTo Install Latest Redmine on Debian 6 (Squeeze, Ruby-on-Rails, Apache2 Passenger)</title>
		<link>http://hodza.net/2012/03/15/howto-install-redmine-on-debian-6-squeeze-ruby-on-rails-apache2-passenger/</link>
		<comments>http://hodza.net/2012/03/15/howto-install-redmine-on-debian-6-squeeze-ruby-on-rails-apache2-passenger/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 14:13:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ostatní]]></category>
		<category><![CDATA[Scriptíky]]></category>
		<category><![CDATA[Redmine]]></category>

		<guid isPermaLink="false">http://hodza.net/?p=2191</guid>
		<description><![CDATA[This is a short .bash_history manual&#8230; First install fresh Debian Squueze from businesscard (when selecting packages uncheck ALL). Correct hostname: # vi /etc/hostname server.example.com # hostname -F /etc/hostname # exit Edit hosts file (delete all IPv6 entries): # vi /etc/hosts 127.0.0.1 localhost.localdomain localhost localdomain 1.2.3.4 server.example.com server Install ssh server and best editor : # [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short .bash_history manual&#8230;</p>
<p>First install fresh Debian Squueze from <a title="Debian Businesscard 64bit" href="http://cdimage.debian.org/debian-cd/6.0.4/ia64/iso-cd/debian-6.0.4-ia64-businesscard.iso">businesscard</a> (when selecting packages uncheck ALL).</p>
<p>Correct hostname:<br />
<code># vi /etc/hostname<br />
server.example.com</code><br />
<span id="more-2191"></span><br />
<code># hostname -F /etc/hostname<br />
# exit</code></p>
<p>Edit hosts file (delete all IPv6 entries):<br />
<code># vi /etc/hosts<br />
127.0.0.1 localhost.localdomain localhost localdomain<br />
1.2.3.4 server.example.com server</code></p>
<p>Install ssh server and best editor <img src='http://hodza.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> :<br />
<code># aptitude -y install ssh fail2ban vim-nox</code></p>
<p>Set default system editor (select /usr/bin/vim.nox):<br />
<code># update-alternatives --config editor</code></p>
<p>Add contrib and non-free repositories:<br />
<code># perl -i -pe 's/main/main contrib non-free/;' /etc/apt/sources.list<br />
# aptitude update<br />
# aptitude full-upgrade</code></p>
<p>Disable IPv6 globally:<br />
<code># echo "net.ipv6.conf.all.disable_ipv6 = 1" &gt;&gt; /etc/sysctl.conf<br />
# /sbin/sysctl -p /etc/sysctl.conf</code></p>
<p>Remove unwanted packages:<br />
<code># /etc/init.d/mpt-statusd stop<br />
# aptitude -y purge mpt-status</code></p>
<p>Fix Locales and Time Zone:<br />
<code># dpkg-reconfigure locales<br />
# dpkg-reconfigure tzdata</code></p>
<p>Install NTP server:<br />
<code># aptitude -y install ntpdate<br />
# ntpdate tik.cesnet.cz<br />
# aptitude install ntp</code><br />
<code># vi /etc/ntp.conf<br />
driftfile /var/lib/ntp/ntp.drift<br />
statistics loopstats peerstats clockstats<br />
filegen loopstats file loopstats type day enable<br />
filegen peerstats file peerstats type day enable<br />
filegen clockstats file clockstats type day enable<br />
server 0.debian.pool.ntp.org iburst<br />
server 1.debian.pool.ntp.org iburst<br />
server 2.debian.pool.ntp.org iburst<br />
server 3.debian.pool.ntp.org iburst<br />
restrict -4 default kod notrap nomodify nopeer noquery<br />
restrict 127.0.0.1</code></p>
<p><code># /etc/init.d/ntp restart<br />
# ntpq -p</code></p>
<p>Install Postfix mail server:<br />
<code># apt-get -y install postfix bsd-mailx</code></p>
<p><code># vi /etc/postfix/main.cf<br />
inet_interfaces = all<br />
inet_protocols = all<br />
mynetworks_style = host<br />
mynetworks = 127.0.0.0/8<br />
myhostname = server.example.com<br />
mydomain = example.com<br />
myorigin = $mydomain<br />
smtpd_banner = $myhostname ESMTP<br />
mydestination = localhost, localdomain, localhost.localdomain<br />
append_dot_mydomain = no<br />
append_at_myorigin = yes<br />
alias_maps = hash:/etc/aliases<br />
alias_database = hash:/etc/aliases<br />
biff = no<br />
recipient_delimiter = +<br />
mailbox_size_limit = 0<br />
mailbox_command = procmail -a "$EXTENSION"<br />
smtpd_helo_required = yes<br />
smtpd_helo_restrictions = permit_mynetworks,<br />
permit_sasl_authenticated,<br />
reject_invalid_helo_hostname<br />
smtpd_sender_restrictions = reject_non_fqdn_sender,<br />
reject_unknown_sender_domain,<br />
permit_mynetworks,<br />
permit_sasl_authenticated<br />
smtpd_recipient_restrictions = reject_non_fqdn_recipient,<br />
reject_unknown_recipient_domain,<br />
permit_mynetworks,<br />
permit_sasl_authenticated,<br />
reject_unauth_destination,<br />
reject_unlisted_recipient,<br />
permit<br />
smtpd_data_restrictions = reject_multi_recipient_bounce,<br />
reject_unauth_pipelining</code></p>
<p>Restart mail server:<br />
<code># /etc/init.d/postfix restart</code></p>
<p>Send test email:<br />
<code># echo "Test message" | mailx example@example.com</code></p>
<p>Install MySQL server:<br />
<code># aptitude install mysql-server mysql-client libmysqlclient-dev</code></p>
<p>Fine tunnig MySQL server:<br />
<code># mysql_secure_installation</code></p>
<p>Create MySQL database and user for Redmine:<br />
<code>mysql -u root -p</code><br />
<code>CREATE DATABASE redmine CHARACTER SET utf8;<br />
CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password';<br />
GRANT ALL privileges ON redmine.* TO 'redmine'@'localhost';<br />
quit</code></p>
<p>Install Ruby &amp; unnecessary tools:<br />
<code># aptitude install ruby libruby libopenssl-ruby libpgsql-ruby rubygems apache2 libapache2-mod-passenger subversion<br />
# cd /var/www/<br />
# svn co http://redmine.rubyforge.org/svn/branches/1.3-stable redmine<br />
# cd redmine/<br />
# cp config/database.yml.example config/database.yml</code></p>
<p>Configure redmine database:<br />
<code># vi config/database.yml<br />
production:<br />
adapter: mysql<br />
database: redmine<br />
host: localhost<br />
username: redmine<br />
password: my_password<br />
encoding: utf8</code></p>
<p>Install Rails &#038; populate database &#038; fix permission:<br />
<code># gem install rails -v 2.3.14<br />
# gem install rake -v 0.8.7<br />
# gem uninstall rake -v 0.9.2.2<br />
# gem install i18n<br />
# gem install mysql<br />
# gem install rdoc<br />
# RAILS_ENV=production /var/lib/gems/1.8/bin/rake config/initializers/session_store.rb<br />
# /var/lib/gems/1.8/bin/rake generate_session_store<br />
# RAILS_ENV=production /var/lib/gems/1.8/bin/rake db:migrate<br />
# RAILS_ENV=production /var/lib/gems/1.8/bin/rake redmine:load_default_data<br />
# cd /var/www/redmine<br />
# chown -R www-data:www-data ./*<br />
# chmod -R 755 files log tmp public/plugin_assets</code></p>
<p>Configure Apache Web server:<br />
<code># vi /etc/apache2/sites-available/default<br />
ServerName example.com<br />
Serveralias www.example.com<br />
ServerAdmin example@example.com<br />
DocumentRoot /var/www/redmine/public<br />
PassengerDefaultUser www-data<br />
RailsEnv production<br />
RailsBaseURI /redmine<br />
SetEnv X_DEBIAN_SITEID "default"<br />
Order allow,deny<br />
Allow from all<br />
AllowOverride all<br />
Options -MultiViews</code></p>
<p>Fine tunning Apache:<br />
<code># perl -i -pe 's/TraceEnable Off/#TraceEnable Off/;' /etc/apache2/conf.d/security<br />
# perl -i -pe 's/#TraceEnable On/TraceEnable On/;' /etc/apache2/conf.d/security<br />
# perl -i -pe 's/ServerSignature On/#ServerSignature On/;' /etc/apache2/conf.d/security<br />
# perl -i -pe 's/#ServerSignature Off/ServerSignature Off/;' /etc/apache2/conf.d/security<br />
# perl -i -pe 's/ServerTokens OS/#ServerTokens OS/;' /etc/apache2/conf.d/security<br />
# perl -i -pe 's/#ServerTokens Minimal/ServerTokens Minimal/;' /etc/apache2/conf.d/security</code><br />
<code># /etc/init.d/apache2 restart</code></p>
<p>That&#8217;s all folks&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://hodza.net/2012/03/15/howto-install-redmine-on-debian-6-squeeze-ruby-on-rails-apache2-passenger/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Where can I find repository for debian etch packages?</title>
		<link>http://hodza.net/2012/03/06/where-can-i-find-repository-for-debian-etch-packages/</link>
		<comments>http://hodza.net/2012/03/06/where-can-i-find-repository-for-debian-etch-packages/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 16:59:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hodza.net/?p=2182</guid>
		<description><![CDATA[All Debian releases are archived at archive.debian.org, so: deb http://archive.debian.org/debian/ etch main non-free contrib deb http://archive.debian.org/debian-security/ etch/updates main non-free contrib deb http://archive.debian.org/debian-volatile/ etch/volatile main non-free contrib deb-src http://archive.debian.org/debian/ etch main non-free contrib deb-src http://archive.debian.org/debian-security/ etch/updates main non-free contrib deb-src http://archive.debian.org/debian-volatile/ etch/volatile main non-free contrib]]></description>
			<content:encoded><![CDATA[<p>All Debian releases are archived at archive.debian.org, so:<br />
<code>deb http://archive.debian.org/debian/ etch main non-free contrib<br />
deb http://archive.debian.org/debian-security/ etch/updates main non-free contrib<br />
deb http://archive.debian.org/debian-volatile/ etch/volatile main non-free contrib<br />
deb-src http://archive.debian.org/debian/ etch main non-free contrib<br />
deb-src http://archive.debian.org/debian-security/ etch/updates main non-free contrib<br />
deb-src http://archive.debian.org/debian-volatile/ etch/volatile main non-free contrib</code></p>
]]></content:encoded>
			<wfw:commentRss>http://hodza.net/2012/03/06/where-can-i-find-repository-for-debian-etch-packages/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo resolve ProFTPD problem: Fatal: unknown configuration directive &#8216;SQLHomedirOnDemand&#8217; on line xxx of &#8216;/etc/proftpd/proftpd.conf&#8217;</title>
		<link>http://hodza.net/2011/09/02/howto-resolve-problem-fatal-unknown-configuration-directive-sqlhomedirondemand-on-line-xxx-of-etcproftpdproftpd-conf/</link>
		<comments>http://hodza.net/2011/09/02/howto-resolve-problem-fatal-unknown-configuration-directive-sqlhomedirondemand-on-line-xxx-of-etcproftpdproftpd-conf/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 11:21:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hodza.net/?p=2125</guid>
		<description><![CDATA[This directive has been deprecated with ProFTPD 1.3.1rc1. Please use CreateHome instead. http://www.proftpd.org/docs/howto/CreateHome.html]]></description>
			<content:encoded><![CDATA[<p>This directive has been deprecated with ProFTPD 1.3.1rc1. Please use CreateHome instead.</p>
<p><a title="ProFTPD's CreateHome" href="http://www.proftpd.org/docs/howto/CreateHome.html" target="_blank">http://www.proftpd.org/docs/howto/CreateHome.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hodza.net/2011/09/02/howto-resolve-problem-fatal-unknown-configuration-directive-sqlhomedirondemand-on-line-xxx-of-etcproftpdproftpd-conf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo install Oracle Instant Client and PHP OCI8 module under Debian Squueze (Ubuntu) 64bit</title>
		<link>http://hodza.net/2011/08/01/howto-install-oracle-instant-client-and-php-oci8-module-under-debian-squueze-ubuntu-64bit/</link>
		<comments>http://hodza.net/2011/08/01/howto-install-oracle-instant-client-and-php-oci8-module-under-debian-squueze-ubuntu-64bit/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 12:22:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Scriptíky]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://hodza.net/?p=2099</guid>
		<description><![CDATA[1) Download the Basic and the SDK packages from http://www.oracle.com (registration needed). # mkdir -p /opt/oracle/instantclient # cd /opt/oracle/instantclient # wget http://download.oracle.com/otn/linux/instantclient/112020/instantclient-basic-linux-x86-64-11.2.0.2.0.zip # wget http://download.oracle.com/otn/linux/instantclient/112020/instantclient-sdk-linux-x86-64-11.2.0.2.0.zip" 2) Unzip files, move it in correct location and delete unnecessary archives unzip instantclient-basic-linux-x86-64-11.2.0.2.0.zip unzip instantclient-sdk-linux-x86-64-11.2.0.2.0.zip mv instantclient_11_2/* ./ rm -r instantclient_11_2/ instantclient-basic-linux-x86-64-11.2.0.2.0.zip instantclient-sdk-linux-x86-64-11.2.0.2.0.zip 3) Craate missing simlinks ln -s [...]]]></description>
			<content:encoded><![CDATA[<p>1) Download the Basic and the SDK packages from http://www.oracle.com (registration needed).<br />
<code># mkdir -p /opt/oracle/instantclient<br />
# cd /opt/oracle/instantclient<br />
# wget http://download.oracle.com/otn/linux/instantclient/112020/instantclient-basic-linux-x86-64-11.2.0.2.0.zip<br />
# wget http://download.oracle.com/otn/linux/instantclient/112020/instantclient-sdk-linux-x86-64-11.2.0.2.0.zip"<br />
</code><br />
<span id="more-2099"></span><br />
2) Unzip files, move it in correct location and delete unnecessary archives<br />
<code>unzip instantclient-basic-linux-x86-64-11.2.0.2.0.zip<br />
unzip instantclient-sdk-linux-x86-64-11.2.0.2.0.zip<br />
mv instantclient_11_2/* ./<br />
rm -r instantclient_11_2/ instantclient-basic-linux-x86-64-11.2.0.2.0.zip instantclient-sdk-linux-x86-64-11.2.0.2.0.zip<br />
</code></p>
<p>3) Craate missing simlinks<br />
<code>ln -s libclntsh.so.10.1 libclntsh.so<br />
ln -s libocci.so.10.1 libocci.so</code></p>
<p>4) Install packages<br />
<code># aptitude install build-essential php5-dev php-pear libaio1 </code><br />
<code># pecl install oci8 (on question reply: instantclient,/opt/oracle/instantclient)</code></p>
<p>5) Enable the oci8 module in the php.ini<br />
<code># vi /etc/php5/apache2/php.ini<br />
extension=oci8.so (put this line after the examples starting with ;Dynamic Extension).</code><br />
<code># vi /etc/php5E/cli/php.ini<br />
extension=oci8.so (put this line after the examples starting with ;Dynamic Extension).</code></p>
<p>6) Restart Apache Web server<br />
<code>/etc/init.d/apache2 restart</code></p>
<p>Now stop and start Apache. You should see the oci8 module in the output of phpinfo().</p>
]]></content:encoded>
			<wfw:commentRss>http://hodza.net/2011/08/01/howto-install-oracle-instant-client-and-php-oci8-module-under-debian-squueze-ubuntu-64bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo fix a problem &#8222;loading from master file managed-keys.bind failed: file not found&#8220; under Debain Squeeze</title>
		<link>http://hodza.net/2011/07/30/howto-fix-a-problem-loading-from-master-file-managed-keys-bind-failed-file-not-found-under-debain-squeeze/</link>
		<comments>http://hodza.net/2011/07/30/howto-fix-a-problem-loading-from-master-file-managed-keys-bind-failed-file-not-found-under-debain-squeeze/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 16:30:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scriptíky]]></category>

		<guid isPermaLink="false">http://hodza.net/?p=2091</guid>
		<description><![CDATA[# touch /var/cache/bind/managed-keys.bind # chown root:bind /var/cache/bind/managed-keys.bind # /etc/init.d/bind9 restart # tail -n 50 /var/log/daemon.log]]></description>
			<content:encoded><![CDATA[<p><code># touch /var/cache/bind/managed-keys.bind<br />
# chown root:bind /var/cache/bind/managed-keys.bind<br />
# /etc/init.d/bind9 restart<br />
# tail -n 50 /var/log/daemon.log<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://hodza.net/2011/07/30/howto-fix-a-problem-loading-from-master-file-managed-keys-bind-failed-file-not-found-under-debain-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo install Mozilla Thunderbird 5 Final from PPA (Ubuntu 10.04/10.10/11.04)</title>
		<link>http://hodza.net/2011/07/14/howto-install-mozilla-thunderbird-5-final-from-ppa-ubuntu-10-0410-1011-04/</link>
		<comments>http://hodza.net/2011/07/14/howto-install-mozilla-thunderbird-5-final-from-ppa-ubuntu-10-0410-1011-04/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 16:17:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Smtp]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://hodza.net/?p=2076</guid>
		<description><![CDATA[# sudo apt-add-repository ppa:mozillateam/thunderbird-stable # sudo apt-get update # sudo apt-get install thunderbird Release Notes: http://www.mozilla.org/en-US/thunderbird/5.0/releasenotes/]]></description>
			<content:encoded><![CDATA[<p><code># sudo apt-add-repository ppa:mozillateam/thunderbird-stable<br />
# sudo apt-get update<br />
# sudo apt-get install thunderbird</code></p>
<p>Release Notes: <a href="http://www.mozilla.org/en-US/thunderbird/5.0/releasenotes/" target="_blank">http://www.mozilla.org/en-US/thunderbird/5.0/releasenotes/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hodza.net/2011/07/14/howto-install-mozilla-thunderbird-5-final-from-ppa-ubuntu-10-0410-1011-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo install TSM Backup client in Debian Squeeze (Ubuntu) 64bit</title>
		<link>http://hodza.net/2011/06/15/howto-install-tsm-backup-client-in-debian-squeeze-ubuntu-64bit/</link>
		<comments>http://hodza.net/2011/06/15/howto-install-tsm-backup-client-in-debian-squeeze-ubuntu-64bit/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 12:09:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scriptíky]]></category>

		<guid isPermaLink="false">http://hodza.net/?p=2059</guid>
		<description><![CDATA[1. Update Debian system and install required packages # aptitude update # aptitude full-upgrade # aptitude install alien libstdc++6 ksh ia32-libs 2. Go to directory /usr/src/ and download latest package from IBM web site. After download unpack archive. # cd /usr/src/ # wget "ftp://service.boulder.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r2/Linux/LinuxX86/v622/6.2.2.0-TIV-TSMBAC-LinuxX86.tar" # tar -xvf 6.2.2.0-TIV-TSMBAC-LinuxX86.tar 3. Unpack RPM files # alien -g -c TIVsm-API.i386.rpm [...]]]></description>
			<content:encoded><![CDATA[<p>1. Update Debian system and install required packages<br />
<code># aptitude update<br />
# aptitude full-upgrade<br />
# aptitude install alien libstdc++6 ksh ia32-libs</code></p>
<p>2. Go to directory <a title="/usr/src/">/usr/src/</a> and download latest package from IBM web site. After download unpack archive.<br />
<code># cd /usr/src/<br />
# wget "<a title="ftp://service.boulder.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r2/Linux/LinuxX86/v622/6.2.2.0-TIV-TSMBAC-LinuxX86.tar" href="ftp://service.boulder.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r2/Linux/LinuxX86/v622/6.2.2.0-TIV-TSMBAC-LinuxX86.tar">ftp://service.boulder.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r2/Linux/LinuxX86/v622/6.2.2.0-TIV-TSMBAC-LinuxX86.tar</a>"<br />
# tar -xvf  6.2.2.0-TIV-TSMBAC-LinuxX86.tar</code></p>
<p><span id="more-2059"></span>3. Unpack RPM files<br />
<code># alien -g -c TIVsm-API.i386.rpm<br />
# alien -g -c TIVsm-API64.i386.rpm<br />
# alien -g -c TIVsm-BA.i386.rpm<br />
# alien -g -c gskcrypt32-8.0.13.4.linux.x86.rpm<br />
# alien -g -c gskcrypt64-8.0.13.4.linux.x86_64.rpm<br />
# alien -g -c gskssl32-8.0.13.4.linux.x86.rpm<br />
# alien -g -c gskssl64-8.0.13.4.linux.x86_64.rpm</code></p>
<p>4. Make a correct path for debian build script<br />
<code># mv TIVsm-API-6.2.2/debian TIVsm-API-6.2.2/DEBIAN<br />
# mv TIVsm-API64-6.2.2/debian TIVsm-API64-6.2.2/DEBIAN<br />
# mv TIVsm-BA-6.2.2/debian TIVsm-BA-6.2.2/DEBIAN<br />
# mv gskcrypt32-8.0/debian gskcrypt32-8.0/DEBIAN<br />
# mv gskcrypt64-8.0/debian gskcrypt64-8.0/DEBIAN<br />
# mv gskssl32-8.0/debian gskssl32-8.0/DEBIAN<br />
# mv gskssl64-8.0/debian gskssl64-8.0/DEBIAN</code></p>
<p>5. Make a correct file permissions for debian build script<br />
<code># chmod 755 TIVsm-API-6.2.2/DEBIAN/{postinst,prerm}<br />
# chmod 755 TIVsm-API64-6.2.2/DEBIAN/{postinst,prerm}<br />
# chmod 755 TIVsm-BA-6.2.2/DEBIAN/{postinst,prerm}<br />
# chmod 755 gskcrypt32-8.0/DEBIAN/postinst<br />
# chmod 755 gskcrypt64-8.0/DEBIAN/postinst<br />
# chmod 755 gskssl32-8.0/DEBIAN/{postinst,prerm}<br />
# chmod 755 gskssl64-8.0/DEBIAN/{postinst,prerm}</code></p>
<p>6. Edit control files for each package<br />
<code># vi TIVsm-API-6.2.2/DEBIAN/control<br />
Package: tivsm-api<br />
Version: 6.2.2<br />
Architecture: amd64<br />
Maintainer: Milan Kozak &lt;<a title="hodza@hodza.net" href="mailto:hodza@hodza.net">hodza@hodza.net</a>&gt;<br />
Section: alien<br />
Priority: extra<br />
Description: IBM Tivoli Storage Manager API</code></p>
<p><code># vi TIVsm-API64-6.2.2/DEBIAN/control<br />
Package: tivsm-api64<br />
Version: 6.2.2<br />
Architecture: amd64<br />
Maintainer: Milan Kozak &lt;<a title="hodza@hodza.net" href="mailto:hodza@hodza.net">hodza@hodza.net</a>&gt;<br />
Section: alien<br />
Priority: extra<br />
Description: IBM Tivoli Storage Manager API</code></p>
<p><code># vi TIVsm-BA-6.2.2/DEBIAN/control<br />
Package: tivsm-ba<br />
Version: 6.2.2<br />
Architecture: amd64<br />
Maintainer: Milan Kozak &lt;<a title="hodza@hodza.net" href="mailto:hodza@hodza.net">hodza@hodza.net</a>&gt;<br />
Section: alien<br />
Priority: extra<br />
Description: IBM Tivoli Storage Manager Client</code></p>
<p><code># vi gskcrypt32-8.0/DEBIAN/control<br />
Package: gskcrypt32<br />
Version: 8.0<br />
Architecture: amd64<br />
Maintainer: Milan Kozak &lt;<a title="hodza@hodza.net" href="mailto:hodza@hodza.net">hodza@hodza.net</a>&gt;<br />
Section: alien<br />
Priority: extra<br />
Description: IBM GSKit Cryptography Runtime</code></p>
<p><code># vi gskcrypt64-8.0/DEBIAN/control<br />
Package: gskcrypt64<br />
Version: 8.0.13.4<br />
Architecture: amd64<br />
Maintainer: Milan Kozak &lt;<a title="hodza@hodza.net" href="mailto:hodza@hodza.net">hodza@hodza.net</a>&gt;<br />
Section: alien<br />
Priority: extra<br />
Description: IBM GSKit Cryptography Runtime</code></p>
<p><code># vi gskssl32-8.0/DEBIAN/control<br />
Package: gskssl32<br />
Version: 8.0.13.4<br />
Architecture: amd64<br />
Maintainer: Milan Kozak &lt;<a title="hodza@hodza.net" href="mailto:hodza@hodza.net">hodza@hodza.net</a>&gt;<br />
Section: alien<br />
Priority: extra<br />
Description: IBM GSKit SSL Runtime With Acme Toolkit</code></p>
<p><code># vi gskssl64-8.0/DEBIAN/control<br />
Package: gskssl64<br />
Version: 8.0.13.4<br />
Architecture: amd64<br />
Maintainer: Milan Kozak &lt;<a title="hodza@hodza.net" href="mailto:hodza@hodza.net">hodza@hodza.net</a>&gt;<br />
Section: alien<br />
Priority: extra<br />
Description: IBM GSKit SSL Runtime With Acme Toolkit</code></p>
<p>7. Build deb packages<br />
<code># dpkg -b TIVsm-API-6.2.2<br />
# dpkg -b TIVsm-API64-6.2.2<br />
# dpkg -b TIVsm-BA-6.2.2<br />
# dpkg -b gskcrypt32-8.0<br />
# dpkg -b gskcrypt64-8.0<br />
# dpkg -b gskssl32-8.0<br />
# dpkg -b gskssl64-8.0</code></p>
<p>8. Install all deb packages<br />
<code># dpkg -i TIVsm-API-6.2.2.deb<br />
# dpkg -i TIVsm-API64-6.2.2.deb<br />
# dpkg -i TIVsm-BA-6.2.2.deb<br />
# dpkg -i gskcrypt32-8.0.deb<br />
# dpkg -i gskcrypt64-8.0.deb<br />
# dpkg -i gskssl32-8.0.deb<br />
# dpkg -i gskssl64-8.0.deb</code></p>
<p>9. Create missing symlinks<br />
<code># ln -s /opt/tivoli/tsm/client/api/bin/libgpfs.so /lib32/<br />
# ln -s /opt/tivoli/tsm/client/api/bin/libdmapi.so <a title="/lib32/">/lib32/</a><br />
# ln -s /usr/lib/libgsk8cms.so /lib32/<br />
# ln -s /usr/lib/libgsk8ssl.so /lib32/<br />
# ln -s /usr/lib/libgsk8sys.so /lib32/<br />
# ln -s /usr/lib/libgsk8iccs.so /lib32/</code></p>
<p>10. Test TSM Client<br />
<code># dsmc</code></p>
]]></content:encoded>
			<wfw:commentRss>http://hodza.net/2011/06/15/howto-install-tsm-backup-client-in-debian-squeeze-ubuntu-64bit/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Jak zakázat IPv6 v Debianu 6 (Squeeze)</title>
		<link>http://hodza.net/2011/04/21/jak-zakazat-ipv6-v-debianu-6-squeeze/</link>
		<comments>http://hodza.net/2011/04/21/jak-zakazat-ipv6-v-debianu-6-squeeze/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 18:22:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hodza.net/?p=2013</guid>
		<description><![CDATA[Pokud zkoušíte starý trik s použitím aliasů u modprobe, máte smůlu. V Debianu 6 je již IPv6 přímo součástí kernelu. IPv6 zakážete tak, že do souboru /etc/sysctl.conf přidáte řádku &#8222;net.ipv6.conf.all.disable_ipv6 = 1&#8243;. # echo "net.ipv6.conf.all.disable_ipv6 = 1" &#62;&#62; /etc/sysctl.conf # /sbin/sysctl -p /etc/sysctl.conf]]></description>
			<content:encoded><![CDATA[<p>Pokud zkoušíte starý trik s použitím aliasů u modprobe, máte smůlu. V Debianu 6 je již IPv6 přímo součástí kernelu. IPv6 zakážete tak, že do souboru <em><strong>/etc/sysctl.conf</strong></em> přidáte řádku <em><strong>&#8222;net.ipv6.conf.all.disable_ipv6 = 1&#8243;</strong></em>.</p>
<p><code># echo "net.ipv6.conf.all.disable_ipv6 = 1" &gt;&gt; /etc/sysctl.conf<br />
# /sbin/sysctl -p /etc/sysctl.conf<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://hodza.net/2011/04/21/jak-zakazat-ipv6-v-debianu-6-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Flash Player Crash under Ubuntu Maverick Meerkat</title>
		<link>http://hodza.net/2011/03/14/firefox-flash-player-crash-under-ubuntu-maverick-meerkat/</link>
		<comments>http://hodza.net/2011/03/14/firefox-flash-player-crash-under-ubuntu-maverick-meerkat/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 13:25:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Multimédia]]></category>
		<category><![CDATA[Ostatní]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[adobe incubator]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flashplayer]]></category>
		<category><![CDATA[maverick meerkat]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://hodza.net/?p=2005</guid>
		<description><![CDATA[Q: The flash plugin in my firefox started to crash these days. Whenever I go to youtube.com to watch a video, as soon as I open the page the shockwave plugin crashes. At the same time, I can see youtube videos in Facebook! This is started to happen in these days possibly after updating the [...]]]></description>
			<content:encoded><![CDATA[<p>Q: The flash plugin in my firefox started to crash these days. Whenever I go to youtube.com to watch a video, as soon as I open the page the shockwave plugin crashes. At the same time, I can see youtube videos in Facebook! This is started to happen in these days possibly after updating the system (I regularly apt-get update &amp; upgrade). Any thoughts/ideas?</p>
<p><span id="more-2005"></span>A: Use the latest Flash Player plugin from Adobe Incubator<br />
<code>#  wget <a href="http://download.macromedia.com/pub/labs/flashplatformruntimes/incubator/flashplayer_inc_debug_lin_022711.tar.gz">http://download.macromedia.com/pub/labs/flashplatformruntimes/incubator/flashplayer_inc_debug_lin_022711.tar.gz</a><br />
# tar -xvf flashplayer_inc_debug_lin_022711.tar.gz<br />
# sudo cp libflashplayer.so /usr/lib/flashplugin-installer/</code></p>
]]></content:encoded>
			<wfw:commentRss>http://hodza.net/2011/03/14/firefox-flash-player-crash-under-ubuntu-maverick-meerkat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Server console &amp; Ubuntu Hardy Herron</title>
		<link>http://hodza.net/2008/11/03/vmware-server-console-ubuntu-hardy-herron/</link>
		<comments>http://hodza.net/2008/11/03/vmware-server-console-ubuntu-hardy-herron/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 07:28:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[virtualizace]]></category>

		<guid isPermaLink="false">http://hodza.net/?p=221</guid>
		<description><![CDATA[Po nainstalovaání VMware Server console v Hardym mě vždy trápí chybové hlášení: # vmware-server-console /usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2) /usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6) Pomoc je přitom velice jednoduchá: # sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0 # sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1]]></description>
			<content:encoded><![CDATA[<p>Po nainstalovaání VMware Server console v Hardym mě vždy trápí chybové hlášení:</p>
<p><code># vmware-server-console<br />
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)<br />
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)</code></p>
<p>Pomoc je přitom velice jednoduchá:<br />
<code><br />
# sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0<br />
# sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://hodza.net/2008/11/03/vmware-server-console-ubuntu-hardy-herron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

