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

<channel>
	<title>LifeUML &#187; Ubuntu</title>
	<atom:link href="http://lifeuml.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifeuml.com</link>
	<description>from actor, to actors..</description>
	<lastBuildDate>Fri, 28 Aug 2009 10:17:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding/Removing Shell scripts</title>
		<link>http://lifeuml.com/addingremoving-shell-scripts/</link>
		<comments>http://lifeuml.com/addingremoving-shell-scripts/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 09:57:30 +0000</pubDate>
		<dc:creator>TuyenT</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[add]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[start up]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://lifeuml.com/?p=100</guid>
		<description><![CDATA[Original Post From: StringOfThoughts
Adding a script
First of all write a script, say test.sh and put it in the directory /etc/init.d . Next we need to make it executable so.

$ sudo chmod +x test.sh

You can check if the script is working by issuing

$ sudo ./test.sh

Assuming the script is working as expected, to make the script run [...]]]></description>
			<content:encoded><![CDATA[<p>Original Post From: <a href="http://stringofthoughts.wordpress.com/2009/04/16/adding-removing-shell-scripts-ubuntu-810/" target="_blank">StringOfThoughts</a></p>
<p><strong>Adding a script</strong></p>
<p>First of all write a script, say test.sh and put it in the directory /etc/init.d . Next we need to make it executable so.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x test.sh</pre></div></div>

<p>You can check if the script is working by issuing</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>test.sh</pre></div></div>

<p>Assuming the script is working as expected, to make the script run at startup / reboot.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> update-rc.d <span style="color: #660033;">-f</span> test.sh start <span style="color: #000000;">99</span> <span style="color: #000000;">2</span> <span style="color: #000000;">3</span> <span style="color: #000000;">4</span> <span style="color: #000000;">5</span> . <span style="color: #000000; font-weight: bold;">//</span> Run at startup
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> update-rc.d <span style="color: #660033;">-f</span> test.sh start <span style="color: #000000;">1</span> <span style="color: #000000;">0</span> <span style="color: #000000;">6</span> .      <span style="color: #000000; font-weight: bold;">//</span> Run at reboot</pre></div></div>

<p>Just <strong>a reminder there is dot (.)</strong> at the end of command.  Don’t forget that!! Now you are done adding a script to run at startup.</p>
<p><strong>Removing a script.</strong></p>
<p>Just a reminder for new users, don’t just go to /etc/init.d and delete the script file <img src='http://lifeuml.com/smilies/yahoo_smiley.gif' alt='&#58;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;' /> that wouldn’t help and may cause you trouble. We need a nice little application called rcconf (Debian runlevel configuration tool)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> rcconf</pre></div></div>

<p>then run rcconf (only root can run rcconf)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> rcconf</pre></div></div>

<p><img class="aligncenter size-full wp-image-101" title="rcconf1" src="http://lifeuml.com/wp-content/uploads/2009/06/rcconf1.jpg" alt="rcconf1" width="300" height="188" /></p>
<p>The interface is very simple. It lists the scripts so all you need to do is find out where is your script and toggle “*” using space bar  and then select OK. That’s all. The script is now removed but still present in the directory /etc/init.d but you can safely delete it now.</p>
<p><em><strong>Bonus:</strong></em> My shell script to launch JasperServer at start up:</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #008000;">#!/bin/sh</span>
<span style="color: pink;">/</span>opt<span style="color: pink;">/</span>jasperserver<span style="color: pink;">-</span><span style="color: #000000;">3.1</span><span style="color: pink;">/</span>jasperctl.sh start</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://lifeuml.com/addingremoving-shell-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual CD/DVD Driver in Ubuntu</title>
		<link>http://lifeuml.com/virtual-cddvd-driver-in-ubuntu/</link>
		<comments>http://lifeuml.com/virtual-cddvd-driver-in-ubuntu/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 02:40:19 +0000</pubDate>
		<dc:creator>TuyenT</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[AcetoneISO]]></category>
		<category><![CDATA[CD]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtual]]></category>

		<guid isPermaLink="false">http://lifeuml.com/?p=91</guid>
		<description><![CDATA[Do you want a virtual CD/DVD software like MagicDisc or DAEMON Tools in Windows for your Ubuntu/Linux machine? I can introduce you an acceptable (and free) one: AcetoneISO

AcetoneISO, is a feature-rich and complete software application to manage CD/DVD images. Thanks to powerful open source tools such as fuseiso, AcetoneISO will let You mount typical proprietary [...]]]></description>
			<content:encoded><![CDATA[<p>Do you want a virtual CD/DVD software like <a href="http://www.magiciso.com/tutorials/miso-magicdisc-overview.htm" target="_blank">MagicDisc</a> or <a href="http://www.daemon-tools.cc/eng/home" target="_blank">DAEMON Tools</a> in Windows for your Ubuntu/Linux machine? I can introduce you an acceptable (and free) one: <a href="http://www.acetoneteam.org/" target="_blank">AcetoneISO</a></p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-93" title="AcetoneISO" src="http://lifeuml.com/wp-content/uploads/2009/06/AcetoneISO-300x151.png" alt="AcetoneISO" width="300" height="151" /></p>
<blockquote><p>AcetoneISO, is a feature-rich and complete software application to manage CD/DVD images. Thanks to powerful open source tools such as fuseiso, AcetoneISO will let You mount typical proprietary images formats of the Windows world such as ISO BIN NRG MDF IMG and do plenty of other things.</p>
<p>- From AcetoneISO Homepage</p></blockquote>
<p>The use of AcetoneISO is pretty easy and much similar to DAEMON Tools. Just give AcetoneISO a try, and save time of burning a CD/DVD <img src='http://lifeuml.com/smilies/yahoo_smiley.gif' alt='&#58;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;' /></p>
<p>P/S: By the way, you can find some interesting information of how to mount a ISO file at <a href="http://ubuntuforums.org/showthread.php?t=529581" target="_blank">UbuntuForums</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lifeuml.com/virtual-cddvd-driver-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to view .CHM files in Ubuntu</title>
		<link>http://lifeuml.com/how-to-view-chm-files-in-ubuntu/</link>
		<comments>http://lifeuml.com/how-to-view-chm-files-in-ubuntu/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 00:00:57 +0000</pubDate>
		<dc:creator>TuyenT</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[CHM]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://lifeuml.com/?p=83</guid>
		<description><![CDATA[Original Post From: GiannisTsakiris.com
It is easy to open and view Microsoft Compiled HTML Help files (.chm) from Ubuntu. You actually have at least two options: xchm or gnochm.
To install xchm run the following command:

$ sudo apt-get install xchm

To install gnochm run:

$ sudo apt-get install gnochm

To view a .chm file using xchm you just have to [...]]]></description>
			<content:encoded><![CDATA[<p>Original Post From:<a href="http://www.giannistsakiris.com/index.php/2007/11/16/how-to-view-chm-files-in-ubuntu/"> GiannisTsakiris.com</a></p>
<p>It is easy to open and view Microsoft Compiled HTML Help files (.chm) from Ubuntu. You actually have at least two options: xchm or gnochm.</p>
<p>To install <em>xchm</em> run the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xchm</pre></div></div>

<p>To install <em>gnochm</em> run:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gnochm</pre></div></div>

<p>To view a .chm file using xchm you just have to run:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ xchm chm-file</pre></div></div>

<p>Alternative to open it with gnochm simply run:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ gnochm chm-file</pre></div></div>

<p>Or in a simplier way,  you can just double-click on the file&#8217;s icon. </p>
]]></content:encoded>
			<wfw:commentRss>http://lifeuml.com/how-to-view-chm-files-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL error 1045 (28000): Access denied for user &#8230;</title>
		<link>http://lifeuml.com/mysql-error-1045-28000-access-denied-for-user/</link>
		<comments>http://lifeuml.com/mysql-error-1045-28000-access-denied-for-user/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 04:11:58 +0000</pubDate>
		<dc:creator>TuyenT</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Access denined]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[permission]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://lifeuml.com/?p=77</guid>
		<description><![CDATA[Hello everybody,
Today, my task is configuring a MySQL server to allow connections from remote computers. The problem I has met is that although port 3306 on the router was already opened, users from internet still could not connect to my MySQL Server. Here is my error message:

tuyent@local:~$ mysql -u tuyent -p -h remote-computer
Enter password: 
ERROR [...]]]></description>
			<content:encoded><![CDATA[<p>Hello everybody,</p>
<p>Today, my task is configuring a MySQL server to allow connections from remote computers. The problem I has met is that although port 3306 on the router was already opened, users from internet still could not connect to my MySQL Server. Here is my error message:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">tuyent<span style="color: #000000; font-weight: bold;">@</span><span style="color: #7a0874; font-weight: bold;">local</span>:~$ mysql <span style="color: #660033;">-u</span> tuyent <span style="color: #660033;">-p</span> <span style="color: #660033;">-h</span> remote-computer
Enter password: 
ERROR <span style="color: #000000;">1045</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">28000</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: Access denied <span style="color: #000000; font-weight: bold;">for</span> user <span style="color: #ff0000;">'tuyent'</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #ff0000;">'local'</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>using password: YES<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Well, here is my solution:<br />
- <strong>Step 1:</strong> Double check that the port 3306 is already opened.<br />
- <strong>Step 2:</strong> Open MySQL configuration file (/etc/mysql/my.cnf), comment the line</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># bind-address            = 127.0.0.1</span></pre></div></div>

<p>- <strong>Step 3:</strong> Restart the MySQL server</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mysql restart</pre></div></div>

<p>- <strong>Step 4:</strong> Go to mysql command line and grant permission for user</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql<span style="color: #000000; font-weight: bold;">&gt;</span> grant all on <span style="color: #000000; font-weight: bold;">*</span>.<span style="color: #000000; font-weight: bold;">*</span> to <span style="color: #ff0000;">'tuyent'</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #ff0000;">'%'</span> identified by <span style="color: #ff0000;">'password'</span>;
mysql<span style="color: #000000; font-weight: bold;">&gt;</span> grant all on <span style="color: #000000; font-weight: bold;">*</span>.<span style="color: #000000; font-weight: bold;">*</span> to <span style="color: #ff0000;">'tuyent'</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #ff0000;">'localhost'</span> identified by <span style="color: #ff0000;">'password'</span>;
mysql<span style="color: #000000; font-weight: bold;">&gt;</span> flush privileges;</pre></div></div>

<p>Note: Remember to grant permission on both from localhost and from anywhere (&#8217;%&#8217; indicator), and flush all privileges.</p>
<p>Works fine for me <img src='http://lifeuml.com/smilies/yahoo_smiley.gif' alt='&#58;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;' /></p>
]]></content:encoded>
			<wfw:commentRss>http://lifeuml.com/mysql-error-1045-28000-access-denied-for-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Remote Desktop For Controlling Windows (rdesktop)</title>
		<link>http://lifeuml.com/linux-remote-desktop-for-controlling-windows-xp-vista-server-2003-rdesktop/</link>
		<comments>http://lifeuml.com/linux-remote-desktop-for-controlling-windows-xp-vista-server-2003-rdesktop/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 00:25:00 +0000</pubDate>
		<dc:creator>TuyenT</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rdesktop]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lifeuml.com/?p=48</guid>
		<description><![CDATA[I am responsible for couple of windows servers and windows xp workstations too. When I work from home, I need a way to get into Windows XP/2000/Vista/2003 server for work.

Since I have Debain Linux at home, I needed a way to login into Microsoft windows desktop from Linux OS. Many of us working at tech [...]]]></description>
			<content:encoded><![CDATA[<p>I am responsible for couple of windows servers and windows xp workstations too. When I work from home, I need a way to get into Windows XP/2000/Vista/2003 server for work.</p>
<p><img class="aligncenter size-medium wp-image-49" title="rdesktop" src="http://lifeuml.com/wp-content/uploads/2009/06/rdesktop-300x225.png" alt="rdesktop" width="300" height="225" /></p>
<p>Since I have Debain Linux at home, I needed a way to login into Microsoft windows desktop from Linux OS. Many of us working at tech support use rdesktop to connect to customers&#8217; windows XP box.</p>
<p>Especially it is very useful to configure Outlook or something else when customers do not understand how to configure or troubleshoot problem. This is the best way to fix a problem.</p>
<p>Fortunately, Linux has rdesktop utility. It is a client for remote desktop protocol (RDP), used in a number of Microsoft products including Windows NT Terminal Server, Windows 2000 Server, Windows XP and Windows 2003 Server. You do not need to install VNC server. All you need is rdesktop client on Linux or BSD workstation.</p>
<p><strong>Install rdesktop</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> rdesktop</pre></div></div>

<p>Connect to MS Windows 2000/2003 server from Linux, type the following command at a shell prompt (connect to Windows server called mw2sn100.mycorp.com)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ rdesktop mw2sn100.mycorp.com</pre></div></div>

<p>Or connect to windows XP/Vista workstation having IP 192.168.1.17:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ rdesktop 192.168.1.17</pre></div></div>

<p>Please note that you must first enable remote desktop connection under Windows Server/XP.</p>
<p>* Go to Windows XP Desktop<br />
* Right Click on My Computer<br />
* Select properties<br />
* Select Remote tab<br />
* Enable Remote desktop.<br />
* Save the changes.</p>
<p>Make sure enterprise firewall allows incoming connection on TCP port 3389. rdesktop supports many other options, see man page of rdesktop or visit main website of rdesktop for more information.</p>
<p>Original Post from: <a href="http://www.cyberciti.biz/tips/linux-remote-desktop-for-controlling-windows-xp-desktop.html" target="_blank">cyberciti.biz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lifeuml.com/linux-remote-desktop-for-controlling-windows-xp-vista-server-2003-rdesktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Tunnel + SOCKS Proxy Forwarding = Secure Browsing</title>
		<link>http://lifeuml.com/ssh-tunnel-socks-proxy-forwarding-secure-browsing/</link>
		<comments>http://lifeuml.com/ssh-tunnel-socks-proxy-forwarding-secure-browsing/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 13:52:24 +0000</pubDate>
		<dc:creator>TuyenT</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[SOCKS]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://lifeuml.com/?p=12</guid>
		<description><![CDATA[When you are at the coffee shop, or at a conference, and you are not sure that you want to send all your data over the wi-fi network in plaintext, you want a secure tunnel to browse. This happened to me recently and I stumbled across a neat feature of OpenSSH (the ssh client on [...]]]></description>
			<content:encoded><![CDATA[<p>When you are at the coffee shop, or at a conference, and you are not sure that you want to send all your data over the wi-fi network in plaintext, you want a <em>secure tunnel</em> to browse. This happened to me recently and I stumbled across a neat feature of OpenSSH (the ssh client on everyone’s computer). The wonders of ssh never cease to amaze me!</p>
<p>You can use the “-D” flag of openssh to create a SOCKS proxy.</p>
<p>The command first:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-D</span> <span style="color: #000000;">9999</span> username<span style="color: #000000; font-weight: bold;">@</span>ip-address-of-ssh-server</pre></div></div>

<p>This of course connects you to the server specified by “ip-address-of-ssh-server”. Needless to say, you (username) must have an ssh account on the server. In addition, this will create a SOCKS proxy on port “9999″ of your computer. This is a tunnel to the server. Now all you have to do is set the preference in Firefox to use a SOCKS proxy. The proxy is, of course, “localhost”, with the port 9999.</p>
<p>Now when you browse, all the connections you make to websites will seem to originate from the server to which you SSH-ed. In addition, all outgoing and incoming data for the browsing session will be encrypted since it passes through the SSH connection.</p>
<p>Source: <a href="http://ubuntu.wordpress.com/2006/12/08/ssh-tunnel-socks-proxy-forwarding-secure-browsing/" target="_blank">Ubuntu Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lifeuml.com/ssh-tunnel-socks-proxy-forwarding-secure-browsing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
