<?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; Administration</title>
	<atom:link href="http://lifeuml.com/category/administration/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>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>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>Backing Up and Restoring MySQL Database with MySQL Commands</title>
		<link>http://lifeuml.com/backing-up-and-restoring-your-mysql-database/</link>
		<comments>http://lifeuml.com/backing-up-and-restoring-your-mysql-database/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 06:44:12 +0000</pubDate>
		<dc:creator>TuyenT</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Back up]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Restore]]></category>

		<guid isPermaLink="false">http://lifeuml.com/?p=67</guid>
		<description><![CDATA[Original post from: devshed.com
Do you need to change your web host or switch your database server? This is probably the only time when you really think of backing up your MySQL data. If you&#8217;ve got a website with a database or your custom database running for your applications, it is imperative that you make regular [...]]]></description>
			<content:encoded><![CDATA[<p>Original post from: <a href="http://www.devshed.com/c/a/MySQL/Backing-up-and-restoring-your-MySQL-Database/" target="_blank">devshed.com</a></p>
<p><strong>Do you need to change your web host or switch your database server? This is probably the only time when you really think of backing up your MySQL data. If you&#8217;ve got a website with a database or your custom database running for your applications, it is imperative that you make regular backups of the database.</strong></p>
<p>The easiest way to backup your database would be to telnet to the your database server machine and use the mysqldump command to dump your whole database to a backup file.</p>
<p><strong>Playing with mysqldump</strong></p>
<p>If you have either a shell or telnet access to your database server, you can backup the database using mysqldump. By default, the output of the command will dump the contents of the database in SQL statements to your console. This output can then be piped or redirected to any location you want. If you plan to backup your database, you can pipe the output to a sql file, which will contain the SQL statements to recreate and populate the database tables when you wish to restore your database. There are more adventurous ways to use the output of mysqldump.</p>
<p><strong>A Simple Database Backup:</strong></p>
<p>You can use mysqldump to create a simple backup of your database using the following syntax.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">-u</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>username<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #660033;">-p</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>password<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>databasename<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>backupfile.sql<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<ul>
<li>[username] &#8211; this is your database username</li>
<li>[password] &#8211; this is the password for your database</li>
<li>[databasename] &#8211; the name of your database</li>
<li>[backupfile.sql] &#8211; the file to which the backup should be written.</li>
</ul>
<p>The resultant dump file will contain all the SQL statements needed to create the table and populate the table in a new database server. To backup your database &#8216;Customers&#8217; with the username &#8217;sadmin&#8217; and password &#8216;pass21&#8242; to a file custback.sql, you would issue the command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">-u</span> sadmin <span style="color: #660033;">-p</span> pass21 Customers <span style="color: #000000; font-weight: bold;">&gt;</span> custback.sql</pre></div></div>

<p>You can also ask mysqldump to add a drop table command before every create command by using the option &#8211;add-drop-table. This option is useful if you would like to create a backup file which can rewrite an existing database without having to delete the older database manually first.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">--add-drop-table</span> <span style="color: #660033;">-u</span> sadmin <span style="color: #660033;">-p</span> pass21 Customers <span style="color: #000000; font-weight: bold;">&gt;</span> custback.sql</pre></div></div>

<p><strong>Backing up only specified tables</strong></p>
<p>If you&#8217;d like restrict the backup to only certain tables of your database, you can also specify the tables you want to backup. Let&#8217;s say that you want to backup only customer_master &amp; customer_details from the Customers database, you do that by issuing</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">--add-drop-table</span> <span style="color: #660033;">-u</span> sadmin <span style="color: #660033;">-p</span> pass21 Customers customer_master customer_details <span style="color: #000000; font-weight: bold;">&gt;</span> custback.sql</pre></div></div>

<p>So the syntax for the command to issue is:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">-u</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>username<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #660033;">-p</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>password<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>databasename<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>table1 table2 ....<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<ul>
<li>[tables] &#8211; This is a list of tables to backup. Each table is separated by a space.</li>
</ul>
<p><span id="more-67"></span></p>
<p><strong>What about Multiple Databases? </strong></p>
<p>If you are a database administrator who has to look after multiple databases, you&#8217;ll need to back up more than one database at a time. Here&#8217;s how you can backup multiple databases in one shot.</p>
<p>If you want to specify the databases to backup, you can use the &#8211;databases parameter followed by the list of databases you would like to backup. Each database name has to be separated by at least one space when you type in the command. So if you have to backup 3 databases, let say Customers, Orders and Comments, you can issue the following command to back them up. Make sure the username you specify has permissions to access the databases you would like to backup.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">-u</span> root <span style="color: #660033;">-p</span> pass21 <span style="color: #660033;">--databases</span> Customers Orders Comments <span style="color: #000000; font-weight: bold;">&gt;</span> multibackup.sql</pre></div></div>

<p>This is okay if you have a small set of databases you want to backup. Now how about backing up all the databases in the server? That&#8217;s an easy one, just use the &#8211;all-databases parameter to backup all the databases in the server in one step.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">--all-databases</span> <span style="color: #000000; font-weight: bold;">&gt;</span> alldatabases.sql</pre></div></div>

<p><strong>Backing up only the Database Structure</strong></p>
<p>Most developers need to backup only the database structure to while they are developing their applications. You can backup only the database structure by telling mysqldump not to back up the data. You can do this by using the &#8211;no-data parameter when you call mysqldump.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">--no-data</span> <span style="color: #660033;">--databases</span> Customers Orders Comments <span style="color: #000000; font-weight: bold;">&gt;</span> structurebackup.sql</pre></div></div>

<p><strong>Compressing your Backup file on the Fly</strong></p>
<p>Backups of databases take up a lot of space. You can compress the output of mysqldump to save valuable space while you&#8217;re backing up your databases. Since mysqldump sends its output to the console, we can pipe the output through gzip or bzip2 and send the compressed dump to the backup file. Here&#8217;s how you would do that with bzip2 and gzip respectively.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">--all-databases</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">bzip2</span> <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">&gt;</span> databasebackup.sql.bz2
mysqldump <span style="color: #660033;">--all-databases</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">gzip</span> <span style="color: #000000; font-weight: bold;">&gt;</span> databasebackup.sql.gz</pre></div></div>

<p><strong>A Shell Script for Automating Backups?</strong></p>
<p>You can automate the backup process by making a small shell script which will create a daily backup file. How do you get cron to back up your database without overwriting the older backup? You can use a tiny shell script to add the date to your backup file. An example of a shell script you could use is shown below.</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #008000;">#!/bin/sh</span>
date<span style="color: pink;">=</span>`date <span style="color: pink;">-</span>I`
mysqldump <span style="color: pink;">--</span>all<span style="color: pink;">-</span>databases <span style="color: pink;">|</span> gzip <span style="color: pink;">&gt;</span> <span style="color: pink;">/</span>var<span style="color: pink;">/</span>backup<span style="color: pink;">/</span>backup<span style="color: pink;">-</span><span style="color: #800080;">$date</span>.sql.gz</pre></div></div>

<p><strong>Restore using mysql</strong></p>
<p>If you have to re-build your database from scratch, you can easily restore the mysqldump file by using the mysql command. This method is usually used to recreate or rebuild the database from scratch.</p>
<p>Here&#8217;s how you would restore your custback.sql file to the Customers database.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql <span style="color: #660033;">-u</span> sadmin <span style="color: #660033;">-p</span> pass21 Customers <span style="color: #000000; font-weight: bold;">&lt;</span> custback.sql</pre></div></div>

<p>Easy isn&#8217;t it ? Here&#8217;s the general format you would follow:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql <span style="color: #660033;">-u</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>username<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #660033;">-p</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>password<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>database_to_restore<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>backupfile<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>Now how about those zipped files? You can restore your zipped backup files by first uncompressing its contents and then sending it to mysql.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">gunzip</span> <span style="color: #000000; font-weight: bold;">&lt;</span> custback.sql.sql.gz <span style="color: #000000; font-weight: bold;">|</span> mysql <span style="color: #660033;">-u</span> sadmin <span style="color: #660033;">-p</span> pass21 Customers</pre></div></div>

<p>You can also combine two or more backup files to restore at the same time, using the cat command. Here&#8217;s how you can do that.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cat</span> backup1.sql backup.sql <span style="color: #000000; font-weight: bold;">|</span> mysql <span style="color: #660033;">-u</span> sadmin <span style="color: #660033;">-p</span> pass21</pre></div></div>

<p><strong>Moving Data Directly Between Databases</strong></p>
<p>How would you like to replicate your present database to a new location? When you are shifting web hosts or database servers, you can directly copy data to the new database without having to create a database backup on your machine and restoring the same on the new server. mysql allows you to connect to a remote database server to run sql commands. Using this feature, we can pipe the output from mysqldump and ask mysql to connect to the remote database server to populate the new database. Let&#8217;s say we want to recreate the Customers database on a new database server located at 202.32.12.32, we can run the following set of commands to replicate the present database at the new server.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">-u</span> sadmin <span style="color: #660033;">-p</span> pass21 Customers <span style="color: #000000; font-weight: bold;">|</span> mysql <span style="color: #660033;">--host</span>=202.32.12.32 <span style="color: #660033;">-C</span> Customers</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://lifeuml.com/backing-up-and-restoring-your-mysql-database/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>
		<item>
		<title>Host multiple sites on IIS 7 and Windows Server 2008</title>
		<link>http://lifeuml.com/host-multiple-sites-on-iis-7-and-windows-server-2008/</link>
		<comments>http://lifeuml.com/host-multiple-sites-on-iis-7-and-windows-server-2008/#comments</comments>
		<pubDate>Sun, 10 May 2009 08:40:52 +0000</pubDate>
		<dc:creator>TuyenT</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[IIS 7]]></category>
		<category><![CDATA[multiple sites]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://lifeuml.com/?p=6</guid>
		<description><![CDATA[Hi there, this is how i host multiple web sites on my Windows Server Machine, using IIS 7.
Step 1: Edit hosts file to add fake names

Open file &#8220;C:\Windows\System32\drivers\etc\hosts&#8221; by your favourite text processor. Remember that only Administrator have the right to edit this file. You can choose &#8220;Run as Administrator&#8221; when running text processor if [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there, this is how i host multiple web sites on my Windows Server Machine, using IIS 7.</p>
<p><strong>Step 1: Edit hosts file to add fake names</strong></p>
<ul>
<li>Open file &#8220;C:\Windows\System32\drivers\etc\hosts&#8221; by your favourite text processor. Remember that only Administrator have the right to edit this file. You can choose &#8220;Run as Administrator&#8221; when running text processor if you log in to the other users rather than Administrator.</li>
<li>Go to the last line of &#8220;hosts&#8221; file and insert this line:<br />
<code>127.0.0.1       yourdomain.com<br />
<img class="aligncenter size-medium wp-image-8" title="hosts" src="http://lifeuml.com/wp-content/uploads/2009/05/hosts-300x172.jpg" alt="hosts" width="300" height="172" /><br />
</code></li>
<li>Test the hosts file by going to cmd and ping yourdomain.com. If the reply is from loopback address, you have done this step.<br />
<img class="aligncenter size-medium wp-image-9" title="ping" src="http://lifeuml.com/wp-content/uploads/2009/05/ping-300x149.jpg" alt="ping" width="300" height="149" /></li>
</ul>
<p><strong>Step 2: IIS 7 Configuration</strong></p>
<ul>
<li>Create new Web Site with these following parameters:<br />
<img class="aligncenter size-medium wp-image-7" title="newwebstite" src="http://lifeuml.com/wp-content/uploads/2009/05/newwebstite-300x295.jpg" alt="newwebstite" width="300" height="295" /></li>
</ul>
<p><strong>Step 3: Configure your domain&#8217;s DNS </strong></p>
<ul>
<li>Point @ address to your server&#8217;s IP.</li>
</ul>
<p><strong>Step 4: Congratulations, enjoy your website <img src='http://lifeuml.com/smilies/yahoo_wink.gif' alt='&#59;&#41;' class='wp-smiley' width='18' height='18' title='&#59;&#41;' /></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://lifeuml.com/host-multiple-sites-on-iis-7-and-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
