<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9210219742520078744</id><updated>2011-08-02T13:29:30.869-07:00</updated><category term='share'/><category term='Mail'/><category term='flash'/><category term='Wireless'/><category term='Web Server'/><category term='Vista'/><category term='Multimedia'/><category term='Thunderbird'/><category term='Sniff'/><category term='Samba'/><category term='Fonts'/><category term='MacOS'/><category term='Opera'/><category term='Unbuntu'/><category term='OpenOffice'/><category term='XML'/><category term='Remote Desktop'/><category term='Java'/><category term='OSX'/><category term='MAC'/><category term='pdf'/><category term='firefox'/><category term='Stardict'/><category term='Gutsy'/><category term='Tomcat'/><category term='Netbeans'/><category term='GRUB'/><category term='Jetty'/><category term='PostgreSQL'/><category term='Web Browser'/><category term='ireport'/><category term='Compiz'/><category term='Database'/><category term='Linux'/><category term='JDOM'/><category term='JSF'/><category term='Ubuntu'/><category term='Hardy'/><category term='ettercap'/><category term='JasperReport'/><category term='KibaDock'/><category term='chm'/><category term='MBR'/><title type='text'>IT WORLD</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>39</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-610377151494750909</id><published>2009-12-13T19:54:00.000-08:00</published><updated>2009-12-13T19:56:55.494-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jetty'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Fix bug</title><content type='html'>fix bug " too many open files"&lt;br /&gt;&lt;br /&gt;ulimit -a&lt;br /&gt;&lt;br /&gt;ulimit -n  65536&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-610377151494750909?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/610377151494750909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=610377151494750909&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/610377151494750909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/610377151494750909'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2009/12/fix-bug.html' title='Fix bug'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-2467978843490039704</id><published>2009-08-13T19:46:00.000-07:00</published><updated>2009-08-13T19:47:19.947-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Samba'/><title type='text'>mount Window share using Samba</title><content type='html'>&lt;p&gt;To mount a Samba (&lt;em&gt;Windows&lt;/em&gt;) file share to a folder in &lt;strong&gt;Ubuntu Linux&lt;/strong&gt;, you need to have &lt;strong&gt;Samba Filesystem Support&lt;/strong&gt; installed. The easiest way to do this is through &lt;strong&gt;apt-get&lt;/strong&gt; on the command line:&lt;/p&gt;  &lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash bash" style="font-family: monospace;"&gt;&lt;span style="color: rgb(194, 12, 185); font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: rgb(194, 12, 185); font-weight: bold;"&gt;apt-get&lt;/span&gt; &lt;span style="color: rgb(194, 12, 185); font-weight: bold;"&gt;install&lt;/span&gt; smbfs&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p&gt;After the installation has finished, create a directory that the Samba share will be mounted to (&lt;em&gt;e.g. ‘&lt;strong&gt;windows_share&lt;/strong&gt;‘ in the ‘&lt;strong&gt;/media&lt;/strong&gt;‘ directory&lt;/em&gt;):&lt;/p&gt;  &lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash bash" style="font-family: monospace;"&gt;&lt;span style="color: rgb(194, 12, 185); font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: rgb(194, 12, 185); font-weight: bold;"&gt;mkdir&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;/&lt;/span&gt;media&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;/&lt;/span&gt;windows_share&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p&gt;Finally, use the &lt;strong&gt;mount&lt;/strong&gt; command to mount the remote shared folder to your newly created directory (&lt;em&gt;change the IP address, paths, username and password in the example below as needed&lt;/em&gt;):&lt;/p&gt;  &lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash bash" style="font-family: monospace;"&gt;&lt;span style="color: rgb(194, 12, 185); font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: rgb(194, 12, 185); font-weight: bold;"&gt;mount&lt;/span&gt; &lt;span style="color: rgb(102, 0, 51);"&gt;-t&lt;/span&gt; smbfs &lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;//&lt;/span&gt;10.0.0.100&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;/&lt;/span&gt;shared_folder&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;/&lt;/span&gt;&lt;br /&gt; &lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;/&lt;/span&gt;media&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;/&lt;/span&gt;windows_share &lt;span style="color: rgb(102, 0, 51);"&gt;-o&lt;/span&gt; &lt;span style="color: rgb(0, 120, 0);"&gt;username&lt;/span&gt;=Guest,&lt;span style="color: rgb(0, 120, 0);"&gt;password&lt;/span&gt;=&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p&gt;To unmount the Samba share, use the &lt;strong&gt;umount&lt;/strong&gt; command (&lt;em&gt;change the path in the example below as needed&lt;/em&gt;):&lt;/p&gt;  &lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash bash" style="font-family: monospace;"&gt;&lt;span style="color: rgb(194, 12, 185); font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: rgb(194, 12, 185); font-weight: bold;"&gt;umount&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;/&lt;/span&gt;media&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;/&lt;/span&gt;windows_share&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p&gt;To automatically mount the Samba share when you boot up your computer, you’ll need to edit your &lt;strong&gt;/etc/fstab&lt;/strong&gt; file as detailed on &lt;a title="Ubuntu Forums - Mount samba shares with utf8 encoding using cifs" rel="nofollow" href="http://ubuntuforums.org/showthread.php?t=288534" target="_blank"&gt;this page on the Ubuntu Forums&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/9210219742520078744-2467978843490039704?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/2467978843490039704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=2467978843490039704&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2467978843490039704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2467978843490039704'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2009/08/mount-window-share-using-samba.html' title='mount Window share using Samba'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-4474976212768504321</id><published>2009-06-28T01:07:00.001-07:00</published><updated>2009-06-28T01:07:21.609-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GRUB'/><title type='text'>Install Grub</title><content type='html'>&lt;p class="line874"&gt;2. Open a Terminal. Open a root terminal (that is, type "su" in a non-Ubuntu distro, or "sudo -i" in Ubuntu). Enter root passwords as necessary. &lt;span class="anchor" id="line-129"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-130"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line874"&gt;3. Type "grub" which makes a GRUB prompt appear. &lt;span class="anchor" id="line-131"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-132"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line874"&gt;4. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out for the following lines. Note that you should have mounted the partition which has your Linux system before typing this command. (e.g. In Knoppix Live CD partitions are shown on the desktop but they're not mounted until you double-click on them or mount them manually) &lt;span class="anchor" id="line-133"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-134"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line874"&gt;5. Type "root (hd0,3)" note the space between root and (hd0,3). &lt;span class="anchor" id="line-135"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-136"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line874"&gt;6. Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)". &lt;span class="anchor" id="line-137"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-138"&gt;&lt;/span&gt;&lt;/p&gt;7. Type "quit".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-4474976212768504321?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/4474976212768504321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=4474976212768504321&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4474976212768504321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4474976212768504321'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2009/06/install-grub.html' title='Install Grub'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-1941644327626155377</id><published>2008-12-20T18:29:00.000-08:00</published><updated>2008-12-20T18:31:44.707-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenOffice'/><title type='text'>Install Open Office 3</title><content type='html'>Get openoffice 3 for Ubuntu&lt;br /&gt;http://ooo.mirror.dkm.cz/pub/openoffice/stable/3.0.0/OOo_3.0.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;&lt;br /&gt;&gt;sudo dpkg -i *.deb&lt;br /&gt;&gt;cd desktop-integration&lt;br /&gt;&gt;sudo dpkg -i openoffice.org3.0-debian-menus_3.0-9354_all.deb&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-1941644327626155377?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/1941644327626155377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=1941644327626155377&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1941644327626155377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1941644327626155377'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/12/get-openoffice-3-for-ubuntu-httpooo.html' title='Install Open Office 3'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-6044167125754798475</id><published>2008-11-22T21:32:00.000-08:00</published><updated>2008-11-22T21:36:36.642-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ireport'/><category scheme='http://www.blogger.com/atom/ns#' term='JasperReport'/><title type='text'>subreport in jasper report</title><content type='html'>Subreport jasper:&lt;br /&gt;&lt;br /&gt;so fun!&lt;br /&gt;&lt;br /&gt;1. Create new report called "subreport1"&lt;br /&gt;2. Open master report, drag subrreport component into Visual&lt;br /&gt;3. Do some instructions, attend at Prarmeter of subreport, &lt;span style="font-weight: bold;"&gt;set it equal one of parameters or fields in master report&lt;/span&gt;. It's very very important.&lt;br /&gt;&lt;br /&gt;good luck!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-6044167125754798475?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/6044167125754798475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=6044167125754798475&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/6044167125754798475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/6044167125754798475'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/11/subreport-in-jasper-report.html' title='subreport in jasper report'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-5816836522836653082</id><published>2008-10-09T21:01:00.000-07:00</published><updated>2008-10-09T21:02:25.740-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>install flash plugin firefox ubuntu</title><content type='html'>cd /usr/lib/firefox-3.0.3/plugins&lt;br /&gt;sudo ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-5816836522836653082?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/5816836522836653082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=5816836522836653082&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/5816836522836653082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/5816836522836653082'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/10/install-flash-plugin-firefox-ubuntu.html' title='install flash plugin firefox ubuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-7050141476442919290</id><published>2008-09-16T19:55:00.000-07:00</published><updated>2008-09-16T19:57:16.849-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='chm'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>install convert html to pdf</title><content type='html'>sudo apt-get install libchm-bin&lt;br /&gt;sudo apt-get install htmldoc&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-7050141476442919290?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/7050141476442919290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=7050141476442919290&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/7050141476442919290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/7050141476442919290'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/09/install-convert-html-to-pdf.html' title='install convert html to pdf'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-4385660813230304833</id><published>2008-09-16T02:50:00.000-07:00</published><updated>2008-09-16T02:51:44.504-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><title type='text'>Java plug in firefox</title><content type='html'>cd /usr/lib/firefox-3.0.1/plugins&lt;br /&gt;sudo ln -s /usr/lib/jvm/jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-4385660813230304833?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/4385660813230304833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=4385660813230304833&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4385660813230304833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4385660813230304833'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/09/java-plug-in-firefox.html' title='Java plug in firefox'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-4089528530428131943</id><published>2008-09-04T02:14:00.000-07:00</published><updated>2008-09-04T02:17:46.767-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='share'/><title type='text'>share guest user right</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_CVwrd9elDwQ/SL-nYv-_5mI/AAAAAAAAAAM/XpDk79v4Ruo/s1600-h/xp.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_CVwrd9elDwQ/SL-nYv-_5mI/AAAAAAAAAAM/XpDk79v4Ruo/s320/xp.png" alt="" id="BLOGGER_PHOTO_ID_5242092534921946722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;1. cmd/gpedit.msc&lt;br /&gt;2. config the same image&lt;br /&gt;3. cmd/gpupdate /force&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-4089528530428131943?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/4089528530428131943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=4089528530428131943&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4089528530428131943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4089528530428131943'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/09/share-guest-user-right.html' title='share guest user right'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_CVwrd9elDwQ/SL-nYv-_5mI/AAAAAAAAAAM/XpDk79v4Ruo/s72-c/xp.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-7752625935096257390</id><published>2008-08-21T00:01:00.001-07:00</published><updated>2008-08-21T00:01:56.910-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MacOS'/><title type='text'>Turn Your Ubuntu Hardy to Mac OSX Leopard</title><content type='html'>&lt;h2&gt;&lt;a href="http://maketecheasier.com/turn-your-ubuntu-hardy-to-mac-osx-leopard/2008/07/23" rel="bookmark" title="Permanent Link to Turn Your Ubuntu Hardy to Mac OSX Leopard"&gt;Turn Your Ubuntu Hardy to Mac OSX Leopard&lt;/a&gt;&lt;/h2&gt;       &lt;div class="postmetadata"&gt;        Posted by &lt;a href="http://maketecheasier.com/author/Damien%20Oh/" title="Posts by Damien"&gt;Damien&lt;/a&gt; in July 23rd 2008 &lt;br /&gt;File under: &lt;a href="http://maketecheasier.com/category/linux-tips" title="View all posts in Linux" rel="category tag"&gt;Linux&lt;/a&gt;,  &lt;a href="http://maketecheasier.com/category/mac-tips" title="View all posts in Mac" rel="category tag"&gt;Mac&lt;/a&gt; Tags: &lt;a href="http://maketecheasier.com/tag/leopard" rel="tag"&gt;Leopard&lt;/a&gt;, &lt;a href="http://maketecheasier.com/tag/linux" rel="tag"&gt;Linux&lt;/a&gt;, &lt;a href="http://maketecheasier.com/tag/mac" rel="tag"&gt;Mac&lt;/a&gt;, &lt;a href="http://maketecheasier.com/tag/ubuntu" rel="tag"&gt;Ubuntu&lt;/a&gt;        &lt;/div&gt;       &lt;p&gt;You can’t really turn a Linux system to a Mac, but you definitely can make your Ubuntu Hardy looks like a Mac OSX Leopard.&lt;/p&gt; &lt;p&gt;If you want to change this&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/ubuntu-desktop-original.jpg" alt="ubuntu-desktop-original" border="0" height="227" width="304" /&gt; into&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/ubuntu-leopard-screenshot.jpg" alt="ubuntu-leopard-screenshot" border="0" height="192" width="304" /&gt; , follow the steps below.&lt;/p&gt; &lt;p&gt;&lt;span id="more-631"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;em&gt;Before we start…&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;First, create a folder in your Home and name it &lt;em&gt;Mac_files.&lt;/em&gt; Download the following files to the Mac_files folder.&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;a href="http://maketecheasier.com/a/Mac4Lin_modified_theme/" target="_blank"&gt;Modified Mac4Lin theme&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://maketecheasier.com/a/Mac4Lin_Icons_modified/" target="_blank"&gt;Mac4Lin icon set&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://downloads.sourceforge.net/mac4lin/Mac4Lin_Wallpapers_Part3_v0.4.tar.gz?modtime=1198007584&amp;amp;big_mirror=0&amp;amp;filesize=12555519" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/downloads.sourceforge.net');"&gt;Mac4Lin wallpaper&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://gnome-look.org/CONTENT/content-files/66381-Elegant_glass.tgz" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/gnome-look.org');"&gt;Avant Windows Manager elegant glass theme&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Using Archive manager, extract the &lt;del datetime="2008-07-29T03:09:17+00:00"&gt;three Mac4Lin zip files&lt;/del&gt; &lt;em&gt;Modified Mac4Lin theme&lt;/em&gt; and &lt;em&gt;Mac4Lin wallpaper&lt;/em&gt; to the &lt;em&gt;Mac_files&lt;/em&gt; folder.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Apply Mac OSX Leopard Theme&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Go to &lt;em&gt;System-&gt;Preferences-&gt;Appearance&lt;/em&gt;.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/appearance.jpg" alt="appearance" border="0" height="403" width="454" /&gt;&lt;/p&gt; &lt;p&gt;Select &lt;em&gt;Install&lt;/em&gt; and select the &lt;em&gt;Mac4Lin GTK theme&lt;/em&gt; &lt;em&gt;(/home/username/Mac_files/Mac4Lin_v0.4/GTK Metacity Theme/Mac4Lin_GTK_v0.4.tar.gz&lt;/em&gt;).&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/appearance-select-gtk-theme.jpg" alt="appearance-select-gtk-theme" border="0" height="316" width="454" /&gt;&lt;/p&gt; &lt;p&gt;Next, click &lt;em&gt;Install&lt;/em&gt; again and select the &lt;em&gt;Mac4Lin icon theme&lt;/em&gt;. &lt;em&gt;(&lt;del datetime="2008-07-29T03:09:17+00:00"&gt;/home/username/Mac_files/Mac4Lin_Icons_Part2_v0.4.tar.gz&lt;/del&gt; /home/username/Mac_files/Mac4Lin_Icons_modified.tar.gz)&lt;/em&gt;. When prompted, select “&lt;em&gt;Apply new themes&lt;/em&gt;“.&lt;/p&gt; &lt;p&gt;Click &lt;em&gt;Install&lt;/em&gt; again and select the &lt;em&gt;Mac4Lin mouse cursor theme&lt;/em&gt;. &lt;em&gt;(/home/username/Mac_files/Mac4Lin_v0.4/GTK Cursor Theme/Mac4Lin_Cursors_v0.4.tar.gz&lt;/em&gt;). Select “&lt;em&gt;Apply new themes&lt;/em&gt;” when prompted.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/appearance-cursor-apply-theme.jpg" alt="appearance-cursor-apply-theme" border="0" height="169" width="404" /&gt;&lt;/p&gt; &lt;p&gt;Click ‘&lt;em&gt;customize’&lt;/em&gt; and choose &lt;em&gt;Mac4Lin_GTK_v0.4&lt;/em&gt;. Go to the “&lt;em&gt;Window border”&lt;/em&gt; tab, choose &lt;em&gt;Mac4Lin_GTK_v0.4&lt;/em&gt;. Click Close.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/appearance-customize.jpg" alt="appearance-customize" border="0" height="440" width="335" /&gt;&lt;/p&gt; &lt;p&gt;On the top, go to the &lt;em&gt;Background&lt;/em&gt; tab. Click &lt;em&gt;Add&lt;/em&gt; and select the Leopard wallpaper. &lt;em&gt;(/home/username/Mac_files/Wallpapers/Leopard.jpg&lt;/em&gt;). Click &lt;em&gt;Close&lt;/em&gt; to terminate the Appearance window&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/appearance-select-wallpaper.jpg" alt="appearance-select-wallpaper" border="0" height="397" width="454" /&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Install the Dock (Avant Window Navigator)&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Open a terminal (&lt;em&gt;Applications-&gt;Accessories-&gt;Terminal&lt;/em&gt;) and type&lt;/p&gt; &lt;p class="codeblock"&gt;gksu gedit /etc/apt/sources.list&lt;/p&gt; &lt;p&gt;and add the following lines to the end of the file:&lt;/p&gt; &lt;p class="codeblock"&gt;deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main&lt;br /&gt;deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main&lt;/p&gt; &lt;p&gt;Save and close the file. In your terminal, type&lt;/p&gt; &lt;p class="codeblock"&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install avant-window-navigator-trunk awn-manager-trunk awn-extras-applets-trunk&lt;/p&gt; &lt;p&gt;Go to &lt;em&gt;System-&gt;Preferences-&gt;AWN manager&lt;/em&gt;. On the left, click on the &lt;em&gt;Theme&lt;/em&gt;. On the right, click &lt;em&gt;Add&lt;/em&gt; and navigate to the &lt;em&gt;Mac_files&lt;/em&gt; folder. Select the &lt;em&gt;Elegant_glass.tgz file&lt;/em&gt;. Check the bullet beside the Elegant glass theme and click &lt;em&gt;Apply&lt;/em&gt;.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/awn-select-theme.jpg" alt="awn-select-theme" border="0" height="361" width="454" /&gt;&lt;/p&gt; &lt;p&gt;Next on the left, click on the &lt;em&gt;Applet&lt;/em&gt; icon. On the right, scroll down to the stack Applet. Highlight it, then click Activate. This will add the Mac Leopard stack to your dock.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/awn-select-applet.jpg" alt="awn-select-applet" border="0" height="362" width="454" /&gt;&lt;/p&gt; &lt;p&gt;Before you launch the AWN, remove the bottom panel from the desktop first. Right click on the bottom panel and select “&lt;em&gt;delete this panel”&lt;/em&gt;. Open AWN via &lt;em&gt;Applications-&gt;Accessories-&gt;Avant Window Navigator&lt;/em&gt;. Once it is activated, you can simply drag and drop the applications into the dock.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Install OSX Fonts&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Open a terminal and type the following:&lt;/p&gt; &lt;p class="codeblock"&gt;sudo apt-get install msttcorefonts&lt;/p&gt; &lt;p&gt;This will Install the Microsoft core fonts.&lt;/p&gt; &lt;p&gt;Next, copy the OSX fonts to the fonts folder&lt;/p&gt; &lt;p class="codeblock"&gt;cd /usr/share/fonts&lt;br /&gt;sudo tar xvzf /home/username/Mac_files/Mac4Lin_v0.4/Fonts/OSX_Fonts.tar.gz&lt;/p&gt; &lt;p&gt;Configure the fonts:&lt;/p&gt; &lt;p class="codeblock"&gt;cd/&lt;br /&gt;sudo tar xvjpf /home/username/Mac_files/Mac4Lin_v0.4/Fonts/fontconfig.tbz -C /etc/fonts&lt;/p&gt; &lt;p&gt;Open the Appearance window (&lt;em&gt;System-&gt;Preferences-&gt;Appearance&lt;/em&gt;) and select &lt;em&gt;Fonts&lt;/em&gt; tab. Select the following fonts according to the image below. Click Close.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/appearance-configure-fonts.jpg" alt="appearance-configure-fonts" border="0" height="368" width="454" /&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Change the traffic light window control to the left&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In the terminal, type&lt;/p&gt; &lt;p class="codeblock"&gt;gconf-editor&lt;/p&gt; &lt;p&gt;This will bring up the gconf-editor window. Scroll down to &lt;em&gt;App-&gt;Metacity-&gt;general&lt;/em&gt;. On the right, double click on the button_layout and change the content to &lt;em&gt;‘close,minimize,maximize:menu’&lt;/em&gt; (without the quote). Click &lt;em&gt;Ok&lt;/em&gt; and close the gconf-editor.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/gconf-editor.jpg" alt="gconf-editor" border="0" height="440" width="548" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/gconf-editor2.jpg" alt="gconf-editor2" border="0" height="192" width="337" /&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Change the menubar&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Remove all the icon and applications on the left side of the top panel. Right-click on the icon and select &lt;em&gt;‘Remove from panel&lt;/em&gt;‘. You will left with something like this:&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/menubar-remove-icon.jpg" alt="menubar-remove-icon" border="0" height="18" width="554" /&gt;&lt;/p&gt; &lt;p&gt;On the right of the top panel, remove the logout icon. Still on the right hand side of the top panel, right click and select &lt;em&gt;‘Add to panel&lt;/em&gt;‘. Scroll down the list and add &lt;em&gt;‘Search for files&lt;/em&gt;‘. This will add the spotlight icon to the panel.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/menubar-add-search.jpg" alt="menubar-add-search" border="0" height="423" width="454" /&gt;&lt;/p&gt; &lt;p&gt;On the extreme left, right-click and select &lt;em&gt;‘Add to panel&lt;/em&gt;‘. Scroll down the list and add &lt;em&gt;‘Main Menu&lt;/em&gt;‘. This will add the apple icon on the left. You can now log out and shut down from the Apple dropdown menu (same as Mac OSX).&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/menubar-add-mainmenu.jpg" alt="menubar-add-mainmenu" border="0" height="423" width="454" /&gt;&lt;/p&gt; &lt;p&gt;Next, we are going to install &lt;em&gt;globalmenu&lt;/em&gt; so as to display the menubar for each application. In your terminal,&lt;/p&gt; &lt;p class="codeblock"&gt;cd Mac_files&lt;br /&gt;wget http://gnome2-globalmenu.googlecode.com/files/gnome-globalmenu-0.4-svn964.tar.gz&lt;br /&gt;tar zxvf gnome-globalmenu-0.4-svn964.tar.gz&lt;br /&gt;cd globalmenu&lt;br /&gt;sudo dpkg -i *.deb&lt;/p&gt; &lt;p&gt;If you have any errors when installing the package, try&lt;/p&gt; &lt;p class="codeblock"&gt;sudo dpkg -i –force-overwrite *.deb&lt;/p&gt; &lt;p&gt;If you are having some installation problems with the &lt;em&gt;gnome-globalmenu-applet&lt;/em&gt;, try&lt;/p&gt; &lt;p class="codeblock"&gt;sudo apt-get install -f&lt;/p&gt; &lt;p&gt;Once finished, right click on the top panel and select &lt;em&gt;‘Add to panel&lt;/em&gt;‘. Scroll down the list and add &lt;em&gt;‘Global Menu Applet&lt;/em&gt;‘.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/menubar-add-globalmenu.jpg" alt="menubar-add-globalmenu" border="0" height="420" width="454" /&gt;&lt;/p&gt; &lt;p&gt;You might not see anything initially. Log out and log in again, you should now see the menubar for each application showing on the panel.&lt;/p&gt; &lt;p&gt;If your &lt;em&gt;globalmenu&lt;/em&gt; is of a different shade of grey from the rest of the panel (as shown in the image below), right click on any empty space on the panel and select ‘&lt;em&gt;Properties&lt;/em&gt;‘. Go to Background tab and select &lt;em&gt;‘Background image’&lt;/em&gt;. Under the selection, go to &lt;em&gt;/home/username/.themes/Mac4Lin_GTK_v0.4/gtk-2.0/Panel&lt;/em&gt; and select &lt;em&gt;panel-bg.png&lt;/em&gt;. Click OK. (&lt;strong&gt;Updated&lt;/strong&gt;: If you can’t find the &lt;em&gt;.themes &lt;/em&gt;folder, right-click and select ‘&lt;em&gt;show hidden files&lt;/em&gt;‘.)&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/globalmenu-w-darkbg.jpg" alt="globalmenu-w-darkbg" border="0" height="19" width="554" /&gt;&lt;/p&gt; &lt;p&gt;Drag the &lt;em&gt;globalmenu&lt;/em&gt; to the left just beside the Apple icon. Right click on the globalmenu and select &lt;em&gt;‘Preferences’&lt;/em&gt;. Tick the box beside &lt;em&gt;‘Display the title of the current application&lt;/em&gt;‘ and put maximum width 100. Select the font to be &lt;em&gt;Lucida Grande Bold&lt;/em&gt;. Click &lt;em&gt;Apply&lt;/em&gt; and &lt;em&gt;OK&lt;/em&gt;. You should now have a desktop that resemble Mac Leopard.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/globalmenu-preferences.jpg" alt="globalmenu-preferences" border="0" height="188" width="341" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/menubar-with-globalmenu.jpg" alt="menubar-with-globalmenu" border="0" height="19" width="554" /&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Configuring the Login screen&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Click on the Apple icon, go to &lt;em&gt;System-&gt;Administration-&gt;Login Window&lt;/em&gt;. On the &lt;em&gt;Local&lt;/em&gt; tab, click &lt;em&gt;Add&lt;/em&gt;. Navigate to the path &lt;em&gt;/filesystem/home/username/Mac_files/Mac4Lin_v0.4/GDM Theme&lt;/em&gt; and select the file &lt;em&gt;Mac4Lin_GDM_v0.4.tar.gz&lt;/em&gt;. Check the box beside the newly installed theme to activate it.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/install-login-screen.jpg" alt="install-login-screen" border="0" height="440" width="343" /&gt;&lt;/p&gt; &lt;p&gt;Underneath, there is a color selection field, select it and key in the number &lt;em&gt;E5E5E5&lt;/em&gt; into the color code field.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/login-screen-color.jpg" alt="login-screen-color" border="0" height="263" width="454" /&gt;&lt;/p&gt; &lt;p&gt;Click &lt;em&gt;Ok&lt;/em&gt;. Log out. You should see the login screen as the diagram below.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/login-screen.jpg" alt="login-screen" border="0" height="307" width="554" /&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Configure usplash screen&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;usplash is the screen that you see when your computer is booting up. We are going to change it to show the white apple screen. In your terminal,&lt;/p&gt; &lt;p class="codeblock"&gt;sudo apt-get install startupmanager&lt;/p&gt; &lt;p&gt;Go to &lt;em&gt;System-&gt;Administration-&gt;Start-Up Manager&lt;/em&gt; Go to &lt;em&gt;Appearance&lt;/em&gt; tab. Click on the &lt;em&gt;‘Manage bootloader theme&lt;/em&gt;‘. Click &lt;em&gt;Add&lt;/em&gt; and navigate to the file &lt;em&gt;/filesystem/home/username/Mac_files/Mac4Lin_v0.4/GRUB Splash/appleblack.xpm.gz&lt;/em&gt;. Check the box “&lt;em&gt;Use background image for bootloader menu&lt;/em&gt;” and select &lt;em&gt;‘appleblack&lt;/em&gt;”.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/startupmanager-configuration.jpg" alt="startupmanager-configuration" border="0" height="419" width="454" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/startupmanager-addtheme.jpg" alt="startupmanager-addtheme" border="0" height="328" width="303" /&gt;&lt;/p&gt; &lt;p&gt;Next, click “&lt;em&gt;Manage usplash theme&lt;/em&gt;”. Click &lt;em&gt;Add&lt;/em&gt; and add the file &lt;em&gt;/filesystem/home/username/Mac_files/Mac4Lin_v0.4/USplash Theme/osx-splash.so&lt;/em&gt;. Click &lt;em&gt;OK&lt;/em&gt;. Select &lt;em&gt;OSX-splash&lt;/em&gt; from the dropdown box.&lt;/p&gt; &lt;p&gt;Now reboot. You should see the following images:&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/bootloader.jpg" alt="bootloader" border="0" height="342" width="454" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/usplash.jpg" alt="usplash" border="0" height="342" width="454" /&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Creating Dashboard effect&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;We will use a combination of &lt;a href="http://www.screenlets.org/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.screenlets.org');"&gt;screenlets&lt;/a&gt; and Compiz widget plugin to achieve the dashboard effect.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Install Screenlets&lt;/strong&gt;&lt;/p&gt; &lt;p class="codeblock"&gt;sudo apt-get install screenlets compizconfig-settings-manager&lt;/p&gt; &lt;p&gt;Go to &lt;em&gt;System-&gt;Preferences-&gt;Advanced Desktop Effect Setting&lt;/em&gt;. On the Left, click on &lt;em&gt;Desktop&lt;/em&gt;. On the right, put a check beside &lt;em&gt;‘Widget layer’&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/ccsm-widget-setting.jpg" alt="ccsm-widget-setting" border="0" height="342" width="554" /&gt;&lt;/p&gt; &lt;p&gt;Go to &lt;em&gt;Accessories-&gt;Screenlets&lt;/em&gt;. Activate the widgets that you want to display. Right click on the widget and select &lt;em&gt;‘Properties’&lt;/em&gt;. Go to Options tab and select &lt;em&gt;‘Treat as widget’&lt;/em&gt;. Do this for all the widgets that you have activated.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/screenlets-as-widget.jpg" alt="screenlets-as-widget" border="0" height="118" width="400" /&gt;&lt;/p&gt; &lt;p&gt;You can now see your dashboard in action by pressing F9.&lt;/p&gt; &lt;p&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/dashboard-effect.jpg" alt="dashboard-effect" border="0" height="348" width="554" /&gt;&lt;/p&gt; &lt;p&gt;Done. You have completed the transformation of your Ubuntu desktop to Mac OSX Leopard.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Some screenshots:&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://maketecheasier.com/wp-content/uploads/2008/07/ubuntu-leopard-screenshot-big.jpg"&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/ubuntu-leopard-screenshot-big-thumb.jpg" alt="ubuntu-leopard-screenshot-big" border="0" height="373" width="594" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://maketecheasier.com/wp-content/uploads/2008/07/screenshot-w-stack.jpg"&gt;&lt;img style="border-width: 0px;" src="http://maketecheasier.com/wp-content/uploads/2008/07/screenshot-w-stack-thumb.jpg" alt="screenshot-w-stack" border="0" height="373" width="594" /&gt;&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/9210219742520078744-7752625935096257390?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/7752625935096257390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=7752625935096257390&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/7752625935096257390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/7752625935096257390'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/08/turn-your-ubuntu-hardy-to-mac-osx.html' title='Turn Your Ubuntu Hardy to Mac OSX Leopard'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-1836264704509240363</id><published>2008-07-30T01:34:00.000-07:00</published><updated>2008-07-30T01:41:23.794-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GRUB'/><title type='text'>Install Vistat after Linux</title><content type='html'>&lt;style type="text/css"&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt;  &lt;p&gt;This tutorial guides you through the steps of installing Windows Vista on a computer which already have an Ubuntu installation.&lt;br /&gt;I wrote this tutorial because I haven't found a "Ubuntu/Vista dual-boot" that works when Ubuntu is already installed. There are only tutorials saying "Install Vista first, then Ubuntu!".&lt;br /&gt;But if you have a working Ubuntu and you don't want to reinstall everything?! Then read this...&lt;br /&gt;&lt;a href="http://www.ubuntu.com/" target="_blank"&gt;&lt;img src="http://www.eloff.se/images/ubuntu_logo.png" name="graphics1" align="bottom" border="0" height="38" width="75" /&gt;&lt;/a&gt; Most of you out there have propably heard of Windows Vista: the next generation of Windows from MS that is going to replace XP as desktop standard. It is still in beta stage and is not for stable enough to use as your primary os. That is why you should have a dual-boot install.&lt;br /&gt;&lt;a href="http://www.microsoft.com/" target="_blank"&gt;&lt;img src="http://www.eloff.se/images/vista_logo.png" name="graphics2" align="bottom" border="0" height="38" width="75" /&gt;&lt;/a&gt; Microsoft has made Vista a public beta, meaning that you can download it for free(!) and try out (but only use it for a year or so...)&lt;br /&gt;As primary OS I use the brilliant Linux distribution &lt;a href="http://www.ubuntu.com/" target="_blank"&gt;Ubuntu Dapper Drake&lt;/a&gt;. Now I wanted to make my computer able to start both Ubuntu and Windows Vista...&lt;br /&gt;Before leaving Ubuntu you have to prepare your harddrive. It can be done with &lt;a href="http://gparted.sourceforge.net/" target="_blank"&gt;gparted&lt;/a&gt;. In a Terminal:&lt;br /&gt;&gt; sudo apt-get install gparted&lt;br /&gt;&gt; sudo gparted Or if you prefer to do it in a gui:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;Start Synaptic, find and install  gparted&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p&gt;System -&gt; Administration -&gt; Gnome-partition editor&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;There are lots of guides to help you partition your harddrive. resize your partitions and leave room (unallocated) for Vista. It needs at least 15 GB space. I recommend 20+ GB. I installed Vista on a second harddrive, but a single drive with lot of space would do it.&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;Download the &lt;a href="http://download.windowsvista.com/preview/beta2/en/x86/download.htm" target="_blank"&gt;dvd-image&lt;/a&gt;  ( 4GB )&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;Burn it to a dvd with your  favourite burn-app (GnomeBaker), put it in the drive and restart  your computer&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p&gt;Go on with installing Windows Vista!&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Vista is easy to install, almost as easy as Ubuntu. During the install choose the empty space to create a new ntfs partition.&lt;br /&gt;By experience I know that Microsoft don't care about the user; they will just run over you. The installer for Vista is a good example of that. It deleted my Ubuntu loader (GRUB). Next time I booted the machine it loaded Vista. I got no option to start Ubuntu. The same will happen to you, my friend. But do not fear! Ubuntu is a Linux distro, and you can always make Linux work again.&lt;br /&gt;Well, hopefully Vista is working now. You can play around with it for a while if you want. I got addicted to a small game called Inkball...&lt;br /&gt;Here is more info about GRUB's way of &lt;a href="http://www.gnu.org/software/grub/manual/html_node/Naming-convention.html#Naming-convention" target="_blank"&gt;naming the disks&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Now stop playing! You must have your Ubuntu to work again. Microsoft erased GRUB and replaced it with it's own crappy loader (wich cannot load Linux). It's time to get GRUB back into the MBR. Find your Ubuntu Live-CD (other Live discs may also work) and boot it. Then launch a terminal:&lt;br /&gt;&gt; sudo grub&lt;br /&gt;&lt;br /&gt;grub&gt; root (&lt;press&gt; Now you will see a list of available harddrives if you have several (In my case hd0,hd1). Choose the one where you have ubuntu (probably hd0)&lt;br /&gt;grub&gt; root (hd0,&lt;press&gt; This time you should see a list of partitions and their filesystems on the drive. This is what it may look like:&lt;br /&gt;grub&gt; root (hd0,&lt;br /&gt;Possible partitions are:&lt;br /&gt;Partition num: 0, Filesystem type unknown, partition type 0x7&lt;br /&gt;Partition num: 2, Filesystem type is ext2fs, partition type 0x83&lt;br /&gt;Note the number of your Ubuntu partition (with ext2fs filesystem). Also remember (or write down) the partition number with an unknown filesystem 0x07; that is your Vista on an ntfs partition. Now set grub's root to the right partition (In my case (hd0,2)) and then install grub to mbr.&lt;br /&gt;grub&gt; root (hd0,2)&lt;br /&gt;grub&gt; setup (hd0)&lt;br /&gt;grub&gt; quit Now restart your computer! You should see GRUB loading and you are able to boot Ubuntu. The last you have to do now is to add Vista to the GRUB list. Once again, fire up a terminal:&lt;br /&gt;&gt; gksudo gedit /boot/grub/menu.lst At the bottom of the file add the following:&lt;br /&gt;title Microsoft Windows Vista Beta 2&lt;br /&gt;root (hd0,0) #Remember Vistas partition number?&lt;br /&gt;savedefault&lt;br /&gt;makeactive&lt;br /&gt;chainloader +1&lt;br /&gt;Save the file and restart your machine to see if it's working. Hopefully it is. It worked fine for me. Now enjoy your dual boot system!&lt;/press&gt;&lt;/press&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-1836264704509240363?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/1836264704509240363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=1836264704509240363&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1836264704509240363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1836264704509240363'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/07/install-vistat-after-linux.html' title='Install Vistat after Linux'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-6716708293573057015</id><published>2008-06-24T07:07:00.000-07:00</published><updated>2008-06-24T07:08:47.742-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ettercap'/><title type='text'>view log ettercap</title><content type='html'>using etterlog to view ettercap log.&lt;br /&gt;&lt;br /&gt;etterlog -T logfile&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-6716708293573057015?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/6716708293573057015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=6716708293573057015&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/6716708293573057015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/6716708293573057015'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/06/view-log-ettercap.html' title='view log ettercap'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-2740308595674175413</id><published>2008-06-14T11:43:00.000-07:00</published><updated>2008-06-14T11:49:27.278-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MBR'/><category scheme='http://www.blogger.com/atom/ns#' term='Vista'/><title type='text'>Fix MBR boot VISTA</title><content type='html'>Use Vista Recovery Disk, it can be dowloaded at:&lt;br /&gt;http://coblitz.codeen.org/neosmart.net/downloads/guides/Vista_Repair/Vista_Recovery_Disc_x86.iso&lt;br /&gt;&lt;br /&gt;* Boot up your computer using Microsoft Windows Vista Bootable disk. (Check your BIOS setup)&lt;br /&gt;    * When you see the 1st Windows Vista installation screen appear, please configure your 'language' preferences.&lt;br /&gt;    * When prompted, click 'Repair your computer'.&lt;br /&gt;    * Startup Repair will automatically detect a problem. When prompted, click 'Repair and restart', and then restart your computer from the Windows Vista bootable disk. If Startup Repair does not automatically detect a problem, continue to the next step.&lt;br /&gt;    * click 'Repair Your Computer'.&lt;br /&gt;    * Click Command Prompt from the System Recovery Options.&lt;br /&gt;    * BootRec.exe provides the following command-line options:&lt;br /&gt;&lt;br /&gt;    * /FixMbr. Re-writes the master boot record (MBR) of the system partition to start Windows Vista. This wont overwrite the existing partition table.&lt;br /&gt;&lt;br /&gt;    * /FixBoot. Writes a boot sector onto the system partition to start Windows Vista.&lt;br /&gt;&lt;br /&gt;    * /ScanOs. Scans all disks for Windows Vista installations and displays them to you. Oddly, this didnt work for me, even on a test system that was starting just fine.&lt;br /&gt;&lt;br /&gt;    * /RebuildBcd. Scans all disks for Windows Vista installations and prompts you to pick the ones you want to add to the BCD.&lt;br /&gt;&lt;br /&gt;    * Type  'BootRec.exe /fixmbr' and press Enter.&lt;br /&gt;    * Congratulations! You're done.&lt;br /&gt;&lt;br /&gt;Basically your Linux GRUB will go away. We recommend you look at GUID Partition Table.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-2740308595674175413?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/2740308595674175413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=2740308595674175413&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2740308595674175413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2740308595674175413'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/06/fix-mbr-boot-vista.html' title='Fix MBR boot VISTA'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-6328020117749145245</id><published>2008-06-14T03:38:00.000-07:00</published><updated>2008-06-14T06:40:56.782-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MAC'/><title type='text'>Change MAC Ubuntu</title><content type='html'>sudo ifconfig wlan0 hw ether &lt;new mac=""&gt;&lt;&lt;mac&gt;&gt;&lt;br /&gt;&lt;/new&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-6328020117749145245?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/6328020117749145245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=6328020117749145245&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/6328020117749145245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/6328020117749145245'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/06/change-mac-ubuntu.html' title='Change MAC Ubuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-4442396163070850516</id><published>2008-06-06T06:37:00.000-07:00</published><updated>2008-06-06T06:39:33.421-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sniff'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>enable SSL</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;After installing, you need to uncomment some code to enable SSL dissection. Open up a terminal window and type “nano /usr/local/etc/etter.conf”, without the quotes. Scroll down using your arrow keys until you find this piece of code:&lt;/span&gt;&lt;/span&gt; &lt;blockquote  style="font-family:arial;"&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;# if you use iptables:&lt;br /&gt;#    redir_command_on = “iptables -t nat -A PREROUTING -i %iface -p tcp –dport %port -j REDIRECT –to-port %rport”&lt;br /&gt;#    redir_command_off = “iptables -t nat -D PREROUTING -i %iface -p tcp –dport %port -j REDIRECT –to-port %rport”&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;You need to uncomment the last two lines.&lt;/span&gt;&lt;/p&gt; &lt;blockquote  style="font-family:arial;"&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;# if you use iptables:&lt;br /&gt;redir_command_on = “iptables -t nat -A PREROUTING -i %iface -p tcp –dport %port -j REDIRECT –to-port %rport”&lt;br /&gt;redir_command_off = “iptables -t nat -D PREROUTING -i %iface -p tcp –dport %port -j REDIRECT –to-port %rport”&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-4442396163070850516?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/4442396163070850516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=4442396163070850516&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4442396163070850516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4442396163070850516'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/06/enable-ssl.html' title='enable SSL'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-4360961018092680983</id><published>2008-05-20T01:57:00.000-07:00</published><updated>2011-01-30T09:08:17.504-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='JasperReport'/><title type='text'>Jasper Report Unicode</title><content type='html'>Wow! Report using Vietnamese!&lt;br /&gt;&lt;br /&gt;Haha!&lt;br /&gt;&lt;br /&gt;Copy font Unicode to classpath of IReport, set properties of PDF Font to Arial, Encoding to H-Unicodde,&lt;br /&gt;Open file jrxml, update&lt;span style="font-weight: bold;"&gt; pdfFontName="arial.ttf"&lt;/span&gt;&lt;br /&gt;that's all!&lt;br /&gt;&lt;br /&gt;In Netbeans, point classpath to Font Unicode Folder.&lt;br /&gt;&lt;br /&gt;Remember, using .jasper file when using &lt;span style="font-weight: bold;"&gt;JasperFillManager &lt;/span&gt;, if you want to use .jrxml, please compile it first.&lt;br /&gt;&lt;br /&gt;so fun! I'm very happy about Jasper Report!&lt;br /&gt;&lt;br /&gt;Code examples:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;public void createServletReport(String fileName, String reportname, Map parameters, Connection con, HttpServletResponse response){&lt;br /&gt;       try{&lt;br /&gt;           JasperPrint print  = JasperFillManager.fillReport(reportDir + File.separator + fileName, parameters, con);&lt;br /&gt;         &lt;br /&gt;           OutputStream ouputStream = response.getOutputStream();&lt;br /&gt;&lt;br /&gt;           JRExporter exporter = null;&lt;br /&gt;         &lt;br /&gt;           response.setContentType("application/pdf");&lt;br /&gt;           response.setHeader("Content-Disposition", "attachment; filename=\""+reportname+"\"");&lt;br /&gt;           exporter = new JRPdfExporter();&lt;br /&gt;           exporter.setParameter(JRExporterParameter.JASPER_PRINT, print);&lt;br /&gt;           exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, ouputStream);&lt;br /&gt;        &lt;br /&gt;           exporter.exportReport();&lt;br /&gt;       }catch(Exception e){&lt;br /&gt;           System.out.println(e);&lt;br /&gt;       }&lt;br /&gt;   }&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-4360961018092680983?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/4360961018092680983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=4360961018092680983&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4360961018092680983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4360961018092680983'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/05/jasper-report-unicode.html' title='Jasper Report Unicode'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-3591044462260270393</id><published>2008-05-10T10:09:00.000-07:00</published><updated>2008-05-28T20:52:50.080-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hardy'/><category scheme='http://www.blogger.com/atom/ns#' term='Fonts'/><title type='text'>Install font unicode on Hardy</title><content type='html'>&lt;span style="font-family:arial;"&gt;Open terminal, type:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;cd /usr/share/fonts/truetype&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;sudo mkdir unicode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;sudo cp pathto_ttffontsdir /usr/share/fonts/truetype/unicode&lt;/span&gt;&lt;br /&gt;sudo chmod 755 &lt;span style="font-family:arial;"&gt; /usr/share/fonts/truetype/unicode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;sudo nautilus&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;sudo fc-cache -f -v&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:arial;" &gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-3591044462260270393?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/3591044462260270393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=3591044462260270393&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/3591044462260270393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/3591044462260270393'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/05/install-font-unicode-on-hardy.html' title='Install font unicode on Hardy'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-1539186332409536416</id><published>2008-04-27T23:27:00.000-07:00</published><updated>2008-04-27T23:28:00.328-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='Gutsy'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Config VNC Ubuntu</title><content type='html'>Now install x11vnc, you can do this with apt-get or Synaptics, this package is available in the Community Maintained (Universe) repository.&lt;br /&gt;&lt;br /&gt;Now with x11vnc installed, you will need to create a password file:&lt;br /&gt;&lt;br /&gt;sudo x11vnc -storepasswd yourpasswordhere /etc/x11vnc.pass&lt;br /&gt;&lt;br /&gt;Then configure GDM to run x11vnc when at loading time:&lt;br /&gt;&lt;br /&gt;sudo gedit /etc/gdm/Init/Default&lt;br /&gt;&lt;br /&gt;and this line to the file:&lt;br /&gt;&lt;br /&gt;/usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -bg -rfbport 5900&lt;br /&gt;&lt;br /&gt;(you can change the port and other parameters)&lt;br /&gt;&lt;br /&gt;So far so good, but if you restart your pc at this stage you’ll only be able to login, then the GDM will kill your session. To avoid this we must change another file:&lt;br /&gt;&lt;br /&gt;sudo gedit /etc/gdm/gdm.conf&lt;br /&gt;&lt;br /&gt;now search for this line :&lt;br /&gt;&lt;br /&gt;#KillInitClients=true&lt;br /&gt;&lt;br /&gt;And change it to this:&lt;br /&gt;&lt;br /&gt;KillInitClients=false&lt;br /&gt;&lt;br /&gt;Restart you PC and now you have VNC at login time.&lt;br /&gt;&lt;br /&gt;Firewall: 5800, 5900&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-1539186332409536416?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/1539186332409536416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=1539186332409536416&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1539186332409536416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1539186332409536416'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/04/config-vnc-ubuntu.html' title='Config VNC Ubuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-1900473095818844068</id><published>2008-04-20T20:59:00.000-07:00</published><updated>2008-04-20T23:30:10.848-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Compiz'/><category scheme='http://www.blogger.com/atom/ns#' term='Gutsy'/><title type='text'>Setup X3100 Compiz</title><content type='html'>Open terminal:&lt;br /&gt;sudo gedit /usr/bin/compiz&lt;br /&gt;&lt;br /&gt;Add sign # begin the line:&lt;br /&gt;&lt;br /&gt;#T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12"  # intel 965&lt;br /&gt;#T="$T 8086:2972" # i965 (x3000)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then reboot computer!&lt;br /&gt;&lt;br /&gt;Note: you have to update newest driver for X3100 using deb packages&lt;br /&gt;&lt;br /&gt;http://packages.ubuntu.com&lt;br /&gt;&lt;br /&gt;search: xserver-xorg-video-intel&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-1900473095818844068?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/1900473095818844068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=1900473095818844068&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1900473095818844068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1900473095818844068'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2008/04/setup-x3100-compiz.html' title='Setup X3100 Compiz'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-4748037359661118640</id><published>2007-10-27T03:02:00.000-07:00</published><updated>2007-10-27T03:04:26.235-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wireless'/><category scheme='http://www.blogger.com/atom/ns#' term='Gutsy'/><title type='text'>Icon wireless strength</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-family: arial;"&gt;Right click to panel, choose Add to panel/ &lt;/span&gt;&lt;span style="font-family: arial;"&gt;Notification Area&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;Alt-F2, tpye: nm-applet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;and see result&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-4748037359661118640?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/4748037359661118640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=4748037359661118640&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4748037359661118640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4748037359661118640'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/10/icon-wireless-strength.html' title='Icon wireless strength'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-4773447551270035724</id><published>2007-10-23T22:48:00.000-07:00</published><updated>2007-10-23T22:49:54.602-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gutsy'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Install Skype Ubuntu Gutsy</title><content type='html'>&lt;ul&gt;&lt;li&gt;dd the Skype repository (If you don't know how to add repositories please see: &lt;a href="https://help.ubuntu.com/community/Repositories/Ubuntu#head-155b53308911d4d3869b3650856a41550f57f891"&gt;Repositories/Ubuntu&lt;/a&gt;) &lt;tt&gt;deb http://download.skype.com/linux/repos/debian/ stable non-free&lt;/tt&gt;&lt;/li&gt;&lt;li&gt;Reloaded or updated the package information&lt;/li&gt;&lt;li&gt;Install Skype: &lt;code&gt;# sudo apt-get install skype&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-4773447551270035724?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/4773447551270035724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=4773447551270035724&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4773447551270035724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4773447551270035724'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/10/install-skype-ubuntu-gutsy.html' title='Install Skype Ubuntu Gutsy'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-2884532358914377543</id><published>2007-10-09T20:14:00.000-07:00</published><updated>2007-10-09T20:17:29.004-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Tomcat'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Config Tomcat on Ubuntu</title><content type='html'>Open terminal, type:&lt;br /&gt;sudo gedit /etc/profile&lt;br /&gt;&lt;br /&gt;at the end of file, type&lt;br /&gt;&lt;br /&gt;JAVA_HOME=/usr/lib/jvm/jdk1.6.0&lt;br /&gt;JRE_HOME=/usr/lib/jvm/jdk1.6.0/jre&lt;br /&gt;PATH=$JAVA_HOME/bin:$PATH&lt;br /&gt;CLASSPATH=.:$JAVA_HOME/lib/tools.jar&lt;br /&gt;MANPATH=$MANPATH:$JAVA_HOME/man&lt;br /&gt;CATALINA_HOME=/home/misa/soft/apache-tomcat-6.0.14&lt;br /&gt;export JAVA_HOME PATH CLASSPATH MANPATH CATALINA_HOME JRE_HOME&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-2884532358914377543?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/2884532358914377543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=2884532358914377543&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2884532358914377543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2884532358914377543'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/10/config-tomcat-on-ubuntu.html' title='Config Tomcat on Ubuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-6384621453604083275</id><published>2007-10-04T02:23:00.000-07:00</published><updated>2007-10-04T02:25:41.206-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Stardict'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>install stardict unbuntu</title><content type='html'>Open terminal:&lt;br /&gt;&lt;br /&gt;sudo apt-get install stardict&lt;br /&gt;&lt;br /&gt;Add new directories in: /usr/share/stardict/dic/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-6384621453604083275?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/6384621453604083275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=6384621453604083275&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/6384621453604083275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/6384621453604083275'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/10/install-stardict-unbuntu.html' title='install stardict unbuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-3481313758378868623</id><published>2007-10-03T01:27:00.000-07:00</published><updated>2007-10-03T01:30:53.576-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OSX'/><category scheme='http://www.blogger.com/atom/ns#' term='KibaDock'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Kiba Dock OSX</title><content type='html'>Open Terminal Window&lt;br /&gt;&lt;br /&gt;sudo gedit /etc/apt/sources.list&lt;br /&gt;&lt;br /&gt;   1. Add the following lines to the end of the file:&lt;br /&gt;&lt;br /&gt;deb http://download.tuxfamily.org/3v1deb feisty eyecandy&lt;br /&gt;deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy&lt;br /&gt;&lt;br /&gt;   1. Save and Exit Gedit.&lt;br /&gt;   2. Run from the terminal window:&lt;br /&gt;&lt;br /&gt;# wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -&lt;br /&gt;# sudo apt-get update&lt;br /&gt;# sudo apt-get install kiba-dock&lt;br /&gt;# sudo apt-get install kiba-dock-dev&lt;br /&gt;# sudo apt-get install kiba-plugins&lt;br /&gt;&lt;br /&gt;hen press Alt + F2 and type kiba-dock and it should work&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-3481313758378868623?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/3481313758378868623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=3481313758378868623&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/3481313758378868623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/3481313758378868623'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/10/kiba-dock-osx.html' title='Kiba Dock OSX'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-1395320281879663883</id><published>2007-08-25T23:17:00.000-07:00</published><updated>2007-08-25T23:23:26.410-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='JDOM'/><title type='text'>Process XML with JDOM</title><content type='html'>Look ma, no Nodes: Building and manipulating JDOM documents&lt;br /&gt;&lt;br /&gt;JDOM makes use of standard Java coding patterns. Where possible, it uses the Java new operator instead of complex factory patterns, making object manipulation easy, even for the novice user. For example, let's look at how you would build a simple XML document from scratch using JDOM. The structure we are going to build is shown in Listing 1. (Download the complete code for this article from Resources.) &lt;br /&gt;&lt;br /&gt;Listing 1. Sample XML document to build&lt;br /&gt;&lt;pre class="displaycode"&gt;&lt;br /&gt;&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;br /&gt;&lt;car vin="123fhg5869705iop90"&gt;&lt;br /&gt;  &lt;!--Description of a car--&gt;&lt;br /&gt;  &lt;make&gt;Toyota&lt;/make&gt;&lt;br /&gt;  &lt;model&gt;Celica&lt;/model&gt;&lt;br /&gt;  &lt;year&gt;1997&lt;/year&gt;&lt;br /&gt;  &lt;color&gt;green&lt;/color&gt;&lt;br /&gt;  &lt;license state="CA"&gt;1ABC234&lt;/license&gt;&lt;br /&gt;&lt;/car&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-1395320281879663883?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/1395320281879663883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=1395320281879663883&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1395320281879663883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1395320281879663883'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/08/process-xml-with-jdom.html' title='Process XML with JDOM'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-3980158570330390164</id><published>2007-08-22T11:19:00.000-07:00</published><updated>2007-08-22T11:26:07.513-07:00</updated><title type='text'>Server Online</title><content type='html'>&lt;div id="post_message_7165"&gt;&lt;div align="center"&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:6;"&gt;&lt;b&gt; Làm server online tận dụng đường truyền  ADSL&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:6;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/div&gt;    &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Từ trước tới giờ, đã bao nhiêu website được bạn gõ vào khung địa chỉ trình duyệt? Có bao giờ bạn nghĩ đến việc mình sẽ tự làm một website trên chính máy tính của mình chưa? Việc triển khai một web server như vậy khó không nhỉ, tốn kém nữa? Câu trả lời là bạn không tốn một đồng nào ngoài chi phí Internet để biến máy tính của mình thành một web server thực thụ, giống như những website mà bạn đã từng ghé thăm. Có thể bạn không tin, nhưng bạn sẽ thay đổi ý kiến đến khi đọc xong bài viết này. Điều kiện để bạn làm được điều này là phải có đường truyền kết nối Internet bằng dial-up, nhưng tốt nhất là ADSL (khó làm hơn, nhưng ít chi phí Internet hơn).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Qui trình làm một web server bao gồm những bước  chính sau:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Làm sao để máy tính của bạn hiện diện trên Internet&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Cài đặt các dịch vụ web lên máy tính của bạn&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Công bố website để mọi người trên Internet có thể truy cập&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Khi bạn đã làm thành công web server, tôi sẽ hướng  dẫn bạn triển khai thêm các dịch vụ:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Triển khai dịch vụ FTP&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Làm mail server online&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Phần 1: Qui trình làm  một web server&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Làm sao để máy tính của bạn hiện diện trên      Internet&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Khi bạn thực hiện động tác quay số (dial-up) đến các ISP như VNN, FPT, … thì coi như máy tính của bạn đã là một cư dân của cộng đồng Internet. Tuy nhiên sẽ không ai biết đến bạn, vì địa chỉ IP mà ISP cấp cho bạn thay đổi sau mỗi lần bạn quay số. Dù vậy, nếu bạn cho ai đó địa chỉ IP của máy bạn, họ có thể truy cập vào và lấy tài nguyên với sự cho phép của bạn.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Đến đây, bạn đã thấy việc hiện diện trên Internet chằng phức tạp phải không? Nhưng mục tiêu của chúng ta là phải có một cái tên như &lt;a href="http://www.yahoo.com/" target="_blank"&gt; www.yahoo.com&lt;/a&gt; chẳng hạn, chứ không phải những con số khó nhớ và lại bị thay đổi sau mỗi lần mở lại kết nối Internet. Thật may là hiện nay có một số website cho phép bạn tạo một cái tên để đặt cho máy tính của mình, như &lt;a href="http://www.dyndns.org/" target="_blank"&gt; www.dyndns.org&lt;/a&gt;, &lt;a href="http://www.no-ip.com/" target="_blank"&gt; www.no-ip.com&lt;/a&gt;, và VNNIC cũng đã cung cấp dịch vụ này.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Sau đây là qui trình tạo một  cái tên cho máy tính của bạn:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Vào trang web &lt;a href="http://www.no-ip.com/" target="_blank"&gt; www.no-ip.com&lt;/a&gt; và đăng ký một tài khoản (account) miễn phí bằng cách click vào “Sign-up now” (hình 1.1). Cách thức đăng ký giống như bạn tạo một tài khoản trên các diễn đàn, lưu ý là bạn phải cung cấp địa chỉ email của bạn chính xác, no-ip sẽ gởi email để bạn kích hoạt tài khoản vừa tạo (hình 1.2).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" src="http://www.avnonline.org/vbbforum/images/smilies/tongue.gif" border="0" alt="" title="Stick Out Tongue" class="inlineimg"&gt;referrelative="t" path="m@4@5l@4@11@9@11@9@5xe"  filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v&lt;img src="http://www.avnonline.org/vbbforum/images/smilies/tongue.gif" border="0" alt="" title="Stick Out Tongue" class="inlineimg" /&gt;ath o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_s1025" type="#_x0000_t75" style="'width:381pt;"&gt;  &lt;v:imagedata src="index_files/image001.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image002.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 1.1: trang chủ của &lt;a href="http://www.no-ip.com/" target="_blank"&gt; www.no-ip.com&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1026" type="#_x0000_t75" style="'width:333pt;height:339pt'"&gt;  &lt;v:imagedata src="index_files/image003.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image004.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 1.2: bước đăng ký một  account mới&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Sau khi tạo xong tài khoản, bạn kiểm tra email và kích hoạt tài khoản bằng cách click vào liên kết trong email. Sau đó quay lại trang web &lt;a href="http://www.no-ip.com/" target="_blank"&gt; www.no-ip.com&lt;/a&gt; và login bằng account vừa tạo. Chú ý là login bằng  cách gõ vào địa chỉ mail và mật khẩu.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Khi đã đăng nhập thành công, bạn click vào link “&lt;b&gt;Add&lt;/b&gt;” và chọn tên máy tính của bạn như hình 1.3, ở đây tôi đặt tên là TGACong.no-ip.info (Thế Giới @) bằng cách điền vào “Hostname” là “TGACong” và chọn combo box bên dưới là “&lt;b&gt;no-ip.info&lt;/b&gt;”. Sau đó bạn  nhấn nút Create Host (phía dưới trang web), và đừng quan tâm đến những ô  khác ngay lúc này.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1027" type="#_x0000_t75" style="'width:387pt;height:244.5pt'"&gt;  &lt;v:imagedata src="index_files/image005.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image006.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt; &lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image008.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1028" type="#_x0000_t75" style="'width:137.25pt;height:32.25pt'"&gt;  &lt;v:imagedata src="index_files/image007.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 1.3: màn hình tạo tên  máy tính&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Tiếp theo, bạn kiểm tra lại xem tên vừa tạo đã có trong danh sách chưa, bằng cách click chuột vào link “Manage” và xem kết quả như hình 1.4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1029" type="#_x0000_t75" style="'width:455.25pt;height:213.75pt'"&gt;  &lt;v:imagedata src="index_files/image009.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image010.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 1.4: kiểm tra tên máy  (host) vừa tạo xong &lt;b&gt;tgacong.no-ip.com&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Bước cuối cùng của giai đoạn này là bạn cần download phần mềm thông báo địa chỉ IP của bạn cho tên máy tính vừa tạo ra. Bạn hãy click vào tab “Downloads” và chọn hệ điều hành là Windows, rồi bắt đầu download phần mềm (hình 1.5). Sau khi download xong, bạn chạy file đó (tên file là ducsetup.exe) và cứ “Next” cứ “OK” đến khi hoàn thành. Bạn bắt đầu chạy vừa cài đặt, nó nằm ở ngay desktop, và xuất hiện cửa sổ No-IP DUC, bạn nhấn vào nút “Edit” để nhập địa chỉ email và password đã đăng ký, minh họa hình 1.6, sau đó nhấn OK. Khi quay về cửa sổ chính của chương trình, bạn hãy check vào các tên máy muốn sử dụng, nếu thấy biểu tượng khuôn mặt màu vàng thì tên đó đã được cập nhật đúng địa chỉ IP. Mặc định khi bạn bật máy tính, chương trình thông báo IP sẽ không chạy đến khi bạn kích hoạt nó. Nếu muốn chương trình tự động chạy, bạn click vào nút “Options” ở cửa sổ chính, trong cửa sổ Options bạn check vào ô “Run as a system service”. Đến đây bạn có thể thở phào được rồi, chúc mừng bạn đã tạo xong tên máy tính cho riêng mình.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1030" type="#_x0000_t75" style="'width:446.25pt;height:230.25pt'"&gt;  &lt;v:imagedata src="index_files/image011.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image012.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 1.5: download chương  trình thông báo IP&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1031" type="#_x0000_t75" style="'width:289.5pt;height:375pt'"&gt;  &lt;v:imagedata src="index_files/image013.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image014.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 1.6: màn hình đăng  nhập account no-ip để gởi địa chỉ IP &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1032" type="#_x0000_t75" style="'width:360.75pt;height:313.5pt'"&gt;  &lt;v:imagedata src="index_files/image015.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image016.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 1.7: màn hình cấu  hình để chương trình thông báo IP tự động chạy&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;ul&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Cài đặt các dịch vụ web lên máy tính của      bạn&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Lưu ý: bạn nên sử dụng  Windows 2000 server hoặc 2003 để làm được web server IIS.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;u&gt;Bước 1&lt;/u&gt;: vào Control  Panel của Windows (hình 2.1)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;u&gt;Bước 2&lt;/u&gt;: khi bạn đã vào được Control Panel, nhấp đúp chuột vào biểu tượng “Add or Remove Programs” (hình 2.2), sẽ xuất hiện cửa sổ “Add or Remove Programs”. Bạn nhấn vào nút ở bên trái có tên “Add/Remove Windows Components” sẽ xuất hiện cấu hình mới (hình 2.3). Bạn click chuột lên dòng chữ “Application Server”, lưu ý là không thay đổi trạng thái đã check của dòng này. Sau đó nhấn nút “Details”.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;u&gt;Bước 3&lt;/u&gt;: bạn check vào  Internet Information Services (IIS) như hình 2.4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;u&gt;Bước 4&lt;/u&gt;: bạn tiếp tục nhấn OK và Next cho đến khi hoàn tất. Trong quá trình này, có thể máy tính sẽ yêu cầu bạn bỏ đĩa CD cài đặt Windows vào, vì vậy bạn cần chuẩn bị sẵn đĩa CD. Đến đây thì IIS đã được cài đặt lên máy của bạn.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1033" type="#_x0000_t75" style="'width:262.5pt;height:274.5pt'"&gt;  &lt;v:imagedata src="index_files/image017.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image018.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 2.1: vào Control Panel  của Windows&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1034" type="#_x0000_t75" style="'width:309pt;height:252.75pt'"&gt;  &lt;v:imagedata src="index_files/image019.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image020.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 2: trong Control Panel  của Windows chọn Add or Remove Programs&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1035" type="#_x0000_t75" style="'width:377.25pt;height:306pt'"&gt;  &lt;v:imagedata src="index_files/image021.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image022.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 2.3: cửa sổ Windows  Components&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1036" type="#_x0000_t75" style="'width:336.75pt;height:258pt'"&gt;  &lt;v:imagedata src="index_files/image023.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image024.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 2.4: chọn cài đặt dịch  vụ Internet Information Services&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;u&gt;Bước 5&lt;/u&gt;: &lt;i&gt;Tự tạo  trang web cho riêng mình&lt;/i&gt;. Nếu bạn muốn thử cho nhanh, hãy dùng Internet Explorer hoặc Firefox để truy cập một trang web nào đó, rồi lưu lại trên máy đã cài IIS để thử nghiệm (hình 2.5). Bạn nhớ đặt vị trí và tên trang web theo dạng sau: lưu ở thư mục C:\myweb\ và đặt tên là default.htm như hình 2.6. Nếu bạn biết cách tạo trang web bằng FrontPage hay DreamWaver, bạn cũng đặt tên như vậy và lưu đúng vị trí nhé.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1037" type="#_x0000_t75" style="'width:275.25pt;height:332.25pt'"&gt;  &lt;v:imagedata src="index_files/image025.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image026.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 2.5: lưu lại trang web &lt;a href="http://www.no-ip.com/" target="_blank"&gt; www.no-ip.com&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1038" type="#_x0000_t75" style="'width:422.25pt;height:314.25pt'"&gt;  &lt;v:imagedata src="index_files/image027.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image028.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 2.6: chọn vị trí và  tên trang web để lưu lại&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;u&gt;Bước 6&lt;/u&gt;: &lt;i&gt;cấu hình  IIS để chọn trang web vừa lưu là trang chủ&lt;/i&gt;. Đây là bước khá quan trọng, bạn cần làm cẩn thận để tránh sai xót. Đầu tiên bạn mở IIS Manager như hình 2.7. Tiếp theo bạn click chuột phải vào “Default Web Site” như trong hình 2.8 và chọn “Properties”. Sau khi cửa “Default Web Site Properties” xuất hiện, bạn chọn tab “Home Directory” như hình 2.9 và sửa ô “Local Path” thành C:\myweb\. Hẳn bạn còn nhớ ở bước 5 bạn đã lưu trang web thử nghiệm ở đây. Lúc này bạn nhấn OK để hoàn tất việc cấu hình IIS.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1039" type="#_x0000_t75" style="'width:443.25pt;height:199.5pt'"&gt;  &lt;v:imagedata src="index_files/image029.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image030.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 2.7: mở chương trình IIS&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1040" type="#_x0000_t75" style="'width:402.75pt;height:374.25pt'"&gt;  &lt;v:imagedata src="index_files/image031.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image032.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 2.8: cửa sổ IIS Manager&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1041" type="#_x0000_t75" style="'width:345.75pt;height:343.5pt'"&gt;  &lt;v:imagedata src="index_files/image033.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image034.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 2.9: cửa sổ cấu hình  các thuộc tính của một website&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;u&gt;Bước 7&lt;/u&gt;: &lt;i&gt;thử nghiệm  web server của bạn&lt;/i&gt;. Chà chà, đã đến lúc xem web server của bạn chạy thế nào. Bạn hãy lấy 1 máy tính nào đó trong mạng nội bộ, mở Internet Explorer hoặc Firefox và gõ địa chỉ IP của web server mà bạn vừa vất vả cài đặt. Nếu may mắn, bạn sẽ thấy trang web đã lưu hiện lên giống hình 2.10&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1042" type="#_x0000_t75" style="'width:435pt;height:347.25pt'"&gt;  &lt;v:imagedata src="index_files/image035.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image036.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 2.10: thử nghiệm web  server vừa tạo có địa chỉ IP 172.29.8.1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;ul&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Công bố website để mọi người trên Internet có      thể truy cập&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Nếu bạn kết nối Internet bằng dial-up thì bạn không cần làm bước này, coi như bạn đã hoàn tất việc tạo một web server. Bạn hãy thử mở cửa sổ Internet Explorer và gõ vào địa chỉ &lt;a href="http://csc155.no-ip.com/" target="_blank"&gt; http://csc155.no-ip.com&lt;/a&gt; (trường hợp bạn tự đặt tên theo ý bạn, có  thể là &lt;a href="http://xyz.no-ip.info/" target="_blank"&gt; http://xyz.no-ip.info&lt;/a&gt;).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1043" type="#_x0000_t75" style="'width:435pt;height:347.25pt'"&gt;  &lt;v:imagedata src="index_files/image037.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image038.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 3.1: thử nghiệm truy  cập web server của bạn bằng tên máy tính bạn đã tạo.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Nếu bạn sử dụng ADSL router, bạn phải làm thêm 1 số bước nữa để hoàn tất công việc. Đó là cấu hình chuyển hướng cổng 80 vào web server của bạn, và đổi cổng cấu hình router.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hãy tưởng tượng router ADSL của bạn có địa chỉ IP hợp lệ (IP thật), khi một máy tính trên Internet mở kết nối đến bạn thì router ADSL sẽ nhận được kết nối này. Vì vậy bạn phải cấu hình để router chuyển hướng kết nối đến web server bên trong.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Tôi sẽ lấy ví dụ trên router  ADSL của DrayTek, bạn cần làm hai động tác:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Chuyển hướng cổng 80 vào địa chỉ IP của web server: bạn vào màn  hình cấu hình router bằng web, rồi đến mục &lt;b&gt;Advanced Setup&gt; NAT Setup&gt;  Port Redirection&lt;/b&gt;, sau đó cấu hình giống như dòng số 3 của hình 3.2,  và nhấn OK.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1044" type="#_x0000_t75" style="'width:532.5pt;height:195.75pt'"&gt;  &lt;v:imagedata src="index_files/image039.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image040.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 3.2: cấu hình chuyển  cổng 80 về địa chỉ IP của web server 172.29.8.1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;-Đổi cổng cấu hình router sang cổng khác, vì mặc định cổng này  là 80. Bạn vào mục &lt;b&gt;System Management&gt; Management Setup và chỉ định HTTP port, ví dụ 8000, để tránh đụng độ với port 80 của web. Sau khi nhấn OK, bạn đã hoàn tất công việc.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1045" type="#_x0000_t75" style="'width:534.75pt;height:146.25pt'"&gt;  &lt;v:imagedata src="index_files/image041.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://www.avnonline.org/Dung_doc/serverADSL/index_files/image042.jpg" alt="" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Hình 3.3: cấu hình thay đổi  cổng điều khiển router&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Bạn hãy hưởng thụ thành  quả của mình bằng cách mở trình duyệt và gõ vào tên máy tính bạn  đã đặt.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Lưu ý:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;Một số router ADSL không hỗ trợ định tuyến ngược như Zoom X5. Nếu bạn lấy một máy tính bên trong mạng để thử truy cập web server bằng tên host, có thể sẽ không thành công. Bạn hãy giờ một người ở ngoài Internet thử giúp bạn.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-3980158570330390164?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/3980158570330390164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=3980158570330390164&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/3980158570330390164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/3980158570330390164'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/08/server-online.html' title='Server Online'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-2678475773976980828</id><published>2007-08-20T00:12:00.000-07:00</published><updated>2007-08-20T00:19:39.838-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thunderbird'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Unbuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Mail'/><title type='text'>Install Thunderbird on Ubuntu</title><content type='html'>Some experience install Thunderbird on Ubuntu&lt;br /&gt;&lt;br /&gt;1. Download file Thunderbird http://www.mozilla.com/en-US/thunderbird/&lt;br /&gt;2. Unzip&lt;br /&gt;3. sudo cp -r -s /home/misa/soft/thunderbird /usr/lib&lt;br /&gt;4. sudo ln -s /usr/lib/thunderbird/thunderbird  /usr/bin/thunderbird&lt;br /&gt;&lt;br /&gt;That's ok!&lt;br /&gt;&lt;br /&gt;Create icon on Internet Menu:&lt;br /&gt;&lt;br /&gt;1. sudo gedit /usr/share/applications/thunderbird.desktop&lt;br /&gt;Type:&lt;br /&gt;&lt;br /&gt;[Desktop Entry]&lt;br /&gt;Encoding=UTF-8&lt;br /&gt;Name=Thunderbird&lt;br /&gt;Comment=Thunderbird Mail Client&lt;br /&gt;Exec=thunderbird&lt;br /&gt;Icon=/usr/bin/thunderbird/icons/mozicon16.xpm&lt;br /&gt;StartupNotify=true&lt;br /&gt;Terminal=false&lt;br /&gt;Type=Application&lt;br /&gt;Categories=Applications;Network&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-2678475773976980828?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/2678475773976980828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=2678475773976980828&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2678475773976980828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2678475773976980828'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/08/install-thunderbird-on-ubuntu.html' title='Install Thunderbird on Ubuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-778794648142952853</id><published>2007-07-25T21:48:00.000-07:00</published><updated>2007-07-25T21:49:20.048-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Browser'/><category scheme='http://www.blogger.com/atom/ns#' term='Opera'/><title type='text'>Fix bug Opera on Ubuntu</title><content type='html'>If you should get this error:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;/usr/lib/opera/9.0-20060616.6/opera: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory&lt;/pre&gt; &lt;/div&gt;you need to install the i386 libqt.&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;wget http://ubuntu.mirrors.tds.net/ubuntu/pool/main/q/qt-x11-free/libqt3-mt_3.3.6-1ubuntu3_i386.deb&lt;/pre&gt; &lt;/div&gt;Then,&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;sudo dpkg -x libqt3-mt_3.3.6-1ubuntu3_i386.deb .&lt;/pre&gt; &lt;/div&gt;Which will extract the guts into the current directory (.).  Now copy the contents of ./usr/lib to /usr/lib32/.&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;sudo cp ./usr/lib/libqt* /usr/lib32/&lt;/pre&gt; &lt;/div&gt;Enjoy opera.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-778794648142952853?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/778794648142952853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=778794648142952853&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/778794648142952853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/778794648142952853'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/07/fix-bug-opera-on-ubuntu.html' title='Fix bug Opera on Ubuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-4282500652624133739</id><published>2007-07-04T00:23:00.000-07:00</published><updated>2007-07-04T00:28:28.998-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSF'/><category scheme='http://www.blogger.com/atom/ns#' term='PostgreSQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Tomcat'/><category scheme='http://www.blogger.com/atom/ns#' term='Netbeans'/><title type='text'>Fix bug Tomcat 5.5.23 - Netbeans JSF - Database Driver</title><content type='html'>Add driver into package.&lt;br /&gt;&lt;br /&gt;- Right-click on project, choose Propertises/Build/Packaging/Add File, then browse the database driver, set Path in WAR is WEB-INF/lib&lt;br /&gt;&lt;br /&gt;- Copy driver into JAVA_HOME/jre/lib/ext&lt;br /&gt;- Restart Tomcat and run project&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-4282500652624133739?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/4282500652624133739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=4282500652624133739&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4282500652624133739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/4282500652624133739'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/07/fix-bug-tomcat-5523-netbeans-jsf.html' title='Fix bug Tomcat 5.5.23 - Netbeans JSF - Database Driver'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-2147971330766310365</id><published>2007-07-03T21:42:00.000-07:00</published><updated>2007-07-03T21:43:09.222-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenOffice'/><title type='text'>Set Default Template</title><content type='html'>&lt;div style="font-family: arial;" class="snap_preview"&gt;&lt;p&gt;This one’s for those using an alternative to Microsoft Office–OpenOffice.org.&lt;/p&gt; &lt;p&gt;Tired of changing the default page size from A4 to Letter everytime you create a new Writer document? Do you wish adding a page number on each page of your more-than-a-page document were not an additional task amidst the rush?&lt;/p&gt; &lt;p&gt;Do you wish to change the default Writer document template?&lt;/p&gt; &lt;p&gt;Easy.&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Create a new document. (&lt;code&gt;File-&gt;New-&gt;Text Document&lt;/code&gt; or press Ctrl+N if you’re in the Writer mode or start OpenOffice.org Writer from your desktop’s program menu.)&lt;/li&gt;&lt;li&gt;Change the way it looks on the screen and off the printer. The following may be your concern: &lt;ul&gt;&lt;li&gt;Page setup. Choose &lt;code&gt;Format-&gt;Page&lt;/code&gt; from the menu. Change the page setup as you wish, e.g., size, margins.&lt;/li&gt;&lt;li&gt;Footer or header. If you want to paginate your document, that is, put page number on each page say at the bottom, choose &lt;code&gt;Insert-&gt;Footer-&gt;Default&lt;/code&gt;. You are then brought to the footer area. Press Ctrl+R to put the cursor to the right margin. Then choose &lt;code&gt;Insert-&gt;Fields-&gt;Page Number&lt;/code&gt;.&lt;/li&gt;&lt;li&gt;Default font. Let’s say you hate Times New Roman and want to boast of the beauty of Deja Vu. Fire up the Styles and Formatting box by pressing F11 (note that pressing F11 with the box already open closes it). Right-click on the paragraph style called Default and a menu pops up. Select &lt;code&gt;Modify&lt;/code&gt;. With the Paragraph Style dialog box open, go to the Font tab. Then locate the font Deja Vu, click on it and then click on the OK command button.&lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;After finally deciding on the document setup, save it as your template by choosing from the menu &lt;code&gt;File-&gt;Templates-&gt;Save&lt;/code&gt;. With the Templates box open, enter the name for your default document and then click on the OK command button.&lt;/li&gt;&lt;li&gt;&lt;code&gt;Choose File-&gt;Templates-&gt;Organize&lt;/code&gt; from the menu. With the Template Management dialog box open, locate your saved default document template by double-clicking on the &lt;code&gt;My Templates&lt;/code&gt; item in the left side. Select the template. Then click on the Commands button at the right side, and click on the &lt;code&gt;Set As Default Template&lt;/code&gt; item. And then close the dialog box.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;You are now ready to create new documents using the template you customized yourself.&lt;/p&gt; &lt;/div&gt;                &lt;strong style="font-family: arial;"&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-2147971330766310365?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/2147971330766310365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=2147971330766310365&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2147971330766310365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2147971330766310365'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/07/set-default-template.html' title='Set Default Template'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-2402085149805991490</id><published>2007-07-02T19:18:00.000-07:00</published><updated>2008-04-14T22:37:50.570-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Unbuntu'/><title type='text'>config java 6 ubuntu</title><content type='html'>&lt;pre&gt;&lt;code&gt;$ chmod a+x jdk-6-linux-i586.bin&lt;br /&gt;&lt;/code&gt;&lt;code&gt;$ sudo ./jdk-6-linux-i586.bin&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;code&gt;$ sudo mkdir /usr/lib/jvm&lt;br /&gt;&lt;/code&gt;&lt;code&gt;$ sudo mv jdk1.6.0 /usr/lib/jvm/&lt;br /&gt;&lt;/code&gt;&lt;code&gt;$ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0/bin/java" 1&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;code&gt;$ sudo update-alternatives --set java /usr/lib/jvm/jdk1.6.0/bin/java&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;code&gt;$ sudo gedit /etc/profile&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;# Variáveis ambiente do JDK 6.0&lt;br /&gt;JAVA_HOME=/usr/lib/jvm/jdk1.6.0&lt;br /&gt;PATH=$JAVA_HOME/bin:$PATH&lt;br /&gt;CLASSPATH=.:$JAVA_HOME/lib/tools.jar&lt;br /&gt;MANPATH=$MANPATH:$JAVA_HOME/man&lt;br /&gt;export JAVA_HOME PATH CLASSPATH MANPATH&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$ java -version&lt;br /&gt;&lt;/code&gt;&lt;code&gt;$ javac -version&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-2402085149805991490?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/2402085149805991490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=2402085149805991490&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2402085149805991490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/2402085149805991490'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/07/config-java-6-ubuntu.html' title='config java 6 ubuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-698691179207349316</id><published>2007-06-28T09:55:00.000-07:00</published><updated>2007-06-28T10:03:00.909-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Browser'/><category scheme='http://www.blogger.com/atom/ns#' term='Unbuntu'/><title type='text'>Opera on Ubuntu</title><content type='html'>&lt;h1 id="title"&gt;&lt;a title="Click to do a full-text search for this title" href="https://help.ubuntu.com/community/OperaBrowser?action=fullsearch&amp;value=linkto%3A%22OperaBrowser%22&amp;amp;context=180"&gt;OperaBrowser&lt;/a&gt;&lt;/h1&gt;   &lt;p&gt;Instructions to install &amp; configure Opera 9.20 in Ubuntu, based off &lt;a class="external" href="http://www.ubuntuforums.org/showthread.php?t=40467"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; this Ubuntu Forum thread&lt;/a&gt;. &lt;/p&gt;  &lt;h2 id="head-0f4cb9b6b2503436fc503fde10964fc8860199b6"&gt;Introduction&lt;/h2&gt;  &lt;p&gt;There are two basic types of installations, static and shared: &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Static version&lt;/strong&gt;: Opera has the Qt library built in. It is a larger download, and it does not use anti aliased fonts on menus or the file chooser, and uses aliasing in the browser window and most other interface elements. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Shared version&lt;/strong&gt;: Opera uses the Qt installation on your system. It integrates with the system, using whatever anti aliasing setting you have for other Qt applications. &lt;/p&gt; &lt;p&gt;Which is better? Probably the Shared version. Try the other one if you run into installation problems. &lt;/p&gt;  &lt;h2 id="head-92f82e3af0fe2c9315b6132b710eeca7a74123a3"&gt;Installation&lt;/h2&gt;   &lt;h3 id="head-23a4e6eff9c0f19b51762f341f73ba121241539c"&gt;Method 1&lt;/h3&gt;   &lt;h4 id="head-e3cf3e55fb9061cd0add0a61f537a650ad19c2a8"&gt;Install deb package manually&lt;/h4&gt;  &lt;p&gt;Go to &lt;a class="external" href="http://www.opera.com/download/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Opera Download Site&lt;/a&gt;, choose your package, and pick a download mirror. This site does not offer a choice between Shared Qt and Static Qt, so if you have a preference, use &lt;a class="external" href="http://ftp.opera.com/pub/opera/linux/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; this directory&lt;/a&gt; (be sure to choose a .deb package).  Save the file to somewhere you can find it, like the Desktop or your home directory. &lt;/p&gt;  &lt;h5 id="head-1e65af91da7821825e23f435221b1b33f7e8ac1a"&gt;Ubuntu 7.04 Feisty Fawn&lt;/h5&gt;  &lt;p&gt;Locate the .deb package and double click on it to start the Gdebi .deb installer. &lt;/p&gt;  &lt;h5 id="head-45b51fefdb6527e287fdb5cf031325b49ead5108"&gt;Ubuntu 6.10 Edgy Eft&lt;/h5&gt;  &lt;p&gt;Locate the .deb package and double click on it to start the Gdebi .deb installer. The installer might warn you at the end of a conflict with an existing opera package installation. It seems that you can ignore the error, your package has been installed properly anyway. Just check in your Applications menu under Internet, you should see the Opera icon. &lt;/p&gt;  &lt;h5 id="head-7b0c2992bea0c54bed968c4ea5b2d0e592e85b0c"&gt;Ubuntu 6.06 Dapper Drake&lt;/h5&gt;  &lt;p&gt;Locate the .deb package and double click on it to start the Gdebi .deb installer. &lt;/p&gt; &lt;p&gt;Opera will take a minute to install. &lt;/p&gt; &lt;p&gt;If you get messages about unmet dependencies type:  &lt;/p&gt; &lt;pre&gt;sudo apt-get -f install&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;apt will then install the missing packages. &lt;/p&gt;  &lt;h3 id="head-b3bda5c531086c6c9fc105bb80e19d51b600c70c"&gt;Method 2&lt;/h3&gt;   &lt;h4 id="head-0fa028278430428b12c71fda187cea9675c54aa8"&gt;Install via repository&lt;/h4&gt;   &lt;h5 id="head-1e65af91da7821825e23f435221b1b33f7e8ac1a-2"&gt;Ubuntu 7.04 Feisty Fawn&lt;/h5&gt;  &lt;p&gt;The Opera browser is available from the Canonical commercial repository. To get it through Synaptic or apt, add the following line to your repository list (see &lt;a href="https://help.ubuntu.com/community/Repositories/Ubuntu#other"&gt;Adding Other Repositories&lt;/a&gt;): &lt;/p&gt; &lt;p&gt;Add the following line to your repository list (see &lt;a href="https://help.ubuntu.com/community/Repositories/Ubuntu#other"&gt;Adding Other Repositories&lt;/a&gt;):  &lt;/p&gt; &lt;pre&gt;deb http://archive.canonical.com/ubuntu feisty-commercial main&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Alternatively, to use the opera.com repository add the following line instead:  &lt;/p&gt; &lt;pre&gt;deb http://deb.opera.com/opera/ stable non-free&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;After making these changes install the &lt;tt&gt;opera&lt;/tt&gt; package (see &lt;a href="https://help.ubuntu.com/community/InstallingSoftware"&gt;InstallingSoftware&lt;/a&gt;).  &lt;/p&gt; &lt;p&gt;If using the opera.com repository, it is advisable that you add the Opera GPG key. The installation steps are described &lt;a class="external" href="http://deb.opera.com/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; here&lt;/a&gt;. &lt;/p&gt;  &lt;h5 id="head-45b51fefdb6527e287fdb5cf031325b49ead5108-2"&gt;Ubuntu 6.10 Edgy Eft&lt;/h5&gt;  &lt;p&gt;The Opera browser is available from the Canonical commercial repository. To get it through Synaptic or apt, add the following line to your repository list (see &lt;a href="https://help.ubuntu.com/community/Repositories/Ubuntu#other"&gt;Adding Other Repositories&lt;/a&gt;): &lt;/p&gt;  &lt;pre&gt;deb http://archive.canonical.com/ubuntu edgy-commercial main&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;After making these changes install the &lt;tt&gt;opera&lt;/tt&gt; package (see &lt;a href="https://help.ubuntu.com/community/InstallingSoftware"&gt;InstallingSoftware&lt;/a&gt;).  &lt;/p&gt;  &lt;h5 id="head-7b0c2992bea0c54bed968c4ea5b2d0e592e85b0c-2"&gt;Ubuntu 6.06 Dapper Drake&lt;/h5&gt;  &lt;p&gt;The Opera browser is available from the Canonical commercial repository. To get it through Synaptic or apt, add the following line to your repository list (see &lt;a href="https://help.ubuntu.com/community/Repositories/Ubuntu#other"&gt;Adding Other Repositories&lt;/a&gt;): &lt;/p&gt;  &lt;pre&gt;deb http://archive.canonical.com/ubuntu dapper-commercial main&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;However, as of 2007.05.05, only 9.10 is available. It is adviseable to install the latest version (9.20) for security reasons, so rather use Opera's own repositories by adding the following instead: &lt;/p&gt; &lt;pre&gt;deb http://deb.opera.com/opera/ stable non-free&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;After making these changes install the &lt;tt&gt;opera&lt;/tt&gt; package (see &lt;a href="https://help.ubuntu.com/community/InstallingSoftware"&gt;InstallingSoftware&lt;/a&gt;).  &lt;/p&gt;  &lt;h3 id="head-8b233e94ad0c1adc2f768dd1dd7c403b6f8ddd75"&gt;64-bit&lt;/h3&gt;  &lt;p&gt;Opera is, alas, closed source. That means that we will have a 64-bit version only when Opera Software gets around to making one. In the meantime, you can run still run 32-bit Opera in a 64-bit OS with a few extra steps. &lt;/p&gt; &lt;p&gt;I have had better luck with the static version of Opera. That way you don't have to worry about the 32-bit QT dependency. Install it with &lt;/p&gt; &lt;pre&gt;sudo dpkg -i --force-architecture opera-static....deb&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;You will also want some compatibility-layers:  &lt;/p&gt; &lt;pre&gt;sudo aptitude install ia32-libs ia32-libs-gtk lib32asound2 linux32&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Opera should work now. Now you need some plugins. There are other places to get better guides, but here is a quick run through. &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; To get Flash 9, get the "flashplugin-nonfree" package from packages.ubuntu.com, for i386.  Install it with the same &lt;tt&gt;dpkg&lt;/tt&gt; command as above.   &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; To get Adobe &lt;tt&gt;acroread&lt;/tt&gt;, get the packages "acroread", "acroread-escript", and "mozilla-acroread" from packages.ubunu.com. You will have to get the ones for Edgy or earlier because licensing changes prevent inclusion in Feisty and later. Install with the same &lt;tt&gt;dpkg&lt;/tt&gt; command as above. &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;h2 id="head-b743a00cf1e4e2cc0495a68e147225ba00160090"&gt;Making it more compatible with GNOME&lt;/h2&gt;  &lt;p&gt;Opera will now be accessible from &lt;strong&gt;Applications--&gt;Internet--&gt;Opera&lt;/strong&gt;. &lt;/p&gt; &lt;p&gt;To get Opera to work better with GNOME, we're going to make sure it uses &lt;tt&gt;gnome-open&lt;/tt&gt; for file-handling. Open a Terminal and type:  &lt;/p&gt; &lt;pre&gt;mkdir ~/.opera&lt;br /&gt;cat &gt;&gt; ~/.opera/filehandler.ini&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Select the following text and paste it into your terminal by pressing Shift+Ins:  &lt;/p&gt; &lt;pre&gt;Opera Preferences version 2.0&lt;br /&gt;; Do not edit this file while Opera is running&lt;br /&gt;; This file is stored in UTF-8 encoding&lt;br /&gt;[Settings]&lt;br /&gt;Default File Handler=gnome-open ,1&lt;br /&gt;Default Directory Handler=gnome-open ,1&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Then press Ctrl+d. &lt;/p&gt;  &lt;h2 id="head-f7de045f37e62b8b84017f34cae91f3e6a8aff19"&gt;Skins for Opera&lt;/h2&gt;  &lt;p&gt;Press SHIFT+F12 and browse the available skins, pick any you like. Changing, adding, and removing them is very easy, and new ones are created very often. Below are some skins that might suit you. &lt;/p&gt; &lt;p&gt;The main page for Opera skins is &lt;a href="http://my.opera.com/community/customize/skins/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; http://my.opera.com/community/customize/skins/&lt;/a&gt;. &lt;/p&gt;  &lt;h3 id="head-20f897628305f89ab900859304c4be1db19c9142"&gt;GNOME Skins for Opera&lt;/h3&gt;  &lt;p&gt;You may preview the skins linked below: &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; &lt;a class="external" href="http://my.opera.com/community/customize/skins/info/?id=4741"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Tango for Ubuntu&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a class="external" href="http://my.opera.com/community/customize/skins/info/?id=3255"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; GNOME Opera&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a class="external" href="http://my.opera.com/community/customize/skins/info/?id=3465"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Tango CL&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a class="external" href="http://my.opera.com/community/customize/skins/info/?id=4236"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Ubuntu Dapper&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;In Opera, select "Download" to install the skin. &lt;/p&gt;  &lt;h4 id="head-f414493bf31f9ab834e7f405b5f783489b8be78b"&gt;KDE Skin for Opera&lt;/h4&gt;  &lt;p&gt;You may preview the skins linked below: &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; &lt;a class="external" href="http://my.opera.com/community/customize/skins/info/?id=3116"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; KDE-HiCrysal&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a class="external" href="http://my.opera.com/community/customize/skins/info/?id=3336"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; PlastikOpera&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a class="external" href="http://my.opera.com/community/customize/skins/info/?id=1717"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Keramik&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;In Opera, select "Download" to install the skin. &lt;/p&gt;  &lt;h3 id="head-60dc61bbc39705d6ec6a411dd3b4f4dcd4ec8e30"&gt;Integration with Gaim/Pidgin&lt;/h3&gt;  &lt;p&gt;In Tools-&gt;Preferences-&gt;Advanced-&gt;Programs, add a new protocol you want to add(eg. ymsgr for Yahoo) and select "Open with other application" and enter /usr/bin/gaim-url-handler(gaim) or /usr/bin/purple-url-handler(pidgin). &lt;/p&gt;  &lt;h2 id="head-d92bf9d0ac2ab89671021f109bc66e6e191b37ac"&gt;Protocol integration with KDE&lt;/h2&gt;  &lt;p&gt;In the Tools-&gt;Preferences-&gt;Advanced-&gt;Programs, add a new protocol you want to add(eg. ymsgr for Yahoo) and select "Open with other application". Then, if you want to use the default program you set in KDE, just set the handler to "kfmclient exec". &lt;/p&gt;  &lt;h2 id="head-7207394c819aa9df1d95aaa01beff2e2ccf39866"&gt;Setting Opera as default browser in GNOME&lt;/h2&gt;  &lt;p&gt;To set Opera as the system default browser and mailreader, follow these steps: &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; Go to System -&gt; Preferences -&gt; Preferred Applications &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; Under the Web Browser tab select "Opera" and select "Open link in new tab" &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; Under the Mail Reader tab select "Custom" and, in the Command box, enter: &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;pre&gt;opera -newmail "%s"&lt;br /&gt;&lt;/pre&gt;  &lt;h2 id="head-563c309c90b13de42f4deba8c8d628e03c152f68"&gt;Troubleshooting&lt;/h2&gt;   &lt;h3 id="head-01f53326c2ead5334c029818c6b4e99af8561996"&gt;Missing package&lt;/h3&gt;  &lt;p&gt;If you have choosen the qt-shared version, you need the libqt-mt package. However, this trick &lt;strong&gt;does not work&lt;/strong&gt; with Ubuntu 6.10 Edgy Eft. &lt;/p&gt;  &lt;h4 id="head-7b0c2992bea0c54bed968c4ea5b2d0e592e85b0c-3"&gt;Ubuntu 6.06 Dapper Drake&lt;/h4&gt;  &lt;p&gt;&lt;a class="external" href="http://packages.ubuntu.com/dapper/libs/libqt3-mt#pdownload"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Download the package&lt;/a&gt; for your architecture and double click the .deb to install. &lt;/p&gt; &lt;p&gt;Rerun installation of Opera and the dependancy problems will be gone. &lt;/p&gt;  &lt;h3 id="head-da4bf646af5a5743cd73a2b13756b8fefea7b881"&gt;Install Java&lt;/h3&gt;  &lt;p&gt;If you start Opera from the console you may see the following error message if java doesn't work correctly:  &lt;/p&gt; &lt;pre&gt;ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.&lt;br /&gt;ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;To fix this, correct the Java path under &lt;tt&gt;Tools -&gt; Preferences -&gt; Advanced Tab -&gt; Content -&gt; Java options&lt;/tt&gt;. It should look similar to this:  &lt;/p&gt; &lt;pre&gt;/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i386/&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Your actual java runtime version could be different from this one. Changes will not take effect until the browser is restarted. Use &lt;a class="external" href="http://www.java.com/en/download/help/testvm.xml"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; http://www.java.com/en/download/help/testvm.xml&lt;/a&gt; to test your Java Virtual Machine (JVM). You need to have Java installed for this. See &lt;a href="https://help.ubuntu.com/community/Java"&gt;Java&lt;/a&gt; to find out how to do that. &lt;/p&gt;  &lt;h3 id="head-e295555ee73dffe1517b926ce6444abef1927d4f"&gt;General Plugin Problems&lt;/h3&gt;  &lt;p&gt;In order for Opera to see a plugin, the plugin must be in Opera's plugin path. You can add directories to the plugin path with Tools -&gt; Preferences -&gt; Advanced -&gt; Content -&gt; Plugin Options. Add the desired directories and click Find Plugins. You may have to restart Opera to enable the plugin. &lt;/p&gt; &lt;p&gt;Some common plugin .so files: &lt;/p&gt; &lt;div&gt; &lt;table&gt; &lt;tbody&gt;&lt;tr&gt; &lt;td&gt; &lt;p&gt;Shockwave Flash&lt;/p&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;libflashplayer.so&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;Acroread&lt;/p&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;nppdf.so&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;GXine&lt;/p&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;gxineplugin.so&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;Mplayer&lt;/p&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;mplayerplug-in.so&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt; &lt;p&gt;&lt;a class="external" href="http://www.opera.com/linux/docs/plugins/install/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Opera's Linux Plugin Page.&lt;/a&gt; &lt;/p&gt;  &lt;h3 id="head-801db7120330e998f5a482a4c5b7629458c6f32f"&gt;Flash problems&lt;/h3&gt;  &lt;p&gt;Just use the latest version of flash &lt;a class="external" href="https://help.ubuntu.com/community/RestrictedFormats/Flash"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; RestrictedFormats/Flash&lt;/a&gt;. &lt;/p&gt;  &lt;h3 id="head-1c1168bb95f865261e4adbe72379b468e290cc2f"&gt;Acroread Plugin Problems&lt;/h3&gt;  &lt;p&gt;The acroread plugin did work by default in Opera 8.x. It works for recent versions so you probably do nto need following: &lt;/p&gt; &lt;ul&gt;&lt;li style="list-style-type: none;"&gt;&lt;p&gt;You must edit the Opera startup script for it to work.  Use your favorite editor to open the opera startup script: &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;pre&gt;gksudo gedit /usr/bin/opera&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Replace the lines  &lt;/p&gt; &lt;pre&gt;OPERA_LD_PRELOAD="${LD_PRELOAD}"&lt;br /&gt;export OPERA_LD_PRELOAD&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;with  &lt;/p&gt; &lt;pre&gt;LD_PRELOAD="libXm.so.2:${LD_PRELOAD}"&lt;br /&gt;export LD_PRELOAD&lt;br /&gt;OPERA_LD_PRELOAD="${LD_PRELOAD}"&lt;br /&gt;export OPERA_LD_PRELOAD&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Start Opera and open a pdf. When it asks you what to do, click the Change button next to the Opens With. A file type association dialog should popup; choose the plugin option at the bottom (nppdf.so should be an option). &lt;/p&gt;  &lt;h3 id="head-7da1624083a10ca87c4079d8e8830d21c1c90956"&gt;Opera Segmentation Fault and Java crash with static version problem&lt;/h3&gt;  &lt;p&gt;If your Opera browser started to segfault, or you are using the static version and having problems with java, do the following: &lt;/p&gt; &lt;p&gt;1. Edit the ~/.opera/pluginpath.ini, and change the lines to this &lt;/p&gt;  &lt;pre&gt;[Paths]&lt;br /&gt;/usr/lib/opera/plugins=1&lt;br /&gt;/usr/lib/mozilla/plugins=0&lt;br /&gt;/usr/lib/netscape/plugins-libc6=0&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;2. Create a symlink from /usr/lib/mozilla/plugins/libflashplayer.so to /usr/lib/opera/plugins/libflashplayer.so &lt;/p&gt; &lt;p&gt;3. Check your ~/.opera/javapath.txt, when using blackdown java, it should be /usr/lib/j2se/1.4/jre/lib/i386 &lt;/p&gt; &lt;p&gt;Solution from rwf, based on &lt;a class="external" href="http://my.opera.com/community/forums/topic.dml?id=108820&amp;t=1130281303&amp;amp;page=1"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; this forum thread&lt;/a&gt;. &lt;/p&gt;  &lt;h3 id="head-78eabfa810371b997fac520b066ef9317f7432ce"&gt;Video plugins&lt;/h3&gt;  &lt;p&gt;As of now (May 2007), embedded video playback does not work well in opera. The probably best plugin, mozilla-mplayer, works only partialy and requires &lt;a class="external" href="http://my.opera.com/community/forums/topic.dml?id=154160"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; manual compiling&lt;/a&gt;. You can try vlc, gxineplugin or totem, but it is probably adviseable to just use Firefox for sites as &lt;a class="external" href="http://www.apple.com/trailers"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; http://www.apple.com/trailers&lt;/a&gt; &lt;/p&gt;  &lt;h2 id="head-19e3589695fa1d685f22a0c4a3cd0d7ae387a4e8"&gt;Install Weekly Build&lt;/h2&gt;  &lt;p&gt;These are developement unstable version, use on your own risk! &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; Download weekly build from &lt;a class="external" href="http://my.opera.com/desktopteam/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; http://my.opera.com/desktopteam/&lt;/a&gt; and follow instructions for installing snapshot release (see above). &lt;/p&gt; &lt;/li&gt;&lt;li class="gap"&gt;&lt;p&gt; To locate libxpcom.so on your system and softlink it to /usr/lib  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;pre&gt;sudo ln -s /usr/lib/mozilla-firefox/libxpcom.so /usr/lib/libxpcom.so&lt;br /&gt;&lt;/pre&gt;  &lt;h3 id="head-2fb30ff87ace9b289dfa740b345e18c730f41e96"&gt;Credits&lt;/h3&gt;  &lt;p&gt;Credits for the GNOME skin: &lt;a class="external" href="http://ubuntuforums.org/showthread.php?p=370428"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; mneptok&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/9210219742520078744-698691179207349316?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/698691179207349316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=698691179207349316&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/698691179207349316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/698691179207349316'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/06/opera-on-ubuntu.html' title='Opera on Ubuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-7265758111934632988</id><published>2007-06-26T11:44:00.000-07:00</published><updated>2007-06-26T11:46:31.936-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PostgreSQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>Install PostgreSQL on Ubuntu</title><content type='html'>&lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;span lang="en-us"&gt;     &lt;span style="font-size:85%;color:#cc0066;"&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;                          &lt;span style="font-family: arial;font-size:85%;" &gt;PostgreSQL is a fully featured         object-relational database management system. It         supports a large part of the SQL standard and is         designed to be extensible by users in many aspects.         Some of the features are: ACID transactions, foreign         keys, views, sequences, subqueries, triggers,         user-defined types and functions, outer joins,         multiversion concurrency control. Graphical user         interfaces and bindings for many programming         languages are available as well. &lt;/span&gt;        &lt;p style="font-family: arial;"&gt;&lt;b&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;Postgresql         Database Installation in Debian&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;If you want to install the         PostgreSQL base system as well as a textual         clientrun the following command from your shell&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#apt-get install         postgresql postgresql-client&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;This will install a lot of package         dependencies as well. The version of PostgreSQL         installed should be 7.4 on a common Debian Sarge         system. If you want to check the official         documentation click        &lt;a href="http://www.postgresql.org/docs/7.4/"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;A few questions will be asked by         the configuration script. Most of them can be simply         agreed, but you might want to read them to know what         configuration PostgreSQL will use.&lt;br /&gt;       &lt;br /&gt;       Data directory All &lt;a id="KonaLink1" target="_new" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.debianhelp.co.uk/postgresql.htm#"&gt;&lt;span style="color: rgb(0, 153, 0) ! important; font-family: Verdana; font-weight: 400; font-size: 13px; position: static;color:#009900;" &gt;&lt;span class="kLink" style="color: rgb(0, 153, 0) ! important; font-weight: 400; font-size: 13px; position: static;"&gt;database&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; data will be kept in        &lt;span style="color:#cc0066;"&gt;/var/lib/postgres/data &lt;/span&gt;        by default.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Data removal policy Also by         default, a PostgreSQL system removal won't remove         the data (database contents).&lt;br /&gt;       Locale The locale should be configured to accept the         character encoding you are going to use with your         database system. Choose something that suits you.         The list of available locales comes from the system.         If you need more locales, you need to install them         on the system first.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Date Choose European or US as your         preferred date format.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;The install continues with several         default parameters, and then creates        &lt;span style="color:#cc0066;"&gt;/etc/postgresql/postgresql.conf&lt;/span&gt;,         which will hold your configuration settings.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc0066;"&gt;&lt;b&gt;Creating         Users for your Database&lt;/b&gt;&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;The only (default) way to log into         your newly created database system is to log as         root, then to log as user postgres, by issuing        &lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#su&lt;br /&gt;       #su postgres&lt;br /&gt;       #psql template1&lt;br /&gt;       #template1=# \q&lt;br /&gt;       #exit&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;However, you would probably like         to be able to login as your &lt;a id="KonaLink2" target="_new" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.debianhelp.co.uk/postgresql.htm#"&gt;&lt;span style="color: rgb(0, 153, 0) ! important; font-family: Verdana; font-weight: 400; font-size: 13px; position: static;color:#009900;" &gt;&lt;span class="kLink" style="color: rgb(0, 153, 0) ! important; font-weight: 400; font-size: 13px; position: static;"&gt;unix&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; user, or any other         user you choose. There are several ways to set up         these accesses, so let's decomposeAlowing local         users to login is done by editing the        &lt;span style="color:#cc0066;"&gt;/etc/postgresql/pg_hba.conf        &lt;/span&gt;file (a complete documentation of this file         is available        &lt;a href="http://www.postgresql.org/docs/7.4/static/client-authentication.html"&gt;        here&lt;/a&gt;). There, you have to retrieve a series of         lines like the following ones &lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;local all postgres         ident sameuser&lt;br /&gt;       #&lt;br /&gt;       # All other connections by UNIX sockets&lt;br /&gt;       local all all ident sameuser&lt;br /&gt;       #&lt;br /&gt;       # All IPv4 connections from localhost&lt;br /&gt;       host all all 127.0.0.1 255.255.255.255 md5&lt;br /&gt;       # All IPv6 localhost connections&lt;br /&gt;       host all all ::1         ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ident         sameuser&lt;br /&gt;       host all all ::ffff:127.0.0.1/128 ident sameuser&lt;br /&gt;       #&lt;br /&gt;       # reject all other connection attempts&lt;br /&gt;       host all all 0.0.0.0 0.0.0.0 reject&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;This file has limited accesses but         we will come back here later.Now what we have told         PostgreSQL is that all users on the local machine         should be able to access all databases, using their         UNIX login and passwords. You need to restart your         database to take new changes effect&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;b&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;Restart         postgresql using the following command&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#/etc/init.d/postgresql-8.2 restart&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Now the problem is that you have         authorized users to log into the database, but they         will only be able to log in if they also exist in         the database. So you need to create accounts with         their usernames. This is done by issuing the         createuser command as user postgres  as follows&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#su postgres&lt;br /&gt;       #createuser firstuser&lt;br /&gt;       #exit&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;The createuser command will ask         you if the user should be able to create databases         or create new users. Answer truly.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Now you have a new user in the         database, and you should be able to connect as this         user (let's call him firstuser) like this: &lt;/span&gt;        &lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#su - firstuser&lt;br /&gt;       #firstuser@localhost:~$ psql -W template1&lt;br /&gt;       #template1=# \q&lt;br /&gt;       #exit&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;The -W parameter is to ask for a         password prompt. You should enter your system         password when asked.&lt;br /&gt;       So that's it, we got the first part of this         installation running. Now let's prepare this for the         web.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;If some of your web scripts are         going to need a connection to the database, you will         need to grant them some access via a new user,         reserved for this web usage.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Let's first create this new user         (as user postgres). Let's call him webuser. &lt;/span&gt;        &lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#su postgres&lt;br /&gt;       #createuser webuser&lt;br /&gt;       #exit&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Now you want to give him access to         one or several databases (let's say you will let him         access the databases which name is web). To do this,         you need to edit once more the pg_hba.conf file.         Retrieve the first line below and write the second         one just beneath the first. &lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;host all all         127.0.0.1 255.255.255.255 md5&lt;br /&gt;       host web webuser 127.0.0.1 255.255.255.255 md5&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Would you like to give this user         access from any computer on the sub-network         192.168.0.xxx, you would have to add the following         line &lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;host web webuser         192.168.0.1 255.255.255.0 md5&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;You have to grant him access to         the host as it will probably use the TCP/IP protocol         to get a connection to the database, and that's what         host is for. But as you have given him an md5         authentication type, you need to give him a password         as well. In order to do this, you need to connect to         the database and issue a special command, all as         postgres user: &lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#su postgres&lt;br /&gt;       #postgres@localhost:~$ psql template1&lt;br /&gt;       #template1=# alter user webuser password 'some_password';&lt;br /&gt;       #ALTER USER&lt;br /&gt;       #template1=# \q&lt;br /&gt;       #exit&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Now the user should have a nice 'some_password'         password that you can use after restarting         PostgreSQL to make it remember your changes to         pg_hba.conf.&lt;/span&gt;&lt;/p&gt;        &lt;span style="font-family: arial;font-family:Verdana;font-size:78%;"  &gt;         &lt;p&gt;&lt;b&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;Restart         postgresql using the following command&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;        &lt;p&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#/etc/init.d/postgresql-8.2 restart&lt;/span&gt;&lt;/p&gt;        &lt;/span&gt;         &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;And you should be able to create         his own database if you gave him the permission&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#createdb -h         localhost -U webuser -W web&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;And connect to this newly-created         database using the following command&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#psql -h localhost         -U webuser -W web&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;As you might have noticed, we use         -h localhost here. This is to force the PostgreSQL         client to use TCP/IP instead of UNIX sockets. If you         don't want is, you need to add a new line into the         "local" category of pg_hba.conf for the user webuser         to connect via sockets.The line would be something         like &lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;local web webuser         md5&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;b&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;Using SQL        &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;The first important command you         might want to know is &lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#psql -h localhost         -U webuser -W -l&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;This will give you a list of         available databases.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Now connect to the PostgreSQL         database using the psql client, and let's create a         small table, just after a few tests&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;web=&gt; SELECT         version();&lt;br /&gt;       web=&gt; SELECT current_date;&lt;br /&gt;       web=&gt; SELECT 2+2;&lt;br /&gt;       web=&gt; \h&lt;br /&gt;       web=&gt; \d&lt;br /&gt;       web=&gt; \dt&lt;br /&gt;       web=&gt; CREATE TABLE weather(&lt;br /&gt;       web=&gt; city varchar(80),&lt;br /&gt;       web=&gt; temp_lo int, -- low temperature&lt;br /&gt;       web=&gt; temp_hi int, -- high temperature&lt;br /&gt;       web=&gt; prcp real, -- precipitation&lt;br /&gt;       web=&gt; date date&lt;br /&gt;       web=&gt; );&lt;br /&gt;       web=&gt; INSERT INTO weather (city, temp_lo, temp_hi,         prcp, date)&lt;br /&gt;       web=&gt; VALUES ('San Francisco', 43, 57, 0.0,         '1994-11-29');&lt;br /&gt;       web=&gt; INSERT INTO weather (date, city, temp_hi,         temp_lo)&lt;br /&gt;       web=&gt; VALUES ('1994-11-29', 'Hayward', 54, 37);&lt;br /&gt;       web=&gt; SELECT city, temp_lo as 'Lowest Temperature',         temp_hi as 'Highest Temperature' FROM weather;&lt;br /&gt;       web=&gt; SELECT city FROM weather WHERE temp_lo &lt; 40;&lt;br /&gt;       web=&gt; SELECT max(temp_lo) FROM weather;&lt;br /&gt;       web=&gt; UPDATE weather SET temp_lo = 41 WHERE city =         'Hayward';&lt;br /&gt;       web=&gt; SELECT * FROM weather;&lt;br /&gt;       web=&gt; DELETE FROM weather WHERE prcp IS NULL;&lt;br /&gt;       web=&gt; SELECT * FROM weather;&lt;br /&gt;       web=&gt; \q&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Now you've had a nice overview of         several SQL statements and how to use them in         PostgreSQL.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Later, you might want to create a         table with a numerical sequence as an index. This         link will help you get through this step which I         find counter-intuitive and user-unfriendly at will.         You might as well know of a shortcut. If you want to         create a default auto-incremental key that will be         used by your table, you need to define (for every         table) a SEQUENCE. This id done, for the weather         table above, like this (with the help of user         comments here):&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;web=&gt; CREATE         SEQUENCE my_table_pk_sequence;&lt;br /&gt;       web=&gt; CREATE TABLE weather(&lt;br /&gt;       web=&gt; id int not null default         nextval('my_table_pk_sequence') PRIMARY KEY,&lt;br /&gt;       web=&gt; city varchar(80),&lt;br /&gt;       web=&gt; temp_lo int, -- low temperature&lt;br /&gt;       web=&gt; temp_hi int, -- high temperature&lt;br /&gt;       web=&gt; prcp real, -- precipitation&lt;br /&gt;       web=&gt; date date&lt;br /&gt;       web=&gt; );&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;And then insert elements as         before, ignoring the id field &lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;web=&gt; INSERT INTO         weather (date, city, temp_hi, temp_lo)&lt;br /&gt;       web=&gt; VALUES ('1994-11-29', 'Hayward', 54, 37);&lt;br /&gt;       web=&gt; SELECT * FROM weather;&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;This should have inserted an         auto-incremented id.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;b&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;If you want to         install ODBC Support follow this&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;First install ODBC support         packages in debian&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;#apt-get install         odbc-postgresql&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;This should need about 1 MB on         your system's hard drive.This should be enough to         form a DSN name in order to connect to your table. A         good source of information on the topic can be found        &lt;a href="http://gborg.postgresql.org/project/psqlodbc/faq/faq.php"&gt;        here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Using the parameters we used here         above, you should be able to connect with something         like: &lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;color:#cc0066;"&gt;Server=localhost{         or the IP address of your PostgreSQL         server};Database=web;Uid=webuser;Pwd=some_password"&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Note that we use MD5 encryption,         so you might need to specify that somewhere (and         encrypt your password before you put it in the         connection string).&lt;/span&gt;&lt;/p&gt;        &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;If you don't want to do this         through command line no problem you can use web         interface tools for postgresql.If you want to use         this click &lt;a href="http://www.debianhelp.co.uk/postgresqlweb.htm"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-7265758111934632988?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/7265758111934632988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=7265758111934632988&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/7265758111934632988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/7265758111934632988'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/06/install-postgresql-on-ubuntu.html' title='Install PostgreSQL on Ubuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-8638960832838722450</id><published>2007-06-24T22:04:00.000-07:00</published><updated>2007-06-24T22:05:40.968-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Netbeans'/><title type='text'>Netbeans JSF!!!!</title><content type='html'>public DataModel getTbcompanys() {&lt;br /&gt;        EntityManager em = getEntityManager();&lt;br /&gt;        try{&lt;br /&gt;            Query q = em.createQuery("select object(o) from Tbcompany as o &lt;span style="font-weight: bold;"&gt;ORDER BY o.id&lt;/span&gt;");&lt;br /&gt;            q.setMaxResults(batchSize);&lt;br /&gt;            q.setFirstResult(firstItem);&lt;br /&gt;            model = new ListDataModel(q.getResultList());&lt;br /&gt;            return model;&lt;br /&gt;        } finally {&lt;br /&gt;            em.close();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;trong file Controller&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-8638960832838722450?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/8638960832838722450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=8638960832838722450&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/8638960832838722450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/8638960832838722450'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/06/netbeans-jsf.html' title='Netbeans JSF!!!!'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-1017787847874418154</id><published>2007-06-23T23:19:00.000-07:00</published><updated>2007-06-23T23:20:21.350-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>rar archive!</title><content type='html'>&lt;span name="intelliTxt" id="intelliTXT"&gt;&lt;code&gt;sudo apt-get install rar&lt;br /&gt;sudo ln -fs /usr/bin/rar /usr/bin/unrar&lt;/code&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-1017787847874418154?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/1017787847874418154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=1017787847874418154&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1017787847874418154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1017787847874418154'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/06/rar-archive.html' title='rar archive!'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-7342610531838772234</id><published>2007-06-23T23:06:00.000-07:00</published><updated>2007-06-23T23:14:13.251-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Multimedia'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Multimedia</title><content type='html'>&lt;p face="arial"&gt;Ubuntu strives to make all software that meets the licensing terms in the &lt;a class="external" href="http://www.ubuntu.com/ubuntu/licensing"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Ubuntu License Policy&lt;/a&gt; available. However patent and copyright restrictions complicate free operating systems distributing software to support proprietary formats. &lt;/p&gt; &lt;p face="arial"&gt;Ubuntu's commitment to only include completely free software by default means that proprietary media formats are not configured 'out of the box'. &lt;/p&gt; &lt;p face="arial"&gt;Ubuntu can play the most popular non-free media formats, including DVD, MP3, Quicktime, Windows Media, and more by following the instructions below. If this seems like unnecessary work, remember that Ubuntu is limited by patents and license restrictions in some countries, which make it illegal for Ubuntu to include them. Avoid formats suppressed by DRM (Digital Rights Management, or Digital Restrictions Management), as they are often unplayable. &lt;/p&gt; &lt;p face="arial"&gt;See Ubuntu's &lt;a class="external" href="http://www.ubuntu.com/ubuntu/philosophy"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Free Software Philosophy&lt;/a&gt; and the &lt;a href="https://help.ubuntu.com/community/FreeFormats"&gt;Free Formats&lt;/a&gt; page for a more comprehensive discussion of these issues. &lt;/p&gt; &lt;ul style="font-family: arial;"&gt;&lt;li style="list-style-type: none;"&gt;&lt;p&gt;&lt;strong&gt;Legal Notice&lt;/strong&gt; &lt;em&gt;Patent and copyright laws operate differently depending on which country you are in. Please obtain legal advice if you are unsure whether a particular patent or restriction applies to a media format you wish to use in your country.&lt;/em&gt; &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;h3 style="font-family: arial;" id="head-17f9569280643c3d657d7df670f44c448c95c4fb"&gt;Playing Restricted Formats&lt;/h3&gt;   &lt;p style="font-family: arial;"&gt; &lt;/p&gt; &lt;p style="font-family: arial;"&gt;Follow these steps to play most common multimedia formats, including MP3, DVD, Flash, Quicktime, WMA and WMV, including both standalone files and content embedded in web pages. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;img src="https://help.ubuntu.com/community/RestrictedFormats?action=AttachFile&amp;do=get&amp;amp;target=MovieTrailer%2BSeeDiscussionPage.png" alt="MovieTrailer+SeeDiscussionPage.png" /&gt; &lt;/p&gt;  &lt;h4 style="font-family: arial;" id="head-e69e0c62de07b1e2b560c1ad6b68823328906067"&gt;Ubuntu 7.04&lt;/h4&gt;  &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; Click &lt;strong&gt;Applications → Add/Remove&lt;/strong&gt;. In the top right, change the setting to &lt;strong&gt;All available applications&lt;/strong&gt;. Then select &lt;strong&gt;Other&lt;/strong&gt; in the left panel and then select the &lt;strong&gt;Ubuntu restricted extras&lt;/strong&gt; package. Click &lt;strong&gt;OK&lt;/strong&gt;. &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; To play most DVDs you'll need the &lt;strong&gt;libdvdcss2&lt;/strong&gt; package. This package is available using &lt;a href="https://help.ubuntu.com/community/Medibuntu"&gt;Medibuntu&lt;/a&gt;. This is a third party package, and not supported by Canonical. &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="font-family: arial;"&gt;&lt;span class="u"&gt;Note&lt;/span&gt;: If DVD playback fails, and you've never played any DVD before on your system, you may need the  &lt;strong&gt;regionset&lt;/strong&gt; package to initially set the drives region. &lt;/p&gt; &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; Some external codecs may be needed in order to play certain proprietary formats such as Apple Quicktime or RealVideo. These external codecs are available in the third-party repository of &lt;a href="https://help.ubuntu.com/community/Medibuntu"&gt;Medibuntu&lt;/a&gt;. &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;h4 style="font-family: arial;" id="head-99259e1841e1e1262f4f71e0c72d5a51b3fb69e9"&gt;Ubuntu 6.06 and 6.10&lt;/h4&gt;  &lt;p style="font-family: arial;"&gt;Install the following packages to play most proprietary formats using the &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#totem"&gt;Totem&lt;/a&gt; and &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#rhythmbox"&gt;Rhythmbox&lt;/a&gt; applications, both of which are included in Ubuntu by default. Since the version of Totem that comes with Ubuntu does not yet play DVDs, the list below also includes packages for the &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#gxine"&gt;GXine&lt;/a&gt; and Ogle players, which do. &lt;/p&gt; &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; Ensure the relevant repositories are enabled. Click &lt;strong&gt;System → Administration → Synaptic Package Manager → Settings → Repositories&lt;/strong&gt; and then click &lt;strong&gt;Add&lt;/strong&gt;. Check the &lt;strong&gt;Community maintained (Universe)&lt;/strong&gt; and &lt;strong&gt;Non-free (Multiverse) boxes.&lt;/strong&gt; When you close the window, click &lt;strong&gt;Reload&lt;/strong&gt;. &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; Install the packages. While you could install packages individually using Synaptic, here is one case where any Ubuntu user can save a lot of time by using the command line. Quit out of Synaptic, then click &lt;strong&gt;Application → Accessories → Terminal &lt;/strong&gt; and paste the following command:&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;        sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gxine libxine-main1 libxine-extracodecs ogle ogle-gui&lt;br /&gt;&lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt;To play most DVDs you'll need the &lt;strong&gt;libdvdcss2&lt;/strong&gt; package. This package is available using  &lt;a href="https://help.ubuntu.com/community/Medibuntu"&gt;Medibuntu&lt;/a&gt;. This is a third party package, and not supported by Canonical. &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="font-family: arial;"&gt;&lt;span class="u"&gt;Note&lt;/span&gt;: If DVD playback fails, and you've never played any DVD before on your system, you may need the  &lt;strong&gt;regionset&lt;/strong&gt; package to initially set the drives region. &lt;/p&gt; &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; Some external codecs may be needed in order to play certain proprietary formats such as Apple Quicktime or RealVideo. These external codecs are available in the third-party repository of &lt;a href="https://help.ubuntu.com/community/Medibuntu"&gt;Medibuntu&lt;/a&gt;. &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; Users of x86 systems may also install &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/Flash"&gt; Adobe Flash Player&lt;/a&gt;. &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;h3 style="font-family: arial;" id="head-e8e18f028625a9fec498bb3d38cc284460a51a1d"&gt;Detailed Instructions and Troubleshooting&lt;/h3&gt;   &lt;h4 style="font-family: arial;" id="head-f56c97ad320b887d84a64b9d69045f02dbdf28ba"&gt;Audio&lt;/h4&gt;  &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/CDRipping"&gt; Ripping CDs&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/ConvertingToOpen"&gt; Converting your audio files and video to open formats&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/iTunesMusicStore"&gt; Using the iTunes Music Store&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/MP3"&gt; MP3&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/AAC"&gt;Playing or ripping CDs to AAC (.m4a) files&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;h4 style="font-family: arial;" id="head-ade7b6cc5a280ee943fd7884cf7dc49ebe7e22ca"&gt;DVD&lt;/h4&gt;  &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs"&gt; Playing DVDs&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/RippingDVDs"&gt; Ripping DVDs&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD"&gt; Playing Blu Ray and HD DVD&lt;/a&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;h4 style="font-family: arial;" id="head-72bdc20d068d618fa98aa7d4477a8b56e4a8255a"&gt;Web&lt;/h4&gt;  &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/Flash"&gt; Playing Flash &lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; Adobe Shockwave is not supported on Linux &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;h4 style="font-family: arial;" id="head-79bfba9a0e96d62a622a47430239a1d49454c953"&gt;Video&lt;/h4&gt;  &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/StreamingVideo"&gt; Streaming Video&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RealPlayerInstallationMethods"&gt;Realplayer&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/Smil"&gt; Smil&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/Medibuntu"&gt; Apple Quicktime and RealVideo&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;h4 style="font-family: arial;" id="head-6e7588e03de6b18c16eec47cce41443bcaf68266"&gt;Other&lt;/h4&gt;  &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/Java"&gt; Java&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/RestrictedFormats/Microsoft%20Fonts"&gt; Installing popular fonts from Microsoft&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;p style="font-family: arial;"&gt; &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-36fedf24fdc9c37cf0bcef220af3abaec8aede27"&gt;The Ubuntu and Kubuntu Media Players&lt;/h3&gt;  &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; &lt;strong&gt;Ubuntu 6.06 LTS (Dapper Drake)&lt;/strong&gt; comes with &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#totem"&gt;Totem&lt;/a&gt; (a movie player) and &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#rhythmbox"&gt;Rhythmbox&lt;/a&gt; (a music player) &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;strong&gt;Kubuntu 6.06 LTS&lt;/strong&gt; and &lt;strong&gt;Kubuntu 6.10&lt;/strong&gt; include &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#kaffeine"&gt;Kaffeine&lt;/a&gt; (a multimedia player) and &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#amarok"&gt;AmaroK&lt;/a&gt; (a music player) &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="font-family: arial;"&gt;These media players support free formats (Ogg Vorbis, Ogg Theora, and similar formats) 'out of the box'. However, they can also play most non-free media formats if you install the additional gstreamer (for Ubuntu only) or libxine1 (for Kubuntu only) packages listed above. &lt;/p&gt;  &lt;p style="font-family: arial;"&gt; &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-51da8d49e45bfd7f114894931f0c16faaac6aea5"&gt;Alternative Media Players&lt;/h3&gt;  &lt;ul style="font-family: arial;"&gt;&lt;li style="list-style-type: none;"&gt;&lt;p&gt;The best support for MPEG-1, MPEG-2, MPEG-4 (for example, encoded with DivX, XviD or FFmpeg MPEG-4), Quick&lt;strong&gt;&lt;/strong&gt;Time and other proprietary or non-free media formats is currently provided by &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#totem-xine"&gt;Totem-xine&lt;/a&gt;, &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#kaffeine"&gt;Kaffeine&lt;/a&gt;, &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#gxine"&gt;gxine&lt;/a&gt;, and &lt;a href="https://help.ubuntu.com/community/MPlayer"&gt;MPlayer&lt;/a&gt;. Playing Windows Media Video (WMV) or Real&lt;strong&gt;&lt;/strong&gt;Video files requires a software library that Ubuntu cannot distribute due to licensing restrictions (see &lt;a href="https://help.ubuntu.com/community/Medibuntu"&gt;Medibuntu&lt;/a&gt; for more information). &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p style="font-family: arial;"&gt; &lt;/p&gt; &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; &lt;strong&gt;Additional Ubuntu Players&lt;/strong&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Totem-xine&lt;/strong&gt; or &lt;strong&gt;gxine&lt;/strong&gt; are recommended for most users; &lt;strong&gt;MPlayer&lt;/strong&gt; provides some of the most comprehensive Free Software support for free and non-free media formats and is highly recommended, but the setup and configuration are slightly more complicated, particularly for Ubuntu Breezy users. &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="font-family: arial;"&gt;The two default media players for Kubuntu (Amarok and Kaffeine) both use xine by default. There are other applications that uses xine as a backend. For any xine based players, some packages need to be installed to play most media formats (MP3, DVD, etc.). These packages are: &lt;/p&gt; &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; libxine1-ffmpeg (Support for playback of MPEG formats (i.e. MP3) and other formats.) &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; libdvdread3 (For DVD playback.) &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; libdvdcss2 (For encrypted DVD playback.) &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="font-family: arial;"&gt;libdvdcss2 is not in the Ubuntu repository for legal reasons. This package is available using &lt;a href="https://help.ubuntu.com/community/Medibuntu"&gt;Medibuntu&lt;/a&gt;. This is a third party package, and not supported by Canonical. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;Additionally, there are some formats that do not have implementations in xine yet. Non-native codecs can be used to play such formats. These codecs are available using &lt;a href="https://help.ubuntu.com/community/Medibuntu"&gt;Medibuntu&lt;/a&gt;. These codecs are not supported by Canonical. &lt;/p&gt; &lt;ul style="font-family: arial;"&gt;&lt;li style="list-style-type: none;"&gt;&lt;p&gt;A good media player, who allows the great functionality available in AmaroK at Kubuntu / KDE, is provided in the Gnome media player BMPx. It is currently only available in Feisty, but has to this point the most functionality of all Gnome media players, especially for those who switch from Kubuntu. &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; &lt;strong&gt;Ubuntu 6.06 LTS (Dapper Drake)&lt;/strong&gt; &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; Install the following packages &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; totem-xine &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; gxine &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; libxine-extracodecs &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; mplayer &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li class="gap"&gt;&lt;p&gt; &lt;strong&gt;Ubuntu 5.10 (Breezy Badger) and earlier&lt;/strong&gt; &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; Install &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; totem-xine &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; gxine &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li class="gap"&gt;&lt;p&gt; Note for Ubuntu 5.10: See &lt;a href="https://help.ubuntu.com/community/MPlayer/Breezy"&gt;MPlayer/Breezy&lt;/a&gt; for details on how to install and configure &lt;a href="https://help.ubuntu.com/community/MPlayer"&gt;MPlayer&lt;/a&gt; for your computer architecture. &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p style="font-family: arial;"&gt; &lt;/p&gt; &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; &lt;strong&gt;Additional Kubuntu Players&lt;/strong&gt; &lt;/p&gt; &lt;ul&gt;&lt;li style="list-style-type: none;"&gt;&lt;p&gt;In addition to the default &lt;a href="https://help.ubuntu.com/community/MultimediaApplications#kaffeine"&gt;Kaffeine&lt;/a&gt; player, you could try &lt;strong&gt;KMplayer&lt;/strong&gt; and &lt;strong&gt;Codeine&lt;/strong&gt;. &lt;/p&gt; &lt;/li&gt;&lt;li class="gap"&gt;&lt;p&gt; &lt;strong&gt;Kubuntu 6.06 (Dapper Drake)&lt;/strong&gt; and &lt;strong&gt;Kubuntu 6.10 (Edgy Eft)&lt;/strong&gt; &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; Install &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; kmplayer &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a class="external" href="http://www.methylblue.com/codeine/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; codeine&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; mplayer &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; xine-ui &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; libxine-extracodecs &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="font-family: arial;"&gt;&lt;img src="https://help.ubuntu.com/community/IconsPage?action=AttachFile&amp;do=get&amp;amp;target=eyes.png" alt="eyes.png" /&gt; See &lt;a href="https://help.ubuntu.com/community/MultimediaApplications"&gt;Multimedia Applications&lt;/a&gt; for an overview of the most popular media players for Ubuntu and Kubuntu. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-8fa840b0f29ed7a927231cb640610777ca2d9904"&gt;Warning Regarding Alternative Installation Methods&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;&lt;strong&gt;Warning&lt;/strong&gt;: &lt;a href="https://help.ubuntu.com/community/EasyUbuntu"&gt;EasyUbuntu&lt;/a&gt; and &lt;a href="https://help.ubuntu.com/community/Automatix"&gt;Automatix&lt;/a&gt; are third-party utilities for installing the most commonly requested applications in some Debian-based distributions. &lt;strong&gt;They are not supported or recommended by Ubuntu.&lt;/strong&gt; While they work well for many users, they have also been known to corrupt systems and leave them in a state where they cannot be upgraded to a later Ubuntu release. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-7342610531838772234?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/7342610531838772234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=7342610531838772234&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/7342610531838772234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/7342610531838772234'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/06/multimedia.html' title='Multimedia'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-1377420956380217334</id><published>2007-06-23T20:14:00.000-07:00</published><updated>2007-06-23T20:15:30.207-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Wine Instructions!</title><content type='html'>&lt;p style="font-family: arial;"&gt;&lt;strong class="highlight"&gt;Wine&lt;/strong&gt; allows you to run many Windows programs on Linux. Its homepage can be found at &lt;a href="http://www.winehq.org/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; http://www.&lt;strong class="highlight"&gt;wine&lt;/strong&gt;hq.org&lt;/a&gt;. If you are running the latest release of &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;, you can get further assistance on the #&lt;strong class="highlight"&gt;wine&lt;/strong&gt;hq &lt;a href="https://help.ubuntu.com/community/InternetRelayChat"&gt;IRC&lt;/a&gt; channel. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-fcdabfb34a519fd7d3c13329e1920429c1a3f202"&gt;Installing &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;A moderately recent version of &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; is available from the Ubuntu universe software channel. It is always recommended that you only install software from the official channels, but you also have the option to install the latest version from &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;HQ's unofficial repository. &lt;/p&gt;  &lt;h4 style="font-family: arial;" id="head-89f8654effb04f34339c85ba99f9f923dd43bcfe"&gt;Ubuntu versions of &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; (Recommended)&lt;/h4&gt;  &lt;ol style="font-family: arial;" type="1"&gt;&lt;li&gt;&lt;p&gt;Add the Universe repository (see &lt;a href="https://help.ubuntu.com/community/Repositories"&gt;Repositories&lt;/a&gt; if you need help) &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Update the package listing. &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Install the &lt;strong&gt;&lt;strong class="highlight"&gt;wine&lt;/strong&gt;&lt;/strong&gt; package. (see &lt;a href="https://help.ubuntu.com/community/InstallingSoftware"&gt;InstallingSoftware&lt;/a&gt; if you need help). &lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p style="font-family: arial;"&gt;Note: If you are looking for &lt;strong&gt;AMD64&lt;/strong&gt; &lt;strong class="highlight"&gt;wine&lt;/strong&gt; packages, go to this page: &lt;a href="https://help.ubuntu.com/community/WineForAMD64"&gt;&lt;strong class="highlight"&gt;Wine&lt;/strong&gt;ForAMD64&lt;/a&gt; &lt;/p&gt;  &lt;h4 style="font-family: arial;" id="head-c97ec1aafb204ea048a8139dd2ee466b2cdbb731"&gt;Newer versions of &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; (Not Recommended)&lt;/h4&gt;  &lt;p style="font-family: arial;"&gt;&lt;a class="external" href="http://www.winehq.com/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;HQ&lt;/a&gt; provides the newest versions of &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; packaged for Ubuntu. To use these, you need to add the &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;HQ repository and then install &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; with Synaptic. For help on adding repositories, see the &lt;a href="https://help.ubuntu.com/community/Repositories"&gt;Repositories&lt;/a&gt; page. &lt;/p&gt; &lt;ol style="font-family: arial;" type="1"&gt;&lt;li&gt;&lt;p&gt;Add the repository: &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt; For Ubuntu 7.04 (Feisty Fawn): Add the following repository, deb http://&lt;strong class="highlight"&gt;wine&lt;/strong&gt;.budgetdedicated.com/apt feisty main &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; For Ubuntu 6.10 (Edgy Eft): Add the following repository, deb http://&lt;strong class="highlight"&gt;wine&lt;/strong&gt;.budgetdedicated.com/apt edgy main &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; For Ubuntu 6.06 LTS (Dapper Drake): Add the following repository, deb http://&lt;strong class="highlight"&gt;wine&lt;/strong&gt;.budgetdedicated.com/apt dapper main &lt;/p&gt; &lt;ul&gt;&lt;li style="list-style-type: none;"&gt;&lt;p&gt;&lt;em&gt;Note that these repositories are recommended on the &lt;a class="external" href="http://winehq.org/site/download-deb"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;HQ website&lt;/a&gt;&lt;/em&gt; &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Add the repository key by typing the following into a terminal: &lt;/p&gt; &lt;ul&gt;&lt;li style="list-style-type: none;"&gt;&lt;p&gt;wget -q http://&lt;strong class="highlight"&gt;wine&lt;/strong&gt;.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add - &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Update the package cache using sudo apt-get update or by clicking 'Reload' in Synaptic &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Install &lt;strong class="highlight"&gt;wine&lt;/strong&gt; &lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p style="font-family: arial;"&gt;Note: If a source repository is desired, simply add the repositories as above except, replace deb with deb-src or follow the instructions on &lt;a class="external" href="http://winehq.org/site/download-deb"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; http://&lt;strong class="highlight"&gt;wine&lt;/strong&gt;hq.org/site/download-deb&lt;/a&gt;. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-3acca7686806077923c05fa38c442e856ffacc54"&gt;Installing Windows Applications Using &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;To install Windows applications using &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;, follow these instructions: &lt;/p&gt; &lt;ol style="font-family: arial;" type="1"&gt;&lt;li&gt;&lt;p&gt;Download the Windows application from any source (e.g. download.com).  Download the .EXE (executable). &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Place it in a convenient directory (e.g. the desktop, or home folder). &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Open the terminal, and &lt;strong&gt;cd&lt;/strong&gt; into the directory where the .EXE is located. &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Type &lt;strong class="highlight"&gt;wine&lt;/strong&gt; &lt;em&gt;the-name-of-the-application.extension&lt;/em&gt; (e.g. &lt;strong class="highlight"&gt;wine&lt;/strong&gt; realplayer.exe). &lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p style="font-family: arial;"&gt;This will start the .EXE d using &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;. If it is an installer, it should then run as it would in Windows. If the application asks for a directory to install the application to, select put it under C:\Program Files. The fake C drive is createunder .&lt;strong class="highlight"&gt;wine&lt;/strong&gt; after a user runs &lt;em&gt;&lt;strong class="highlight"&gt;wine&lt;/strong&gt;&lt;/em&gt; in the terminal for the first time.  As a hidden folder, the .&lt;strong class="highlight"&gt;wine&lt;/strong&gt; folder is hidden by default. To have it appear, go to the home directory, and press CTRL-H, or go to View &gt; Show Hidden Files. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-8adc6c924fc9586068fd385278e6f292af3e12f3"&gt;To start/run Windows programs using &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;After installing an application using the directions above, those applications can be started and used by entering &lt;em&gt;&lt;strong class="highlight"&gt;wine&lt;/strong&gt; programname.exe&lt;/em&gt; (e.g. &lt;em&gt;&lt;strong class="highlight"&gt;wine&lt;/strong&gt; realplayer.exe&lt;/em&gt;). When done, close the application as one would normally. You must run the installed executable, which will by default be in the virtual Windows drive created by &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;, at &lt;em&gt;~/.&lt;strong class="highlight"&gt;wine&lt;/strong&gt;/drive_c&lt;/em&gt;. Generally programs will install themselves somewhere under &lt;em&gt;Program Files&lt;/em&gt; inside the virtual Windows drive, following Windows conventions. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;You can also use the &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; file browser, by running &lt;em&gt;&lt;strong class="highlight"&gt;wine&lt;/strong&gt;file&lt;/em&gt; in a terminal. Clicking the &lt;em&gt;C:\&lt;/em&gt; button in the toolbar will open a window where you can browse the virtual Windows drive created in .&lt;strong class="highlight"&gt;wine&lt;/strong&gt;. Doubleclicking an executable in the &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; file browser will run it in &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;Instead of having to always enter the terminal or use the &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; file browser, you may also create a, for example, desktop icon, and start a &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; application using that icon. To do this, right click on the desktop and select "Create a launcher." If you wish, select an icon from the list of available icons (or browse to an icon you would like to use), fill out other information that is requested (Name, generic name, etc.). For the command, type in &lt;em&gt;&lt;strong class="highlight"&gt;wine&lt;/strong&gt; the-location-of-the-program.exe&lt;/em&gt; (e.g. &lt;strong class="highlight"&gt;wine&lt;/strong&gt; /home/john/.&lt;strong class="highlight"&gt;wine&lt;/strong&gt;/realplayer.exe). The most important part of creating a launcher is the command, and a few other pieces of information are not necessary (e.g. generic name). Make sure not to select "Run in terminal." This completes the process. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;If you desire to have an icon on a panel, create a launcher on the panel of choice. Do this by right-clicking the panel, selecting "Add to Panel," and selecting "Custom Application Launcher." This will ask you for the same information as before. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-41221272a5a61a8bbcbb36d2c8d9ef28ccc07ed9"&gt;Uninstalling &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; Applications&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;Open up a terminal window and type "uninstaller" - this will open up a program similar to Windows' "add/remove programs" control panel, allowing you to uninstall applications from a &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; installation.  Running uninstall programs directly via &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; should also work normally. Alternatively, you could also simply delete the folder of the application. However, as when done in Windows, this method will be "unclean" and will not remove the program's configuration from the &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; registry like using an uninstaller will. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-1944561279dcb51fdf0b4bee96d2c0c5ddf38d47"&gt;Configuring &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;On the command line or in Run Application, type &lt;strong class="highlight"&gt;wine&lt;/strong&gt;cfg. &lt;/p&gt;  &lt;h4 style="font-family: arial;" id="head-03c596e41fffeff2bf2dece5433812421c6f9501"&gt;Adding CD and DVD drives to &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;&lt;/h4&gt;  &lt;p style="font-family: arial;"&gt;Go to the &lt;strong&gt;drives&lt;/strong&gt; tab in &lt;strong class="highlight"&gt;wine&lt;/strong&gt;cfg. Hit the Autodetect button. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;If you find that this does not work correctly for you, then follow these instructions: &lt;/p&gt; &lt;ol style="font-family: arial;" type="1"&gt;&lt;li&gt;&lt;p&gt;Run &lt;strong class="highlight"&gt;wine&lt;/strong&gt;cfg &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Navigate to the &lt;strong&gt;drives&lt;/strong&gt; tab &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Click on &lt;strong&gt;Add...&lt;/strong&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;In the path bar, type /media/cdrom &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Click &lt;strong&gt;Show Advanced&lt;/strong&gt; button below the &lt;strong&gt;Browse...&lt;/strong&gt; button and set the &lt;strong&gt;Type&lt;/strong&gt; to CD-ROM &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Click &lt;em&gt;OK&lt;/em&gt; &lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p style="font-family: arial;"&gt;If you have more than one CD/DVD device you will need to identify each one differently. Use /media/cdrom0 for the first CD/DVD device, /media/cdrom1 for the second one, and so on. If in doubt, type  ls -la ~/.&lt;strong class="highlight"&gt;wine&lt;/strong&gt;/dosdevices/  in a terminal to check your CD/DVD device details after &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; is installed. &lt;/p&gt;  &lt;h4 style="font-family: arial;" id="head-c983d6661e6b3509bc0c2b059e7bc69d5dc685be"&gt;Adding applications to the menu&lt;/h4&gt;  &lt;p style="font-family: arial;"&gt;It is good procedure before setting up the menu entry to launch the new Windows program from the command line to make sure the program runs properly. To do this type  &lt;strong class="highlight"&gt;wine&lt;/strong&gt; "C:\PATHTOPROGRAM\Program.exe"  in the command line. (eg.  &lt;strong class="highlight"&gt;wine&lt;/strong&gt; "C:\Program Files\World of Warcraft\WoW.exe" ) Once you are satisfied that you have the correct details, use the normal menu editing process to add a new entry. When you get to the Command field of the entry editor be sure to copy and paste the line you used to launch the program from the terminal. Finish and save the new entry. Test to make sure the new Windows program loads via the menu. &lt;/p&gt;  &lt;h4 style="font-family: arial;" id="head-aaa6bbab083031fd3efd217e62eac91df767d630"&gt;Changing application specific settings&lt;/h4&gt;  &lt;ol style="font-family: arial;" type="1"&gt;&lt;li&gt;&lt;p&gt;Type &lt;strong class="highlight"&gt;wine&lt;/strong&gt;cfg at the command line &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Click on Add Application... &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;Navigate to where the exe is and choose that program &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;The dropdown at the bottom allows you to choose which version of Windows &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; should emulate. Also, any changes to the Libraries and Graphics tabs will only affect the chosen application in the Applications tab. &lt;/p&gt; &lt;/li&gt;&lt;/ol&gt;  &lt;h4 style="font-family: arial;" id="head-279f34bba751d503ca51cbb595f9726e69a4d01a"&gt;Using Windows Themes/Skins In &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;&lt;/h4&gt;   &lt;h5 style="font-family: arial;" id="head-80549bd5796be9095a66ba1d30b531dc4ae9be5a"&gt;Color Scheme&lt;/h5&gt;  &lt;p style="font-family: arial;"&gt;You can change the &lt;strong class="highlight"&gt;wine&lt;/strong&gt; color scheme to closely match the default ubuntu colors &lt;/p&gt; &lt;p style="font-family: arial;"&gt;gedit ~/.&lt;strong class="highlight"&gt;wine&lt;/strong&gt;/user.reg &lt;/p&gt; &lt;p style="font-family: arial;"&gt;Replace the [Control Panel\\Colors] section with &lt;/p&gt; &lt;pre style="font-family: arial;"&gt;[Control Panel\\Colors] 1176981676&lt;br /&gt;"ActiveBorder"="239 235 231"&lt;br /&gt;"ActiveTitle"="239 235 231"&lt;br /&gt;"AppWorkSpace"="198 198 191"&lt;br /&gt;"Background"="93 77 52"&lt;br /&gt;"ButtonAlternativeFace"="200 0 0"&lt;br /&gt;"ButtonDkShadow"="85 85 82"&lt;br /&gt;"ButtonFace"="239 235 231"&lt;br /&gt;"ButtonHilight"="255 255 255"&lt;br /&gt;"ButtonLight"="255 255 255"&lt;br /&gt;"ButtonShadow"="198 198 191"&lt;br /&gt;"ButtonText"="0 0 0"&lt;br /&gt;"GradientActiveTitle"="239 235 231"&lt;br /&gt;"GradientInactiveTitle"="239 235 231"&lt;br /&gt;"GrayText"="198 198 191"&lt;br /&gt;"Hilight"="246 200 129"&lt;br /&gt;"HilightText"="0 0 0"&lt;br /&gt;"InactiveBorder"="239 235 231"&lt;br /&gt;"InactiveTitle"="239 235 231"&lt;br /&gt;"InactiveTitleText"="255 255 255"&lt;br /&gt;"InfoText"="0 0 0"&lt;br /&gt;"InfoWindow"="255 255 166"&lt;br /&gt;"Menu"="239 235 231"&lt;br /&gt;"MenuBar"="239 235 231"&lt;br /&gt;"MenuHilight"="246 200 129"&lt;br /&gt;"MenuText"="0 0 0"&lt;br /&gt;"Scrollbar"="239 235 231"&lt;br /&gt;"TitleText"="255 255 255"&lt;br /&gt;"Window"="255 255 255"&lt;br /&gt;"WindowFrame"="0 0 0"&lt;br /&gt;"WindowText"="0 0 0"&lt;/pre&gt;  &lt;h5 style="font-family: arial;" id="head-9125ac329890e8bc337c72f37c992d566b7f9aa0"&gt;Using Theme/Skins&lt;/h5&gt;  &lt;p style="font-family: arial;"&gt;&lt;strong class="highlight"&gt;Wine&lt;/strong&gt; has basic handling for Windows theme/skin files in the "msstyles" format. There is a large number of these themes on &lt;a class="external" href="http://www.deviantart.com/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Deviant Art&lt;/a&gt;. To use these you must make a folder in &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;'s virtual Windows drive, then tell &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; to use the theme. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;Firstly go into &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;'s virtual drive, which is usually ".&lt;strong class="highlight"&gt;wine&lt;/strong&gt;/drive_c" in your Home folder (this is hidden, you may need to select View-&gt;Show Hidden Files in the file manager). Inside this folder go into the "windows" folder then make a new folder in there called "Resources". Enter this new folder and make a new folder called "Themes". Inside here you should make a folder for each theme you want, and put the files ending in ".msstyles" directly into them. For example, the full path to a theme file called sample.msstyles might be "/home/username/.&lt;strong class="highlight"&gt;wine&lt;/strong&gt;/drive_c/windows/Resources/Themes/Sample/sample.msstyles". &lt;/p&gt; &lt;p style="font-family: arial;"&gt;Next you need to tell &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; to use your theme, so run &lt;strong class="highlight"&gt;wine&lt;/strong&gt;cfg. In the configuration window select the tab "Desktop Integration" and check out the "Theme:" box, which should now have your theme in it's menu. After selecting the theme click "Apply" at the bottom to see how it looks (they don't always display properly), then if you are happy click "OK" and you are done. &lt;/p&gt;  &lt;h4 style="font-family: arial;" id="head-76e07473aa2b7b98f46dd1dbe74a0bc0f8fd0d9d"&gt;Fullscreen issues with overlapping Panel&lt;/h4&gt;  &lt;p style="font-family: arial;"&gt;Sometimes the Panel overlaps your fullscreen application you're running in &lt;strong class="highlight"&gt;wine&lt;/strong&gt;. The solution I've used is to remove the panel prior starting the fullscreen app and restarting it afterwards. In Ubuntu the commands are gnome-session-remove gnome-panel and gnome-panel &amp; respectively. In Xubuntu I understand they are killall xfce4-panel and xfce4-panel. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-92280d63fdeff5dde64879fb3bd80aab84179902"&gt;Instructions for specific Windows programs&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;Some Windows programs have been tested on Ubuntu. They are listed below: &lt;/p&gt; &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/DVDShrink"&gt;DVDShrink&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/FlashPlayerStandalone"&gt;FlashPlayerStandalone&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt; &lt;a href="https://help.ubuntu.com/community/WorldofWarcraft"&gt;WorldofWarcraft&lt;/a&gt; &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="font-family: arial;"&gt;Also, see &lt;strong class="highlight"&gt;Wine&lt;/strong&gt;'s Application Database at &lt;a href="http://appdb.winehq.org/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; http://appdb.&lt;strong class="highlight"&gt;wine&lt;/strong&gt;hq.org/&lt;/a&gt; &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-c65dfece90dfd8c4cf9ab68a10a7854e7c81bbe2"&gt;Creating file associations&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;If you want certain files to open in a windows application by clicking on them, the best way is to create a script. For example I want Adobe Flash project files (*.fla) to open in Adobe's Flash editor if I double click it. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;You can for example create a file gedit ~/.&lt;strong class="highlight"&gt;wine&lt;/strong&gt;/Flash\ 8. Now paste the example script in it, save and close gedit. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;Example script: &lt;/p&gt; &lt;pre style="font-family: arial;"&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;QUICKPARLOCATION="c:\\Program Files\\Macromedia\\Flash 8\\Flash.exe"&lt;br /&gt;PARAM=`&lt;strong class="highlight"&gt;wine&lt;/strong&gt;path -w "$*"`&lt;br /&gt;&lt;strong class="highlight"&gt;wine&lt;/strong&gt; "$QUICKPARLOCATION" "$PARAM"&lt;br /&gt;exit 0&lt;/pre&gt; &lt;p style="font-family: arial;"&gt;Make sure the file is executable chmod +x ~/.&lt;strong class="highlight"&gt;wine&lt;/strong&gt;/Flash\ 8 &lt;/p&gt; &lt;p style="font-family: arial;"&gt;After you completed this go to an *.fla file right click it, properties, go to the “open with” pane, click add, paste '/home/&lt;yourusername&gt;/.&lt;strong class="highlight"&gt;wine&lt;/strong&gt;/Flash 8' in the command line and select the radio bullet. Now if everything went ok, you can doubleclick the file and it will be openend in Flash 8. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-47a27f0959a03d09c20cd713f81c996d9947a916"&gt;Unhandled Page Fault&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;If you get the error message '&lt;strong class="highlight"&gt;wine&lt;/strong&gt;: Unhandled page fault on read access', try updating to &lt;strong class="highlight"&gt;wine&lt;/strong&gt; 0.9.31, from &lt;a href="http://wine.budgetdedicated.com/archive/index.html"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; http://&lt;strong class="highlight"&gt;wine&lt;/strong&gt;.budgetdedicated.com/archive/index.html&lt;/a&gt; (Download, then install with  sudo dpkg -i ./&lt;strong class="highlight"&gt;wine&lt;/strong&gt;_0.9.31~&lt;strong class="highlight"&gt;wine&lt;/strong&gt;hq0~ubuntu~6.10-1_i386.deb) &lt;/p&gt; &lt;p style="font-family: arial;"&gt;On my computers, at least, this fixes the problem. I'm using 32-bit P4 machines, running Edgy. &lt;strong class="highlight"&gt;Wine&lt;/strong&gt; hasn't worked for me (with any application, even &lt;strong class="highlight"&gt;wine&lt;/strong&gt;cfg, or putty.exe) since about &lt;strong class="highlight"&gt;wine&lt;/strong&gt; 0.9.20, but everything is great in 0.9.31 &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-1377420956380217334?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/1377420956380217334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=1377420956380217334&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1377420956380217334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/1377420956380217334'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/06/wine-instructions.html' title='Wine Instructions!'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-5480597387786260705</id><published>2007-06-23T02:09:00.001-07:00</published><updated>2007-06-23T02:09:10.297-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PostgreSQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Setup postgreSQL in Ubuntu</title><content type='html'>&lt;p style="font-family: arial;"&gt;How to install and set up a &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; 8.1 server in ubuntu. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-8acca68c6812fdc9f64578662ca459f37a6d249f"&gt;Introduction&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;&lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; is a powerful object-relational database management system, provided under a flexible BSD-style license.&lt;sup&gt;[1]&lt;/sup&gt; &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; contains many advanced features, is very fast and standards compliant. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; has bindings for many programming languages such as C, C++, &lt;a class="external" href="http://python.org/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Python&lt;/a&gt;, Java, PHP, Ruby... It can be used to power anything from simple web applications to massive databases with millions of records. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-9f260f6d5de24183d0b1c07f6e1c050d69fe5ecf"&gt;Installation&lt;/h3&gt;   &lt;h4 style="font-family: arial;" id="head-2833933ec44af73fd864939a767de522413347c3"&gt;Dapper&lt;/h4&gt;  &lt;p style="font-family: arial;"&gt;To install &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; 8.1 you may use the command line and type : &lt;/p&gt;  &lt;pre style="font-family: arial;"&gt; sudo apt-get install &lt;strong class="highlight"&gt;postgresql&lt;/strong&gt;-8.1&lt;br /&gt;&lt;/pre&gt; &lt;p style="font-family: arial;"&gt;pgAdmin III is a handy GUI for &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt;, it is essential to beginners. To install type at the command line : &lt;/p&gt;  &lt;pre style="font-family: arial;"&gt; sudo apt-get install pgadmin3&lt;br /&gt;&lt;/pre&gt; &lt;p style="font-family: arial;"&gt;You may also use the Synaptic package manager from the System&gt;Administration menu to install these packages. &lt;/p&gt;  &lt;h4 style="font-family: arial;" id="head-83280b1389c03fbac9db238d6da3f6b5288406d9"&gt;Breezy&lt;/h4&gt;  &lt;p style="font-family: arial;"&gt;The &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; version included in this release is version 8.0, which has some significant differences with 8.1. You will want to use ubuntu &lt;a href="https://help.ubuntu.com/community/UbuntuBackports"&gt;Backports&lt;/a&gt; in order to get version 8.1. You may than install &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; the same way you would under Dapper. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-30d91ae1c4e994240f90b71c77e0d28e758c61c2"&gt;Basic Server Setup&lt;/h3&gt;   &lt;h4 style="font-family: arial;" id="head-ec65f5a3bd80a251b8193071c475e1c955fd4671"&gt;Set password&lt;/h4&gt;  &lt;p style="font-family: arial;"&gt;To start off, we need to change the &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; postgres user password, we will not be able to access the server otherwise. As the “postgres” Linux user, we will execute the psql command, in a terminal type : &lt;/p&gt;  &lt;pre style="font-family: arial;"&gt; sudo -u postgres psql template1&lt;br /&gt;&lt;/pre&gt; &lt;p style="font-family: arial;"&gt;Then at the new prompt, type these two commands, replacing &lt;***password***&gt; with the new password (keep this safe &lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/smile4.png" alt=";)" height="15" width="15" /&gt; ) : &lt;/p&gt;  &lt;pre style="font-family: arial;"&gt; ALTER USER postgres WITH PASSWORD ' &lt;***password***&gt; ';&lt;br /&gt;\q&lt;br /&gt;&lt;/pre&gt;  &lt;h4 style="font-family: arial;" id="head-06836531cc687d02d21bd5aab06c8d2593d9ff7b"&gt;Create database&lt;/h4&gt;  &lt;p style="font-family: arial;"&gt;To create the first database, which we will call "mydb", simply type : &lt;/p&gt;  &lt;pre style="font-family: arial;"&gt; sudo -u postgres createdb mydb&lt;br /&gt;&lt;/pre&gt;  &lt;h3 style="font-family: arial;" id="head-6a8b8f191dc78d073143afc53d9b3201bc428d89"&gt;Using pgAdmin III  GUI&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;To get an idea of what &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; can do, you may start by firing up a graphical client. In a terminal type : &lt;/p&gt;  &lt;pre style="font-family: arial;"&gt; pgadmin3&lt;br /&gt;&lt;/pre&gt; &lt;p style="font-family: arial;"&gt;You will be presented with the pgAdmin III interface. Click on the "Add a connection to a server" button (top left). In the new dialog, enter the address 127.0.0.1, a description of the server, the default database ("mydb" in the example above), your username ("postgres") and your password. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;With this GUI you may start creating and managing databases, query the database, execute SQl etc. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-d77dfaa40c0d7fbf327d4a2db93d7dcfc2b15c14"&gt;Managing the Server&lt;/h3&gt;   &lt;h4 style="font-family: arial;" id="head-1ee42030740535abf3610766d389ca4a139c5b8e"&gt;Managing users and rights&lt;/h4&gt;  &lt;p style="font-family: arial;"&gt;&lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; has a not really easy way to manage users. To manage users, you first have to edit /etc/&lt;strong class="highlight"&gt;postgresql&lt;/strong&gt;/8.1/main/pg_hba.conf and modify the default configuration which is very protective. For example, if you want postgres to manage its own users (not linked with system users), you will add the following line:  &lt;/p&gt; &lt;pre style="font-family: arial;"&gt;8&lt;-------------------------------------------&lt;br /&gt;# TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK           METHOD&lt;br /&gt;host    all         all         10.0.0.0       255.255.255.0    password&lt;br /&gt;8&lt;-------------------------------------------&lt;br /&gt;&lt;/pre&gt; &lt;p style="font-family: arial;"&gt;Which means that on your local network (10.0.0.0/24 - replace with your own local network !), postgres users can connect through the network to the database providing a classical couple user / password. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;To create a database with a user that have full rights on the database, use the following command: &lt;/p&gt;  &lt;pre style="font-family: arial;"&gt;sudo -u postgres createuser -D -A -P myuser&lt;br /&gt;sudo -u postgres createdb -O myuser mydb&lt;br /&gt;&lt;/pre&gt; &lt;p style="font-family: arial;"&gt;The first command line creates the user the no database creation rights (-D) with no add user rights -A) and will prompt you for entering a password (-P). The second command line create the database &lt;strong&gt;'mydb&lt;/strong&gt; with &lt;strong&gt;'myuser&lt;/strong&gt;' as owner. &lt;/p&gt; &lt;p style="font-family: arial;"&gt;This little example will probably suit most of your needs. For more details, please refer to the corresponding man pages or the online documentation. &lt;/p&gt;  &lt;h3 style="font-family: arial;" id="head-16470efb5803370f8377d47c3823cca0b4b70cd3"&gt;Further reading&lt;/h3&gt;  &lt;p style="font-family: arial;"&gt;If you are not familiar with &lt;a class="external" href="http://en.wikipedia.org/wiki/Sql"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; SQL&lt;/a&gt; you may want to look into this powerful language, although some simple uses of &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; may not require this knowledge (such as a simple &lt;a class="external" href="http://www.djangoproject.com/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; Django&lt;/a&gt; project). &lt;/p&gt; &lt;p style="font-family: arial;"&gt;The &lt;a class="external" href="http://www.postgresql.org/"&gt;&lt;img src="https://help.ubuntu.com/htdocs/ubuntu/img/u-www.png" alt="[WWW]" height="16" width="16" /&gt; &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; website&lt;/a&gt; contains a wealth of information on using this database. &lt;/p&gt; &lt;hr style="font-family: arial;"&gt; &lt;p style="font-family: arial;"&gt; &lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;sup&gt;[1]&lt;/sup&gt; You do not have to pay in order to use &lt;strong class="highlight"&gt;PostgreSQL&lt;/strong&gt; for some applications, such as commercial closed source software, contrary to other well known open source databases. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-5480597387786260705?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/5480597387786260705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=5480597387786260705&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/5480597387786260705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/5480597387786260705'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/06/setup-postgresql-in-ubuntu.html' title='Setup postgreSQL in Ubuntu'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9210219742520078744.post-3158298887316266183</id><published>2007-06-23T01:36:00.000-07:00</published><updated>2007-06-23T01:36:20.759-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Gõ tiếng Việt trong Ubuntu 6</title><content type='html'>&lt;span style="font-family: arial;"&gt;Phần mềm quan trọng nhất nhì với người Việt Nam ta ấy chính là bộ gõ tiếng Việt. Không có bộ gõ tiếng Việt trên máy thì quả thật làm việc gì rồi cũng thấy… bế tắc. Gõ tiếng Việt trên Linux cũng có nhiều cách nhưng cách thông dụng và thân thuộc nhất là dùng &lt;/span&gt;&lt;a style="font-family: arial;" href="http://xvnkb.sourceforge.net/" title="Trang chủ xvnkb" target="_blank"&gt;xvnkb&lt;/a&gt;&lt;span style="font-family: arial;"&gt;, một bộ gõ tiếng Việt mã nguồn mở khá có tiếng trong thế giới Chim cánh cụt. Nó hoạt động như Vietkey hay Unikey trên Windows vậy. Mình cũng đang gõ bài post này bằng xvnkb &lt;/span&gt;&lt;img style="font-family: arial;" src="http://saylinux.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif" alt=":-D" class="wp-smiley" /&gt;&lt;span style="font-family: arial;"&gt; .&lt;/span&gt; &lt;p style="font-family: arial;"&gt;&lt;span id="more-41"&gt;&lt;/span&gt;&lt;strong&gt;1. Cài đặt trình biên dịch&lt;/strong&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Chúng ta sẽ biên dịch từ mã nguồn (đảm bảo nhất) nên sẽ cần tải xuống trình biên dịch. Cái này cũng cần cho những đồng chí lập trình viên nào nuôi ước mơ lập trình trên Linux.&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Chọn menu &lt;code&gt;Application &gt; Accessories &gt; Terminal&lt;/code&gt; để mở cửa sổ dòng lệnh. Sau đó gõ lệnh sau:&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;code&gt;sudo apt-get install build-essential&lt;/code&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Chờ cho trình cài đặt tải xuống và giải nén tất cả các gói xong là được. Tuy nhiên xvnkb khi biên dịch cũng yêu cầu phải có thêm gói &lt;code&gt;xorg-dev&lt;/code&gt; nữa. Các bạn gõ thêm lệnh &lt;code&gt;sudo apt-get install xorg-dev&lt;/code&gt; để cài đặt gói này.&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Vậy là xong bước 1.&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;strong&gt;2. Tải xuống mã nguồn và cài đặt&lt;/strong&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Trong cửa sổ dòng lệnh gõ &lt;code&gt;wget http://xvnkb.sourceforge.net/xvnkb-0.2.9a.tar.bz2&lt;/code&gt; để tải xuống mã nguồn chương trình. Sau đó giải nén bằng lệnh:&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;code&gt;tar -xvf xvnkb-0.2.9a.tar.bz2&lt;/code&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Chuyển vào thư mục vừa giải nén và biên dịch, bạn thực hiện tuần tự những lệnh sau:&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;code&gt;cd xvnkb-0.2.9a/&lt;/code&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;code&gt;./autogen.sh&lt;/code&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;code&gt;./configure --use-extstroke&lt;/code&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Đến đây phải chỉnh file config.h một chút. Bạn gõ gedit config.h và chỉnh nội dung file thành:&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;code&gt;#define __VK_CONFIG_H&lt;/code&gt;&lt;br /&gt;&lt;code&gt;#define VK_CHECK_SPELLING&lt;/code&gt;&lt;br /&gt;&lt;code&gt;#define VK_USE_EXTSTROKE&lt;/code&gt;&lt;br /&gt;&lt;code&gt;#define VK_NEED_UCHAR&lt;/code&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;(bỏ đi một vài dòng bị lỗi)&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Sau đó gõ tiếp các lệnh sau:&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;code&gt;make&lt;/code&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;code&gt;sudo make install&lt;/code&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Chúc mừng, bạn đã cài đặt thành công xvnkb. Bây giờ để khởi động chương trình bạn gõ &lt;code&gt;xvnkb&lt;/code&gt; từ cửa sổ dòng lệnh là xong. Nhắp phải chuột lên hộp chương trình của xvnkb để xem menu tuỳ chọn. Nhắp trái chuột để bật tắt tuỳ chọn gõ tiếng Việt.&lt;br /&gt;Nếu muốn xvnkb tự động chạy lúc khởi động, bạn vào menu &lt;code&gt;System &gt; Preferences &gt; Sessions&lt;/code&gt;, chọn &lt;code&gt;New&lt;/code&gt; và nhập vào ô Command như sau: &lt;code&gt;xvnkb --method=telex --charset=utf8&lt;/code&gt; (trong đó method là telex, vni hoặc viqr; charset là utf8, tcvn, viscii, vps hoặc viqr). Bây giờ xvnkb sẽ khởi động mặc định với kiểu gõ (method) và bảng mã (charset) mà bạn đã chọn.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9210219742520078744-3158298887316266183?l=bearsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bearsolution.blogspot.com/feeds/3158298887316266183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9210219742520078744&amp;postID=3158298887316266183&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/3158298887316266183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9210219742520078744/posts/default/3158298887316266183'/><link rel='alternate' type='text/html' href='http://bearsolution.blogspot.com/2007/06/g-ting-vit-trong-ubuntu-6.html' title='Gõ tiếng Việt trong Ubuntu 6'/><author><name>misamap</name><uri>http://www.blogger.com/profile/00394329952530721383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
