<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gudasoft &#187; Linux</title>
	<atom:link href="http://www.gudasoft.com/category/english/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gudasoft.com</link>
	<description>Impossible is nothing</description>
	<lastBuildDate>Thu, 06 Oct 2011 07:17:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>uptimed and uprecords</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/09/15/1384/uptimed-and-uprecords/2011</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/09/15/1384/uptimed-and-uprecords/2011#comments</comments>
		<pubDate>Thu, 15 Sep 2011 10:22:01 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=1384</guid>
		<description><![CDATA[Nice! As I am maniac of  uptime here is nice utility found at http://www.linuxjournal.com/content/tracking-server-uptimes uptimed. It is similar to the utility that most of us have heard of, uptime, except that it runs as a daemon and logs the system&#8217;s uptime instead of just reading info that is lost on a reboot. Uptimed provides a [...]]]></description>
			<content:encoded><![CDATA[<p>Nice! As I am maniac of  uptime here is nice utility found at <a href="http://www.linuxjournal.com/content/tracking-server-uptimes">http://www.linuxjournal.com/content/tracking-server-uptimes</a></p>
<p><a href="http://podgorny.cz/moin/Uptimed" target="_blank">uptimed</a>. It is similar to the utility that most of us have heard of, uptime, except that it runs as a daemon and logs the system&#8217;s uptime instead of just reading info that is lost on a reboot. Uptimed provides a secondary command called uprecords</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/09/15/1384/uptimed-and-uprecords/2011/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Autoicrement the serial in bind zone files</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/09/02/1334/autoicrement-the-serial-in-bind-zone-files/2010</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/09/02/1334/autoicrement-the-serial-in-bind-zone-files/2010#comments</comments>
		<pubDate>Thu, 02 Sep 2010 15:06:06 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[named]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=1334</guid>
		<description><![CDATA[Argh. 30+ zone files and I have to increment all numbers by hand&#8230;no way. Usage:  ./inc.rb in the current directory with all db files. #!/usr/bin/ruby Dir.glob("*.db") do &#124;file_name&#124; new_zone = [] File.open(file_name) do &#124;file&#124; while (line = file.gets) line.chomp! if line =~ /Serial/ line =~ /(\s*?)(\d+)(\s*?)(;.*)/ serial = $2.to_i serial += 1 puts "#{file_name} serial [...]]]></description>
			<content:encoded><![CDATA[<p>Argh. 30+ zone files and I have to increment all numbers by hand&#8230;no way.</p>
<p>Usage:  ./inc.rb in the current directory with all db files.</p>
<pre>#!/usr/bin/ruby

Dir.glob("*.db") do |file_name|
 new_zone = []<span id="more-1334"></span>
 File.open(file_name) do |file|
 while (line = file.gets)
 line.chomp!
 if line =~ /Serial/
 line =~ /(\s*?)(\d+)(\s*?)(;.*)/
 serial = $2.to_i
 serial += 1
 puts "#{file_name} serial line:  #{$1} #{$2} #{$3} #{$4} -&gt; #{$1}#{serial}#{$3}#{$4}"
 line = "#{$1}#{serial}#{$3}#{$4}"
 end
 new_zone &lt;&lt; line
 end
 end

 File.open(file_name, "w") do |new_file|
 new_file.write(new_zone.join("\n"));
 end
end</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/09/02/1334/autoicrement-the-serial-in-bind-zone-files/2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to access a server via sftp with ssh tunnel</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010#comments</comments>
		<pubDate>Tue, 29 Jun 2010 08:18:38 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=1260</guid>
		<description><![CDATA[Here is what we want to do We have the following case: Developer workstation windows with putty Spider.bg &#8211; a host which has access to the www.psspy.se server www.psspy.se &#8211; firewalled host &#8211; we want to put files here via sftp What we want to do is to use spider.bg host as a proxy and [...]]]></description>
			<content:encoded><![CDATA[<p>Here is what we want to do</p>
<p>We have the following case:</p>
<p>Developer workstation windows with putty</p>
<p>Spider.bg &#8211; a host which has access to the www.psspy.se server</p>
<p>www.psspy.se &#8211; firewalled host &#8211; we want to put files here via sftp</p>
<p>What we want to do is to use spider.bg host as a proxy and connect to the psspy.se machine.</p>
<p>Tools that are used -</p>
<ul>
<li>download putty from <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">here</a></li>
<li>winscp &#8211; <a href="http://winscp.net/eng/download.php" target="_blank">http://winscp.net/eng/download.php</a></li>
</ul>
<p>Here are the screenshots with the steps &#8230;.</p>
<p><span id="more-1260"></span>
<a href='http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010/attachment/step-0' title='step-0'><img width="150" height="150" src="http://www.gudasoft.com/wp-content/uploads/2010/06/step-0-150x150.jpg" class="attachment-thumbnail" alt="step-0" title="step-0" /></a>
<a href='http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010/attachment/step-1' title='step-1'><img width="150" height="150" src="http://www.gudasoft.com/wp-content/uploads/2010/06/step-1-150x150.jpg" class="attachment-thumbnail" alt="step-1" title="step-1" /></a>
<a href='http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010/attachment/step-2' title='step-2'><img width="150" height="150" src="http://www.gudasoft.com/wp-content/uploads/2010/06/step-2-150x150.jpg" class="attachment-thumbnail" alt="step-2" title="step-2" /></a>
<a href='http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010/attachment/step-3' title='step-3'><img width="150" height="150" src="http://www.gudasoft.com/wp-content/uploads/2010/06/step-3-150x150.jpg" class="attachment-thumbnail" alt="step-3" title="step-3" /></a>
<a href='http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010/attachment/step-4' title='step-4'><img width="150" height="150" src="http://www.gudasoft.com/wp-content/uploads/2010/06/step-4-150x150.jpg" class="attachment-thumbnail" alt="step-4" title="step-4" /></a>
<a href='http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010/attachment/step-5' title='step-5'><img width="150" height="150" src="http://www.gudasoft.com/wp-content/uploads/2010/06/step-5-150x150.jpg" class="attachment-thumbnail" alt="step-5" title="step-5" /></a>
<a href='http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010/attachment/step-6' title='step-6'><img width="150" height="150" src="http://www.gudasoft.com/wp-content/uploads/2010/06/step-6-150x150.jpg" class="attachment-thumbnail" alt="step-6" title="step-6" /></a>
<a href='http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010/attachment/step-7' title='step-7'><img width="150" height="150" src="http://www.gudasoft.com/wp-content/uploads/2010/06/step-7-150x150.jpg" class="attachment-thumbnail" alt="step-7" title="step-7" /></a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/06/29/1260/how-to-access-a-server-via-sftp-with-ssh-tunnel/2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hardening linux</title>
		<link>http://www.gudasoft.com/english/linux/11/27/1176/hardening-linux/2009</link>
		<comments>http://www.gudasoft.com/english/linux/11/27/1176/hardening-linux/2009#comments</comments>
		<pubDate>Fri, 27 Nov 2009 06:53:25 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=1176</guid>
		<description><![CDATA[Check those links if you want to be ontop of the securuty CIS Benchmarks &#8211; contains requirements from the Center for Internet Security (CIS) benchmarks. DCID &#8211; contains requirements from the Director of Central Intelligence Directives (DCID). DISA UNIX STIG &#8211; contains modules that address DISA UNIX Security Technical Implementation Guides (STIGs) security recommendations. FERC [...]]]></description>
			<content:encoded><![CDATA[<p>Check those links if you want to be ontop of the securuty</p>
<ul>
<li><a href="http://www.cisecurity.org/">CIS Benchmarks</a> &#8211; contains requirements from the Center for Internet Security (CIS) benchmarks.</li>
<li>DCID &#8211; contains requirements from the Director of Central Intelligence Directives (DCID).</li>
<li>DISA UNIX STIG &#8211; contains modules that address DISA UNIX Security Technical Implementation Guides (STIGs) security recommendations.</li>
<li>FERC CIP &#8211; contains modules that address the Critical Infrastructure Protection (CIP) standards for electricity distributors.</li>
<li>JAFAN &#8211; the Joint Air Force-Army-Navy (JAFAN) manual established the security policy and procedures for storing, processing, and communicating classified Department of Defence (DoD) Special Access Program (SAP) information in information systems.</li>
<li>NISPOM &#8211; contains modules that address the National Industrial Security Program Operating Manual (NISPOM).</li>
<li>PCI DSS &#8211; Payment Card Industry Security Standards Council includes members from Visa, MasterCard, American Express, Discover, and JCB International Credit Card Company. This council administers the Data Security Standard (DSS).</li>
<li>Web Services Protection &#8211; contains modules that address standard security functionality to provide protection.</li>
</ul>
<p><a href="http://www.ibm.com/developerworks/linux/library/l-seclnx3/">IBM tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/11/27/1176/hardening-linux/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emulate3buttons</title>
		<link>http://www.gudasoft.com/english/linux/11/18/1157/emulate3buttons/2009</link>
		<comments>http://www.gudasoft.com/english/linux/11/18/1157/emulate3buttons/2009#comments</comments>
		<pubDate>Wed, 18 Nov 2009 18:56:02 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=1157</guid>
		<description><![CDATA[Faithful to the rule that I must blog everything that took me more than 15min searching in google I am here again. This time the post is related to my notebook which mousepad doesnt support double tap (poor lenovo :) ) Emulate3buttons &#8211; this is the magic key. Wonder how to use it? Just click [...]]]></description>
			<content:encoded><![CDATA[<p>Faithful to the rule that I must blog everything that took me more than 15min searching in google I am here again.</p>
<p>This time the post is related to my notebook which mousepad doesnt support double tap (poor lenovo :) )</p>
<p>Emulate3buttons &#8211; this is the magic key. Wonder how to use it? Just click left+right at the same time.</p>
<p>Also be aware: in the new distros this setting is not changed from xorg.conf  check this article</p>
<p>http://www.seebs.net/log/articles/459/disabling-emulate3buttons-on-ubuntuleft+left+right clicks right clicks</p>
<p>The rest is a copy/paste from the post above</p>
<p>The problem is that you can’t just override this in xorg.conf anymore. You need to use xinput. xinput’s powerful, clever, flexible… and totally over the heads of a lot of users. Here’s a script to run from .xinitrc or the equivalent which disables Emulate3Buttons on any input devices which have it. (It’s now called “Middle Button Emulation”, mind.)</p>
<pre><code>#!/bin/sh
xinput list | sed -ne 's/^[^ ][^V].*id=\([0-9]*\).*/\1/p' | while read id
do
        case `xinput list-props $id` in
        *"Middle Button Emulation"*)
                xinput set-int-prop $id "Middle Button Emulation" 8 0
                ;;
        esac
done
</code></pre>
<p>How this works:  We first obtain a list of ID numbers, disregarding those where the second character on the line was V, because <code>xinput list-props</code> doesn’t work on the <code>"Virtual[...]</code> lines for the generic keyboard and mouse. For each such device, we check to see whether it has the feature; if so, we disable it. (The number 8 indicates that we’re setting an 8-bit value; it doesn’t really matter. The disabled state is 0.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/11/18/1157/emulate3buttons/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fonts for coders</title>
		<link>http://www.gudasoft.com/english/linux/10/28/1123/fonts-for-coders/2009</link>
		<comments>http://www.gudasoft.com/english/linux/10/28/1123/fonts-for-coders/2009#comments</comments>
		<pubDate>Tue, 27 Oct 2009 22:19:41 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Cliparts/Images/etc]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=1123</guid>
		<description><![CDATA[guda@guda-laptop:~$ sudo mkdir /usr/share/fonts/myfonts guda@guda-laptop:~$ cd myfonts/ guda@guda-laptop:~/myfonts$ sudo cp *.ttf /usr/share/fonts/myfonts/ guda@guda-laptop:~/myfonts$ sudo fc-cache -f guda@guda-laptop:~/myfonts$ Fonts: AnonymousPro and AnonymousTT from here Font sources: Fonts 101 Abstract Fonts 1001 Free Fonts Font Reactor TypeNow Font Village EKNP Free Fonts &#160; Make X11 fonts available to Java Perform one of the following: Open /etc/profile and [...]]]></description>
			<content:encoded><![CDATA[<p>guda@guda-laptop:~$ sudo mkdir /usr/share/fonts/myfonts<br />
guda@guda-laptop:~$ cd myfonts/<br />
guda@guda-laptop:~/myfonts$ sudo cp *.ttf /usr/share/fonts/myfonts/<br />
guda@guda-laptop:~/myfonts$ sudo fc-cache -f<br />
guda@guda-laptop:~/myfonts$</p>
<ul>
<li>Fonts:</li>
<li><a href="http://www.gudasoft.com/wp-content/uploads/2009/10/AnonymousPro.zip">AnonymousPro</a> and <a href="http://www.gudasoft.com/wp-content/uploads/2009/10/AnonymousTT.zip">AnonymousTT</a> from <a href="http://www.gudasoft.com/wp-content/uploads/2009/10/AnonymousPro.zip">here</a></li>
</ul>
<p>Font sources:</p>
<ul>
<li><a href="http://www.fonts101.com/" target="_blank">Fonts 101</a></li>
<li><a href="http://www.abstractfonts.com/" target="_blank">Abstract Fonts</a></li>
<li><a href="http://www.1001freefonts.com/" target="_blank">1001 Free Fonts</a></li>
<li><a href="http://www.fontreactor.com/" target="_blank">Font Reactor</a></li>
<li><a href="http://www.typenow.net/" target="_blank">TypeNow</a></li>
<li><a href="http://www.fontvillage.com/" target="_blank">Font Village</a></li>
<li><a href="http://eknp.com/" target="_blank">EKNP Free Fonts</a></li>
</ul>
<p>&nbsp;</p>
<h3>Make X11 fonts available to Java</h3>
<p>Perform one of the following:</p>
<ol>
<li>Open <tt>/etc/profile</tt> and add a new environment variable<tt>JAVA_FONTS=/usr/share/fonts/truetype</tt><br />
<tt>export JAVA_FONTS<br />
</tt></li>
<li>Open <tt>font.properties</tt> file under <tt>jre/lib</tt> directory,    uncommnent and set to the appropriate font directory<tt>appendedfontpath=/usr/share/fonts/truetype</tt></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/10/28/1123/fonts-for-coders/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mod Rewrite, mod_rewrite</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/10/23/1111/mod-rewrite-mod_rewrite/2009</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/10/23/1111/mod-rewrite-mod_rewrite/2009#comments</comments>
		<pubDate>Fri, 23 Oct 2009 09:56:50 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=1111</guid>
		<description><![CDATA[Found great summary of mod rewrite here http://stackoverflow.com/questions/286004/hidden-features-of-modrewrite &#160; I aways forget the params for mod_rewrite so here is the summary [R] force a redirect (default 301) [R=302] force a 302 redirect [L] stop rewriting process (see note below in common pitfalls) [NC] case insensitive matches]]></description>
			<content:encoded><![CDATA[<h1>Found great summary of mod rewrite here</h1>
<p><a href="http://stackoverflow.com/questions/286004/hidden-features-of-modrewrite">http://stackoverflow.com/questions/286004/hidden-features-of-modrewrite</a></p>
<p>&nbsp;</p>
<p>I aways forget the params for mod_rewrite so here is the summary</p>
<ul>
<li>[R] force a redirect (default 301)</li>
<li>[R=302] force a 302 redirect</li>
<li>[L] stop rewriting process (see note below in common pitfalls)</li>
<li>[NC] case insensitive matches</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/10/23/1111/mod-rewrite-mod_rewrite/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu (9.0.4) on Dell Optiflex 320</title>
		<link>http://www.gudasoft.com/uncategorized/07/01/1001/ubuntu-9-0-4-on-dell-optiflex-320/2009</link>
		<comments>http://www.gudasoft.com/uncategorized/07/01/1001/ubuntu-9-0-4-on-dell-optiflex-320/2009#comments</comments>
		<pubDate>Wed, 01 Jul 2009 08:29:15 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=1001</guid>
		<description><![CDATA[To install ubuntu on Dell system you need to change the default boot loader to grub2 or something else #change the root password to something that you know sudo passwd #become root su mkdir /media/ubuntu mount /dev/sda1 /media/ubuntu # check that you have mounted the right partition. ls /media/ubuntu mount -t proc none /media/ubuntu/proc mount [...]]]></description>
			<content:encoded><![CDATA[<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 162px; text-align: left;" dir="ltr">To install ubuntu on Dell system you need to change the default boot loader to grub2 or something <a href="http://ubuntuforums.org/showthread.php?t=409345">else</a>
#change the root password to something that you know
sudo passwd
#become root
su

mkdir /media/ubuntu
mount /dev/sda1 /media/ubuntu

# check that you have mounted the right partition.
ls /media/ubuntu

mount -t proc none /media/ubuntu/proc
mount -o bind /dev/ /media/ubuntu/dev
cp /etc/resolv.conf /mediaubuntu/etc

chroot /media/ubuntu /bin/bash
/etc/init.d/networking restart
aptitude update
aptitude install grub2

upgrade-....&lt;tab&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/uncategorized/07/01/1001/ubuntu-9-0-4-on-dell-optiflex-320/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Ubuntu workstation configuration</title>
		<link>http://www.gudasoft.com/english/linux/06/24/989/my-ubutno-workstation-configuration/2009</link>
		<comments>http://www.gudasoft.com/english/linux/06/24/989/my-ubutno-workstation-configuration/2009#comments</comments>
		<pubDate>Wed, 24 Jun 2009 18:42:39 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[admini]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=989</guid>
		<description><![CDATA[XOrg configuration https://wiki.ubuntu.com/X/Config/Resolution cvt 1680 1050 75 xrandr &#8211;newmode &#8230;the output from cvt xrandr &#8211;newmode &#8220;1680x1050_75.00&#8243; 187.00 1680 1800 1976 2272 1050 1053 1059 1099 -hsync +vsync xrandr &#8211;addmode DVI-0 1680x1050_75.00 Lenovo Y510 You have to install the latest alsa. Then replace the existing kernel modules with the just build one. Then run depmod -a [...]]]></description>
			<content:encoded><![CDATA[<h1>XOrg configuration</h1>
<ul>
<li>https://wiki.ubuntu.com/X/Config/Resolution</li>
<li>cvt 1680 1050 75</li>
<li> xrandr &#8211;newmode &#8230;the output from cvt<br />
xrandr &#8211;newmode  &#8220;1680x1050_75.00&#8243;  187.00  1680 1800 1976 2272  1050 1053 1059 1099 -hsync +vsync</li>
<li> xrandr &#8211;addmode  DVI-0 1680x1050_75.00</li>
</ul>
<h1>Lenovo Y510</h1>
<p>You have to install the latest alsa.</p>
<p>Then replace the existing kernel modules with the just build one. Then run depmod -a as point kilbasar here</p>
<p>http://ubuntuforums.org/showthread.php?t=687663&amp;page=2</p>
<pre dir="ltr">sudo su
cd /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/
mv snd-hda-intel.ko snd-hda-intel.ko.bak
ln -s /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko
cd /usr/src/alsa/alsa-driver-1.0.16rc2/modules
cp * /lib/modules/2.6.22-14-generic/kernel/sound/
depmod -a</pre>
<h1>Logitech Revolution MX</h1>
<p>http://x4.6times7.org/dokuwiki/doku.php/devlog/blog/howto_logitech_mx_revolution_on_ubuntu</p>
<ul>
<li>The mouse wheel control
<ul>
<li>Download from here http://goron.de/~froese/revoco/ or <a href="http://www.gudasoft.com/wp-content/uploads/2009/06/revoco-0.5.tar.gz">revoco-0.5.tar</a></li>
</ul>
<ul>
<li>make</li>
<li>sudo ./revoco manual=6</li>
<li><tt>lets try to add it in ~/.xprofile next time<br />
</tt></li>
</ul>
</li>
</ul>
<ul>
<li>Here is my xorg.conf</li>
</ul>
<pre>Section "Monitor"
 Identifier "External DVI"
 # 1680x1050 74.89 Hz (CVT 1.76MA) hsync: 82.31 kHz; pclk: 187.00 MHz
 Modeline "1680x1050_75.00"  187.00  1680 1800 1976 2272  1050 1053 1059 1099 -hsync +vsync
 # 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
 Modeline "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
 # 1680x1050 69.88 Hz (CVT) hsync: 76.58 kHz; pclk: 174.00 MHz
 Modeline "1680x1050_70.00"  174.00  1680 1800 1976 2272  1050 1053 1059 1096 -hsync +vsync
 Option "PreferedMode"    "1280x1024_75.00"
EndSection

Section "Screen"
 Identifier    "Configured Screen Device"
 Device    "Configured Video Device"
 SubSection "Display"
 Depth    24
 Modes "1680x1050" "1024x768" "640x480"
 Virtual    2960 1050
 EndSubSection
EndSection

Section "Device"
 Identifier    "Configured Video Device"
 Option    "Monitor-DVI-0" "External DVI"
EndSection</pre>
<h1>My Development setup commands</h1>
<p>I noticed simillar post <a href="http://yobine.tistory.com/?page=3">here</a></p>
<pre>sudo aptitude install mc vim subversion screen pidgin meld curl links2 vim-ruby vim-gnome vim-doc vim-scripts vim-ruby vim-perl \
subversion git-core bluefish kompozer\
libmysqlclient15off libmysqlclient15-dev mysql-common mysql-client \
libmysql-ruby1.8 irb ruby1.8 rdoc ri rake \
apt-utils build-essential ruby1.8-dev mysql-server memcached libxslt1-dev libpcre3-dev zlib1g-dev unzip gzip mytop openssl \
libopenssl-ruby libmagick9-dev imagemagick librmagick-ruby1.8 imagemagick librmagick-ruby-doc  libmagick9-dev ruby1.8-dev \
libdbd-sqlite3-ruby libsqlite3-ruby sqlite3 libsqlite3-dev

ln -s /usr/bin/ruby1.8 /usr/bin/ruby

mkdir ruby_install
cd ruby_install
wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
tar xzvf ruby*
cd rubygems-1.3.5
ruby setup.rb
cd ..
cd ..

ln -s /usr/bin/gem1.8 /usr/bin/gem

gem install rails mysql mongrel mongrel_cluster rails paperclip will_paginate andand \
json feed-normalizer hpricot mechanize ruby-debug uuid ruport ruport-util acts_as_reportable \
rufus-scheduler annotate openwferu-scheduler production_log_analyzer capistrano-ext libxml-ruby twitter capistrano wirble RedCloth
rspec-rails sqlite3-ruby \
--no-ri --no-rdoc

gem install rmagick -v 1.15.12
ruby -rrubygems -e "require 'RMagick'; puts Magick::Long_version;"

cat &gt; /home/guda/.irbrc
require 'rubygems'
require 'wirble'
Wirble.init
Wirble.colorize
require 'logger'
if ENV.include?('RAILS_ENV') &amp;&amp; !Object.const_defined?('RAILS_DEFAULT_LOGGER')
Object.const_set('RAILS_DEFAULT_LOGGER', Logger.new(STDOUT))
end

Gmail notification

http://www.workswithu.com/2009/10/06/gmail-notifier-applets-for-ubuntu/</pre>
<pre></pre>
<pre>What about <a href="http://ubuntu-tweak.com/">http://ubuntu-tweak.com/</a></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/06/24/989/my-ubutno-workstation-configuration/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tools for calibrating LCD monitors</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/05/14/893/tools-for-calibrating-monitors/2009</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/05/14/893/tools-for-calibrating-monitors/2009#comments</comments>
		<pubDate>Thu, 14 May 2009 10:48:26 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=893</guid>
		<description><![CDATA[http://www.lagom.nl/lcd-test/black.php]]></description>
			<content:encoded><![CDATA[<p>http://www.lagom.nl/lcd-test/black.php</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/05/14/893/tools-for-calibrating-monitors/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synergy &#8211; one keyboard for two PC-s</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/04/29/866/synergy-one-keyboard-for-two-pc-s/2009</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/04/29/866/synergy-one-keyboard-for-two-pc-s/2009#comments</comments>
		<pubDate>Wed, 29 Apr 2009 09:22:39 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=866</guid>
		<description><![CDATA[&#8220;Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It&#8217;s intended for users with multiple computers on their desk since each system uses its own monitor(s).&#8221; root@guda-desktop:/etc# cat synergy.conf section: screens desktop: guda-laptop: end section: aliases guda-laptop: 192.168.1.101 end [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;<a href="http://synergy2.sourceforge.net/">Synergy</a> lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware.  It&#8217;s intended for users with multiple computers on their desk since each system uses its own monitor(s).&#8221;</p>
<p>root@guda-desktop:/etc# cat synergy.conf</p>
<p>section: screens<br />
desktop:<br />
guda-laptop:<br />
end</p>
<p>section: aliases<br />
guda-laptop:<br />
192.168.1.101<br />
end</p>
<p>section: links<br />
desktop:<br />
right = desktop<br />
guda-laptop:<br />
left = guda-laptop<br />
end</p>
<p># synergys &#8211;config /etc/synergy.conf<br />
# synergyc IP</p>
<p>On windows I am defining:</p>
<p>&#8220;Share this computer&#8230;&#8221; -&gt; configure</p>
<p>Screens: desktop, guda-laptop</p>
<p>links: guda-laptop is left on desktop and the oposite</p>
<p>Updates: Check the http://code.google.com/p/synergy-plus/ clone</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/04/29/866/synergy-one-keyboard-for-two-pc-s/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSI notebook are total scrab</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/04/10/524/msi-notebook-are-total-scrab/2009</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/04/10/524/msi-notebook-are-total-scrab/2009#comments</comments>
		<pubDate>Fri, 10 Apr 2009 19:34:21 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=524</guid>
		<description><![CDATA[For MSI Notebooks Don&#8217;t buy MSI. Look for HP, IBM or some real brand. The lid of the laptop is breaking &#8211; I have  MSI 3 laptops and all of them are broken. One of my friends has the luck to return his laptop and now he is with a nice HP machine &#8211; lucky [...]]]></description>
			<content:encoded><![CDATA[<h1>For MSI Notebooks</h1>
<p>Don&#8217;t buy MSI. Look for HP, IBM or some real brand.</p>
<ol>
<li>The lid of the laptop is breaking &#8211; I have  MSI 3 laptops and all of them are broken. One of my friends has the luck to return his laptop and now he is with a nice HP machine &#8211; lucky man. It was 6 months for repairing.</li>
<li>The wireless is loosing connection all the time. My wife is with IBM and she is chating chating chating, and I am reconnecting, reconnecting reconecting&#8230;.<br />
Update:The MSI lan adaptor has gone away. The only way to use Internet is via the integrated broken wireless. I hate MSI.</li>
<li>The heat is like an oven &#8211; my son don&#8217;t want to play NFS because of the heat. Me too.</li>
<li>The LCD screen gets on some dark and light spots very soon</li>
<li>The material for the laptop is not good &#8211; not nice to touch. The silver color is quickly gone and ugly black places are shown</li>
<li>If you enable the 32 bit access mode Linux kernel wont work (tested till ubunto 8.10
<ol>
<li>After such try you must remove the battery start the power without any AC and return the power &#8211; is this magic ?</li>
</ol>
</li>
<li>The fan of the notebook is making awfull noise. The fan costs 40EUR and there no garantee that the new fan will be the same like the old one.
<ol>
<li>The fan never stops</li>
</ol>
</li>
<li>Their support is not answering on ANY of the problems pointed here. maybe all from MSI are dead. Who knows.</li>
<li>The microphone is very quiet and the this makes it impossible to talk with skype, btw why they have put the camara then?</li>
<li>The mouse which they give as a bonus doesnt work &#8211; both 2 are broken, missing some clicks from time to time.</li>
<li>Try searching for &#8220;MSI fan&#8221; in google. I got <a href="http://www.google.bg/url?sa=t&amp;source=web&amp;ct=res&amp;cd=6&amp;url=http%3A%2F%2Fcommunity.livejournal.com%2Fmsi_sucks%2F&amp;ei=BRqZSfKXJYfm0AWL8KG5Ag&amp;usg=AFQjCNHSMJJA44c5zQ-CuAoyCSUclcMnKg&amp;sig2=k0aLKd1CwSuhesvI6ISnFQ">this result</a>. Internet is full of &#8220;happy&#8221; MSI owners.</li>
</ol>
<p>CHEAP RUBBISH !</p>
<p>I want my money back! for all 2 laptops that I have bought.</p>
<p>I will publish some pictures soon.</p>
<p>blah</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/04/10/524/msi-notebook-are-total-scrab/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logs monitoring</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/04/09/668/logs-monitoring/2009</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/04/09/668/logs-monitoring/2009#comments</comments>
		<pubDate>Thu, 09 Apr 2009 13:51:02 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=668</guid>
		<description><![CDATA[I have been asked from one my friends who hosts many websites on single machine to help him to find which vhost is doing some slow requests. the load of the machine from 0.5 has become 1.5. and there are some apache processess eating the CPU. It is obvious that some php file is slowing [...]]]></description>
			<content:encoded><![CDATA[<p>I have been asked from one my friends who hosts many websites on single machine to help him to find which vhost is doing some slow requests.</p>
<p>the load of the machine from 0.5 has become 1.5. and there are some apache processess eating the CPU.</p>
<p>It is obvious that some php file is slowing down all the machine but who?</p>
<p>I found this wonderfull tool in Internet</p>
<p>http://code.google.com/p/wtop/wiki/Installing</p>
<p>http://code.google.com/p/wtop/wiki/LogrepCookbook</p>
<p>With this script I can monitor all the pages and not sitting in the dark while some evil pages are drying the CPU power.</p>
<pre class="prettyprint"><a id="Keep_a_watch_out_for_slow_requests_as_they_happen:"><span class="pln">logrep </span><span class="pun">-</span><span class="pln">m tail </span><span class="pun">-</span><span class="pln">f </span><span class="str">'msec&gt;1000'</span><span class="pln"> </span><span class="pun">-</span><span class="pln">o </span><span class="str">'ts,ip,msec,class,url' *.log</span></a></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/04/09/668/logs-monitoring/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One server, two bind/named process, one domain (with two nameservers)</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/02/24/546/one-server-two-bindnamed-process-one-domain-with-two-nameservers/2009</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/02/24/546/one-server-two-bindnamed-process-one-domain-with-two-nameservers/2009#comments</comments>
		<pubDate>Tue, 24 Feb 2009 19:07:48 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[dns]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=546</guid>
		<description><![CDATA[Yes you need two bind instances When you register a domain name you provide two nameservers. Those nameservers the registrarar will know their ip addresses. in my example the domain is cenite.com and the nameservers are ns1.cenite.com and ns2.cenite.com Both nameservers are running on signle debian machine. I have started two bind processes on the [...]]]></description>
			<content:encoded><![CDATA[<h1>Yes you need two bind instances</h1>
<p>When you register a domain name you provide two nameservers.</p>
<p>Those nameservers the registrarar will know their ip addresses.</p>
<p>in my example the domain is cenite.com and the nameservers are ns1.cenite.com and ns2.cenite.com</p>
<p>Both nameservers are running on signle debian machine. I have started two bind processes on the machine. one is binded to the ns1.cenite.com external interface and ns2.cenite.com is to the other (backup) internet interface.</p>
<p>Here is a tool to <a href="http://www.checkdns.net/quickcheck.aspx?domain=cenite.com&amp;detailed=1">check your domain </a>name</p>
<p>Here is example zone file</p>
<p><a href="http://www.gudasoft.com/wp-content/uploads/2009/02/cenitecom.db">cenite.com.db</a></p>
<p><a href="http://www.gudasoft.com/wp-content/uploads/2009/02/cenitecomns2.db">cenite.com.ns2.db</a></p>
<p>here are the configuration files.</p>
<p><a rel="attachment wp-att-553" href="http://www.gudasoft.com/linux/administration-linux/02/24/546/one-server-two-bindnamed-process-one-domain-with-two-nameservers/2009/attachment/named2"></a><a href="http://www.gudasoft.com/wp-content/uploads/2009/02/named2.conf">named2.conf</a></p>
<p><a href="http://www.gudasoft.com/wp-content/uploads/2009/02/named.conf"></a><a href="http://www.gudasoft.com/wp-content/uploads/2009/02/named.conf">named.conf</a></p>
<p>The good think is when the first internet connection is down, the second will still serve your clients.</p>
<h2>Bonus links</h2>
<p>Go and switch to tinydns &#8211; people say it is much easier to configure  http://cr.yp.to/djbdns/run-server-bind.html</p>
<p>dns <a href="http://pgl.yoyo.org/adservers/bind-zone-file-creator.php">zone generator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/02/24/546/one-server-two-bindnamed-process-one-domain-with-two-nameservers/2009/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux Remote desktop</title>
		<link>http://www.gudasoft.com/uncategorized/01/07/422/remote-desktop/2009</link>
		<comments>http://www.gudasoft.com/uncategorized/01/07/422/remote-desktop/2009#comments</comments>
		<pubDate>Wed, 07 Jan 2009 13:09:09 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=422</guid>
		<description><![CDATA[On the local machine $ xhost + $ xhost +some.host.com On the remote machine #!/bin/bash DISPLAY=195.114.113.240:0 export DISPLAY FreeNx - Ubuntu NXServer]]></description>
			<content:encoded><![CDATA[<p>On the local machine</p>
<p>$ xhost +</p>
<p>$ xhost +some.host.com</p>
<p><code class="option">On the remote machine<br />
</code></p>
<p>#!/bin/bash<br />
DISPLAY=195.114.113.240:0<br />
export DISPLAY</p>
<p><a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_Distro_integration">FreeNx </a>-<a href="https://launchpad.net/~freenx-team/+archive/"> Ubuntu</a></p>
<p><a href="http://www.nomachine.com/documentation/admin-guide.php">NXServer</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/uncategorized/01/07/422/remote-desktop/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a self-signed SSL Certificate &#8230;</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/01/03/382/how-to-create-a-self-signed-ssl-certificate/2009</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/01/03/382/how-to-create-a-self-signed-ssl-certificate/2009#comments</comments>
		<pubDate>Sat, 03 Jan 2009 15:48:47 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=382</guid>
		<description><![CDATA[Low cost certificates Certificates in this category should cost under US$50 annually and include availability from Trusted CAs ipsCA and FreeSSL.com. As these certificates do not carry a known brand, fraud control or human support, they are suitable for non- or light commerce environments, though they do provide bonus 128-bit encryption. According to FreeSSL.com, a [...]]]></description>
			<content:encoded><![CDATA[<h1>Low cost certificates</h1>
<p>Certificates in this category should cost under US$50 annually and include availability from Trusted CAs <a class="sublink" rel="external" href="http://certificates.ipsca.com/Products/SSLServer.asp">ipsCA</a> and <a class="sublink" rel="external" href="http://www.freessl.com/">FreeSSL.com</a>. As these certificates do not carry a known brand, fraud control or human support, they are suitable for non- or light commerce environments, though they do provide bonus 128-bit encryption. According to FreeSSL.com, a light commerce environment is one with no more than 50 transactions weekly, and an average transaction value of US$50.</p>
<h1><span lang="en-us">How to create a self-signed</span> SSL <span lang="en-us">Certificate &#8230;</span></h1>
<p class="big"><span lang="en-us">&#8230;  which can be used for testing             purposes or internal usage</span></p>
<hr noshade="noshade" />
<p class="big"><span lang="en-us">Overview</span></p>
<blockquote><p><span lang="en-us">The following is an extremely simplified view of how SSL is               implemented and what part the certificate plays in the entire process.</span></p>
<p><span lang="en-us">Normal web traffic is sent unencrypted over the Internet. That is,               anyone with access to the right tools can snoop all of that traffic. Obviously, this               can lead to problems, especially where security and privacy is necessary, such as in               credit card data and bank transactions. The Secure Socket Layer is used to encrypt               the data stream between the web server and the web client (the browser).</span></p>
<p><span lang="en-us">SSL makes use of what is known as <strong>asymmetric cryptography</strong>,               commonly referred to as <strong>public key cryptography (PKI)</strong>. With public key               cryptography, two keys are created, one public, one private. Anything encrypted with               either key can only be decrypted with its corresponding key. Thus if a message or               data stream were encrypted with the server&#8217;s private key, it can be decrypted only               using its corresponding public key, ensuring that the data only could have come from               the server.</span></p>
<p><span lang="en-us">If SSL utilizes public key cryptography to encrypt the data stream               traveling over the Internet, why is a certificate necessary? The technical answer to               that question is that a certificate is not really necessary</span> &#8211; <span lang="en-us">the data is secure and cannot easily be decrypted by a third party. However,               certificates do serve a crucial role in the communication process. The certificate,               signed by a trusted Certificate Authority (CA), ensures that the certificate holder               is really who he claims to be. Without a trusted signed certificate, your data may be               encrypted, however, the party you are communicating with may not be whom you think.               Without certificates, impersonation attacks would be much more common.</span></p></blockquote>
<p class="big">Step 1: <span lang="en-us">Gener</span>ate a <span lang="en-us">Private Key</span></p>
<blockquote>
<p class="normal"><span lang="en-us">The <strong>openssl</strong> toolkit is used to generate an <strong>RSA Private               Key</strong> and <strong>CSR (Certificate Signing Request)</strong>. It can also be used to generate               self-signed certificates which can be used for testing purposes or internal               usage.</span></p>
<p class="normal"><span lang="en-us">The first step is to create your RSA Private Key. This key is a               1024 bit RSA key which is encrypted using Triple-DES and stored in a PEM format so               that it is readable as ASCII text.</span></p>
<p class="courier"><strong>openssl genrsa -des3 -out server.key 1024</strong></p>
<p><strong></strong> <span style="color: #0000ff;">Generating RSA private key, 1024 bit long modulus<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;++++++<br />
&#8230;&#8230;..++++++<br />
e is 65537 (0&#215;10001)<br />
Enter PEM pass phrase:<br />
Verifying password &#8211; Enter PEM pass phrase:</span></p></blockquote>
<p class="big">Step 2: Generate a CSR (Certificate Signing Request)</p>
<blockquote>
<p class="normal">Once the private key is generated a Certificate Signing Request can be generated. The               CSR is then used in one of two ways. Ideally, the CSR will be sent to a Certificate               Authority, such as Thawte or Verisign who will verify the identity of the requestor               and issue a signed certificate. <strong>The second option is to self-sign the CSR, which               will be demonstrated in the next section</strong>.</p>
<p class="normal">During the generation of the CSR, you will be prompted for several pieces of               information. These are the X.509 attributes of the certificate. One of the prompts               will be for &#8220;Common Name (e.g., YOUR name)&#8221;. It is important that this field be               filled in with the fully qualified domain name of the server to be protected by SSL.               If the website to be protected will be https://public.akadia.com, then enter               public.akadia.com at this prompt. The command to generate the CSR is as follows:</p>
<p class="courier"><strong>openssl req -new -key server.key -out server.csr</strong></p>
<p><strong></strong> <span style="color: #0000ff;">Country Name (2 letter code) [GB]</span>:<strong>CH</strong><br />
<span style="color: #0000ff;">State or Province Name (full name)               [Berkshire]</span>:<strong>Bern</strong><br />
<span style="color: #0000ff;">Locality Name (eg, city)               [Newbury]</span>:<strong>Oberdiessbach</strong><br />
<span style="color: #0000ff;">Organization Name (eg, company) [My Company               Ltd]</span>:<strong>Akadia AG</strong><br />
<span style="color: #0000ff;">Organizational Unit Name (eg, section)               []</span>:<strong>Information Technology</strong><br />
<span style="color: #0000ff;">Common Name (eg, your name or your server&#8217;s hostname)               []</span>:<strong>public.akadia.com</strong><br />
<span style="color: #0000ff;">Email Address []</span>:<strong>martin dot zahn at akadia dot ch</strong><br />
<span style="color: #0000ff;">Please enter the following &#8216;extra&#8217; attributes<br />
to be sent with your certificate request<br />
A challenge password []:<br />
An optional company name []:</span></p></blockquote>
<p class="big">Step 3: Remove Passphrase from Key</p>
<blockquote>
<p class="normal">One unfortunate side-effect of the pass-phrased private key is <strong>that Apache will               ask for the pass-phrase each time the web server is started</strong>. Obviously this is               not necessarily convenient as someone will not always be around to type in the               pass-phrase, such as after a reboot or crash. mod_ssl includes the ability to use an               external program in place of the built-in pass-phrase dialog, however, this is not               necessarily the most secure option either. <strong>It is possible to remove the Triple-DES               encryption from the key</strong>, thereby no longer needing to type in a pass-phrase. If               the private key is no longer encrypted, it is critical that this file only be               readable by the root user! If your system is ever compromised and a third party               obtains your unencrypted private key, the corresponding certificate will need to be               revoked. With that being said, use the following command to remove the pass-phrase               from the key:</p>
<p class="courier"><strong>cp server.key server.key.org<br />
openssl rsa -in server.key.org -out server.key</strong></p>
<p>The newly created server.key file has no more passphrase in it.</p>
<p class="courier"><span style="color: #0000ff;">-rw-r&#8211;r&#8211; 1 root root 745 Jun 29 12:19 server.csr<br />
-rw-r&#8211;r&#8211; 1 root root 891 Jun 29 13:22 server.key<br />
-rw-r&#8211;r&#8211; 1 root root 963 Jun 29 13:22 server.key.org</span></p></blockquote>
<p class="big">Step 4: Generating a Self-Signed Certificate</p>
<blockquote><p>At this point you will need to generate a self-signed certificate because you either               don&#8217;t plan on having your certificate signed by a CA, or you wish to test your new               SSL implementation while the CA is signing your certificate. This temporary               certificate will generate an error in the client browser to the effect that the               signing certificate authority is unknown and not trusted.</p>
<p>To generate a temporary certificate which is good for 365 days, issue the following               command:</p>
<p class="courier"><strong>openssl x509 -req -days 365 -in server.csr -signkey server.key -out               server.crt</strong><br />
<span style="color: #0000ff;">Signature ok<br />
subject=/C=CH/ST=Bern/L=Oberdiessbach/O=Akadia AG/OU=Information<br />
Technology/CN=public.akadia.com/Email=martin dot zahn at akadia dot ch<br />
Getting Private key</span></p></blockquote>
<p class="big">Step 5: Installing the Private Key and Certificate</p>
<blockquote><p>When Apache with mod_ssl is installed, it creates several directories in the Apache               config directory. The location of this directory will differ depending on how Apache               was compiled.</p>
<p class="courier"><strong>cp server.crt /usr/local/apache/conf/ssl.crt<br />
cp server.key /usr/local/apache/conf/ssl.key</strong></p></blockquote>
<p class="big">Step 6: Configuring SSL Enabled Virtual Hosts</p>
<blockquote>
<p class="courier"><strong>SSLEngine on<br />
SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt<br />
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key<br />
SetEnvIf User-Agent &#8220;.*MSIE.*&#8221; nokeepalive ssl-unclean-shutdown<br />
CustomLog logs/ssl_request_log \<br />
&#8220;%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \&#8221;%r\&#8221; %b&#8221;</strong></p></blockquote>
<p class="big"><strong>Step 7: Restart Apache and Test</strong></p>
<blockquote>
<p class="courier"><strong>/etc/init.d/httpd stop<br />
/etc/init.d/httpd stop</strong></p>
<p class="courier"><strong>https://public.akadia.com</strong></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/01/03/382/how-to-create-a-self-signed-ssl-certificate/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NTP configuration</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/12/27/358/ntp-configuration-files/2008</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/12/27/358/ntp-configuration-files/2008#comments</comments>
		<pubDate>Sat, 27 Dec 2008 11:03:59 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=358</guid>
		<description><![CDATA[To initially setup the time if there is a big difference you can use the following command  /usr/sbin/ntpdate -s -b -p 8 -u yourISP.NTP.Server.IP Debian: Setting timezone: sudo dpkg-reconfigure tzdata /etc/ntp.conf server 0.bg.pool.ntp.org server 1.europe.pool.ntp.org server 2.europe.pool.ntp.org Great references http://www.akadia.com/services/ntp_synchronize.html hwclock &#8211;systohc]]></description>
			<content:encoded><![CDATA[<pre>To initially setup the time if there is a big difference you can use the following command</pre>
<pre><span lang="en-us"><strong> /usr/sbin/ntpdate -s -b -p 8 -u yourISP.NTP.Server.IP</strong></span>
<ul></ul>
</pre>
<pre>Debian:</pre>
<pre>Setting timezone:
sudo dpkg-reconfigure tzdata

/etc/ntp.conf
server 0.bg.pool.ntp.org
server 1.europe.pool.ntp.org
server 2.europe.pool.ntp.org</pre>
<pre>Great references <a href="http://www.akadia.com/services/ntp_synchronize.html">http://www.akadia.com/services/ntp_synchronize.html</a></pre>
<p>hwclock &#8211;systohc</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/12/27/358/ntp-configuration-files/2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>X Windows for MS Windows</title>
		<link>http://www.gudasoft.com/english/linux/10/16/163/x-windows-for-ms-windows/2008</link>
		<comments>http://www.gudasoft.com/english/linux/10/16/163/x-windows-for-ms-windows/2008#comments</comments>
		<pubDate>Thu, 16 Oct 2008 17:49:57 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=163</guid>
		<description><![CDATA[The one I use is Xming but it is rare. Most often I prefer the integrated in Gnome VNC. The reason I am posting this link is that sometimes I really need and want to connect to my desktop machine in this way but I cant find good software. So I decide that my blog [...]]]></description>
			<content:encoded><![CDATA[<p>The one I use is <a href="http://freedesktop.org/wiki/Xming">Xming</a> but it is rare. Most often I prefer the integrated in Gnome VNC.</p>
<p>The reason I am posting this link is that sometimes I really need and want to connect to my desktop machine in this way but I cant find good software. So I decide that my blog is the perfect place to note this.</p>
<p>xserver</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/10/16/163/x-windows-for-ms-windows/2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trac administration</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/10/14/158/trac-administration/2008</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/10/14/158/trac-administration/2008#comments</comments>
		<pubDate>Tue, 14 Oct 2008 12:50:45 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=158</guid>
		<description><![CDATA[Trac ==Start the administration== trac-admin /home/domains/spider/trac-dagensps ==Run the server with== tracd &#8211;auth=*,/home/domains/spider/.passwords,spider.bg &#8211;port 8000 /home/domains/spider/trac_envs/dagensps /home/domains/spider/trac_envs/trucks ==Add users== htdigest /home/domains/spider/.passwords spider.bg a.inkov@spider.bg ==Apache Integration== http://trac.edgewall.org/wiki/TracCgi#AddingAuthentication Here is what I use to start the trac in spider: router:/home/domains/spider# cat trac.start.sh #!/bin/bash tracd &#8211;port 8000 \ &#8211;auth=dagensps,/home/domains/spider/.passwords,spider.bg /home/domains/spider/trac_envs/dagensps \ &#8211;auth=trucks,/home/domains/spider/.passwords,spider.bg /home/domains/spider/trac_envs/trucks \ &#8211;auth=bbi,/home/domains/spider/.bbi_passwords,spider.bg /home/domains/spider/trac_envs/bbi/]]></description>
			<content:encoded><![CDATA[<p>Trac<br />
==Start the administration==<br />
trac-admin /home/domains/spider/trac-dagensps</p>
<p>==Run the server with==<br />
tracd  &#8211;auth=*,/home/domains/spider/.passwords,spider.bg &#8211;port 8000 /home/domains/spider/trac_envs/dagensps /home/domains/spider/trac_envs/trucks</p>
<p>==Add users==<br />
htdigest  /home/domains/spider/.passwords spider.bg a.inkov@spider.bg</p>
<p>==Apache Integration==</p>
<p>http://trac.edgewall.org/wiki/TracCgi#AddingAuthentication</p>
<p>Here is what I use to start the trac in spider:<br />
router:/home/domains/spider# cat trac.start.sh<br />
#!/bin/bash<br />
tracd &#8211;port 8000 \<br />
&#8211;auth=dagensps,/home/domains/spider/.passwords,spider.bg /home/domains/spider/trac_envs/dagensps \<br />
&#8211;auth=trucks,/home/domains/spider/.passwords,spider.bg /home/domains/spider/trac_envs/trucks \<br />
&#8211;auth=bbi,/home/domains/spider/.bbi_passwords,spider.bg /home/domains/spider/trac_envs/bbi/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/10/14/158/trac-administration/2008/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>linux screen cheatsheat</title>
		<link>http://www.gudasoft.com/english/linux/10/08/148/linux-screen-cheatsheat/2008</link>
		<comments>http://www.gudasoft.com/english/linux/10/08/148/linux-screen-cheatsheat/2008#comments</comments>
		<pubDate>Wed, 08 Oct 2008 16:22:07 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=148</guid>
		<description><![CDATA[Key Action Notes Ctrl+a c new window Ctrl+a n next window I bind F12 to this Ctrl+a p previous window I bind F11 to this Ctrl+a &#8220; select window from list I have window list in the status line Ctrl+a Ctrl+a previous window viewed Ctrl+a S split terminal horizontally into regions Ctrl+a c to create [...]]]></description>
			<content:encoded><![CDATA[<table class="pixelbeat" border="0">
<tbody>
<tr class="pbtitle">
<td><strong>Key</strong></td>
<td><strong>Action</strong></td>
<td><strong>Notes</strong></td>
</tr>
<tr>
<td>Ctrl+a c</td>
<td>new window</td>
<td></td>
</tr>
<tr>
<td>Ctrl+a n</td>
<td>next window</td>
<td>I bind F12 to this</td>
</tr>
<tr>
<td>Ctrl+a p</td>
<td>previous window</td>
<td>I bind F11 to this</td>
</tr>
<tr>
<td>Ctrl+a &#8220;</td>
<td>select window from list</td>
<td>I have window list in the status line</td>
</tr>
<tr>
<td>Ctrl+a Ctrl+a</td>
<td>previous window viewed</td>
<td></td>
</tr>
<tr class="pbtitle">
<td><strong> </strong></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Ctrl+a S</td>
<td>split terminal horizontally into regions</td>
<td>Ctrl+a c to create new window there</td>
</tr>
<tr>
<td>Ctrl+a :resize</td>
<td>resize region</td>
<td></td>
</tr>
<tr>
<td>Ctrl+a :fit</td>
<td>fit screen size to new terminal size</td>
<td>Ctrl+a F is the same. Do after resizing xterm</td>
</tr>
<tr>
<td>Ctrl+a :remove</td>
<td>remove region</td>
<td>Ctrl+a X is the same</td>
</tr>
<tr>
<td>Ctrl+a tab</td>
<td>Move to next region</td>
<td></td>
</tr>
<tr class="pbtitle">
<td><strong> </strong></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Ctrl+a d</td>
<td>detach screen from terminal</td>
<td>Start screen with -r option to reattach</td>
</tr>
<tr>
<td>Ctrl+a A</td>
<td>set window title</td>
<td></td>
</tr>
<tr>
<td>Ctrl+a x</td>
<td>lock session</td>
<td>Enter user password to unlock</td>
</tr>
<tr>
<td>Ctrl+a [</td>
<td>enter scrollback/copy mode</td>
<td>Enter to start and end copy region. Ctrl+a ] to leave this mode</td>
</tr>
<tr>
<td>Ctrl+a ]</td>
<td>paste buffer</td>
<td>Supports pasting between windows</td>
</tr>
<tr>
<td>Ctrl+a &gt;</td>
<td>write paste buffer to file</td>
<td>useful for copying between screens</td>
</tr>
<tr>
<td>Ctrl+a &lt;</td>
<td>read paste buffer from file</td>
<td>useful for pasting between screens</td>
</tr>
<tr class="pbtitle">
<td><strong> </strong></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Ctrl+a ?</td>
<td>show key bindings/command names</td>
<td>Note unbound commands only in man page</td>
</tr>
<tr>
<td>Ctrl+a :</td>
<td>goto screen command prompt</td>
<td>up shows last command entered</td>
</tr>
</tbody>
</table>
<h1>Configuration</h1>
<p>/etc/screenrc</p>
<pre>  multiuser on
  acladd root mongrel</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/10/08/148/linux-screen-cheatsheat/2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

