<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;A0MHRXw9eyp7ImA9WhRaE0U.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772</id><updated>2012-02-16T12:50:34.263+02:00</updated><category term="Netbeans" /><category term="Fedora" /><category term="RHEL" /><category term="Other" /><category term="Debian" /><category term="ckeditor" /><category term="CentOS" /><category term="Hardware" /><category term="IGMP" /><category term="Поваренок" /><category term="Cisco" /><category term="Ubuntu" /><category term="Wine" /><category term="Virtualization" /><category term="openSUSE" /><category term="Security" /><category term="Google" /><category term="Web" /><title>Nikolay Ulyanitsky's Blog</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.lystor.org.ua/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>34</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/org/rLNz" /><feedburner:info uri="org/rlnz" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkADQ3s4eCp7ImA9Wx9TFUU.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-3530085814267878677</id><published>2010-11-23T21:20:00.001+02:00</published><updated>2010-11-24T10:52:52.530+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-24T10:52:52.530+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Web" /><category scheme="http://www.blogger.com/atom/ns#" term="ckeditor" /><title>CKEditor: Plugin And Toolbar Button For PRE, CODE, H1, H2, H3, H4, H5, H6, DIV, P Style Formatting</title><content type="html">Hi all.&lt;br /&gt;
&lt;br /&gt;
This small howto help you to create a plugin for CKEditor 3.4 and add a new toolbar button for &lt;u&gt;p, h1, h2, h3, h4, h5, h6, pre, address&lt;/u&gt; and &lt;u&gt;div&lt;/u&gt; style formatting. &lt;br /&gt;
&lt;br /&gt;
1. Directory structure:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;ckeditor/
    config.js
    plugins/
        button-pre/
            button-pre.png
            plugin.js
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
2. Create plugin.js:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;(function(){
 var a= {
  exec:function(editor){
   var format = {
    element : "pre"
   };
   var style = new CKEDITOR.style(format);
   style.apply(editor.document);
  }
 },

 b="button-pre";
 CKEDITOR.plugins.add(b,{
  init:function(editor){
   editor.addCommand(b,a);
   editor.ui.addButton("button-pre",{
    label:"Button PRE",
    icon: this.path + "button-pre.png",
    command:b
   });
  }
 });
})();
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
3. Download a button-pre.png: &lt;img src="http://lh6.ggpht.com/_f7HKVLjAUIc/TOwRKCApXXI/AAAAAAAAAKg/fnGcJZB0sTU/button-pre.png" alt="CKEditor PRE plugin button" /&gt;.&lt;br /&gt;
&lt;br /&gt;
4. Register the plugin and add a toolbar button. Modify config.js:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;CKEDITOR.editorConfig = function( config )
{
 CKEDITOR.config.toolbar_Basic = [['button-pre', 'Bold', 'Italic', 'Underline' ]];
 config.toolbar = 'Basic';
 config.startupOutlineBlocks = true;
 config.extraPlugins = "button-pre";
};
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;Result:&lt;/b&gt;&lt;br /&gt;
&lt;img src="http://lh3.ggpht.com/_f7HKVLjAUIc/TOwRKXKVDbI/AAAAAAAAAKk/wwNX2yQrPYY/button-pre-sample.png" alt="CKEditor PRE plugin button sample" /&gt;&lt;br /&gt;
&lt;br /&gt;
P.S. You can change &lt;u&gt;pre&lt;/u&gt; with &lt;u&gt;code, h1, h2, h3, h4, h5, h6, address, div&lt;/u&gt; and &lt;u&gt;p&lt;/u&gt; tags.&lt;br /&gt;
P.P.S. This plugin also work with the &lt;i&gt;code&lt;/i&gt; tag pretty good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-3530085814267878677?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SRzpzBzdzz91XJldqx1o2PWQneU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SRzpzBzdzz91XJldqx1o2PWQneU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SRzpzBzdzz91XJldqx1o2PWQneU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SRzpzBzdzz91XJldqx1o2PWQneU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/tCqJzAXpPvQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/3530085814267878677/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/11/ckeditor-plugin-and-toolbar-button-for.html#comment-form" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/3530085814267878677?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/3530085814267878677?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/tCqJzAXpPvQ/ckeditor-plugin-and-toolbar-button-for.html" title="CKEditor: Plugin And Toolbar Button For PRE, CODE, H1, H2, H3, H4, H5, H6, DIV, P Style Formatting" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/_f7HKVLjAUIc/TOwRKCApXXI/AAAAAAAAAKg/fnGcJZB0sTU/s72-c/button-pre.png" height="72" width="72" /><thr:total>6</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/11/ckeditor-plugin-and-toolbar-button-for.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08HR3s8fyp7ImA9Wx5QEkU.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-8708623677180624158</id><published>2010-08-31T22:10:00.002+03:00</published><updated>2010-08-31T22:10:36.577+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-31T22:10:36.577+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Web" /><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="openSUSE" /><category scheme="http://www.blogger.com/atom/ns#" term="Fedora" /><category scheme="http://www.blogger.com/atom/ns#" term="Debian" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><category scheme="http://www.blogger.com/atom/ns#" term="Google" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Project pkgs.org</title><content type="html">Hello, friends!&lt;br /&gt;
&lt;br /&gt;
Let me introduce my new &lt;a href="http://pkgs.org/"&gt;Linux Packages Search&lt;/a&gt; project.&lt;br /&gt;
&lt;br /&gt;
The project provides next features:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Large, daily updated database with RPM and DEB packages for well-known repositories of the Fedora, CentOS, RHEL, Debian, Ubuntu, Mandriva and openSUSE distributions.&lt;/li&gt;
&lt;li&gt;Packages browser by distribution, repository, packages group with the filtering support.&lt;/li&gt;
&lt;li&gt;Detailed packages information (name, version, description, architecture, files, requires, etc.).&lt;/li&gt;
&lt;li&gt;HTTP/FTP/RSYNC mirrors lists for the packages downloading.&lt;/li&gt;
&lt;li&gt;Packages search by name, summary, description, requires, provides, files and directories.&lt;/li&gt;
&lt;li&gt;Effective site navigation.&lt;/li&gt;
&lt;li&gt;XHTML/CSS markup.&lt;/li&gt;
&lt;li&gt;RSS.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;b&gt;Project site&lt;/b&gt;: &lt;a href="http://pkgs.org/"&gt;http://pkgs.org/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-8708623677180624158?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9c12-wobiQjn5sQOn78xveapxs4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9c12-wobiQjn5sQOn78xveapxs4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9c12-wobiQjn5sQOn78xveapxs4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9c12-wobiQjn5sQOn78xveapxs4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/WgmxJe6pc70" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/8708623677180624158/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/08/project-pkgsorg.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/8708623677180624158?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/8708623677180624158?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/WgmxJe6pc70/project-pkgsorg.html" title="Project pkgs.org" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/08/project-pkgsorg.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAERnczfSp7ImA9WxFXEkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-5458594919039166283</id><published>2010-05-15T12:07:00.005+03:00</published><updated>2010-05-19T07:51:47.985+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-19T07:51:47.985+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>Upgrading PostgreSQL 8.1 to 8.4 on CentOS 5.5</title><content type="html">PostgreSQL 8.4 (postgresql84) is now included as a fully supported option in Red Hat Enterprise Linux 5.5/CentOS 5.5.&lt;br /&gt;
&lt;br /&gt;
New features in PostgreSQL 8.4 include: parallel database restore, per-column permissions and new monitoring tools.&lt;br /&gt;
&lt;br /&gt;
A data dump and restore using pg_dump is required for migration from the existing PostgreSQL 8.1 (supplied by the postgres package). Due to this requirement, postgres and postgresql84 contain package level conflicts and only a single version can be installed on a system.&lt;br /&gt;
&lt;br /&gt;
To upgrade PostgreSQL, follow these steps:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Create a backups directory:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# mkdir /pgbak
# chown postgres:postgres /pgbak/
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Dump only global database objects (roles and tablespaces), no databases:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# su - postgres
# pg_dumpall --globals-only &gt; /pgbak/globals.sql 
# pg_dump --create --oids --format=c --verbose --file=/pgbak/dbX dbX
# exit
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Stop the database server:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# /etc/init.d/postgresql stop
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Create full backup of database cluster (is not used in upgrading process):&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# mv /var/lib/pgsql/data /pgbak
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Upgrade PostgreSQL 8.1.6 to 8.4.2:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum remove postgresql*
# yum install postgresql84-server
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Initialize new database cluster:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# /etc/init.d/postgresql initdb
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Restore configuration files modifications on /var/lib/pgsql/data/*.conf&lt;/li&gt;
&lt;li&gt;Start the PostgreSQL service:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# chkconfig --level 35 postgresql on
# /etc/init.d/postgresql start
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Restore global database objects (roles and tablespaces) and databases: &lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# su - postgres
psql -f /pgbak/globals.sql
pg_restore --create -d postgres /pgbak/dbX
# exit
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-5458594919039166283?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RPSJ67QliASGXBoeS2l7gr837BI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RPSJ67QliASGXBoeS2l7gr837BI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RPSJ67QliASGXBoeS2l7gr837BI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RPSJ67QliASGXBoeS2l7gr837BI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/NaD-6_f68zY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/5458594919039166283/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/05/upgrading-postgresql-81-to-84-centos-55.html#comment-form" title="8 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/5458594919039166283?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/5458594919039166283?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/NaD-6_f68zY/upgrading-postgresql-81-to-84-centos-55.html" title="Upgrading PostgreSQL 8.1 to 8.4 on CentOS 5.5" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>8</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/05/upgrading-postgresql-81-to-84-centos-55.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4EQ3o9fyp7ImA9WxFQEE0.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-6923687808415351240</id><published>2010-05-05T00:17:00.003+03:00</published><updated>2010-05-05T00:18:22.467+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-05T00:18:22.467+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="Hardware" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>ASUS P5Q Sensors Configuration on CentOS 5</title><content type="html">1. Install &lt;a href="http://elrepo.org"&gt;ELRepo&lt;/a&gt; repository.&lt;br /&gt;
2. Update lm_sensors:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum update lm_sensors
&lt;/pre&gt;&lt;/div&gt;3. Install coretemp kernel module:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum install kmod-coretemp
&lt;/pre&gt;&lt;/div&gt;4. Detect available sensors:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# sensors-detect
&lt;/pre&gt;&lt;/div&gt;5. Start lm_sensors service:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# /etc/init.d/lm_sensors start
&lt;/pre&gt;&lt;/div&gt;6. Get sensors information:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:   +37°C (high = +100°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1:   +33°C (high = +100°C)

coretemp-isa-0002
Adapter: ISA adapter
Core 2:   +37°C (high = +100°C)

coretemp-isa-0003
Adapter: ISA adapter
Core 3:   +39°C (high = +100°C)
&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-6923687808415351240?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AeOBO68XS0h4yWUE5xo61L8zPoM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AeOBO68XS0h4yWUE5xo61L8zPoM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AeOBO68XS0h4yWUE5xo61L8zPoM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AeOBO68XS0h4yWUE5xo61L8zPoM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/k71Aelxxl18" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/6923687808415351240/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/05/asus-p5q-sensors-centos-5.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/6923687808415351240?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/6923687808415351240?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/k71Aelxxl18/asus-p5q-sensors-centos-5.html" title="ASUS P5Q Sensors Configuration on CentOS 5" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/05/asus-p5q-sensors-centos-5.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUACRX86cSp7ImA9WxFQEE0.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-997186900994766912</id><published>2010-05-05T00:03:00.003+03:00</published><updated>2010-05-05T00:16:04.119+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-05T00:16:04.119+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>Hard Drive Temperature Monitoring on CentOS 5</title><content type="html">To get a hard drive temperature, follow these steps:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Install &lt;a href="https://fedoraproject.org/wiki/EPEL"&gt;EPEL&lt;/a&gt; repository.&lt;/li&gt;
&lt;li&gt;Install the hddtemp package:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum install hddtemp
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Execute hddtemp:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# hddtemp /dev/sda
/dev/sda: ST3750640AS: 46°C
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
Also you can get a hard drive temperature from hdd SMART table:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Install the smartmontools package:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum install smartmontools
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Execute smartctl:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# smartctl -d ata -A /dev/sda
...
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
194 Temperature_Celsius     0x0022   045   049   000    Old_age   Always       -       45 (0 17 0 0)
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-997186900994766912?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nrumrnQqEk-bGHQxrM2vVX7cC-A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nrumrnQqEk-bGHQxrM2vVX7cC-A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nrumrnQqEk-bGHQxrM2vVX7cC-A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nrumrnQqEk-bGHQxrM2vVX7cC-A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/xQIUT547Slw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/997186900994766912/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/05/hard-drive-temperature-centos-5.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/997186900994766912?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/997186900994766912?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/xQIUT547Slw/hard-drive-temperature-centos-5.html" title="Hard Drive Temperature Monitoring on CentOS 5" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/05/hard-drive-temperature-centos-5.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4CQXg7eSp7ImA9WxFQEE0.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-8057669714981950277</id><published>2010-05-04T23:51:00.005+03:00</published><updated>2010-05-05T00:19:20.601+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-05T00:19:20.601+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>nVidia Drivers Installation on CentOS 5</title><content type="html">To install nVidia drivers, follow these steps:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Install &lt;a href="http://elrepo.org"&gt;ELRepo&lt;/a&gt; repository.&lt;/li&gt;
&lt;li&gt;Install the nVidia drivers:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum install nvidia-x11-drv
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Change current video driver to nVidia. Edit /etc/X11/xorg.conf:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "GeForce 8800 GT"
EndSection
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Reboot the operation system:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# reboot
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-8057669714981950277?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vJCYV7m8AidxtQKqIFPkTVf5pGM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vJCYV7m8AidxtQKqIFPkTVf5pGM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vJCYV7m8AidxtQKqIFPkTVf5pGM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vJCYV7m8AidxtQKqIFPkTVf5pGM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/q2NlEiM_330" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/8057669714981950277/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/05/nvidia-drivers-installation-centos-5.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/8057669714981950277?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/8057669714981950277?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/q2NlEiM_330/nvidia-drivers-installation-centos-5.html" title="nVidia Drivers Installation on CentOS 5" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/05/nvidia-drivers-installation-centos-5.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUANQHsyeyp7ImA9WxFQEE0.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-8941998683634443253</id><published>2010-05-04T23:38:00.004+03:00</published><updated>2010-05-05T00:16:31.593+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-05T00:16:31.593+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>Keyboard Localization on CentOS 5</title><content type="html">If you would like to switch between more than one keyboard layout (for example English and Russian), edit /etc/X11/xorg.conf and restart X server. &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us,ru"
        Option      "XkbVariant" ",winkeys"
        Option      "XkbOptions" "grp:shifts_toggle,grp_led:scroll"
EndSection
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Here, XkbOptions allows you to toggle between keyboard layouts by simply pressing both Shifts. This will also toggle the Scroll Lock light on or off, thanks to the grp_led:scroll option. This is a handy visual indicator of which keyboard layout you are using at the moment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-8941998683634443253?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uU6HyvHlncas_WpeJlm48fCnKHM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uU6HyvHlncas_WpeJlm48fCnKHM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uU6HyvHlncas_WpeJlm48fCnKHM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uU6HyvHlncas_WpeJlm48fCnKHM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/IpaTnaVpzlI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/8941998683634443253/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/05/keyboard-localization-centos-5.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/8941998683634443253?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/8941998683634443253?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/IpaTnaVpzlI/keyboard-localization-centos-5.html" title="Keyboard Localization on CentOS 5" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/05/keyboard-localization-centos-5.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUAARn86eip7ImA9WxFQEE0.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-3572701572190319642</id><published>2010-05-04T15:01:00.009+03:00</published><updated>2010-05-05T00:15:47.112+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-05T00:15:47.112+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="Hardware" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>Atheros(R) AR8121/AR8113/AR8114/AR8131/AR8132 PCI-E Ethernet Network Driver Installation on CentOS 5</title><content type="html">Hardware information:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Motherboard: ASUS P5Q (Intel P45/ICH10R)&lt;/li&gt;
&lt;li&gt;lspci information:&lt;/li&gt;
&lt;/ol&gt;&lt;div class="code"&gt;&lt;pre&gt;# lspci -v
02:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
        Subsystem: ASUSTeK Computer Inc. Unknown device 8226
&lt;/pre&gt;&lt;/div&gt;&lt;div class="code"&gt;&lt;pre&gt;# lspci -vn
02:00.0 0200: 1969:1026 (rev b0)
        Subsystem: 1043:8226
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
To install ethernet network driver, follow these steps:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Download from &lt;a href="http://elrepo.org"&gt;ELRepo&lt;/a&gt; repository kmod-atl1e rpm package.&lt;/li&gt;
&lt;li&gt;Install the kernel module:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# rpm -Uvh http://elrepo.org/linux/elrepo/el5/x86_64/RPMS/kmod-atl1e-1.0.0.11-1.el5.elrepo.x86_64.rpm
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Load the kernel module:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# modprobe -v atl1e
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-3572701572190319642?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SoYZcGJVJ7uMQMP3SgRBM1_VTRc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SoYZcGJVJ7uMQMP3SgRBM1_VTRc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SoYZcGJVJ7uMQMP3SgRBM1_VTRc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SoYZcGJVJ7uMQMP3SgRBM1_VTRc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/y-0_N8JwYCc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/3572701572190319642/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/05/atheros-ethernet-atl1e-centos-54.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/3572701572190319642?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/3572701572190319642?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/y-0_N8JwYCc/atheros-ethernet-atl1e-centos-54.html" title="Atheros(R) AR8121/AR8113/AR8114/AR8131/AR8132 PCI-E Ethernet Network Driver Installation on CentOS 5" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>3</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/05/atheros-ethernet-atl1e-centos-54.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08CR3c9cCp7ImA9WxFRF00.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-6489848209226736201</id><published>2010-05-01T12:49:00.014+03:00</published><updated>2010-05-01T13:31:06.968+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-01T13:31:06.968+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Web" /><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><title>Migrating PunBB 1.3 from MySQL to PostgreSQL on CentOS 5</title><content type="html">&lt;p&gt;I successfully migrated the PunBB 1.3.4 database from MySQL to PostgreSQL on CentOS 5.&lt;/p&gt;Software versions:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;PunBB: 1.3.4&lt;/li&gt;
&lt;li&gt;MySQL: 5.0.77&lt;/li&gt;
&lt;li&gt;PostgreSQL: 8.1.18&lt;/li&gt;
&lt;li&gt;PHP: 5.1.6&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;To perform migration, follow these steps:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Uninstall all PunBB extensions.&lt;/li&gt;
&lt;li&gt;Create a dump of the MySQL database:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;mysqldump forum --compatible=postgresql --default-character-set=utf8 --skip-extended-insert -u root -p &gt; forum_old.sql
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Exctract only the tables data from the dump, not the schema:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;grep "INSERT INTO" forum_old.sql &gt; forum_old_converted.sql
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Create a PostgreSQL user and the new database:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;postgres=# CREATE USER "forum" with password 'super_password';
postgres=# CREATE DATABASE "forum" ENCODING 'UTF-8' OWNER "forum";
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Remove config.php from the site DocumentRoot.&lt;/li&gt;
&lt;li&gt;Create PostgreSQL database tables: run install.php from the forum admin directory and follow the instructions.&lt;/li&gt;
&lt;li&gt;Upload config.php to the site DocumentRoot.&lt;/li&gt;
&lt;li&gt;Create the dump of the PostgreSQL database schema without the data:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;pg_dump forum --create --schema-only -U user_name -h 127.0.0.1 &gt; forum_new_schema.sql;
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Recreate the PostgreSQL database without the tables data:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;postgres=# DROP DATABASE "forum";
psql forum -U user_name -h 127.0.0.1 &lt; forum_new_schema.sql;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Import the old MySQL database into the new PostgreSQL database:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;psql forum -U user_name -h 127.0.0.1 &lt; forum_old_converted.sql;&lt;/pre&gt;
&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Update PostgreSQL sequence objects:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;SELECT pg_catalog.setval('bans_id_seq', (SELECT MAX(id) FROM bans), true);
SELECT pg_catalog.setval('categories_id_seq', (SELECT MAX(id) FROM categories), true);
SELECT pg_catalog.setval('censoring_id_seq', (SELECT MAX(id) FROM censoring), true);
SELECT pg_catalog.setval('forums_id_seq', (SELECT MAX(id) FROM forums), true);
SELECT pg_catalog.setval('groups_g_id_seq', (SELECT MAX(g_id) FROM groups), true);
SELECT pg_catalog.setval('posts_id_seq', (SELECT MAX(id) FROM posts), true);
SELECT pg_catalog.setval('ranks_id_seq', (SELECT MAX(id) FROM ranks), true);
SELECT pg_catalog.setval('reports_id_seq', (SELECT MAX(id) FROM reports), true);
SELECT pg_catalog.setval('search_words_id_seq', (SELECT MAX(id) FROM search_words), true);
SELECT pg_catalog.setval('topics_id_seq', (SELECT MAX(id) FROM topics), true);
SELECT pg_catalog.setval('users_id_seq', (SELECT MAX(id) FROM users), true);
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Install necessary PunBB extensions.&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-6489848209226736201?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/70CKaziTtmtXwUSpf_GQNwamG5Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/70CKaziTtmtXwUSpf_GQNwamG5Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/70CKaziTtmtXwUSpf_GQNwamG5Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/70CKaziTtmtXwUSpf_GQNwamG5Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/qcsDSKPu-uU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/6489848209226736201/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/05/migrating-punbb-13-mysql-postgresql.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/6489848209226736201?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/6489848209226736201?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/qcsDSKPu-uU/migrating-punbb-13-mysql-postgresql.html" title="Migrating PunBB 1.3 from MySQL to PostgreSQL on CentOS 5" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/05/migrating-punbb-13-mysql-postgresql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcEQHcyeip7ImA9WxFSGUw.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-2069492960045764928</id><published>2010-04-22T08:25:00.002+03:00</published><updated>2010-04-22T08:26:41.992+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-22T08:26:41.992+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>Red Hat Enterprise Linux 6 Beta Now Available</title><content type="html">&lt;p&gt;Red Hat is pleased to announce the Beta availability of the next generation&lt;br /&gt;
of the Red Hat Enterprise Linux product family.  Red Hat Enterprise Linux 6&lt;br /&gt;
brings together ground-breaking improvements across many subsystems and a&lt;br /&gt;
significant update to the kernel to deliver the overall Red Hat open source&lt;br /&gt;
experience.  Red Hat Enterprise Linux 6 Beta is available today for&lt;br /&gt;
download by customers, partners and members of the public.  We value wide&lt;br /&gt;
participation and invite you to install, test and provide feedback on the&lt;br /&gt;
Beta to help us ensure that the final release delivers a best-in-class&lt;br /&gt;
solution.&lt;/p&gt;&lt;p&gt;Our currently supported release, Red Hat Enterprise Linux 5, continues to&lt;br /&gt;
be the cornerstone of Red Hat's subscription-based software product&lt;br /&gt;
portfolio.  It will continue to be supported by Red Hat and its ISV and OEM&lt;br /&gt;
partners until 2014.&lt;/p&gt;&lt;p&gt;Featuring fully updated core technology, from the kernel to the application&lt;br /&gt;
infrastructure to the development toolchain, Red Hat Enterprise Linux 6&lt;br /&gt;
Beta includes many features and enhancements.&lt;/p&gt;&lt;p&gt;Please note that this early access software should not be deployed in&lt;br /&gt;
production environments.  The Beta packages and installation images are&lt;br /&gt;
intended for testing purposes only.  Red Hat Enterprise Linux 6 Beta is&lt;br /&gt;
still in active development, and the contents of the media kit and the&lt;br /&gt;
implemented features are subject to change.  The Beta is not formally&lt;br /&gt;
supported and it will not be possible to upgrade from the Beta to the&lt;br /&gt;
final production version.  Due to the incorporation of debugging features,&lt;br /&gt;
performance tests based on the Beta will not provide results that are&lt;br /&gt;
representative of the final product.&lt;/p&gt;&lt;p&gt;To learn more about this release or to download the installation kits,&lt;br /&gt;
please visit the &lt;a href="http://www.redhat.com/rhel/beta"&gt;Red Hat Enterprise Linux 6 Beta portal&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-2069492960045764928?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/QHccSU-Lf4pI3K3XIyeGBgqyElU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QHccSU-Lf4pI3K3XIyeGBgqyElU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/QHccSU-Lf4pI3K3XIyeGBgqyElU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QHccSU-Lf4pI3K3XIyeGBgqyElU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/9uiAm-bNZdw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/2069492960045764928/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/04/rhel-6-beta-available.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/2069492960045764928?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/2069492960045764928?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/9uiAm-bNZdw/rhel-6-beta-available.html" title="Red Hat Enterprise Linux 6 Beta Now Available" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/04/rhel-6-beta-available.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcARHczcCp7ImA9WxFQGU8.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-8461601024792817766</id><published>2010-04-20T21:13:00.014+03:00</published><updated>2010-05-15T14:47:25.988+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-15T14:47:25.988+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Web" /><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="Security" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>Increase Apache Vhost Security With mpm-itk</title><content type="html">&lt;h2&gt;Introduction&lt;/h2&gt;&lt;p&gt;mpm-itk is an MPM (Multi-Processing Module) for the Apache web server.&lt;/p&gt;&lt;p&gt;mpm-itk allows you to run each of your vhost under a separate uid and gid — in short, the scripts and configuration files for one vhost no longer have to be readable for all the other vhosts.&lt;/p&gt;&lt;p&gt;There are already MPMs available that do this. For example suexec (works only with CGI scripts) and mod_suphp (works only with PHP scripts).&lt;/p&gt;&lt;p&gt;mpm-itk is based on the traditional prefork MPM, which means it's non-threaded; in short, this means you can run non-thread-aware code (like many PHP extensions) without problems. On the other hand, you lose out to any performance benefit you'd get with threads, of course; you'd have to decide for yourself if that's worth it or not. You will also take an additional performance hit over prefork, since there's an extra fork per request.&lt;/p&gt;&lt;h2&gt;Installation&lt;/h2&gt;&lt;p&gt;Download httpd-*src.rpm from &lt;a href="ftp://ftp.redhat.com/redhat/linux/enterprise/5Server/en/os/SRPMS/"&gt;Red Hat FTP server&lt;/a&gt;, apply patches, rebuild and install RPM package:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://repo.lystor.org.ua/el/5/diff/httpd/httpd-2.2.3-43.el5/httpd.spec"&gt;httpd.spec&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://repo.lystor.org.ua/el/5/diff/httpd/httpd-2.2.3-43.el5/httpd.spec.diff"&gt;httpd.spec.diff&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://repo.lystor.org.ua/el/5/diff/httpd/httpd-2.2.3-43.el5/apache2.2-mpm-itk-20090414-00.patch"&gt;apache2.2-mpm-itk-20090414-00.patch&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://repo.lystor.org.ua/el/5/diff/httpd/httpd-2.2.3-43.el5/httpd-2.2.3-itk_ap_get_server_description.patch"&gt;httpd-2.2.3-itk_ap_get_server_description.patch&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;Or install httpd from &lt;a href="http://www.lystor.org.ua/projects/personal/rhel-repository/"&gt;lystor's RHEL Repository&lt;/a&gt;.&lt;/p&gt;&lt;h2&gt;Configuration&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;Change /etc/sysconfig/httpd:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;HTTPD=/usr/sbin/httpd.itk
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Virtual hosts configuration:&lt;br /&gt;
mpm-itk is very easy to configure. For each of your virtual hosts, simply add the AssignUserId entry.&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;&amp;lt;virtualhost *:80&amp;gt;
ServerName www.example.com
...
AssignUserId user1 group1
&amp;lt;/VirtualHost&amp;gt;
&lt;/pre&gt;&lt;/div&gt;AssignUserId takes two parameters, uid and gid (or really, user name and group name).&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Set highly secured permissions for vhost:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# chown -R user1:group1 www.example.com
# find www.example.com -type d -exec chmod 750 {} \;
# find www.example.com -type f -exec chmod 640 {} \;
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Add to apache configuration file /etc/httpd/conf.d/php.conf next line:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;LoadModule php5_module modules/libphp5.so
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Restart Apache.&lt;/li&gt;
&lt;/ol&gt;&lt;h2&gt;Testing&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;PHP testing script:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;&amp;lt;?php system(&amp;quot;id&amp;quot;); ?&amp;gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Script output without mpm-itk:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;uid=48(apache) gid=48(apache) groups=48(apache)
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Script output with mpm-itk:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;uid=507(user1) gid=1500(group1) groups=1500(group1)
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-8461601024792817766?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0qlkxdjXiO5fWxwUxBmjkmmBj2I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0qlkxdjXiO5fWxwUxBmjkmmBj2I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0qlkxdjXiO5fWxwUxBmjkmmBj2I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0qlkxdjXiO5fWxwUxBmjkmmBj2I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/_4I3yfEtHpI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/8461601024792817766/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/04/increase-apache-vhost-security-mpm-itk.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/8461601024792817766?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/8461601024792817766?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/_4I3yfEtHpI/increase-apache-vhost-security-mpm-itk.html" title="Increase Apache Vhost Security With mpm-itk" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/04/increase-apache-vhost-security-mpm-itk.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQDQ30-cSp7ImA9WxFSF0U.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-7513757413384431350</id><published>2010-04-20T20:40:00.003+03:00</published><updated>2010-04-20T21:32:52.359+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-20T21:32:52.359+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Security" /><title>UA-IX Накрыл ARP-шторм</title><content type="html">&lt;p&gt;&lt;b&gt;В 12:22 19.04.2010 в связи с неверно выполненной коммутацией в сегменте UA-IX образовалось кольцо, которое привело к ARP-шторму на сети, затронувшему всех участников и оборудование UA-IX. Это привело к отключению интернет-доступа около миллиона пользователей.&lt;br /&gt;
&lt;/b&gt;&lt;/p&gt;&lt;p&gt;После этого была произведена аварийная перезагрузка коммутаторов ua-ix-650-1@DG и ua-ix-650-3@TSUA. В 13:10 проблема была полностью устранена, а сервис восстановлен в полном объеме.&lt;/p&gt;&lt;p&gt;“Администрация UA-IX приносит свои извинения всем участникам и принимает все меры для предотвращения подобных ситуаций в будущем”, - говорится в сообщении.&lt;/p&gt;&lt;p&gt;В это же время нельзя было дозвониться и в колл-центры крупнейших провайдеров. “Колл-центр накрыло “волной” - 40 минут не было интернета по Украине, и все звонили к нам, - говорит Алина Сигда, PR-менеджер компании “Воля”. - Даже неабоненты. Ситуация аналогична прошлогодней, когда была авария на Киевской телевышке (КРТПЦ). Никто не мог дозвониться ни на телевышку, ни в Киевэнерго - все звонили к нам. Когда идет “волна” звонков, бывает что не справляется переадресация Укртелекома”.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-7513757413384431350?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zf3GxNarytMPXbjaf6nlSvUn76s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zf3GxNarytMPXbjaf6nlSvUn76s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zf3GxNarytMPXbjaf6nlSvUn76s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zf3GxNarytMPXbjaf6nlSvUn76s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/8OGmGmsXwFU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/7513757413384431350/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/04/ua-ix-arp-storm.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/7513757413384431350?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/7513757413384431350?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/8OGmGmsXwFU/ua-ix-arp-storm.html" title="UA-IX Накрыл ARP-шторм" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/04/ua-ix-arp-storm.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUMRXo6eSp7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-9014469770968325310</id><published>2010-04-07T15:11:00.001+03:00</published><updated>2010-04-07T15:11:24.411+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:11:24.411+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Google" /><title>Google Container Data Center Tour</title><content type="html">First presented at the &lt;a href="http://www.google.com/corporate/green/datacenters/summit.html"&gt;Google Efficient Data Centers Summit&lt;/a&gt;, hosted at Google headquarters in Mountain View, CA on April 1, 2009.&lt;br /&gt;
&lt;br /&gt;
&lt;object width="640" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/zRwPSFpLX8I&amp;hl=en_US&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/zRwPSFpLX8I&amp;hl=en_US&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-9014469770968325310?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2U_9UVCXYeWGkNuyjoq1ZFt-vuo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2U_9UVCXYeWGkNuyjoq1ZFt-vuo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2U_9UVCXYeWGkNuyjoq1ZFt-vuo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2U_9UVCXYeWGkNuyjoq1ZFt-vuo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/TwqhQcKB_K0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/9014469770968325310/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/04/google-container-data-center-tour.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/9014469770968325310?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/9014469770968325310?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/TwqhQcKB_K0/google-container-data-center-tour.html" title="Google Container Data Center Tour" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/04/google-container-data-center-tour.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQFQXs9fSp7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-2128190328318879468</id><published>2010-04-07T12:43:00.007+03:00</published><updated>2010-04-07T15:11:50.565+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:11:50.565+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Hardware" /><title>3Com Switch 4210 Software Upgrading via TFTP</title><content type="html">Download the update package (s3o03_01_12s56.exe) from 3Com website and unpack it.&lt;br /&gt;
Upload s4q04_08.btm, s4o03_01_12s56.app and s4p01_011.web to TFTP server.&lt;br /&gt;
&lt;br /&gt;
Update a bootrom:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;&amp;lt;switch&amp;gt;tftp 192.168.0.1 get s4q04_08.btm
&amp;lt;switch&amp;gt;boot bootrom s4q04_08.btm  
 This will update Bootrom on unit 1.  Continue? [Y/N] y
 Upgrading Bootrom, please wait...
 Upgrade Bootrom succeeded! 
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Update a boot loader:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;&amp;lt;switch&amp;gt;dir
&amp;lt;switch&amp;gt;delete /unreserved s4o03_01_05s56.app
&amp;lt;switch&amp;gt;tftp 192.168.0.1 get s4o03_01_12s56.app

&amp;lt;switch&amp;gt;boot boot-loader s4o03_01_12s56.app  
 The specified file will be booted next time on unit 1!
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Update a web resource package:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;&amp;lt;switch&amp;gt;delete /unreserved s4p01_04.web
&amp;lt;switch&amp;gt;tftp 192.168.0.1 get s4p01_011.web     
&amp;lt;switch&amp;gt;boot web-package s4p01_011.web main 
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Verify a configuration:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;&amp;lt;switch&amp;gt;dir
Directory of unit1&gt;flash:/
   1 (*)   -rw-   3699245  Apr 07 2010 12:03:04   s4o03_01_12s56.app
   2 (*)   -rw-    598886  Apr 07 2010 12:12:17   s4p01_011.web
   3       -rw-      2136  Jan 01 2004 00:00:00   3comoscfg.def
   4 (*)   -rw-      4655  Apr 07 2010 11:18:41   3comoscfg.cfg
   5       -rw-    242416  Apr 07 2010 11:51:50   s4q04_08.btm
(*) -with main attribute   (b) -with backup attribute

&amp;lt;reboot&amp;gt;

&amp;lt;switch&amp;gt;display version
3Com Corporation
3Com Switch 4210 18-Port Software Version 3Com OS V3.01.12s56
Copyright (c) 2004-2009 3Com Corporation and its licensors, All rights reserved.
3Com Switch 4210 18-Port uptime is 0 week, 0 day, 0 hour, 1 minute

3Com Switch 4210 18-Port with 1 Processor 
64M     bytes SDRAM
8M      bytes Flash Memory
Config Register points to FLASH

Hardware Version is REV.D
Bootrom Version is 4.08
[Subslot 0] 16FE+2Combo SFP  Hardware Version is REV.D
&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-2128190328318879468?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aUJB6TX1EE9Yh71s8s3NxkgDJbs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aUJB6TX1EE9Yh71s8s3NxkgDJbs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aUJB6TX1EE9Yh71s8s3NxkgDJbs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aUJB6TX1EE9Yh71s8s3NxkgDJbs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/8ebkA_6Gl8I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/2128190328318879468/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/04/3com-switch-4210-software-upgrading.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/2128190328318879468?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/2128190328318879468?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/8ebkA_6Gl8I/3com-switch-4210-software-upgrading.html" title="3Com Switch 4210 Software Upgrading via TFTP" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/04/3com-switch-4210-software-upgrading.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIERng7fSp7ImA9WxFTFk4.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-6883255535433812023</id><published>2010-04-01T14:55:00.004+03:00</published><updated>2010-04-07T12:45:07.605+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T12:45:07.605+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Hardware" /><category scheme="http://www.blogger.com/atom/ns#" term="Cisco" /><title>Linking Cisco Catalyst 3750G with 3Com Switch 4210 by Ensign Technology SFP Transceivers</title><content type="html">Information from SFP modules:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Ensign Technology SFP Transceiver 1.25Gbps SC,3.3V,SM,20km,TX=1310nm&lt;/li&gt;
&lt;li&gt;Ensign Technology SFP G-SFP-150-1SM-20SC SC,3.3V,SM,20km,TX=1550nm&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
Cisco Catalyst 3750G configuration:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;#show inventory 
NAME: "GigabitEthernet2/0/26", DESCR: "unsupported"
PID:                     , VID: V48, SN: E61V194001251  

#show running-config
...
service unsupported-transceiver

interface GigabitEthernet2/0/26
 speed nonegotiate
 ...
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
3Com Switch 4210 18-Port configuration:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;#display current-configuration interface gi 1/0/20
interface GigabitEthernet1/0/20
 duplex full
 speed 1000
 ...
&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-6883255535433812023?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/urhY4FIs_ISHymGLG97haGslQq0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/urhY4FIs_ISHymGLG97haGslQq0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/urhY4FIs_ISHymGLG97haGslQq0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/urhY4FIs_ISHymGLG97haGslQq0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/SIZF7a5sNUg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/6883255535433812023/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/04/catalyst-3750-3com-4210-ensign.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/6883255535433812023?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/6883255535433812023?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/SIZF7a5sNUg/catalyst-3750-3com-4210-ensign.html" title="Linking Cisco Catalyst 3750G with 3Com Switch 4210 by Ensign Technology SFP Transceivers" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/04/catalyst-3750-3com-4210-ensign.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQGQ3g5eyp7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-3508732774411512299</id><published>2010-03-24T14:04:00.007+02:00</published><updated>2010-04-07T15:12:02.623+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:12:02.623+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="IGMP" /><category scheme="http://www.blogger.com/atom/ns#" term="Fedora" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>Watching UDP Multicast Stream on Linux</title><content type="html">&lt;ol&gt;&lt;li&gt;&lt;a href="http://blog.lystor.org.ua/2010/03/using-igmpv2-by-default-in-linux.html"&gt;Configure a network interface to use a proper version of IGMP.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Add a routing entry to the routing table:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# ip route add 224.0.0.0/4 dev eth0
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
You can add a routing entry by initsctipts:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;$ cat /etc/sysconfig/network-scripts/route-eth0
224.0.0.0/4 dev eth0

# ifup eth0

# ip route show | grep 224
224.0.0.0/4 dev eth0  scope link
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Configure iptables:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# iptables -A INPUT -i eth0 -d 224.0.0.0/4 -j ACCEPT
# iptables -A OUTPUT -o eth0 -d 224.0.0.0/4 -j ACCEPT
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Watch an UDP multicast stream:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;$ mplayer udp://239.255.128.1:1234
$ vlc udp://@239.255.128.1:1234
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-3508732774411512299?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Y_QNAJBxj3PJYU_niXr0p1ynkfU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y_QNAJBxj3PJYU_niXr0p1ynkfU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Y_QNAJBxj3PJYU_niXr0p1ynkfU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y_QNAJBxj3PJYU_niXr0p1ynkfU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/M03wSgmqNhs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/3508732774411512299/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/03/watching-udp-multicast-stream-on-linux.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/3508732774411512299?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/3508732774411512299?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/M03wSgmqNhs/watching-udp-multicast-stream-on-linux.html" title="Watching UDP Multicast Stream on Linux" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/03/watching-udp-multicast-stream-on-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQDQH49eSp7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-3495516934886283314</id><published>2010-03-24T11:11:00.009+02:00</published><updated>2010-04-07T15:12:51.061+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:12:51.061+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="IGMP" /><category scheme="http://www.blogger.com/atom/ns#" term="Cisco" /><title>Useful Commands for Debugging IGMP Snooping</title><content type="html">Cisco Catalyst 3750G is used in examples.&lt;br /&gt;
&lt;br /&gt;
Display a snooping configuration information for all VLANs on a switch:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;#show ip igmp snooping
Global IGMP Snooping configuration:
-----------------------------------
IGMP snooping              : Enabled
IGMPv3 snooping (minimal)  : Enabled
Report suppression         : Enabled
TCN solicit query          : Disabled
TCN flood query count      : 2
Last Member Query Interval : 1000

Vlan 704:
--------
IGMP snooping                       : Enabled
IGMPv2 immediate leave              : Disabled
Explicit host tracking              : Enabled
Multicast router learning mode      : pim-dvmrp
Last Member Query Interval          : 1000
CGMP interoperability mode          : IGMP_ONLY
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Display information about an IP address and a port for received IGMP query messages:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;#show ip igmp snooping querier
Vlan      IP Address        IGMP Version   Port                
----------------------------------------------------------------
704       194.44.18.50      v2             Gi1/0/27
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Display information on dynamically learned and manually configured multicast router interfaces:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;#show ip igmp snooping mrouter
Vlan    ports
----    -----
 704    Gi1/0/27(dynamic)
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Display a multicast table information:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;#show ip igmp snooping groups
Vlan      Group             Type        Version     Port List
----------------------------------------------------------------
704       239.255.128.1     igmp        v2          Gi1/0/18, Gi1/0/27
704       239.255.128.2     igmp        v2          Gi1/0/18, Gi1/0/27
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Enabling an IGMP snooping debug mode:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;#debug ip igmp snooping group 
group debugging is on

#terminal monitor 
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Report for group:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;Mar 24 09:21:11: IGMPSN: group: Received V2 report for group 239.255.128.1 received on Vlan 704, port Gi1/0/18
Mar 24 09:21:11: IGMPSN: group: Adding client ip 192.168.4.10, port_id Gi1/0/18, on vlan 704
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Leave for group:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;Mar 24 09:21:53: IGMPSN: group: Leave for group 239.255.128.1 received on Vlan 704, port Gi1/0/18
Mar 24 09:21:53: IGMPSN: group: Sending Group-Specific Query for group 239.255.128.1 on Vlan 704, port Gi1/0/18
Mar 24 09:21:54: IGMPSN: group: Deleting group 239.255.128.1
Mar 24 09:21:54: IGMPSN: group: Deleting gce 0100.5e7f.8001
Mar 24 09:21:54: IGMPSN: group: Sending Leave for group 239.255.128.1, source 192.168.4.10 on Vlan 704
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Host membership query:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;Mar 24 09:22:10: IGMPSN: IGMPv2 General Query received on Vlan 704, port Gi1/0/27
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
Useful literature:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;a href="https://www.cisco.com/en/US/products/hw/switches/ps708/products_tech_note09186a008059a9df.shtml"&gt;Multicast Does Not Work in the Same VLAN in Catalyst Switches&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-3495516934886283314?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1ANNsl2iXX399MYhxrVDyeA9l8s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1ANNsl2iXX399MYhxrVDyeA9l8s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1ANNsl2iXX399MYhxrVDyeA9l8s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1ANNsl2iXX399MYhxrVDyeA9l8s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/WMioBuK3LRs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/3495516934886283314/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/03/useful-commands-for-debugging-igmp.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/3495516934886283314?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/3495516934886283314?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/WMioBuK3LRs/useful-commands-for-debugging-igmp.html" title="Useful Commands for Debugging IGMP Snooping" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/03/useful-commands-for-debugging-igmp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQAQ3Y5eCp7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-4378810296657718503</id><published>2010-03-24T10:22:00.008+02:00</published><updated>2010-04-07T15:12:22.820+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:12:22.820+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="IGMP" /><category scheme="http://www.blogger.com/atom/ns#" term="Fedora" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>Using IGMPv2 by default in Linux</title><content type="html">Modern Linux distributions use IGMPv3 by default. If your network environment supports only IGMPv2 you must change this behaviour. Otherwise your host will not be able to communicate with others which forward multicast traffic.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# tcpdump -i eth0 igmp
10:30:03.070950 IP 192.168.4.10 &gt; IGMP.MCAST.NET: igmp v3 report, 1 group record(s)
10:30:04.072938 IP 192.168.4.10 &gt; IGMP.MCAST.NET: igmp v3 report, 1 group record(s)
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
To configure an eth0 interface to use IGMPv2 execute the next command:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# echo "2" &gt; /proc/sys/net/ipv4/conf/eth0/force_igmp_version
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
To configure all interfaces:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# echo "2" &gt; /proc/sys/net/ipv4/conf/all/force_igmp_version
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
The sysctl settings:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;net.ipv4.conf.eth0.force_igmp_version = 2
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
After the configuration:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# tcpdump -i eth0 igmp
10:30:25.729945 IP 192.168.4.10 &gt; 239.255.128.1: igmp v2 report 239.255.128.1
10:30:31.958912 IP 192.168.4.10 &gt; 239.255.128.1: igmp v2 report 239.255.128.1
&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-4378810296657718503?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ybc6reVz83O_Msitj0WoOh1wsLo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ybc6reVz83O_Msitj0WoOh1wsLo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ybc6reVz83O_Msitj0WoOh1wsLo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ybc6reVz83O_Msitj0WoOh1wsLo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/MfgfGQmnJ6o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/4378810296657718503/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/03/using-igmpv2-by-default-in-linux.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/4378810296657718503?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/4378810296657718503?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/MfgfGQmnJ6o/using-igmpv2-by-default-in-linux.html" title="Using IGMPv2 by default in Linux" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/03/using-igmpv2-by-default-in-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQMQ3o7eip7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-2375874993574979870</id><published>2010-03-06T14:09:00.002+02:00</published><updated>2010-04-07T15:13:02.402+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:13:02.402+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Web" /><title>UA-IX Looking Glass</title><content type="html">&lt;a href="http://ix.net.ua"&gt;UA-IX&lt;/a&gt; looking glass is accessible on &lt;a href="http://lg.ix.net.ua"&gt;http://lg.ix.net.ua&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://lg.ua-ix.net.ua/"&gt;http://lg.ua-ix.net.ua/&lt;/a&gt; from &lt;a href="http://www.lookinglass.org/"&gt;http://www.lookinglass.org/&lt;/a&gt; is invalid.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-2375874993574979870?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UY4O6PR7Ls-hNQ0tY1bvIqCEeg0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UY4O6PR7Ls-hNQ0tY1bvIqCEeg0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UY4O6PR7Ls-hNQ0tY1bvIqCEeg0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UY4O6PR7Ls-hNQ0tY1bvIqCEeg0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/QHdb-35iRl4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/2375874993574979870/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/03/ua-ix-looking-glass.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/2375874993574979870?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/2375874993574979870?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/QHdb-35iRl4/ua-ix-looking-glass.html" title="UA-IX Looking Glass" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/03/ua-ix-looking-glass.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMFQHw8eCp7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-6068736285416183622</id><published>2010-01-22T09:43:00.007+02:00</published><updated>2010-04-07T15:13:31.270+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:13:31.270+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Other" /><category scheme="http://www.blogger.com/atom/ns#" term="Netbeans" /><title>Enable Anti-aliasing in Netbeans 6</title><content type="html">&lt;ol&gt;&lt;li&gt;Add next values to the netbeans_default_options parameter in netbeans.conf:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;-J-Dswing.aatext=true&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;-J-Dawt.useSystemAAFontSettings=on&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;Example:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;netbeans_default_options="-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=on -J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Restart Netbeans&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-6068736285416183622?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cyefIbWvs_1g3GCjydUPF5UYLJE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cyefIbWvs_1g3GCjydUPF5UYLJE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cyefIbWvs_1g3GCjydUPF5UYLJE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cyefIbWvs_1g3GCjydUPF5UYLJE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/dW-3RfXTyaM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/6068736285416183622/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/01/enable-anti-aliasing-netbeans-6.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/6068736285416183622?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/6068736285416183622?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/dW-3RfXTyaM/enable-anti-aliasing-netbeans-6.html" title="Enable Anti-aliasing in Netbeans 6" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/01/enable-anti-aliasing-netbeans-6.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMGQXo6eip7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-8110350433382978254</id><published>2010-01-16T14:45:00.014+02:00</published><updated>2010-04-07T15:13:40.412+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:13:40.412+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Wine" /><category scheme="http://www.blogger.com/atom/ns#" term="Fedora" /><title>Fedora 12 x86_64 and nVidia Drivers + Wine + DirectX 9 Installation</title><content type="html">&lt;ol&gt;&lt;li&gt;Update the system:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum update
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://rpmfusion.org/Configuration"&gt;Enable RPMFusion Free and Nonfree Repositories&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Install nVidia drivers and x86_64 libraries:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum install xorg-x11-drv-nvidia.x86_64
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Disable the nouveau driver:&lt;br /&gt;
Add the following to the end of the line starting with 'kernel' in the file /etc/grub.conf:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;rdblacklist=nouveau
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Fix issues with SELinux:&lt;br /&gt;
Disable SELinux or execute:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# setsebool -P allow_execstack on
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Reboot the system with the latest kernel&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Install nVidia i686 libraries for Wine:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum install xorg-x11-drv-nvidia-libs.i686
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Install Wine i686 because Windows i386 programs doesn't work in Wine x86_64:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum install wine.i686
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Install winetricks - quick and dirty script to download and install various redistributable runtime libraries sometimes needed to run programs in Wine:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum install cabextract
$ wget http://www.kegel.com/wine/winetricks
$ chmod 755 winetricks
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Install DirectX 9:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;$ ./winetricks d3dx9 dinput8 directplay
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Execute a favorite game:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;$ wine cool_game.exe
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-8110350433382978254?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/86dlV7XUrWIqLoJSMhNGW_CehLo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/86dlV7XUrWIqLoJSMhNGW_CehLo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/86dlV7XUrWIqLoJSMhNGW_CehLo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/86dlV7XUrWIqLoJSMhNGW_CehLo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/TyL7yJ-Ab5w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/8110350433382978254/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2010/01/fedora-12-x8664-nvidia-wine-directx-9.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/8110350433382978254?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/8110350433382978254?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/TyL7yJ-Ab5w/fedora-12-x8664-nvidia-wine-directx-9.html" title="Fedora 12 x86_64 and nVidia Drivers + Wine + DirectX 9 Installation" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2010/01/fedora-12-x8664-nvidia-wine-directx-9.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMGRH86fyp7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-3210761590322177131</id><published>2009-11-25T15:35:00.006+02:00</published><updated>2010-04-07T15:13:45.117+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:13:45.117+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>Getting RHEL 30-day Unsupported Evaluation</title><content type="html">&lt;ol&gt;&lt;li&gt;Register on &lt;a href="http://www.redhat.com/rhel"&gt;Red Hat&lt;/a&gt; site&lt;br /&gt;
&lt;a href="http://www.redhat.com/wapps/ugc/register.html"&gt;Create a Red Hat login&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Get Red Hat Enterprise Linux 30-day unsupported evaluation&lt;br /&gt;
&lt;a href="http://www.redhat.com/apps/webform.html?event_type=simple_form&amp;amp;eid=871"&gt;Red Hat Enterprise Linux Evaluation Program&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Download distribution&lt;br /&gt;
Login to &lt;a href="http://rhn.redhat.com/"&gt;Red Hat Network&lt;/a&gt; and &lt;a href="https://rhn.redhat.com/rhn/software/downloads/SupportedISOs.do"&gt;download&lt;/a&gt; a required version of &lt;a href="http://www.redhat.com/rhel"&gt;Red Hat Enterprise Linux&lt;/a&gt;.&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-3210761590322177131?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CWFKlsStIdTMuhInTe288_hbbLA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CWFKlsStIdTMuhInTe288_hbbLA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CWFKlsStIdTMuhInTe288_hbbLA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CWFKlsStIdTMuhInTe288_hbbLA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/wgrVHW9Aikk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/3210761590322177131/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2009/11/getting-rhel-30-day-evaluation.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/3210761590322177131?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/3210761590322177131?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/wgrVHW9Aikk/getting-rhel-30-day-evaluation.html" title="Getting RHEL 30-day Unsupported Evaluation" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2009/11/getting-rhel-30-day-evaluation.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMHQX87eyp7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-1897544096685255462</id><published>2009-11-25T15:18:00.006+02:00</published><updated>2010-04-07T15:13:50.103+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:13:50.103+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>TV tuner LifeView FlyVideo 3000 Configuration on CentOS 5.4</title><content type="html">&lt;ol&gt;&lt;li&gt;Hardware information&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# /sbin/lspci
...
05:01.0 Multimedia controller: Philips Semiconductors SAA7134/SAA7135HL Video Broadcast Decoder (rev 01)
...
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Kernel's module installation&lt;br /&gt;
Information about downloading a saa7134 module will be posted later.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Kernel's module configuration&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Add to /etc/modprobe.conf:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;options saa7134 card=2
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Reboot computer&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;Kernel module output&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# less /var/log/dmesg
...
saa7134[0]: found at 0000:05:01.0, rev: 1, irq: 177, latency: 64, mmio: 0xfebffc00
saa7134[0]: subsystem: 1131:0000, board: LifeView FlyVIDEO3000 [card=2,insmod option]
saa7134[0]: board init: gpio is 31000
saa7134[0]: there are different flyvideo cards with different tuners
saa7134[0]: out there, you might have to use the tuner=&lt;nr&gt; insmod
saa7134[0]: option to override the default value.
input: saa7134 IR (LifeView FlyVIDEO30 as /class/input/input3
...
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;LIRC configuration&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;/etc/lircd.conf example:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;begin remote
  name  FlyVideo3000
  bits           16
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   16
  pre_data       0x8001
  gap          208081
  toggle_bit_mask 0x80010074

      begin codes
          air_catv                 0x0175
          video                    0x0189
          audio                    0x0188
          av_source                0x0182
          fullscreen               0x0174
          stereo                   0x0170
          1                        0x0002
          2                        0x0003
          3                        0x0004
          4                        0x0005
          5                        0x0006
          6                        0x0007
          7                        0x0008
          8                        0x0009
          9                        0x000A
          0                        0x000B
          recall                   0x0081
          enter                    0x001C
          power                    0x0074
          mute                     0x0071
          volume_up                0x0073
          volume_down              0x0072
          channel_up               0x0192
          channel_down             0x0193
      end codes
end remote
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;LIRC driver name:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;dev/input
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-1897544096685255462?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0LRpWQejiCb6Hsq-M0cq_29pn2I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0LRpWQejiCb6Hsq-M0cq_29pn2I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0LRpWQejiCb6Hsq-M0cq_29pn2I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0LRpWQejiCb6Hsq-M0cq_29pn2I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/SGdqAnukKUU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/1897544096685255462/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2009/11/lifeview-flyvideo-3000-centos-54.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/1897544096685255462?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/1897544096685255462?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/SGdqAnukKUU/lifeview-flyvideo-3000-centos-54.html" title="TV tuner LifeView FlyVideo 3000 Configuration on CentOS 5.4" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2009/11/lifeview-flyvideo-3000-centos-54.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMHRXY_eSp7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-7470324557356730217</id><published>2009-11-25T14:35:00.012+02:00</published><updated>2010-04-07T15:13:54.841+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:13:54.841+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="Virtualization" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>VMWare Server 1.0 Installation CentOS 5.4</title><content type="html">&lt;ol&gt;&lt;li&gt;Download VMWare Server:&lt;br /&gt;
&lt;a href="http://downloads.vmware.com/d/info/datacenter_downloads/vmware_server/1_0"&gt;Download page&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Install required packages:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# yum install xinetd, gcc, gcc-c++, make, kernel-devel
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Install VMWare Server package:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# rpm -Uvh VMware-server-*.rpm
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Register product:&lt;br /&gt;
Complete a free &lt;a href="http://register.vmware.com/content/registration.html"&gt;VMware Server Registration&lt;/a&gt; and get serial numbers.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Reconfigure VMWare Server:&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# vmware-config.pl
&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-7470324557356730217?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4cV2rnE0O5NxVM_Mh560SRYOV9M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4cV2rnE0O5NxVM_Mh560SRYOV9M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4cV2rnE0O5NxVM_Mh560SRYOV9M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4cV2rnE0O5NxVM_Mh560SRYOV9M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/CllEuDQLPmk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/7470324557356730217/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2009/11/vmware-server-10-installation-centos-54.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/7470324557356730217?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/7470324557356730217?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/CllEuDQLPmk/vmware-server-10-installation-centos-54.html" title="VMWare Server 1.0 Installation CentOS 5.4" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2009/11/vmware-server-10-installation-centos-54.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMHSHk9eSp7ImA9WxFTFkk.&quot;"><id>tag:blogger.com,1999:blog-4266140001245612772.post-4831649692296145315</id><published>2009-11-25T14:01:00.006+02:00</published><updated>2010-04-07T15:13:59.761+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:13:59.761+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CentOS" /><category scheme="http://www.blogger.com/atom/ns#" term="Virtualization" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><title>OpenVZ Configuration Example</title><content type="html">&lt;ol&gt;&lt;li&gt;HN&lt;/li&gt;
&lt;ol&gt;&lt;li&gt;/etc/sysctl.conf&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;# Controls IP packet forwarding
net.ipv4.ip_forward = 1

# On Hardware Node we generally need proxy arp disabled
net.ipv4.conf.default.proxy_arp = 0

# Enables source route verification
net.ipv4.conf.all.rp_filter = 1

# Enables the magic-sysrq key
kernel.sysrq = 1

# We do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
...&amp;nbsp;&lt;/pre&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;/etc/sysconfig/vz-scripts/1888.conf&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;ONBOOT="yes"

# Primary parameters
NUMPROC="8000:8000"
AVNUMPROC="2257:2257"
NUMTCPSOCK="8000:8000"
NUMOTHERSOCK="8000:8000"
VMGUARPAGES="360000:360000"

# Secondary parameters
KMEMSIZE="184953241:203448565"
TCPSNDBUF="28883080:61651080"
TCPRCVBUF="28883080:61651080"
OTHERSOCKBUF="14441540:47209540"
DGRAMRCVBUF="14441540:14441540"
OOMGUARPAGES="360000:360000"
PRIVVMPAGES="360000:360000"

# Auxiliary parameters
LOCKEDPAGES="9030:9030"
SHMPAGES="15506:15506"
PHYSPAGES="0:2147483647"
NUMFILE="72224:72224"
NUMFLOCK="1000:1100"
NUMPTY="512:512"
NUMSIGINFO="1024:1024"
DCACHESIZE="40389343:41601024"
NUMIPTENT="200:200"
DISKSPACE="107733379:118506717"
DISKINODES="55287781:60816560"
CPUUNITS="150550"


# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE=""
DISKINODES=""
QUOTATIME=""
DISK_QUOTA=no
OSTEMPLATE="rhel-5-lystor"
IP_ADDRESS="194.44.18.88"
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;/etc/vz/vz.conf&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;## Global parameters
VIRTUOZZO=yes
LOCKDIR=/vz/lock
DUMPDIR=/vz/dump
VE0CPUUNITS=90000

## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0
VERBOSE=0

## Disk quota parameters
DISK_QUOTA=no
VZFASTBOOT=no

# Disable module loading. If set, vz initscript do not load any modules.
#MODULES_DISABLED=yes

# The name of the device whose IP address will be used as source IP for CT.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

# Controls which interfaces to send ARP requests and modify APR tables on.
NEIGHBOUR_DEVS=detect

## Template parameters
TEMPLATE=/vz/template

## Defaults for containers
VE_ROOT=/vz/root/$VEID
VE_PRIVATE=/vz/private/$VEID
CONFIGFILE="vps.basic"
DEF_OSTEMPLATE="fedora-core-4"

## Load vzwdog module
VZWDOG="no"

## IPv4 iptables kernel modules
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_LOG ip_conntrack ip_conntrack_ftp ip_tables"
## Enable IPv6
IPV6="no"

## IPv6 ip6tables kernel modules
IP6TABLES=""
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;/etc/vz/dists/rhel-5-lystor.conf&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;ADD_IP=redhat-add_ip-lystor.sh
DEL_IP=
SET_HOSTNAME=
SET_DNS=
SET_USERPASS=
SET_UGID_QUOTA=set_ugid_quota.sh
POST_CREATE=
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;/etc/vz/dists/scripts/redhat-add_ip-lystor.sh&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;#!/bin/bash
exit 0
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;li&gt;VE&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;/etc/inittab&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;#1:2345:respawn:/sbin/mingetty tty1
#2:2345:respawn:/sbin/mingetty tty2
#3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;/etc/rc.d/rc.sysinit&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;#/sbin/start_udev
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;/etc/sysconfig/network-scripts/ifcfg-venet0&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;&lt;pre&gt;DEVICE=venet0
ONBOOT=yes
BOOTPROTO=none
IPADDR=194.44.18.88
NETMASK=255.255.255.255
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4266140001245612772-4831649692296145315?l=blog.lystor.org.ua' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/L8AZo8EjMnBfyWQBqcfrYhv1Ocs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L8AZo8EjMnBfyWQBqcfrYhv1Ocs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/L8AZo8EjMnBfyWQBqcfrYhv1Ocs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L8AZo8EjMnBfyWQBqcfrYhv1Ocs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/org/rLNz/~4/2xyEajoWNxQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.lystor.org.ua/feeds/4831649692296145315/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.lystor.org.ua/2009/11/openvz-configuration-example.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/4831649692296145315?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4266140001245612772/posts/default/4831649692296145315?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/org/rLNz/~3/2xyEajoWNxQ/openvz-configuration-example.html" title="OpenVZ Configuration Example" /><author><name>lystor</name><uri>http://www.blogger.com/profile/09496248769761137400</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://2.bp.blogspot.com/_hghcJR7ZXTw/SvMKKc9HtkI/AAAAAAAAAAM/OjeKkGPr4nc/S220/lystor_logo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.lystor.org.ua/2009/11/openvz-configuration-example.html</feedburner:origLink></entry></feed>

