<?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'><id>tag:blogger.com,1999:blog-6083807983184223885</id><updated>2009-09-25T16:53:13.044-07:00</updated><title type='text'>Answers your "HOWs" about Linux (Ubuntu)</title><subtitle type='html'>This Blog help you answer questions how to install applications and software on Linux.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://iweavers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default'/><link rel='alternate' type='text/html' href='http://iweavers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>nagasuman</name><uri>http://www.blogger.com/profile/17377069928940493244</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6083807983184223885.post-2429370588576981218</id><published>2008-09-02T11:50:00.000-07:00</published><updated>2008-09-02T11:55:37.345-07:00</updated><title type='text'>OpenSSH Server</title><content type='html'>&lt;h3 style="font-family: courier new; color: rgb(255, 153, 102);" class="title"&gt;Introduction&lt;/h3&gt;                                          &lt;p  style="font-family:courier new;"&gt;             This section of the Ubuntu Server Guide introduces a powerful collection of tools             for the remote control of networked computers and transfer of data between       networked computers, called &lt;span class="emphasis"&gt;&lt;em&gt;OpenSSH&lt;/em&gt;&lt;/span&gt;. You will also learn             about some of the configuration settings possible with the OpenSSH server       application and how to change them on your Ubuntu system.            &lt;/p&gt;         &lt;p  style="font-family:courier new;"&gt;             OpenSSH is a freely available version of the Secure Shell (SSH) protocol family of              tools for remotely controlling a computer or transferring files between computers.             Traditional tools used to accomplish these functions, such as       &lt;span class="application"&gt;&lt;strong&gt;telnet&lt;/strong&gt;&lt;/span&gt; or &lt;span class="application"&gt;&lt;strong&gt;rcp&lt;/strong&gt;&lt;/span&gt;, are insecure       and transmit the user's password in cleartext when used. OpenSSH provides a server       daemon and client tools to facilitate secure, encrypted remote control and file       transfer operations, effectively replacing the legacy tools.           &lt;/p&gt;         &lt;p  style="font-family:courier new;"&gt;             The OpenSSH server component, &lt;span class="application"&gt;&lt;strong&gt;sshd&lt;/strong&gt;&lt;/span&gt;, listens       continuously for client connections from any of the client tools. When a connection       request occurs, &lt;span class="application"&gt;&lt;strong&gt;sshd&lt;/strong&gt;&lt;/span&gt; sets up the correct connection       depending on the type of client tool connecting. For example, if the remote       computer is connecting with the &lt;span class="application"&gt;&lt;strong&gt;ssh&lt;/strong&gt;&lt;/span&gt; client application,       the OpenSSH server sets up a remote control session after authentication. If a       remote user connects to an OpenSSH server with &lt;span class="application"&gt;&lt;strong&gt;scp&lt;/strong&gt;&lt;/span&gt;, the OpenSSH server daemon initiates a secure copy of files between the server and client after authentication. OpenSSH can use many authentication methods, including plain password, public key, and &lt;span class="application"&gt;&lt;strong&gt;Kerberos&lt;/strong&gt;&lt;/span&gt; tickets.             &lt;/p&gt;              &lt;div style="font-family: courier new;" class="sect2" lang="C"&gt;         &lt;div style="color: rgb(255, 153, 102);" class="titlepage"&gt;           &lt;div&gt;             &lt;div&gt;               &lt;h3 class="title"&gt;Installation&lt;/h3&gt;             &lt;/div&gt;           &lt;/div&gt;         &lt;/div&gt;         &lt;p&gt;         Installation of the OpenSSH client and server applications is simple. To install the   OpenSSH client applications on your Ubuntu system, use this command at a terminal   prompt:         &lt;/p&gt;         &lt;pre style="color: rgb(51, 51, 255);" class="screen"&gt;&lt;span class="command"&gt;&lt;strong&gt;sudo apt-get install openssh-client&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;         &lt;p&gt;         To install the OpenSSH server application, and related support files, use this command   at a terminal prompt:         &lt;/p&gt;         &lt;pre style="color: rgb(51, 102, 255);" class="screen"&gt;&lt;span class="command"&gt;&lt;strong&gt;sudo apt-get install openssh-server&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;         &lt;p&gt;  The &lt;span class="application"&gt;&lt;strong&gt;openssh-server&lt;/strong&gt;&lt;/span&gt; package can also be selected to   install during the Server Edition installation process.  &lt;/p&gt;       &lt;/div&gt;       &lt;div style="font-family: courier new;" class="sect2" lang="C"&gt;         &lt;div style="color: rgb(255, 153, 102);" class="titlepage"&gt;           &lt;div&gt;             &lt;div&gt;               &lt;h3 class="title"&gt;Configuration&lt;/h3&gt;             &lt;/div&gt;           &lt;/div&gt;         &lt;/div&gt;         &lt;p&gt;           You may configure the default behavior of the OpenSSH server application,     &lt;span class="application"&gt;&lt;strong&gt;sshd&lt;/strong&gt;&lt;/span&gt;, by editing the file     &lt;code class="filename"&gt;/etc/ssh/sshd_config&lt;/code&gt;. For information about the configuration     directives used in this file, you may view the appropriate manual page with the     following command, issued at a terminal prompt:           &lt;/p&gt;         &lt;pre style="color: rgb(51, 102, 255);" class="screen"&gt;&lt;span class="command"&gt;&lt;strong&gt;man sshd_config&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;         &lt;p&gt;             There are many directives in the &lt;span class="application"&gt;&lt;strong&gt;sshd&lt;/strong&gt;&lt;/span&gt; configuration       file controlling such things as communications settings and authentication modes.       The following are examples of configuration directives that can be changed by       editing the &lt;code class="filename"&gt;/etc/ssh/ssh_config&lt;/code&gt; file.             &lt;/p&gt;         &lt;div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"&gt;           &lt;table summary="Tip" border="0"&gt;             &lt;tbody&gt;&lt;tr&gt;               &lt;td rowspan="2" align="center" valign="top" width="25"&gt;                 &lt;img alt="[Tip]" src="https://help.ubuntu.com/8.04/images/admon/tip.png" /&gt;               &lt;/td&gt;               &lt;th align="left"&gt;&lt;br /&gt;&lt;/th&gt;             &lt;/tr&gt;             &lt;tr&gt;               &lt;td align="left" valign="top"&gt;                 &lt;p&gt;Prior to editing the configuration file, you should make a copy of the    original file and protect it from writing so you will have the original    settings as a reference and to reuse as necessary.                 &lt;/p&gt;                 &lt;p&gt;Copy the &lt;code class="filename"&gt;/etc/ssh/sshd_config&lt;/code&gt; file and protect it    from writing with the following commands, issued at a terminal prompt:                 &lt;/p&gt;               &lt;/td&gt;             &lt;/tr&gt;           &lt;/tbody&gt;&lt;/table&gt;         &lt;/div&gt;         &lt;pre style="color: rgb(51, 102, 255);" class="screen"&gt;&lt;span class="command"&gt;&lt;strong&gt;sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span class="command"&gt;&lt;strong&gt;sudo chmod a-w /etc/ssh/sshd_config.original&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;         &lt;p&gt;             The following are examples of configuration directives you may change:             &lt;/p&gt;         &lt;div class="itemizedlist"&gt;           &lt;ul type="disc"&gt;&lt;li&gt;               &lt;p&gt;                To set your OpenSSH to listen on TCP port 2222 instead of the default TCP port          22, change the Port directive as such:                &lt;/p&gt;               &lt;p&gt;                Port 2222                &lt;/p&gt;             &lt;/li&gt;&lt;li&gt;               &lt;p&gt;             To have &lt;span class="application"&gt;&lt;strong&gt;sshd&lt;/strong&gt;&lt;/span&gt; allow public key-based login credentials,       simply add or modify the line:             &lt;/p&gt;               &lt;p&gt;                PubkeyAuthentication yes                &lt;/p&gt;               &lt;p&gt;             In the &lt;code class="filename"&gt;/etc/ssh/sshd_config&lt;/code&gt; file, or if already present,       ensure the line is not commented out.             &lt;/p&gt;             &lt;/li&gt;&lt;li&gt;               &lt;p&gt;              To make your OpenSSH server display the contents of the        &lt;code class="filename"&gt;/etc/issue.net&lt;/code&gt; file as a pre-login              banner, simply add or modify the line:              &lt;/p&gt;               &lt;p&gt;                Banner  /etc/issue.net                &lt;/p&gt;               &lt;p&gt;                In the &lt;code class="filename"&gt;/etc/ssh/sshd_config&lt;/code&gt; file.                &lt;/p&gt;             &lt;/li&gt;&lt;/ul&gt;         &lt;/div&gt;         &lt;p&gt;             After making changes to the &lt;code class="filename"&gt;/etc/ssh/sshd_config&lt;/code&gt; file, save       the file, and restart the &lt;span class="application"&gt;&lt;strong&gt;sshd&lt;/strong&gt;&lt;/span&gt; server application to       effect the changes using the following command at a terminal prompt:             &lt;/p&gt;         &lt;pre style="color: rgb(51, 51, 255);" class="screen"&gt;&lt;span class="command"&gt;&lt;strong&gt;sudo /etc/init.d/ssh restart&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;         &lt;div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"&gt;           &lt;table summary="Warning" border="0"&gt;             &lt;tbody&gt;&lt;tr&gt;               &lt;td rowspan="2" align="center" valign="top" width="25"&gt;                 &lt;img alt="[Warning]" src="https://help.ubuntu.com/8.04/images/admon/warning.png" /&gt;               &lt;/td&gt;               &lt;th align="left"&gt;&lt;br /&gt;&lt;/th&gt;             &lt;/tr&gt;             &lt;tr&gt;               &lt;td align="left" valign="top"&gt;                 &lt;p&gt;                   Many other configuration directives for &lt;span class="application"&gt;&lt;strong&gt;sshd&lt;/strong&gt;&lt;/span&gt; are             available for changing the server application's behavior to fit your needs.      Be advised, however, if your only method of access to a server is      &lt;span class="application"&gt;&lt;strong&gt;ssh&lt;/strong&gt;&lt;/span&gt;, and you make a mistake in configuring      &lt;span class="application"&gt;&lt;strong&gt;sshd&lt;/strong&gt;&lt;/span&gt; via the      &lt;code class="filename"&gt;/etc/ssh/sshd_config&lt;/code&gt; file, you may find you                   are locked out of the server upon restarting it, or that the      &lt;span class="application"&gt;&lt;strong&gt;sshd&lt;/strong&gt;&lt;/span&gt; server refuses to start due to an incorrect      configuration directive, so be extra careful when editing this file on a      remote server.                   &lt;/p&gt;               &lt;/td&gt;             &lt;/tr&gt;           &lt;/tbody&gt;&lt;/table&gt;         &lt;/div&gt;       &lt;/div&gt;       &lt;div style="font-family: courier new;" class="sect2" lang="C"&gt;         &lt;div style="color: rgb(255, 153, 102);" class="titlepage"&gt;           &lt;div&gt;             &lt;div&gt;               &lt;h3 class="title"&gt;SSH Keys&lt;/h3&gt;             &lt;/div&gt;           &lt;/div&gt;         &lt;/div&gt;         &lt;p&gt;      SSH &lt;span class="emphasis"&gt;&lt;em&gt;keys&lt;/em&gt;&lt;/span&gt; allow authentication between two hosts without the need of a password.  SSH key authentication       uses two keys a &lt;span class="emphasis"&gt;&lt;em&gt;private&lt;/em&gt;&lt;/span&gt; key and a &lt;span class="emphasis"&gt;&lt;em&gt;public&lt;/em&gt;&lt;/span&gt; key.      &lt;/p&gt;         &lt;p&gt;      To generate the keys, from a terminal prompt enter:      &lt;/p&gt;         &lt;pre style="color: rgb(51, 102, 255);" class="screen"&gt;&lt;span class="command"&gt;&lt;strong&gt;ssh-keygen -t dsa&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;         &lt;p&gt;      This will generate the keys using a &lt;span class="emphasis"&gt;&lt;em&gt;DSA&lt;/em&gt;&lt;/span&gt; authentication identity of the user.  During the process you      will be prompted for a password.  Simply hit &lt;span class="emphasis"&gt;&lt;em&gt;Enter&lt;/em&gt;&lt;/span&gt; when prompted to create the key.        &lt;/p&gt;         &lt;p&gt;      By default the &lt;span class="emphasis"&gt;&lt;em&gt;public&lt;/em&gt;&lt;/span&gt; key is saved in the file &lt;code class="filename"&gt;~/.ssh/id_dsa.pub&lt;/code&gt;, while       &lt;code class="filename"&gt;~/.ssh/id_dsa&lt;/code&gt; is the &lt;span class="emphasis"&gt;&lt;em&gt;private&lt;/em&gt;&lt;/span&gt; key.  Now copy the &lt;code class="filename"&gt;id_dsa.pub&lt;/code&gt; file      to the remote host and appended it to &lt;code class="filename"&gt;~/.ssh/authorized_keys2&lt;/code&gt;:      &lt;/p&gt;         &lt;pre style="color: rgb(51, 102, 255);" class="screen"&gt;&lt;span class="command"&gt;&lt;strong&gt;cat id_dsa.pub &gt;&gt; .ssh/authorized_keys2&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;         &lt;p&gt;      Finally, double check the permissions on the &lt;code class="filename"&gt;authorized_keys2&lt;/code&gt; file, only the authenticated user should have read and write permissions.      If the permissions are not correct change them by:      &lt;/p&gt;         &lt;pre style="color: rgb(51, 102, 255);" class="screen"&gt;&lt;span class="command"&gt;&lt;strong&gt;chmod 644 .ssh/authorized_keys2&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;         &lt;p&gt;      You should now be able to SSH to the host without being prompted for a password.      &lt;/p&gt;       &lt;/div&gt;       &lt;div style="font-family: courier new;" class="sect2" lang="C"&gt;         &lt;div class="titlepage"&gt;           &lt;div&gt;             &lt;div&gt;               &lt;h3 class="title"&gt;&lt;br /&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6083807983184223885-2429370588576981218?l=iweavers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iweavers.blogspot.com/feeds/2429370588576981218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6083807983184223885&amp;postID=2429370588576981218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default/2429370588576981218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default/2429370588576981218'/><link rel='alternate' type='text/html' href='http://iweavers.blogspot.com/2008/09/openssh-server.html' title='OpenSSH Server'/><author><name>nagasuman</name><uri>http://www.blogger.com/profile/17377069928940493244</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17580082329757350616'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6083807983184223885.post-795023826696242484</id><published>2008-08-22T14:17:00.000-07:00</published><updated>2008-08-22T14:24:00.433-07:00</updated><title type='text'>Myspace Messenger Installation on Linux</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;font-size:100%;"  &gt;&lt;span style="font-size:130%;"&gt;Myspace Messenger Installation on Ubuntu :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:courier new;"&gt;Here are instructions about how to easily install msimprpl on Ubuntu:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:100%;"  &gt;apt-get install pidgin-dev&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:100%;"  &gt;apt-get source pidgin&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:100%;"  &gt;tar zxvf pidgin_2.0.2.orig.tar.gz&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:100%;"  &gt;mkdir msimprl-0.12&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:100%;"  &gt;cd msimprl-0.12&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:100%;"  &gt;tar zxvf ../msimprpl-0.12.tar.gz&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:100%;"  &gt;cd libpurple/protocols/myspace&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:100%;"  &gt;gcc `pkg-config  --cflags pidgin ` -D PURPLE_PLUGINS -c message.c myspace.c -I../../../../pidgin-2.0.2/libpurple/  -I.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:100%;"  &gt;gcc -shared -`pkg-config --libs pidgin` message.o myspace.o -o libmyspace.so&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;font-size:100%;"  &gt;sudo mv libmyspace.so /usr/lib/purple-2/&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# the images would go in /usr/share/pixmaps/pidgin/protocols/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style=""&gt;&lt;span style="font-size:130%;"&gt;Build Instructions (Win32,Unix or Linux)&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;The first thing to do is download the latest source code release from &lt;a href="http://msimprpl.darkthoughts.net/"&gt;&lt;span style="color:blue;"&gt;http://msimprpl.darkthoughts.net/&lt;/span&gt;&lt;/a&gt;. You can also check out work-in-progress source code as described in &lt;a href="http://developer.pidgin.im/wiki/UsingPidginMonotone"&gt;&lt;span style="color:blue;"&gt;UsingPidginMonotone&lt;/span&gt;&lt;/a&gt;, but it may not work as well as the current release. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;Next, change to the directory you extracted Pidgin in, such as (on Unix): &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;$ cd /usr/src&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;On Windows, setup your build environment as described on &lt;a href="http://developer.pidgin.im/wiki/BuildingWinPidgin"&gt;&lt;span style="color:blue;"&gt;BuildingWinPidgin&lt;/span&gt;&lt;/a&gt; and enter the Cygwin Bash Shell. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;Then, change to the &lt;i&gt;root&lt;/i&gt; directory in the Pidgin source: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;$ cd pidgin-2.0.2&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;There, extract the snapshot, using a command such as: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;$ tar zxvf ~/Downloads/msimprpl-0.11.tar.gz&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;where you replace ~/Downloads with where you downloaded it and with your version number. This extracts a new &lt;/span&gt;&lt;span style="font-size:100%;"&gt;configure.ac&lt;/span&gt;&lt;span style="font-size:100%;"&gt; and &lt;/span&gt;&lt;span style="font-size:100%;"&gt;autogen.sh&lt;/span&gt;&lt;span style="font-size:100%;"&gt; into the Pidgin root directory, along with the MySpaceIM protocol plugin itself into &lt;/span&gt;&lt;span style="font-size:100%;"&gt;libpurple/protocols/myspace&lt;/span&gt;&lt;span style="font-size:100%;"&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;On Unix, you need to regenerate the &lt;/span&gt;&lt;span style="font-size:100%;"&gt;configure&lt;/span&gt;&lt;span style="font-size:100%;"&gt; script by running &lt;/span&gt;&lt;span style="font-size:100%;"&gt;./autogen.sh&lt;/span&gt;&lt;span style="font-size:100%;"&gt;. Note that you may need additional tools to do this. Once &lt;/span&gt;&lt;span style="font-size:100%;"&gt;configure&lt;/span&gt;&lt;span style="font-size:100%;"&gt; completes, it should output all the settings that the environment was configured with, including this line: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;Protocols to build dynamically : gg irc jabber msn '''myspace''' novell oscar qq sametime simple yahoo zephyr&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;The myspace Makefile was now generated, so you can change directory to the myspace protocol directory: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;$ cd libpurple/protocols/myspace&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;After that, build the prpl with make. On Unix: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;$ make&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;$ su&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;# make install&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;On Windows, build as follows: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;make -f Makefile.mingw&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;make -f Makefile.mingw install&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;Copy the resulting &lt;/span&gt;&lt;span style="font-size:100%;"&gt;libmyspace.dll&lt;/span&gt;&lt;span style="font-size:100%;"&gt; to &lt;/span&gt;&lt;span style="font-size:100%;"&gt;C:\Program Files\Pidgin\plugins&lt;/span&gt;&lt;span style="font-size:100%;"&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style=""&gt;Icon Files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;After that, we have to put the icon files in. Download &lt;a href="http://developer.pidgin.im/attachment/wiki/MySpaceIM/myspace_16.png?format=raw"&gt;&lt;span style="color:blue;"&gt;myspace_16.png&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://developer.pidgin.im/attachment/wiki/MySpaceIM/myspace_22.png?format=raw"&gt;&lt;span style="color:blue;"&gt;myspace_22.png&lt;/span&gt;&lt;/a&gt;, and &lt;a href="http://developer.pidgin.im/attachment/wiki/MySpaceIM/myspace_48.png?format=raw"&gt;&lt;span style="color:blue;"&gt;myspace_48.png&lt;/span&gt;&lt;/a&gt; files. Then, simply copy these files to the appropriate location. On Unix: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;# cp ~/Downloads/myspace_16.png /usr/local/share/pixmaps/pidgin/protocols/16/myspace.png&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;# cp ~/Downloads/myspace_22.png /usr/local/share/pixmaps/pidgin/protocols/22/myspace.png&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;# cp ~/Downloads/myspace_48.png /usr/local/share/pixmaps/pidgin/protocols/48/myspace.png&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;If you're installing manually on Windows, copy the image files to the appropriate locations in C:\Program Files\pixmaps\pidgin\protocols\16, 22, and 48. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;Finally, start Pidgin. You'll notice you now have MySpaceIM as a new protocol! &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style=""&gt;missing glibconfig.h? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;NOTE: When I was compiling, I found my system (running slamd64 11) did not have glibconfig.h, which this requires. If you find make failing because of this, I recommend following this: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;$ cd /usr/src&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;$ wget ftp://ftp.gtk.org/pub/glib/2.12/glib-2.12.9.tar.gz&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;$ tar zxvf glib-2.12.9.tar.gz&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;$ cd glib-2.12.9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;$ su&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;# cp /usr/src/glib-2.12.9/glibconfig.h /usr/include/glib-2.0/glib/glibconfig.h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;# exit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;$ cd ..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(102, 102, 204);font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;$ rm -rf glib-2.12.9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt; line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;$ rm glib-2.12.9.tar.gz&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="line-height: normal;font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;and then trying the recompile. YMMV, but this worked for me. --rational_thinker &lt;o:p&gt;&lt;/o:p&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/6083807983184223885-795023826696242484?l=iweavers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iweavers.blogspot.com/feeds/795023826696242484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6083807983184223885&amp;postID=795023826696242484' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default/795023826696242484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default/795023826696242484'/><link rel='alternate' type='text/html' href='http://iweavers.blogspot.com/2008/08/myspace-messenger-installation-on-linux.html' title='Myspace Messenger Installation on Linux'/><author><name>nagasuman</name><uri>http://www.blogger.com/profile/17377069928940493244</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17580082329757350616'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6083807983184223885.post-4607827192282370060</id><published>2008-08-02T21:11:00.000-07:00</published><updated>2008-08-05T17:42:11.658-07:00</updated><title type='text'>Screen capturing or desktop session recording in Ubuntu Linux</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(255, 0, 0);font-family:courier new;" &gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;recordMyDesktop&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt; is a desktop session recorder for GNU / &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;linux&lt;/span&gt;. Follow these instructions to install this.Installation process is pretty straight forward but yet times tricky ( because of the dependencies )don't i will walk you through this process.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;STEP 1: Download the Source Code.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;table align="center" width="100%"&gt;&lt;tbody align="left"&gt;&lt;tr&gt;&lt;td bgcolor="#ffffff"&gt;The current version is:&lt;br /&gt;&lt;br /&gt;Only recordMyDesktop is neccessary.&lt;br /&gt;gtk-recordMyDesktop and qt-recordMyDesktop are just frontends, meant to make usage easier.&lt;br /&gt;Also make sure you get the latest versions!&lt;br /&gt;&lt;br /&gt;  &lt;/td&gt;&lt;/tr&gt;     &lt;tr&gt;       &lt;td background="images/box-bl2.png"&gt;                      &lt;span style="font-size:180%;"&gt;                 Source Code             &lt;/span&gt;                &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td&gt;             &lt;span style="font-size:100%;"&gt;                 recordMyDesktop             &lt;/span&gt;             (command-line only)       &lt;br /&gt;      &lt;!--?php         echo "         &lt;a href="\" title="recordMyDesktop"&gt;             &lt;b&gt;Download from this site.&lt;/b&gt;         &lt;/a&gt;         ";         ?&gt;                   --&gt;         &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=172357&amp;amp;package_id=197132" title="recordMyDesktop"&gt;                              Download from SF.net.                      &lt;/a&gt;       &lt;br /&gt;&lt;br /&gt;(Optional if you need a GUI . following source code is just the Frontend. dont worry about it at this point.)&lt;br /&gt;  &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td&gt;                      &lt;span style="font-size:100%;"&gt;                 gtk-recordMyDesktop             &lt;/span&gt;             (frontend, needs recordMyDesktop package)                &lt;br /&gt;      &lt;!--?php         echo "         &lt;a href="\" title="recordMyDesktop"&gt;             &lt;b&gt;Download from this site.&lt;/b&gt;         &lt;/a&gt;         ";         ?&gt;                   --&gt;         &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=172357&amp;amp;package_id=202906" title="gtk-recordMyDesktop"&gt;                              Download from SF.net.                      &lt;/a&gt;      &lt;br /&gt;&lt;br /&gt;   &lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td&gt;             &lt;span style="font-size:100%;"&gt;                 qt-recordMyDesktop             &lt;/span&gt;             (frontend, needs recordMyDesktop package)      &lt;br /&gt;      &lt;!--?php         echo "         &lt;a href="\" title="recordMyDesktop"&gt;             &lt;b&gt;Download from this site.&lt;/b&gt;         &lt;/a&gt;         ";         ?&gt;                   --&gt;         &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=172357&amp;amp;package_id=230164" title="qt-recordMyDesktop"&gt;                              Download from SF.net.             &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/project/showfiles.php?group_id=172357&amp;amp;package_id=230164" title="qt-recordMyDesktop"&gt;         &lt;/a&gt;         &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;STEP 2 : installation.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;Unpack the tar.gz file.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;$ &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;tar -xvzf recordmydesktop-0.3.7.3.tar.gz &lt;/span&gt;    ( make sure you have right vertion number )&lt;br /&gt;&lt;br /&gt;Change to recordmydesktop-0.3.7.3 directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;$  ./configure&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This command checks for all the dependencies install all the required libraries. please write a comment if have any problem. I have all the required libraries.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;$ make &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;this would run fine if all the dependencies are resolved.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;$ make install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This completes the installation.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;STEP 3: HOW TO USE RECORDMYDESKTOP :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;As this is a Command line interface tool here are some information how to use the tool .&lt;br /&gt;&lt;br /&gt;syntax:&lt;br /&gt;&lt;br /&gt;$ recordmydesktop [ Options ]^ filename&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;A typical scenario of recording can be a command as simple as:&lt;br /&gt;     &lt;span style="color: rgb(51, 102, 255);"&gt;~$ recordmydesktop&lt;/span&gt;&lt;br /&gt;     which will produce a fullscreen recording named out.ogv&lt;br /&gt;     while a command like:&lt;br /&gt;    &lt;span style="color: rgb(51, 102, 255);"&gt; ~$ recordmydesktop foo.ogv&lt;/span&gt;&lt;br /&gt;     will write output to foo.ogv&lt;br /&gt;     Since  version 0.3, encoding will happen right after the recording fin‐&lt;br /&gt;     ishes.&lt;br /&gt;     While this behavior saves a lot of CPU, you can revert to the  old  one&lt;br /&gt;     by entering the --on-the-fly-encoding switch.&lt;br /&gt;     To specify a region for recording you can type this:&lt;br /&gt;     &lt;span style="color: rgb(51, 102, 255);"&gt;~$  recordmydesktop  -x  X_pos  -y Y_pos -width WIDTH -height HEIGHT -o&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;       foo.ogv&lt;/span&gt;&lt;br /&gt;     where X_pos and Y_pos specify the offset in pixels from the upper left&lt;br /&gt;     corner of your screen and WIDTH and HEIGHT the size of the window to be&lt;br /&gt;     recorded(again in pixels).&lt;br /&gt;     If  the  area extends beyond your current resolution, you will be noti‐&lt;br /&gt;     fied appropriately and nothing will happen.&lt;br /&gt;     Notice also, that if any option is entered you have to specify the out‐&lt;br /&gt;     put file with the -o switch.&lt;br /&gt;     If  you try to save under a filename that already exists, the name will&lt;br /&gt;     be post-fixed with a number (incremented if that name exists already)&lt;br /&gt;     To normally end a recording you can press ctl-c.&lt;br /&gt;     (which will send a SIGINT to the program).&lt;br /&gt;     For further manipulation of the end result  look  at  the  OPTIONS  and&lt;br /&gt;     NOTES sections.&lt;br /&gt;&lt;br /&gt;Feel free to post a comment if needed help.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6083807983184223885-4607827192282370060?l=iweavers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iweavers.blogspot.com/feeds/4607827192282370060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6083807983184223885&amp;postID=4607827192282370060' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default/4607827192282370060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default/4607827192282370060'/><link rel='alternate' type='text/html' href='http://iweavers.blogspot.com/2008/08/screen-capturing-or-desktop-session.html' title='Screen capturing or desktop session recording in Ubuntu Linux'/><author><name>nagasuman</name><uri>http://www.blogger.com/profile/17377069928940493244</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17580082329757350616'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6083807983184223885.post-1476999533530516302</id><published>2008-07-25T20:47:00.000-07:00</published><updated>2008-08-05T17:39:08.491-07:00</updated><title type='text'>How to install RubyOnRails on  Ubuntu ( Linux )</title><content type='html'>&lt;h2 id="Apache Installation"  style="font-family:courier new;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;To install RubyOnRails on  Ubuntu ( Linux )&lt;/span&gt;&lt;/h2&gt;&lt;h2 face="courier new" id="Apache Installation"&gt;&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2 face="courier new" id="Apache Installation"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;you need &lt;/span&gt;&lt;br /&gt;&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt; Apache or lighttpd&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 style="font-family: courier new;" id="Apache Installation"&gt;Apache Installation&lt;/h2&gt; &lt;span class="anchor" id="line-15"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-16"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line867"  style="font-family:courier new;"&gt;&lt;span class="anchor" id="line-17"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-18"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre  style="font-family:courier new;"&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;sudo apt-get install ruby-full build-essential apache2 apache2-mpm-prefork apache2-prefork-dev&lt;/span&gt;&lt;/pre&gt;&lt;span class="anchor" id="line-19"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-20"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-21"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line867"  style="font-family:courier new;"&gt;&lt;em&gt;The link below is to a specific version of rubygems.  You can get a later version from &lt;a class="http" href="http://rubyforge.org/frs/?group_id=126"&gt;http://rubyforge.org/frs/?group_id=126&lt;/a&gt;, but it's not really necessary because we ask rubygems to update itself at the end.&lt;/em&gt; &lt;span class="anchor" id="line-22"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-23"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"  style="font-family:courier new;"&gt;&lt;em&gt;I've encountered a problem with &lt;a class="nonexistent" href="https://help.ubuntu.com/community/RubyGems"&gt;RubyGems&lt;/a&gt; 1.1 that was only resolved by following the link above and installing 1.2 version. sudo gem update --system did not solve it prior to that. I'd recommend to follow the link above for a smoother installation.&lt;/em&gt; &lt;span class="anchor" id="line-24"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-25"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"  style="font-family:courier new;"&gt;&lt;span class="anchor" id="line-26"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-27"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-28"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-29"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-30"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-31"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-32"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new; color: rgb(102, 102, 204);"&gt;wget http://rubyforge.org/frs/download.php/34638/rubygems-1.1.0.tgz&lt;br /&gt;tar xzvf rubygems-1.1.0.tgz&lt;br /&gt;cd rubygems-1.1.0&lt;br /&gt;sudo ruby setup.rb&lt;br /&gt;sudo ln -s /usr/bin/gem1.8 /usr/bin/gem&lt;br /&gt;sudo gem update --system&lt;/pre&gt;&lt;span class="anchor" id="line-33"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-34"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line867"  style="font-family:courier new;"&gt;&lt;span class="anchor" id="line-35"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-36"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-37"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-38"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new; color: rgb(102, 102, 204);"&gt;sudo gem install rails&lt;br /&gt;sudo gem install passenger&lt;br /&gt;sudo passenger-install-apache2-module&lt;/pre&gt;&lt;span class="anchor" id="line-39"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-40"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p style="font-family: courier new;" class="line862"&gt;Add these lines to /etc/apache2/apache2.conf &lt;em&gt;(Actually, you should probably put them in /etc/apache2/httpd.conf ... that's meant for overriding the apache2.conf file and is automatically included by the default apache2.conf)&lt;/em&gt;: &lt;span class="anchor" id="line-41"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-42"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"  style="font-family:courier new;"&gt;&lt;span class="anchor" id="line-43"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-44"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-45"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-46"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new;"&gt;LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-1.0.3/ext/apache2/mod_passenger.so&lt;br /&gt;RailsSpawnServer /usr/lib/ruby/gems/1.8/gems/passenger-1.0.3/bin/passenger-spawn-server&lt;br /&gt;RailsRuby /usr/bin/ruby1.8&lt;/pre&gt;&lt;span class="anchor" id="line-47"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-48"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line874"  style="font-family:courier new;"&gt;Create something like this in /etc/apache2/sites-available/ror.myhost.com &lt;span class="anchor" id="line-49"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-50"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-51"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-52"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-53"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-54"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-55"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new;"&gt;&lt;virtualhost&gt;&lt;br /&gt;ServerName ror.myhost.com&lt;br /&gt;DocumentRoot /home/myuser/www/mynewapp/public&lt;br /&gt;&lt;/virtualhost&gt;&lt;/pre&gt;&lt;span class="anchor" id="line-56"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-57"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line867"  style="font-family:courier new;"&gt;&lt;span class="anchor" id="line-58"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-59"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-60"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-61"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new; color: rgb(102, 102, 204);"&gt;sudo a2enmod rewrite&lt;br /&gt;sudo a2ensite ror.myhost.com&lt;br /&gt;sudo /etc/init.d/apache2 restart&lt;/pre&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;" class="anchor" id="line-62" &gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-family:courier new;" class="anchor" id="line-63" &gt;&lt;/span&gt;&lt;p class="line874"  style="font-family:courier new;"&gt;maybe also do.. &lt;span class="anchor" id="line-64"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-65"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-66"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new;"&gt;rails mynewapp&lt;/pre&gt;&lt;span class="anchor" id="line-67"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-68"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line867"  style="font-family:courier new;"&gt; &lt;/p&gt;&lt;h2 style="font-family: courier new;" id="Lighttpd Installation"&gt;Lighttpd Installation&lt;/h2&gt; &lt;span class="anchor" id="line-69"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-70"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line874"  style="font-family:courier new;"&gt;Preparing the house: &lt;span class="anchor" id="line-71"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-72"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867" face="courier new"&gt;&lt;span class="anchor" id="line-73"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-74"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-75"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-76"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new; color: rgb(102, 102, 204);"&gt;sudo apt-get install ruby-full build-essential lighttpd libfcgi-ruby1.8&lt;/pre&gt;&lt;span class="anchor" id="line-77"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-78"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line874"  style="font-family:courier new;"&gt;just after everything is done: &lt;span class="anchor" id="line-79"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-80"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867" face="courier new"&gt;&lt;span class="anchor" id="line-81"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-82"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-83"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-84"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new; color: rgb(102, 102, 204);"&gt;sudo gem install rails&lt;/pre&gt;&lt;span class="anchor" id="line-85"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-86"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line874"  style="font-family:courier new;"&gt;and now... lets get hacking, prepare your favorite editor (i'll use kate... but you can choose gedit, kate, nano, use vi or some other only if you know how to use them...) &lt;span class="anchor" id="line-87"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-88"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: courier new;" class="line862"&gt;open a shell, and browse to the directory you want to use (i am using &lt;strong&gt;/home/santiago/proyectos/&lt;/strong&gt;, for your application, i will name it &lt;strong&gt;beholder&lt;/strong&gt; and write the following: &lt;span class="anchor" id="line-89"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-90"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-91"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867" face="courier new"&gt;&lt;span class="anchor" id="line-92"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-93"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-94"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-95"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new;"&gt;rails beholder&lt;/pre&gt;&lt;span class="anchor" id="line-96"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-97"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line874"  style="font-family:courier new;"&gt;you will see a bunch of stuff on the shell... that should be fine (unless you see a error message). that created the rails folder with all the stuff, so now i have: /home/santiago/proyectos/beholder/public/beholder &lt;span class="anchor" id="line-98"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-99"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line874" face="courier new"&gt;now you need to tell lighttpd _how_ to handle that, so you can work with rails, now do this: &lt;span class="anchor" id="line-100"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-101"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867" style="font-family: courier new;"&gt;&lt;span class="anchor" id="line-102"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-103"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-104"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-105"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new; color: rgb(102, 102, 204);"&gt;sudo kate /etc/lighttpd/lighttpd.conf&lt;/pre&gt;&lt;span class="anchor" id="line-106"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-107"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line874" face="courier new"&gt;and here starts the tricky part, paste at the end of the file: &lt;span class="anchor" id="line-108"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-109"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-110"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-111"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867" style="font-family: courier new;"&gt;&lt;span class="anchor" id="line-112"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-113"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-114"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-115"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-116"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-117"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-118"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-119"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-120"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-121"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-122"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-123"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-124"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-125"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-126"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-127"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-128"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-129"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-130"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-131"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new; color: rgb(102, 51, 255);"&gt;server.modules   += ( "mod_fastcgi", "mod_rewrite" )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$HTTP["host"] == "localhost" {&lt;br /&gt;   server.document-root = "/home/santiago/proyectos/beholder/public/"&lt;br /&gt;&lt;br /&gt;   server.error-handler-404 = "/dispatch.fcgi"&lt;br /&gt;&lt;br /&gt;   fastcgi.server      = ( ".fcgi" =&gt; ( "localhost" =&gt; (&lt;br /&gt;           "min-procs"       =&gt; 1,&lt;br /&gt;           "max-procs"       =&gt; 1,&lt;br /&gt;           "socket" =&gt; "/tmp/ruby-beholder.socket",&lt;br /&gt;           "bin-path" =&gt; "/home/santiago/proyectos/beholder/public/dispatch.fcgi",&lt;br /&gt;           "bin-environment" =&gt; ( "RAILS_ENV" =&gt; "development" )&lt;br /&gt;   ) ) )&lt;br /&gt;&lt;br /&gt;}&lt;/pre&gt;&lt;span class="anchor" id="line-132"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-133"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;p class="line874" style="font-family: courier new;"&gt;now run &lt;span class="anchor" id="line-134"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-135"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867" style="font-family: courier new;"&gt;&lt;span class="anchor" id="line-136"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-137"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-138"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-139"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-family: courier new; color: rgb(102, 102, 204);"&gt;sudo /etc/init.d/lighttpd restart&lt;/pre&gt;&lt;span class="anchor" id="line-140"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-141"  style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;and you're set, go to &lt;/span&gt;&lt;a style="font-family: courier new;" class="http" href="http://localhost/"&gt;http://localhost&lt;/a&gt;&lt;span style="font-family:courier new;"&gt; and you should see the rails index... click on the link "About your rails enviroment" and if you dont see a 404 o 500 error... then your're set (you should see either a rails error, or a rails message or something like that)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6083807983184223885-1476999533530516302?l=iweavers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iweavers.blogspot.com/feeds/1476999533530516302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6083807983184223885&amp;postID=1476999533530516302' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default/1476999533530516302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default/1476999533530516302'/><link rel='alternate' type='text/html' href='http://iweavers.blogspot.com/2008/07/how-to-install-rubyonrails-on-ubuntu.html' title='How to install RubyOnRails on  Ubuntu ( Linux )'/><author><name>nagasuman</name><uri>http://www.blogger.com/profile/17377069928940493244</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17580082329757350616'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6083807983184223885.post-4273381154431368697</id><published>2008-07-25T19:32:00.000-07:00</published><updated>2008-08-05T17:38:40.922-07:00</updated><title type='text'>How to install Eclipse on Ubuntu ( Linux )</title><content type='html'>&lt;h5 style="text-align: justify;"&gt;&lt;br /&gt;&lt;/h5&gt;&lt;h5 style="text-align: justify;"&gt;&lt;span style="font-size:130%;"&gt;   Ubuntu does come with many eclipse packages in the    universal repositories.    I don't use them as they rely on GCJ compiler,   and not the genuine Sun one.      Sun licenses is not compatible with Ubuntu's repositories    and therefore have to separately downloaded.    This how to creates a .deb package from this download.&lt;/span&gt;&lt;/h5&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style="color: rgb(255, 102, 102); text-align: justify;"&gt;&lt;span style="font-size:180%;"&gt;Downloading software&lt;/span&gt;&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;       &lt;/div&gt;&lt;h5 style="text-align: justify;"&gt;    &lt;p&gt;     &lt;span style="font-size:130%;"&gt;&lt;a href="http://java.sun.com/j2se/1.5.0/download.jsp"&gt;Download&lt;/a&gt; the latest JDK from Sun, currenly Tiger, 1.5.&lt;br /&gt;Choose the latest jdk update,     and then choose the self extracting non rpm file,     eg. jdk-1_5_0_06-linux-i586.bin    &lt;/span&gt;&lt;/p&gt;         &lt;p&gt;     &lt;span style="font-size:130%;"&gt;&lt;a href="http://download.eclipse.org/webtools/downloads/"&gt;Download&lt;/a&gt; the latest release of web tools from eclipse.&lt;br /&gt;I use the full package of release 1.     E.g. &lt;a href="http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R-1.0.2-200604280245/wtp-all-in-one-sdk-R-1.0.2-200604280245-linux-gtk.tar.gz"&gt;wtp-all-in-one-sdk-1.0.2-linux-gtk.tar.gz&lt;/a&gt;.&lt;br /&gt;(Ps. its about 170Mb so might take awhile depending of bandwidth.)    &lt;/span&gt;&lt;/p&gt;     &lt;p&gt;     &lt;span style="font-size:130%;"&gt;&lt;a href="http://tomcat.apache.org/download-55.cgi"&gt;Fetch&lt;/a&gt; the latest apache tomcat binary,     currently 5.5.15.&lt;br /&gt;Choose the core tar.gz file.    &lt;/span&gt;&lt;/p&gt;        &lt;/h5&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3  style="color: rgb(255, 153, 102); text-align: justify;font-family:courier new;"&gt;&lt;span style="font-size:180%;"&gt;Install packages&lt;/span&gt;&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;    &lt;/div&gt;&lt;h4  style="text-align: justify;font-family:courier new;"&gt;&lt;span style="font-size:130%;"&gt;First Sun's Java JDK:&lt;/span&gt;&lt;/h4&gt;&lt;div style="text-align: justify;"&gt;    &lt;/div&gt;&lt;h5  style="text-align: justify;font-family:courier new;"&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;      Install fakeroot and java-package to be able to repackage the jdk as a .deb      Make sure you have enabled the universe repositories.     &lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code style="color: rgb(102, 102, 204);"&gt;sudo apt-get install fakeroot java-package&lt;/code&gt;&lt;/span&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;Once that is done we create the .deb jdk package.&lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code style="color: rgb(102, 102, 204);"&gt;fakeroot make-jpkg jdk-1_5_&lt;i&gt;xxxx&lt;/i&gt;-linux-i586.bin     &lt;/code&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;Some interaction is required, and there will be the odd permission error etc, but should be fine.&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;Then we install this new package&lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code style="color: rgb(102, 102, 204);"&gt;sudo dpkg -i sun-j2sdk1.5&lt;i&gt;xxxx&lt;/i&gt;+update&lt;i&gt;xxx&lt;/i&gt;_i386.deb&lt;/code&gt;&lt;/span&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;Make Sun's Java your java...&lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code style="color: rgb(102, 102, 204);"&gt;sudo update-alternatives --config java&lt;/code&gt;&lt;/span&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;Choose the Sun JDK&lt;/span&gt;&lt;/p&gt;    &lt;/h5&gt;&lt;div style="text-align: justify;"&gt;    &lt;/div&gt;&lt;h4  style="color: rgb(255, 153, 0); text-align: justify;font-family:courier new;"&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;Then Tomcat:&lt;/span&gt;&lt;/p&gt;&lt;/h4&gt;&lt;div style="text-align: justify;"&gt;    &lt;/div&gt;&lt;h5  style="text-align: justify;font-family:courier new;"&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;Untar download and copy to /opt&lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;      tar xzf apache-tomcat-5.5.15.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;     sudo mv apache-tomcat-5.5.15 /opt/&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;     cd /opt&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;     sudo chown -R root:root apache-tomcat-5.5.15&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;     sudo chmod -R +r apache-tomcat-5.5.15&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;     sudo chmod +x `sudo find apache-tomcat-5.5.15 -type d`&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;     sudo ln -s apache-tomcat-5.5.15 tomcat&lt;/span&gt;     &lt;/code&gt;&lt;/span&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;Edit tomcat users&lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code style="color: rgb(102, 102, 204);"&gt;sudoedit /opt/tomcat/conf/tomcat-users.xml&lt;/code&gt;&lt;/span&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;And add an admin and your own?&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code&gt;      &lt;user name="admin" password="admin" roles="manager,admin"&gt;&lt;br /&gt;  &lt;user name=""&gt;yourname" password="&lt;i&gt;blah&lt;/i&gt;" roles="manager,admin"&gt;     &lt;/user&gt;&lt;/user&gt;&lt;/code&gt;&lt;/span&gt;     &lt;/p&gt;    &lt;/h5&gt;&lt;div style="text-align: justify;"&gt;    &lt;/div&gt;&lt;h4  style="color: rgb(255, 153, 0); text-align: justify;font-family:courier new;"&gt;&lt;span style="font-size:130%;"&gt;Then Eclipse:&lt;/span&gt;&lt;/h4&gt;&lt;div style="text-align: justify;"&gt;    &lt;/div&gt;&lt;h5  style="text-align: justify;font-family:courier new;"&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;      Extract the eclipse download and move to opt.     &lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code style="color: rgb(102, 102, 204);"&gt;      tar &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;xzf&lt;/span&gt; wtp-all-in-one-sdk-1.0-linux-gtk.tar.gz&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;sudo&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;mv&lt;/span&gt; eclipse /opt/eclipse      &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;cd&lt;/span&gt; /opt      &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;sudo&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;chown&lt;/span&gt; -R root:root eclipse&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;sudo&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;chmod&lt;/span&gt; -R +r eclipse&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;sudo&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;chmod&lt;/span&gt; +x `&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;sudo&lt;/span&gt; find eclipse -type d`&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;      Then create an eclipse executable in your path     &lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code style="color: rgb(102, 102, 204);"&gt;      &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;sudo&lt;/span&gt; touch /&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;usr&lt;/span&gt;/bin/eclipse&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;sudo&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;chmod&lt;/span&gt; 755 /&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;usr&lt;/span&gt;/bin/eclipse&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;sudoedit&lt;/span&gt; /&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;usr&lt;/span&gt;/bin/eclipse     &lt;/code&gt;&lt;/span&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;With this contents&lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;      #!/bin/sh&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;     #export MOZILLA_FIVE_HOME="/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;usr&lt;/span&gt;/lib/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;mozilla&lt;/span&gt;/"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;     export ECLIPSE_HOME="/opt/eclipse"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;     $ECLIPSE_HOME/eclipse $*&lt;/span&gt;     &lt;/code&gt;&lt;/span&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;Then create a gnome menu item&lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code style="color: rgb(102, 102, 204);"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;sudoedit&lt;/span&gt; /&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;usr&lt;/span&gt;/share/applications/eclipse.desktop&lt;/code&gt;&lt;/span&gt;     &lt;p&gt;&lt;span style="font-size:130%;"&gt;With this contents&lt;/span&gt;&lt;/p&gt;     &lt;span style="font-size:130%;"&gt;&lt;code style="color: rgb(102, 102, 204);"&gt;      [Desktop Entry]&lt;br /&gt;Encoding=&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;UTF&lt;/span&gt;-8&lt;br /&gt;Name=Eclipse&lt;br /&gt;Comment=Eclipse &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;IDE&lt;/span&gt;&lt;br /&gt;Exec=eclipse&lt;br /&gt;Icon=/opt/eclipse/icon.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;xpm&lt;/span&gt;&lt;br /&gt;Terminal=false&lt;br /&gt;Type=Application&lt;br /&gt;Categories=GNOME;Application;Development;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;StartupNotify&lt;/span&gt;=true     &lt;/code&gt;&lt;/span&gt;    &lt;/h5&gt;&lt;div style="text-align: justify;"&gt;      &lt;/div&gt;&lt;h3  style="color: rgb(255, 153, 0); text-align: justify;font-family:courier new;"&gt;&lt;span style="font-size:180%;"&gt;Configure&lt;/span&gt;&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;   &lt;/div&gt;&lt;h4  style="text-align: justify;font-family:courier new;"&gt;   &lt;p&gt;&lt;span style="font-size:130%;"&gt;    You now have a working eclipse.    But run this command first to initialise the set up.   &lt;/span&gt;&lt;/p&gt;   &lt;span style="font-size:130%;"&gt;&lt;code style="color: rgb(102, 102, 204);"&gt;/opt/eclipse/eclipse -clean&lt;/code&gt;&lt;/span&gt;   &lt;p&gt;&lt;span style="font-size:130%;"&gt;Then from here on you can run from the menu item applications/programming/eclipse&lt;/span&gt;&lt;/p&gt;   &lt;/h4&gt;&lt;div style="text-align: justify;"&gt;   &lt;/div&gt;&lt;h3  style="text-align: justify;font-family:courier new;"&gt;&lt;span style=";font-family:courier new;font-size:130%;"  &gt;  *** Enjoy Eclipse on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;Ubuntu&lt;/span&gt; ***&lt;/span&gt;&lt;/h3&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6083807983184223885-4273381154431368697?l=iweavers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iweavers.blogspot.com/feeds/4273381154431368697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6083807983184223885&amp;postID=4273381154431368697' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default/4273381154431368697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6083807983184223885/posts/default/4273381154431368697'/><link rel='alternate' type='text/html' href='http://iweavers.blogspot.com/2008/07/how-to-install-eclipse-on-ubuntu-linux.html' title='How to install Eclipse on Ubuntu ( Linux )'/><author><name>nagasuman</name><uri>http://www.blogger.com/profile/17377069928940493244</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17580082329757350616'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>