<?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>Ubuntu Linux Help &#187; 8.04</title> <atom:link href="http://ubuntulinuxhelp.com/tag/804/feed/" rel="self" type="application/rss+xml" /><link>http://ubuntulinuxhelp.com</link> <description>Tips, Tricks and How To&#039;s for the Ubuntu Linux User</description> <lastBuildDate>Thu, 19 Jan 2012 13:15:19 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <item><title>Google Earth and Chrome &#8211; Reader Questions</title><link>http://ubuntulinuxhelp.com/google-earth-and-chrome-reader-questions/</link> <comments>http://ubuntulinuxhelp.com/google-earth-and-chrome-reader-questions/#comments</comments> <pubDate>Thu, 11 Feb 2010 21:29:41 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Q & A]]></category> <category><![CDATA[8.04]]></category> <category><![CDATA[Applications]]></category> <category><![CDATA[aptitude]]></category> <category><![CDATA[chrome]]></category> <category><![CDATA[google earth]]></category> <category><![CDATA[hardy]]></category> <category><![CDATA[how to]]></category> <category><![CDATA[install]]></category> <category><![CDATA[ubuntu]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/?p=1818</guid> <description><![CDATA[Ruud emailed asking, &#8220;How do I install Chrome and Google Earth? I&#8217;ve tried using apt-get, but the packages are not found. I am using Ubuntu 8.04&#8221; For Ubuntu 8.04 users, please try the instructions below. (I&#8217;m not in front of a Hardy, 8.04, box right now, so please comment below if you find I&#8217;ve made [...]]]></description> <content:encoded><![CDATA[<p>Ruud emailed asking, &#8220;<span
style="color: #008000;">How do I install Chrome and Google Earth? I&#8217;ve tried using apt-get, but the packages are not found. I am using Ubuntu 8.04</span>&#8221;</p><p>For Ubuntu <strong>8.04</strong> users, please try the instructions below. (I&#8217;m not in front of a Hardy, 8.04, box right now, so please comment below if you find I&#8217;ve made a mistake; and I will correct it &#8211; Thanks). If I recall correctly, these packages are not in the &#8220;regular&#8221; Ubuntu repositories. To get them installed, we can create the appropriate entries in our sources/list, add the GPG keys and then use Aptitude to complete the installation.</p><p>For Google Chrome, try the following steps.</p><p>Add the chromium-daily PPA to your sources list:</p><p><span
style="color: #ff6600;"><strong>sudo gedit /etc/apt/sources.lis</strong>t</span></p><p>Append the following:</p><p><span
style="color: #3366ff;"># Chrome Source<br
/> deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main<br
/> deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main </span></p><p>Next add the GPG key with this command:</p><p><strong><span
style="color: #ff6600;">sudo apt-key adv &#8211;keyserver keyserver.ubuntu.com &#8211;recv-keys 4E5E17B5</span></strong></p><p>Update with this command:</p><p><strong><span
style="color: #ff6600;">sudo aptitude update</span></strong></p><p>Then try to install Chrome withthe following command:</p><p><strong><span
style="color: #ff6600;">sudo aptitude install chromium-browser</span></strong></p><p>As for Google Earth, I&#8217;m sure it&#8217;s in the Medibuntu repository. Here are the steps:<br
/> <span
id="more-1818"></span><br
/> Add the Medibuntu source:</p><p><strong><span
style="color: #ff6600;">sudo gedit /etc/apt/sources.list</span></strong></p><p>Append the following:</p><p><span
style="color: #3366ff;"># Medibuntu Source<br
/> deb http://packages.medibuntu.org/ hardy free non-free<br
/> deb-src http://packages.medibuntu.org/ hardy free non-free</span></p><p>Next add the GPG key with this command:</p><p><span
style="color: #ff6600;"><strong>wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add</strong></span></p><p>Update with this command:</p><p><strong><span
style="color: #ff6600;">sudo aptitude update</span></strong></p><p>Now try this install command:</p><p><strong><span
style="color: #ff6600;">sudo aptitude install googleearth-4.3</span></strong></p><p>Have any suggestions, changes or know another way to do this? Feel free to say so, in the commonts section below.</p> ]]></content:encoded> <wfw:commentRss>http://ubuntulinuxhelp.com/google-earth-and-chrome-reader-questions/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Faster Internet With an Old Laptop &#8211; Revisited</title><link>http://ubuntulinuxhelp.com/faster-internet-with-an-old-laptop-revisited/</link> <comments>http://ubuntulinuxhelp.com/faster-internet-with-an-old-laptop-revisited/#comments</comments> <pubDate>Tue, 01 Dec 2009 18:26:58 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Hands On]]></category> <category><![CDATA[8.04]]></category> <category><![CDATA[access]]></category> <category><![CDATA[acl]]></category> <category><![CDATA[caching]]></category> <category><![CDATA[configure]]></category> <category><![CDATA[fwebmin]]></category> <category><![CDATA[hosts]]></category> <category><![CDATA[how to]]></category> <category><![CDATA[install]]></category> <category><![CDATA[internet]]></category> <category><![CDATA[proxy]]></category> <category><![CDATA[server]]></category> <category><![CDATA[speed]]></category> <category><![CDATA[squid]]></category> <category><![CDATA[ssh]]></category> <category><![CDATA[ssl]]></category> <category><![CDATA[web]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/?p=1777</guid> <description><![CDATA[One of my earlier posts, Faster Internet With an Old Laptop – Ubuntu and Squid, discussed how to install Squid and Webmin on an old laptop. The premise being that having a proxy server on the network helped speed up web browsing (because of the caching capabilities), reduced external bandwidth usage, etc. In that post, [...]]]></description> <content:encoded><![CDATA[<p>One of my earlier posts, <a
href="http://ubuntulinuxhelp.com/faster-internet-with-an-old-laptop-ubuntu-and-squid/" title="Faster Internet With an Old Laptop – Ubuntu and Squid"  target="_self">Faster Internet With an Old Laptop – Ubuntu and Squid</a>, discussed how to<strong> install Squid and Webmin</strong> on an old laptop. The premise being that having a proxy server on the network helped <strong>speed up web browsin</strong>g (because of the caching capabilities), reduced external bandwidth usage, etc.</p><p>In that post, I was careful to <strong>install Squid3 first</strong>, so that Webmin would use it (in the management interface) instead of the older Squid 2.x; and that the installation would be smoother. One thing I noticed was that <strong>webmin was using an older version of squid</strong>:</p><p><em><span
style="color: #3366ff;">&#8220;&#8230;I noticed that webmin (for some strange reason) thought squid 2.6 was installed&#8230;&#8221;</span></em></p><p>One of our readers (<strong>atass</strong>) provided a <a
href="http://ubuntulinuxhelp.com/faster-internet-with-an-old-laptop-ubuntu-and-squid/comment-page-1/#comment-3729" title="Comment from atass"  target="_self">useful comment in that post</a>:</p><p><em><span
style="color: #3366ff;">&#8220;The reason is that you have also installed squid3 AND 2.6. 2.6 was installed via webmin because it is not configured by default to find squid3</span></em></p><p><span
style="color: #3366ff;"><em>I think you should correct this procedure so that you correctly configure webmin to use squid3 by going to module configuration and changing to squid3 paths. Avoid installing Squid via webmin cause it will install Squid 2.6 regardless if you have squid 3 installed&#8221;</em></span></p><p>So this needed fixing, here are the settings (below) I changed to get Squid3 going. Above all, remember to back up data or settings before changing anything.<span
id="more-1777"></span></p><p>Log into your webmin interface and select &#8220;<strong>Squid Proxy Server</strong>&#8221; from the left side navigation menu.<br
/> At the top select &#8220;<strong>Module Config</strong>&#8220;.<br
/> Change the following values:</p><p>Full path to squid config file: <span
style="color: #008000;">/etc/squid3/squid.conf</span><br
/> Squid executable: <span
style="color: #008000;">squid3</span><br
/> Full path to squid cache directory: <span
style="color: #008000;">/var/spool/squid3</span><br
/> Full path to squid log directory: <span
style="color: #008000;">/var/log/squid3</span></p><p>Now remember to stop <strong>squid and start squid3</strong>, via ssh (substituting for your IP address instead of mine):</p><p><strong><span
style="color: #ff6600;">ssh root@192.168.1.200</span></strong></p><p><strong><span
style="color: #ff6600;">sudo /etc/init.d/squid3 restart</span></strong></p><p><strong><span
style="color: #ff6600;">sudo /etc/init.d/squid stop</span></strong></p><p>Now try surfing with your <strong>web browser configured to use the Squid3</strong> proxy. If you get an error message (like I did):</p><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p><p><span
style="color: #3366ff;">The requested URL could not be retrieved</span></p><p><span
style="color: #3366ff;">While trying to retrieve the URL: http://ubuntulinuxhelp.com/</span></p><p><span
style="color: #3366ff;">The following error was encountered:</span></p><p><span
style="color: #3366ff;">* Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</span></p><p><span
style="color: #3366ff;">Your cache administrator is xxxx@xxxx.com.</span></p><p><span
style="color: #3366ff;">Generated Tue, 01 Dec 2009 17:44:31 GMT by squidbox (squid/3.0.STABLE1)</span></p><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p><p>Double check your Access Control in the &#8220;Squid Proxy Server&#8221;, <strong>Select the padlock icon that says &#8220;Access Control&#8221;.</strong></p><p><strong>Mirror the original settings</strong> you had in the Access Control <strong>for the older version of Squid</strong>. Then select the<strong> &#8220;Proxy Restrictions&#8221; tab</strong>, and again <strong>mirror the settings.</strong></p><p>Then I restarted Squid3</p><p><strong><span
style="color: #ff6600;">sudo /etc/init.d/squid3 restart</span></strong></p><p>And tried to surf the web&#8230; and everything works!</p><p>Big thanks to the reader that pointed out the issue. That&#8217;s appreciated! :)</p> ]]></content:encoded> <wfw:commentRss>http://ubuntulinuxhelp.com/faster-internet-with-an-old-laptop-revisited/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing a Web Server on Your Old Laptop</title><link>http://ubuntulinuxhelp.com/installing-a-web-server-on-your-old-laptop/</link> <comments>http://ubuntulinuxhelp.com/installing-a-web-server-on-your-old-laptop/#comments</comments> <pubDate>Sun, 05 Jul 2009 14:49:18 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Hands On]]></category> <category><![CDATA[8.04]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[ftm]]></category> <category><![CDATA[hardy]]></category> <category><![CDATA[how to]]></category> <category><![CDATA[install]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[mail]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[pop]]></category> <category><![CDATA[proftp]]></category> <category><![CDATA[server]]></category> <category><![CDATA[smtp]]></category> <category><![CDATA[webserver]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/?p=1709</guid> <description><![CDATA[In an earlier post to this series, I talked about converting an old ancient IBM Thinkpad T22 Laptop into a proxy server (using Squid). While this did substantially improve my web surfing speed, it occurred to me that the laptop could be put to more use. One example is to install MediaWiki on it (to [...]]]></description> <content:encoded><![CDATA[<p>In an earlier post to this series, I talked about <a
href="http://ubuntulinuxhelp.com/faster-internet-with-an-old-laptop-ubuntu-and-squid/" title="Faster Internet With an Old Laptop – Ubuntu and Squid"  target="_self">converting an old ancient IBM Thinkpad T22 Laptop into a proxy server</a> (using Squid). While this did substantially improve my web surfing speed, it occurred to me that the laptop could be put to more use. One example is to<a
href="http://www.mediawiki.org/wiki/MediaWiki" title="MediaWiki is a free software wiki package written in PHP"  target="_blank"> install MediaWiki</a> on it (to replace the Tomboy Notes application I use). In reality, I was surprised at the performance given the lack of hardware resources on this laptop, as such, I knew it could be put to more use.</p><p>One thing you&#8217;ll notice in this post is that the command line does not use &#8220;sudo&#8221;. This is because the last post configured the server to permit root logins via SSH. In fact, there is a lot of information in the last post that directly relates to (or effects) what we&#8217;ll do in this one, again, please read it: <a
href="http://ubuntulinuxhelp.com/faster-internet-with-an-old-laptop-ubuntu-and-squid/" title="Faster Internet With an Old Laptop – Ubuntu and Squid"  target="_self">Faster Internet With an Old Laptop – Ubuntu and Squid</a>. Otherwise some of us might get a bit lost trying to complete the hands-on activities in this post. Also a reminder that this is an Ubuntu server 8.04 LTS, if using other versions of Ubuntu (or other Debian based distributions, you&#8217;ll probably need to make a few adjustments).</p><p>In order to make this old laptop even more useful, in addition to the previously installed Squid proxy server, we&#8217;re going to add an Apache webserver with PHP, MySQL database server and Mail server (SMTP/POP3). The mailserver is just for the future in the event it&#8217;s needed or any PHP based package requires it (so you can skip that if you don&#8217;t need it). More importantly, Apache and MySQL are needed so I can successfully install and use MediaWiki.</p><p>First SSH into your server. The command for me is:</p><p><span
style="color: #ff6600;"><strong>ssh root@squid.localdomain</strong></span> (You&#8217;ll need to substitute the hostname you chose for your server).</p><p>Let&#8217;s get some packages for  compiling, zip, perl, ssl, certificates and so on. Remember, because you logged in as root, you don&#8217;t have to <span
id="more-1709"></span>&#8220;sudo&#8221;.</p><p><span
style="color: #ff6600;"><strong>aptitude install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++ build-essential</strong></span></p><p>Let&#8217;s get the database server installed and configured;</p><p><strong><span
style="color: #ff6600;">aptitude install mysql-server mysql-client libmysqlclient15-dev</span></strong></p><p>During the installation of MySQL, you&#8217;ll be asked to  provide and confirm a new MySQL root password. <strong>DO NOT FORGET IT!</strong> (as the MySQL root password is not going to be the same as your system root password &#8211; Right?) You can use upper case and lower case letters, numbers and special characters. To check that MySQL is listening for connections, use the netstat command:</p><p><span
style="color: #3366ff;">root@squid:~# </span><span
style="color: #ff6600;"><strong>netstat -tap | grep mysql</strong></span><br
/> <span
style="color: #3366ff;">tcp    0      0 localhost.localdo:mysql *:*      LISTEN      28746/mysqld </span></p><p>See how MySQL is only listening on localhost?</p><p>For future projects, I don&#8217;t want the database server to listen only on the localhost, I want it to listen on any interfaces. This is simple to do when editing the configuration file:</p><p><span
style="color: #ff6600;"><strong>nano /etc/mysql/my.cnf</strong></span></p><p>Look for: bind-address = 127.0.0.1<br
/> And comment out (#) that line. The line should now look like this:</p><p><strong># bind-address = 127.0.0.1 </strong></p><p>Doing this does make it less secure, but this is on an internal network, not a public one. Also, note that the default port is 3306, if you ever need to change the port, this is the file you can edit. However, to keep it simple, leave the default port as is.</p><p>When done editing, Ctrl o will save the file and Ctrl x will exit nano.</p><p>Restart MySQL so the new setting takes effect:</p><p><span
style="color: #ff6600;"><strong>/etc/init.d/mysql restart</strong></span></p><p>Let&#8217;s check to see if our settings work:</p><p><span
style="color: #ff6600;"><strong>netstat -tap | grep mysql</strong></span></p><p>You should see something similar to this:</p><p><span
style="color: #3366ff;">root@squid:~# netstat -tap | grep mysql<br
/> tcp    0   0 *:mysql   *:*   LISTEN      28895/mysqld </span></p><p>Note that there is no mention of localhost!</p><p>I like using phpMyAdmin to manage the DB server via Firefox:</p><p><span
style="color: #ff6600;"><strong>aptitude install phpmyadmin</strong></span></p><p>When prompted, select the option &#8220;<strong>apache2</strong>&#8221;</p><p>After the install, you can visit the URL: <strong>squid.localdomain/phpmyadmin</strong> (substitute you own URL, which may be different from mine).</p><p>Use the login credentials that you created when installing and configuring MySQL:</p><p>Username = root<br
/> Password = The MySQL password (not the normal root password used to login).</p><p><strong>If you&#8217;ve forgotten the MySQL root password, you can reset it</strong>. Here are the steps to fix the &#8220;forgot root MySQL password&#8221; issue (this has happened to me a few times):</p><p>Stop the DB server:<br
/> <span
style="color: #ff6600;"><strong>/etc/init.d/mysql stop</strong></span></p><p>Restart MySQL without it accessing the user information (user tables):<br
/> <span
style="color: #ff6600;"><strong>mysql mysqld_safe &#8211;skip-grant-table &amp;</strong></span></p><p>Now connect to MySQL using the MySQL root account (you won&#8217;t need a password):<br
/> <span
style="color: #ff6600;"><strong>mysql -u root</strong></span></p><p>Finally change the password via these commands:<br
/> <span
style="color: #ff6600;"><strong>use mysql;<br
/> UPDATE user SET password=PASSWORD(&#8216;enter-new-password-here&#8217;) WHERE user = &#8216;root&#8217;;<br
/> flush privileges;<br
/> exit;</strong></span></p><p>Currently I only intend to run MediaWiki to replace Tomboy notes (which I&#8217;ve probably mentioned <span
style="text-decoration: line-through;">a few</span> too many  times now), but perhaps I might add a couple other PHP based sites in the future. Some of them may require email connectivity. Let&#8217;s put something in place now (Postfix, Courier).</p><p><span
style="color: #ff6600;"><strong>aptitude install postfix procmail</strong></span></p><p>When issuing the above command, I received the following output:</p><p><span
style="color: #3366ff;">root@squid:~# aptitude install postfix procmail<br
/> Reading package lists&#8230; Done<br
/> Building dependency tree<br
/> Reading state information&#8230; Done<br
/> Reading extended state information<br
/> Initializing package states&#8230; Done<br
/> Building tag database&#8230; Done<br
/> The following packages are BROKEN:<br
/> sendmail<br
/> The following packages will be automatically REMOVED:<br
/> sendmail-bin<br
/> The following packages have been kept back:<br
/> apt apt-utils cron dash initscripts libcurl3-gnutls libkrb53 libssl0.9.8<br
/> libvolume-id0 linux-image-2.6.24-23-server linux-image-server<br
/> linux-server linux-ubuntu-modules-2.6.24-23-server python-apt sudo<br
/> sysv-rc sysvutils tasksel tasksel-data tzdata udev update-manager-core<br
/> The following NEW packages will be installed:<br
/> postfix<br
/> The following packages will be REMOVED:<br
/> sendmail-bin<br
/> 0 packages upgraded, 1 newly installed, 1 to remove and 22 not upgraded.<br
/> Need to get 1160kB of archives. After unpacking 799kB will be used.<br
/> The following packages have unmet dependencies:<br
/> sendmail: Depends: sendmail-bin but it is not installable<br
/> Resolving dependencies&#8230;<br
/> The following actions will resolve these dependencies:</span></p><p>Remove the following packages:<br
/> sendmail</p><p>Score is 121</p><p>Accept this solution? [Y/n/q/?]</p><p>I selected Y (yes) to remove the (broken) sendmail package and install the remainder. After accepting the above solution, I saw the following (further) output:</p><p><span
style="color: #3366ff;">Accept this solution? [Y/n/q/?] Y<br
/> The following packages are unused and will be REMOVED:<br
/> procmail sensible-mda<br
/> The following packages will be automatically REMOVED:<br
/> sendmail sendmail-bin<br
/> The following packages have been kept back:<br
/> apt apt-utils cron dash initscripts libcurl3-gnutls libkrb53 libssl0.9.8<br
/> libvolume-id0 linux-image-2.6.24-23-server linux-image-server<br
/> linux-server linux-ubuntu-modules-2.6.24-23-server python-apt sudo<br
/> sysv-rc sysvutils tasksel tasksel-data tzdata udev update-manager-core<br
/> The following NEW packages will be installed:<br
/> postfix<br
/> The following packages will be REMOVED:<br
/> sendmail sendmail-bin<br
/> 0 packages upgraded, 1 newly installed, 4 to remove and 22 not upgraded.<br
/> Need to get 1160kB of archives. After unpacking 102kB will be freed.<br
/> Do you want to continue? [Y/n/?] </span></p><p>The install will give you some prompts (questions) to answer. Here&#8217;s how I answered them:</p><p>General type of mail configuration:<br
/> <strong>Internet Site</strong></p><p>System mail name:<br
/> <strong>squid.localdomain</strong> (Your&#8217;s may be different, so make sure you input the correct name).</p><p>I noticed that the installation for procmail did not go through, so:</p><p><span
style="color: #ff6600;"><strong>aptitude install procmail</strong></span></p><p>We can always configure postfix later when needed, but let&#8217;s do a quick tweak of it now:</p><p><span
style="color: #ff6600;"><strong>dpkg-reconfigure postfix</strong></span></p><p>For &#8220;General type of mail configuration&#8221;, leave the setting we already made (<strong>Internet Site</strong>).</p><p>Also leave our &#8220;System mail name&#8221; as the one we just defined (<strong>squid.localdomain</strong>) &#8211; Again, your name may have been different.</p><p>For the &#8220;Root and postmaster mail recipient&#8221;, we don&#8217;t want to add any aliases, therefore leave this blank.</p><p>In the next prompt we see &#8220;Other destination to accept mail for (blank for none)&#8221;. It should be pre-populated with something like this:</p><p><span
style="color: #3366ff;">squid.localdomain, localhost.localdomain, , localhost</span></p><p>Yes, let&#8217;s add this (by selecting &#8220;<strong>ok</strong>&#8220;).</p><p><strong>No</strong>, we <strong>do not</strong> want to &#8220;Force synchronous updates on mail queue&#8221;.</p><p>The next section that asks about &#8220;Local Networks&#8221;, populating the input fields with something like this:</p><p><span
style="color: #3366ff;">127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128</span></p><p>Select &#8220;<strong>ok</strong>&#8220;.</p><p>&#8220;Use procmail for local delivery&#8221; &#8211; Select <strong>Yes</strong>!</p><p>We don&#8217;t need a limit on mailbox files. In the next windows make sure the entry is &#8220;<strong>0</strong>&#8221; and select &#8220;<strong>ok</strong>&#8220;.</p><p>&#8220;Local address extension character&#8221; prepopulated with &#8220;<strong>+</strong>&#8220;, leave it as is, select &#8220;<strong>ok</strong>&#8220;.</p><p>Finally, &#8220;Internet protocols to use&#8221;, select &#8220;<strong>all</strong>&#8221; and &#8220;<strong>ok</strong>&#8220;.</p><p>Start Postfix with <strong>/etc/init.d/postfix start</strong>, however if you need to make changes manually (to /etc/postfix/main.cf), remember to reload postfix with <strong>/etc/init.d/postfix reload</strong></p><p>Installing courier:</p><p><span
style="color: #ff6600;"><strong>aptitude install courier-authdaemon courier-base courier-imap courier-pop gamin libgamin0 libglib2.0-0 </strong></span></p><p>During the installation, you&#8217;ll receive a prompt asking &#8220;Create directories for web-based administration&#8221;, select &#8220;<strong>No</strong>&#8220;.</p><p>Quick tweak: Let&#8217;s configure postfix to drop mail to the users Maildir. We can issue the following command to do this:</p><p><span
style="color: #ff6600;"><strong>postconf -e &#8216;home_mailbox = Maildir/&#8217; &amp;&amp; postconf -e &#8216;mailbox_command =&#8217; &amp;&amp; /etc/init.d/postfix restart</strong></span></p><p>Finally let&#8217;s get Apache and PHP installed. I&#8217;m going to install PHP as a module, not as CGI, because I want to be able to easily change the configuration settings using directives in Apache configuration files (such as httpd.conf) and .htaccess files.</p><p>First, let&#8217;s get Apache going:</p><p><span
style="color: #ff6600;"><strong>aptitude install apache2 apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert</strong></span></p><p>I received some errors in the output:</p><p><span
style="color: #3366ff;">.<br
/> .<br
/> .<br
/> Get:3 http://ca.archive.ubuntu.com hardy/main libaprutil1 1.2.12+dfsg-3 [70.0kB]<br
/> Err http://ca.archive.ubuntu.com hardy-updates/main apache2-utils 2.2.8-1ubuntu0.5<br
/> 404 Not Found [IP: 91.189.88.46 80]<br
/> Err http://security.ubuntu.com hardy-security/main apache2-utils 2.2.8-1ubuntu0.5<br
/> 404 Not Found<br
/> Err http://security.ubuntu.com hardy-security/main apache2.2-common 2.2.8-1ubuntu0.5<br
/> 404 Not Found<br
/> Err http://security.ubuntu.com hardy-security/main apache2-mpm-prefork 2.2.8-1ubuntu0.5<br
/> 404 Not Found<br
/> Err http://security.ubuntu.com hardy-security/main apache2 2.2.8-1ubuntu0.5<br
/> 404 Not Found<br
/> Err http://security.ubuntu.com hardy-security/main apache2-doc 2.2.8-1ubuntu0.5<br
/> 404 Not Found<br
/> Fetched 478kB in 2s (180kB/s)<br
/> Selecting previously deselected package libapr1.<br
/> .<br
/> .<br
/> .</span></p><p>If you get this error, try updating the repositiries like this:</p><p><span
style="color: #ff6600;"><strong>aptitude update</strong></span></p><p>The reissue the installation command.</p><p>Now that Apache is installed, let&#8217;s get PHP and related packages:</p><p><span
style="color: #ff6600;"><strong>aptitude install libapache2-mod-php5 libapache2-php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl</strong></span></p><p>From dealing with other web servers, I&#8217;ve often found that I need to add the appropriate directives to Apache&#8217;s dir.conf file (because they will not all be included):</p><p><span
style="color: #ff6600;"><strong>nano /etc/apache2/mods-available/dir.conf</strong></span></p><p>You should see this line:</p><p><span
style="color: #3366ff;">DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm</span></p><p>Change it to this:</p><p><span
style="color: #3366ff;">DirectoryIndex index.html index.shtml index.xhtml index.htm index.php index.php3 index.pl index.cgi</span></p><p>We also need to enable the rewrite, include and SSL modules:</p><p><span
style="color: #ff6600;"><strong>a2enmod rewrite &amp;&amp; a2enmod include &amp;&amp; a2enmod ssl</strong></span></p><p>You&#8217;ll get a prompt that tells you to run the command:</p><p><span
style="color: #ff6600;"><strong>/etc/init.d/apache2 force-reload</strong></span></p><p>You should get a success message like:</p><p><span
style="color: #3366ff;">root@squid:~# /etc/init.d/apache2 force-reload<br
/> * Reloading web server config apache2   [ OK ]</span></p><p><strong>Side note:</strong> If you need to disable a module, the command would be a2dismod, and an example would look something like: <strong>a2dismod ssl &amp;&amp; /etc/init.d/apache2 force-reload</strong> I generally prefer to disable instead of delete as one never know if a module might be needed in the future (or if disabling causes an error). It&#8217;s usually a simpler fix to re-enable a module.</p><p>Lets get FTP going:</p><p><span
style="color: #ff6600;"><strong>aptitude install proftpd</strong></span></p><p>You&#8217;ll see a prompt asking you how to &#8220;Run proftpd&#8221;. I&#8217;m selecting &#8220;Standalone&#8221; because I want the ability to restart proftpd (or stop it) if needed. It will create the directory <strong>/home/ftp</strong> on your server. Here&#8217;s some of the output of that command:</p><p><span
style="color: #3366ff;">Adding system user `proftpd&#8217; (UID 114) &#8230;<br
/> Adding new user `proftpd&#8217; (UID 114) with group `nogroup&#8217; &#8230;<br
/> Not creating home directory `/var/run/proftpd&#8217;.<br
/> Adding system user `ftp&#8217; (UID 115) &#8230;<br
/> Adding new user `ftp&#8217; (UID 115) with group `nogroup&#8217; &#8230;<br
/> Creating home directory `/home/ftp&#8217; &#8230;<br
/> `/usr/share/proftpd/templates/welcome.msg&#8217; -&gt; `/home/ftp/welcome.msg.proftpd-new&#8217;<br
/> ProFTPd is started from inetd/xinetd.</span></p><p><strong>Side note:</strong> If you ever need to restart the FTP server (after changing a configuration), the command would usually be: <strong>/etc/init.d/proftpd restart</strong></p><p>For those who followed on from the original Squid installation post, we now need to access Webmin. For me the Firefox URL is:</p><p><strong>http://squid.localdomain:26395/</strong> (remember, use your server&#8217;s correct url and port number).</p><p>After logging in, select &#8220;<strong>Refresh Modules</strong>&#8221; and see an output similar to mine below:</p><p><span
style="color: #3366ff;">Checking for usable Webmin modules ..<br
/> .. found 58 with installed applications, 46 not installed.</span></p><p>Now select &#8220;<strong>Servers</strong>&#8221; and you should see that:</p><p><span
style="color: #3366ff;">Apache Webserver<br
/> Fetchmail Mail Retrieval<br
/> MySQL Database Server<br
/> Postfix Mail Server<br
/> ProFTPD Server<br
/> Procmail Mail Filter<br
/> </span><br
/> have been added to the list. (Originally there was only Read User mail, SSH Server and Squid Proxy Server).</p><p>Finally, visit the URL of your nifty web server on Ubuntu, my URL would be:</p><p><strong>squid.localdomain</strong> (once again, substitute the URL of your server).</p><p>And you&#8217;ll see the &#8220;<strong>It works!</strong>&#8221; message.</p><p>By default root is denied the ability to log in via FTP. Because this is my local network, I&#8217;ll allow root to access FTP. <span
style="color: #ff0000;"><strong>DO NOT do this is a public environment! </strong></span></p><p>Still in Webmin, select &#8220;<strong>ProFTPD Server</strong>&#8221; (listed under &#8220;<strong>Servers</strong>&#8220;), then select the &#8220;<strong>Denied FTP Users</strong>&#8221; icon. This will open<strong> /etc/ftpusers</strong>, and display the following directives:</p><p><span
style="color: #3366ff;"># /etc/ftpusers: list of users disallowed FTP access. See ftpusers(5).  root daemon bin sys sync games man lp mail news uucp nobody</span></p><p>Find: <strong>root</strong></p><p>and remove it from the list. Click &#8220;<strong>Save</strong>&#8220;.</p><p>Now we&#8217;ll need to allow root in the proftpd.conf via our command line, like this:</p><p><span
style="color: #ff6600;"><strong>nano /etc/proftpd/proftpd.conf</strong></span></p><p>Look for:</p><p><span
style="color: #3366ff;"># Set the user and group that the server normally runs at.<br
/> User                proftpd<br
/> Group                nogroup</span></p><p>And underneath the above add:</p><p><span
style="color: #3366ff;"># Permit root logins<br
/> RootLogin on</span></p><p><strong>Side note:</strong> If you ever need to reconfigure proftpd (to use inetd instead of standalone for example), the command is: <strong>dpkg-reconfigure proftpd</strong></p><p>In your terminal, restart FTP so that root will now be allowed:</p><p><span
style="color: #ff6600;"><strong>/etc/init.d/proftpd restart</strong></span></p><p>root can now login and transfer files via FTP.</p><p>To change pages that Apache serves, you should be uploading files to:</p><p><strong>/var/www</strong></p><p>Guess what? We&#8217;re done!</p><p>While in the Webmin interface I noticed that I had to fix an issue from the last post:</p><p><strong>Error:</strong> <span
style="color: #3366ff;">The Squid cache manager program /usr/lib/cgi-bin/cachemgr.cgi was not found on your system. Maybe your module configuration is incorrect. </span></p><p>I encountered this error when trying to access the &#8220;<strong>Cache Manager Statistics</strong>&#8221; under &#8220;<strong>Squid Proxy Serve</strong>r&#8221;.<br
/> /usr/local/squid/etc/squid.conf</p><p><strong>Fix:</strong></p><p><span
style="color: #ff6600;"><strong>aptitude install squid-cgi</strong></span></p> ]]></content:encoded> <wfw:commentRss>http://ubuntulinuxhelp.com/installing-a-web-server-on-your-old-laptop/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Converting VMware Images to VirtualBox &#8211; A Simple Method</title><link>http://ubuntulinuxhelp.com/converting-vmware-images-to-virtualbox-a-simple-method/</link> <comments>http://ubuntulinuxhelp.com/converting-vmware-images-to-virtualbox-a-simple-method/#comments</comments> <pubDate>Sat, 20 Jun 2009 16:12:00 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Editorials]]></category> <category><![CDATA[8.04]]></category> <category><![CDATA[bin]]></category> <category><![CDATA[convert]]></category> <category><![CDATA[hardy]]></category> <category><![CDATA[how to]]></category> <category><![CDATA[qemu]]></category> <category><![CDATA[vdi]]></category> <category><![CDATA[virtual]]></category> <category><![CDATA[virtualbox]]></category> <category><![CDATA[virtualization]]></category> <category><![CDATA[vmdk]]></category> <category><![CDATA[vmware]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/?p=1648</guid> <description><![CDATA[When I need to run a Windows based application on my trusty Ubuntu Hardy box, I don&#8217;t use Wine. Don&#8217;t get me wrong, it&#8217;s just that I don&#8217;t want to have to manage the Wine environment and prefer to have Windows and it&#8217;s associated applications tucked away in it&#8217;s own virtual system. This way if [...]]]></description> <content:encoded><![CDATA[<p>When I need to run a Windows based application on my trusty Ubuntu Hardy box, I don&#8217;t use Wine. Don&#8217;t get me wrong, it&#8217;s just that I don&#8217;t want to have to manage the Wine environment and prefer to have Windows and it&#8217;s associated applications tucked away in it&#8217;s own virtual system. This way if I need to run a Windows application&#8230; I simply boot up the Windows system and run whatever application I want.</p><p>More importantly, I run several distributions of Linux in virtual environments. This way I don&#8217;t have to worry about multiboot configurations, bootloaders, etc. and I can simply delete or backup up a copy of images I don&#8217;t immediately need. To do this I use <a
href="http://www.virtualbox.org/" title="VirtualBox"  target="_blank">VirtualBox</a>.</p><p>To get it: <strong><span
style="color: #ff6600;">sudo aptitude install virtualbox</span></strong> or <a
href="apt:virtualbox">apt:virtualbox</a></p><p>From time to time I come accross an image I&#8217;d like to be able to boot in my virtual environment (VirtualBox), only to find that the site only hosts the VMware version for download. Fortunately, there&#8217;s an easy way for me to convert the files from the original .vmdk to VirtualBox&#8217;s .vdi. Actually, it&#8217;s a two-set method.</p><ol><li>Convert the .vmdk to a .bin file</li><li>Convert the .bin file to .vdi</li></ol><p>In order to convert the image to .bin, were going to need<span
id="more-1648"></span> <a
rel="nofollow" href="http://en.wikipedia.org/wiki/QEMU" title="qemu"  target="_blank">qemu</a>:</p><p><strong><span
style="color: #ff6600;">sudo aptitude install qemu</span></strong> or <a
href="apt:qemu">apt:qemu</a></p><p>To convert the .bin to a.vdi, we&#8217;ll need the <code>VBoxManage package, which is included when you install VirtualBox.</code></p><p>Here&#8217;s how the conversion process plays out:</p><p>Convert the downloaded VMware image like this:</p><p><strong><span
style="color: #ff6600;">qemu-img convert xxxxxx.vmdk xxxxxx.bin</span></strong> (where xxxxxx is the name of the file).</p><p>Then convert the .bin like this:</p><p><strong><span
style="color: #ff6600;">VBoxManage convertdd xxxxxx.bin xxxxxx.vdi</span></strong> (where xxxxxx is the name of the file).</p><p>I should note that I originally started using VMware as my virtualization platform, then switched to VirtualBox. Converting the images, saved me a fair bit of time reinstalling all the different linux systems!</p><p><strong>Update June 20, 2009:</strong> As an after thought, I should try the command this way:</p><p><strong><span
style="color: #ff6600;">qemu-img convert xxxxxx.vmdk xxxxxx.bin &amp;&amp; </span></strong><strong><span
style="color: #ff6600;">VBoxManage convertdd xxxxxx.bin xxxxxx.vdi </span></strong>(again, where xxxxxx is the name of the file).</p><p>Have a comment, suggestion or better way? Please comment below. A GUI application that can do this? &#8211; Again, please comment and let me know. Hope this post helps some of you!</p> ]]></content:encoded> <wfw:commentRss>http://ubuntulinuxhelp.com/converting-vmware-images-to-virtualbox-a-simple-method/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Installing ATI R128 &#8211; Reader Questions</title><link>http://ubuntulinuxhelp.com/installing-ati-r128-reader-questions/</link> <comments>http://ubuntulinuxhelp.com/installing-ati-r128-reader-questions/#comments</comments> <pubDate>Tue, 16 Jun 2009 14:05:25 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Q & A]]></category> <category><![CDATA[8.04]]></category> <category><![CDATA[ati]]></category> <category><![CDATA[configure]]></category> <category><![CDATA[driver]]></category> <category><![CDATA[hardware]]></category> <category><![CDATA[how to]]></category> <category><![CDATA[install]]></category> <category><![CDATA[r128]]></category> <category><![CDATA[rage]]></category> <category><![CDATA[Videos]]></category> <category><![CDATA[x11]]></category> <category><![CDATA[xorg.conf]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/?p=1603</guid> <description><![CDATA[&#8220;Danny&#8221;, one of our readers asks: &#8220;I have a ati r128 graphics driver. I dont see the driver in hardware drivers at all. The driver is a inf file. I dont know how to install it. Please help me!&#8221; I don&#8217;t have much information provided in the question (more information is always helpful and allows [...]]]></description> <content:encoded><![CDATA[<p>&#8220;Danny&#8221;, one of our readers asks:</p><p><em><span
style="color: #3366ff;">&#8220;I have a ati r128 graphics driver. I dont see the driver in hardware drivers at all. The driver is a inf file. I dont know how to install it. Please help me!&#8221;</span></em></p><p>I don&#8217;t have much information provided in the question (more information is always helpful and allows for better answers).  However, I hope the following will help.</p><p>First, the inf file is a Windows based file, you don&#8217;t need that in Linux. I had an ATI Rage 128 card a while back, and a do remember having issues. If I recall correctly (this was a few years ago for me), the issue was that the <strong>card was not detected properly</strong>. In your case, I&#8217;d suggest that the card driver is not ATI, instead you&#8217;ll want R128 because (again, if I remember correctly) <strong>X11 detects the card incorrectly</strong>.</p><p>If you&#8217;re not sure what &#8220;X11&#8243; means, please see the article: <a
rel="nofollow" href="http://en.wikipedia.org/wiki/X11" title="X Window System"  target="_blank">X Window System</a></p><p>From their site:</p><p><span
style="color: #3366ff;"><em>&#8220;&#8230;The X Window System (commonly X or X11) is a computer software system and network protocol that provides a graphical user interface (GUI) for networked computers, and was initially developed as part of Project Athena. It implements the X display protocol and provides windowing on raster graphics (bitmap) computer displays and manages keyboard and pointing device control functions&#8230;&#8221;</em></span></p><p>Here&#8217;s one approach you can take to try and fix this&#8230;<span
id="more-1603"></span></p><p>As mentioned, you need to ensure that R128 is the used driver. To accomplish this, please edit your xorg.conf file, but <strong><span
style="color: #ff0000;">make a BACKUP FIRST</span></strong>! In fact, it&#8217;s good practise to keep a backup of any data you find valuable, that way if you feel a need to reinstall your OS, you will not lose all your valuable files. So, ALWAYS keep a current backup of files you never want to lose &#8211; I learned this the hard way (more than once).</p><p>Here&#8217;s the terminal command to do this:</p><p><strong><span
style="color: #ff6600;">sudo gedit /etc/X11/xorg.conf</span></strong></p><p>Look for two lines that starts with:</p><p><strong><span
style="color: #3366ff;">Section &#8220;Device&#8221;<br
/> Identifier    &#8220;Configured Video Device&#8221;</span></strong></p><p>Now ensure the following line (just under those) that says:</p><p><strong><span
style="color: #3366ff;">Boardname &#8220;ATI Rage 128&#8243;</span></strong></p><p>is changed to reflect the real name of your video card.</p><p>Next look for the line that says:</p><p><strong><span
style="color: #3366ff;">Driver &#8220;ati&#8221;</span></strong></p><p>and change it to say:</p><p><strong><span
style="color: #3366ff;">Driver &#8220;r128&#8243;</span></strong></p><p>The other directives should be okay. Save the file and reboot your system: <strong><span
style="color: #ff6600;">sudo shutdown -r now</span></strong></p><p>I hope this information helps you overcome the driver issue.</p> ]]></content:encoded> <wfw:commentRss>http://ubuntulinuxhelp.com/installing-ati-r128-reader-questions/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>10 Things to do After Installing Ubuntu Linux</title><link>http://ubuntulinuxhelp.com/10-things-to-do-after-installing-ubuntu-linux/</link> <comments>http://ubuntulinuxhelp.com/10-things-to-do-after-installing-ubuntu-linux/#comments</comments> <pubDate>Mon, 15 Jun 2009 15:22:59 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[How To]]></category> <category><![CDATA[8.04]]></category> <category><![CDATA[apt-get]]></category> <category><![CDATA[aptitude]]></category> <category><![CDATA[codecs]]></category> <category><![CDATA[fonts]]></category> <category><![CDATA[gedit]]></category> <category><![CDATA[how to]]></category> <category><![CDATA[k3b]]></category> <category><![CDATA[sbackup]]></category> <category><![CDATA[sound]]></category> <category><![CDATA[tweak]]></category> <category><![CDATA[vlc]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/?p=1586</guid> <description><![CDATA[My primary reason for using Ubuntu Linux, is that I find it a far more productive, cost effective and customizable system. Everyone has their own reasons and needs for any particular OS. That said, I&#8217;m often asked by new Linux (Ubuntu) users what things I do immediately after installing Ubuntu; to tweak it a bit [...]]]></description> <content:encoded><![CDATA[<p>My primary reason for using Ubuntu Linux, is that I find it a far more productive, cost effective and customizable system. Everyone has their own reasons and needs for any particular OS. That said, I&#8217;m often asked by new Linux (Ubuntu) users what things I do immediately after installing Ubuntu; to tweak it a bit more. I&#8217;m still using Hardy (8.04 64 Bit) as I prefer to stick with LTS releases &#8211; This means  another year to go with 8.04 before the next LTS (10.04). Until then, here&#8217;s the answers for the 10 things I do to customize a new Ubuntu Hardy installation:</p><p><strong>Update June 16, 2009:</strong> Steven and <a
href="http://coderswasteland.com" title="Coder's Wasteland" >Coder&#8217;s Wasteland</a> has taken this post even further! In my opinion, he&#8217;s done a great job in providing a <strong>bash script that implements all the changes described in this post</strong>. Way to go Steven! You can read more about that (and get the script) at: <a
href="http://coderswasteland.com/node/19" title="Initial Ubuntu Install Items Script"  target="_blank">Initial Ubuntu Install Items Script</a>.</p><p><strong>Update June 19, 2009:</strong> Steven and <a
href="http://coderswasteland.com" title="Coder's Wasteland" >Coder&#8217;s Wasteland</a> has migrated the script from a CLI to a GUI based one! Check it out at: <a
href="http://coderswasteland.com/node/21" title="Install Initial Ubuntu Items GUI"  target="_blank">Install Initial Ubuntu Items GUI</a>.</p><p>1) <strong><span
style="color: #ff6600;">sudo aptitude install sbackup</span></strong></p><p>Nothing is worse that losing all your important data (pictures, email messages, music, documents, etc.) The above command will install Simple Backup Suite (more details found on <a
rel="nofollow" href="http://sourceforge.net/projects/sbackup/" title="sBackup"  target="_blank">Sourceforge</a>). For me at least it&#8217;s a great desktop backup solution. I can select which directories I want backed up (full and incremental), then have backups automatically transfered to my external network storage. I play a lot with my computer, I often break something as a result. With sbackup, I can be more confident as it&#8217;s easy to restore data (in the event I have to reinstall an application or even worse&#8230; the OS itself). You can also install via:</p><p><a
href="apt:sbackup">apt:sbackup</a></p><p>2) <strong><span
style="color: #ff6600;">sudo aptitude install ubuntu-restricted-extras &amp;&amp; sudo aptitude install w64codecs</span></strong></p><p>If you enjoy music, videos, and so forth, you&#8217;ll want to install the extra media codecs and packages that will allow you to play almost any desktop media format (mov, mpg, avi, wmv, mp3 and so on). I wrote a detailed post:  &#8220;<a
href="http://ubuntulinuxhelp.com/build-a-web-developer-pc-and-enable-most-media-playback-using-ubuntu-linux/" title="Build a Web Developer PC and Enable Most Media Playback Using Ubuntu Linux"  target="_self">Build a Web Developer PC and Enable Most Media Playback Using Ubuntu Linux</a>&#8220;, which provides a bit more of <span
id="more-1586"></span>an in depth explanation of the above command (including editing the sources.list to include mediabuntu). Note: If you have a 32 Bit system, change the the &#8220;w64codec&#8221; part of the command to say &#8220;w32codecs&#8221; instead. You can also install these packages via:</p><p><a
href="apt:ubuntu-restricted-extras">apt:ubuntu-restricted-extras</a></p><p><a
href="apt:w64codecs">apt:w64codecs</a></p><p>3) <span
style="color: #ff6600;"><strong>sudo apt-get install msttcorefonts &amp;&amp; sudo fc-cache -fv</strong></span></p><p>I like having the same fonts used by Windows users. People often send me .doc files, so I want to ensure I have at least the core fonts they use. The above command installes the Microsoft core fonts and then reloads the font cache. I&#8217;ve posted about this before at &#8220;<a
href="http://ubuntulinuxhelp.com/how-to-install-ttf-and-ctf-fonts-in-ubuntu/" title="How to Install TTF and CTF Fonts in Ubuntu"  target="_self">How to Install TTF and CTF Fonts in Ubuntu</a>&#8220;, which contains far more detail. You can also install the core fonts via:</p><p><a
href="apt:msttcorefonts">apt:msttcorefonts</a></p><p>4) <strong><span
style="color: #ff6600;">sudo aptitude install vlc</span></strong></p><p>I prefer not to try juggling with the use of different applications to play different media types. VLC plays all the media types I access. For me at least, it&#8217;s the singular application I use to play everything from an MP3 file to a DVD video (and incidentally, vlc can stream your media to other computers, even to the television!). Of course you can click the apt link and install via:</p><p><a
href="apt:vlc">apt:vlc</a></p><p>5) <strong><span
style="color: #ff6600;">sudo aptitude install k3b</span></strong></p><p>Even though I use gnome, I still install k3b, which is (in my opinion) among the best DVD/CD burners around. I find the interface  intuitive and easy to use. There&#8217;s a post containing more applications at &#8220;<a
href="http://ubuntulinuxhelp.com/top-100-of-the-best-useful-opensource-applications/" title="Top 100 of the Best (Useful) OpenSource Applications"  target="_self">Top 100 of the Best (Useful) OpenSource Applications</a>&#8220;. Using apt links, we can also install k3b via:</p><p><a
href="apt:k3b">apt:k3b</a></p><p>6) Enable surround sound right away. I&#8217;ve an earlier post at <a
href="http://ubuntulinuxhelp.com/enable-51-surround-sound-on-linux-ubuntu-804-hardy/" title="Enable 5.1 Surround Sound on Linux - Ubuntu 8.04 Hardy"  target="_self">Enable 5.1 Surround Sound on Linux &#8211; Ubuntu 8.04 Hardy</a>, but the jist of the instructions is to edit</p><p><strong><span
style="color: #ff6600;">sudo gedit /etc/pulse/daemon.conf </span></strong> and change the line that says:</p><p><span
style="color: #3366ff;">; default-sample-channels = 2</span></p><p>to say</p><p><span
style="color: #3366ff;">default-sample-channels = 6</span></p><p>7) Use the &#8220;Windows&#8221; Key.</p><p>I prefer using keyboard shortcuts instead of the point and click mouse. Thankfully, there&#8217;s an easy way to turn your keyboards &#8220;Windows key&#8221; into an Ubuntu key.</p><p>Go to: <span
style="color: #3366ff;">System -&gt; Preferences -&gt; Keyboard Shortcuts</span></p><p>Scroll down to the action &#8220;Show panel menu&#8221; and click on it. (The phrase &#8220;New accelerator menu&#8230;&#8221; will appear).</p><p>Now simply press your Windows key once. (You&#8217;ll see the accelerator now says &#8220;Super L&#8221;). Select the &#8220;Close&#8221; option and you&#8217;ll see that your Windows key now works. Note: If you ever want to change it back to the default (for Hardy 8.04), the original setting is Alt f1.</p><p>8) Make gedit remember more documents.</p><p>I often use gedit to quickly edit files in a GUI environment. I often wish gedit would remember more of the documents I edit. That way I don&#8217;t have to surf through the file system. There&#8217;s a simple way to ensure gedit remembers more of the files you edit:</p><p><strong><span
style="color: #ff6600;">sudo gconf-editor</span></strong></p><p>In the window that appears (using the above command), select</p><p><span
style="color: #3366ff;">apps -&gt; gedit2 -&gt; preferences -&gt; ui -&gt; recent</span></p><p>Select the &#8220;max_recents&#8221; key and change the default of 5 to 10</p><p>9) Increase the start speed of multi-core CPU systems.</p><p>This will slow down systems that  have a single CPU. For multi core CPUs, we can change the services to all start together (in parallel) during boot time. The command to do this is;</p><p><strong><span
style="color: #ff6600;">sudo perl -i -pe &#8216;s/CONCURRENCY=none/CONCURRENCY=shell/&#8217; /etc/init.d/rc</span></strong></p><p>and then reboot with</p><p><strong><span
style="color: #ff6600;">sudo shutdown -r now</span></strong></p><p>10) Finally, I sometimes need to run application that are for another OS (not Ubuntu Linux). Virtualization is the answer and allows me to run the other application without using Wine ore rebooting into another OS. You can install Virtualbox:</p><p><strong><span
style="color: #ff6600;">sudo aptitude install virtualbox</span></strong></p><p>If you&#8217;re interested, more information about VirtualBox can be found by visiting the <a
href="http://www.virtualbox.org/wiki/VirtualBox" title="VirtualBox"  target="_blank">about VirtualBox</a> page. Again, here&#8217;s the apt link to install virtualbox:</p><p><a
href="apt:virtualbox">apt:virtualbox</a></p><p><strong>A bonus tip!</strong></p><p>I&#8217;m often asked how to uninstall a .deb package. The command to facilitate that is:</p><p><strong><span
style="color: #ff6600;">sudo dpkg -r package_name</span></strong></p><p>I hope these tips help some of you out there! How strong is your Kung Fu? -&gt; If you&#8217;ve any tips or tweaks you think should be here, please feel free to drop them in your comments below!</p> ]]></content:encoded> <wfw:commentRss>http://ubuntulinuxhelp.com/10-things-to-do-after-installing-ubuntu-linux/feed/</wfw:commentRss> <slash:comments>38</slash:comments> </item> <item><title>Faster Internet With an Old Laptop &#8211; Ubuntu and Squid</title><link>http://ubuntulinuxhelp.com/faster-internet-with-an-old-laptop-ubuntu-and-squid/</link> <comments>http://ubuntulinuxhelp.com/faster-internet-with-an-old-laptop-ubuntu-and-squid/#comments</comments> <pubDate>Tue, 02 Jun 2009 16:47:56 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Hands On]]></category> <category><![CDATA[8.04]]></category> <category><![CDATA[access]]></category> <category><![CDATA[acl]]></category> <category><![CDATA[caching]]></category> <category><![CDATA[configure]]></category> <category><![CDATA[fwebmin]]></category> <category><![CDATA[hosts]]></category> <category><![CDATA[how to]]></category> <category><![CDATA[install]]></category> <category><![CDATA[internet]]></category> <category><![CDATA[proxy]]></category> <category><![CDATA[server]]></category> <category><![CDATA[speed]]></category> <category><![CDATA[squid]]></category> <category><![CDATA[ssh]]></category> <category><![CDATA[ssl]]></category> <category><![CDATA[web]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/?p=1517</guid> <description><![CDATA[I&#8217;ve posted more than once about tips we can complete to improve our web surfing. This morning I was cleaning out some old hardware (to take to the recycling centre) when I happened upon one of the last old laptops I had. It&#8217;s an older IBM Thinkpad T22, Type 2647 with 256MB of RAM and [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve posted more than once about tips we can complete to improve our web surfing. This morning I was cleaning out some old hardware (to take to the recycling centre) when I happened upon one of the last <strong>old laptops</strong> I had.</p><p>It&#8217;s an older IBM Thinkpad T22, Type 2647 with 256MB of RAM and a 20GB hard drive. A couple years ago, I had 2o of these units, bought from a recycling depot. I sold them all on eBay, and only have a couple left now.</p><p><img
class="alignnone size-full wp-image-1518" title="IBM Thinkpad T22" src="http://ubuntulinuxhelp.com/wp-content/uploads/2009/06/thinkpad.jpg?9d7bd4" alt="IBM Thinkpad T22" width="472" height="354" /></p><p>Whilst packing up the stuff to cart off, it occurred to me that I could put this old laptop to work by <strong>installing a proxy / caching server</strong> on it, and have my we browsers, pull much of the regularly requested web content off a locally cached network server. This means <strong>installing Squid</strong>. Not sure what Squid is: <a
rel="nofollow" href="http://en.wikipedia.org/wiki/Squid_cache" title="Squid (Software)"  target="_blank">Squid (software)</a>, from their site:</p><p><span
style="color: #3366ff;"><em>&#8220;&#8230;Squid is a proxy server and web cache daemon. It has a wide variety of uses, from speeding up a web server by caching repeated requests, to caching web, DNS and other computer network lookups for a group of people sharing network resources, to aiding security by filtering traffic. Although primarily used for HTTP and FTP, Squid includes limited support for several other protocols including TLS, SSL, Internet Gopher and HTTPS. The development version of Squid (3.1) includes IPv6 and ICAP support&#8230;&#8221;</em></span></p><p>Needless, as I currently enjoy using Ubuntu, that&#8217;s what I used as the OS for this project. Installing a Squid server on the network, provided me with a few important benefits:</p><ul><li>Less bandwidth usage.</li><li>Faster web surfing.</li><li>Network cached copies of pages I regularly visit (if the original server is down).</li></ul><p>Firstly, make sure you&#8217;ve<span
id="more-1517"></span><strong> installed a copy of Ubuntu 8.04 Server (Hardy) on the old laptop</strong>. Not sure how to do that? Here&#8217;s a guide:<a
href="http://howtoforge.com/perfect-server-ubuntu8.04-lts" title="The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server)"  target="_blank"> The Perfect Server &#8211; Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server)</a>. In my case I skipped (did not install) Apache, MySQL, Postfix, BIND9, Proftpd, POP3/IMAP and Webalizer. I don&#8217;t need those, I only need the Squid proxy / caching server. I also installed Webmin (see below), so that I can easily manage this server remotely. A word to the wise however, I found out (about 2 years ago) to <strong>install Squid first</strong>! &#8211; That way the Webmin installation goes much smoother (I was using Debian for the server  at that time, and Ubuntu in another instance). Also, for those of you who have been following my blog (and for my welcomed new readers), I also played with Squid and Ubuntu about a year ago, in this post: <a
href="http://ubuntulinuxhelp.com/speed-up-and-improve-web-surfing-with-an-ubuntu-squid-server/" title="Speed Up and Improve Web Surfing With an Ubuntu Squid Server."  target="_self">Speed Up and Improve Web Surfing With an Ubuntu Squid Server</a>. My earlier Ubuntu, Squid post was based on Ubuntu 6.06LTS and Squid 2.6 &#8211; Things have changed and applications, etc. have improved, so I though a revisit and reinstallation of the Squid server was in order.</p><p>I downloaded and burned a copy of the <strong>Ubuntu 8.04 LTS Server</strong> from Ubuntu&#8217;s official site at: <a
href="http://www.ubuntu.com/getubuntu/download-server" title="Download Ubuntu 8.04 LTS Server"  target="_blank">http://www.ubuntu.com/getubuntu/download-server</a>. The bare minimum requirements are:</p><p>300 MHz x86 processor<br
/> 64 MB of system memory (RAM)<br
/> At least 4 GB of disk space (for full installation and swap space)<br
/> VGA graphics card capable of 640&#215;480 resolution<br
/> CD-ROM drive or network card</p><p>256MB of RAM, made the install slower than I&#8217;m used to. You can find more requirements info for Ubuntu Server (Hardy) at <a
href="https://help.ubuntu.com/community/Installation/SystemRequirements" title="Ubuntu System Requirements"  target="_blank">Ubuntu System Requirements</a>.</p><p>After downloading, and burning a copy of the ubuntu-8.04.2-server-i386 CD, complete a base install of Ubuntu server (using the howtoforge.com guide above as a reference). I also installed an SSH server so that I could tuck the old laptop away and complete everything else in  comfort,  using my desktop.</p><p><strong><span
style="color: #ff6600;">sudo aptitude install ssh openssh-server</span></strong></p><p>will get the ssh server up and running for you.</p><p>Throughout this post, you&#8217;ll need to substitute your IP addresses and names to match those in your own network. After the installation of the base server is complete, open a terminal from your (comfortable) desktop and enter:</p><p><span
style="color: #ff6600;"><strong>ssh root@192.168.1.200</strong></span></p><p>192.168.1.200 is the address of  there server I just installed.</p><p>Use the command:</p><p><span
style="color: #ff6600;"><strong>su</strong></span></p><p>to enter root. That way I don&#8217;t have to keep typing &#8220;sudo&#8221;.</p><p>Install Squid usingthe command:</p><p><span
style="color: #ff6600;"><strong>aptitude install squid3</strong></span></p><p>After Squid has finished installing and you&#8217;ve rebooted the system, you may want to install Webmin, a GUI interface to manage that server, still in terminal, you can download a copy of the webmin package into and directory you like. The command to download is:</p><p><span
style="color: #ff6600;"><strong>wget http://prdownloads.sourceforge.net/webadmin/webmin-1.470.tar.gz</strong></span></p><p>Untar it like this:</p><p><span
style="color: #ff6600;"><strong>tar xzvf webmin-1.470.tar.gz</strong></span></p><p>Webmin needs perl to run, so I installed some packages:</p><p><span
style="color: #ff6600;"><strong>aptitude install install libauthen-pam-perl libnet-ssleay-perl libpam-runtime openssl perl perl-modules</strong></span></p><p>Enter my extracted contents of the webmin-1.470.tar.gz package  by:</p><p><span
style="color: #ff6600;"><strong>cd webmin-1.470</strong></span></p><p>And run the installation for webmin:</p><p><span
style="color: #ff6600;"><strong>./setup.sh </strong></span></p><p>I changed the port number away from 10000 to <strong>26395</strong>. I changed the admin account to &#8220;root&#8221;, and entered a new password.</p><p>At the end of the webmin installation, I got the success message that include the URL: <strong>http://squid.localdomain:26395/</strong></p><p>On my local PC, I had to edit my hosts file like this:</p><p><span
style="color: #ff6600;"><strong>sudo gedit /etc/hosts<br
/> </strong></span><br
/> Then added the following line:</p><p><span
style="color: #ff6600;"><strong>192.168.1.200 squid.localdoman    squid</strong></span></p><p>Now we want to reboot the squid server using:</p><p><span
style="color: #ff6600;"><strong>shutdown -r now</strong></span></p><p>After rebooting the server and logging back in (via ssh), you can see if the webmin service is running by using the command:</p><p><span
style="color: #ff6600;"><strong>sudo /etc/init.d/webmin status</strong></span></p><p>You should see something like:</p><p><span
style="color: #3366ff;">webmin (pid 4573) is running</span></p><p>To see if it is listening on the correct port number, the command to check that is:</p><p><span
style="color: #ff6600;"><strong>sudo netstat -tap</strong></span></p><p>You should find a line in the output of the above command that says something like:</p><p><span
style="color: #3366ff;">tcp    0    0 *:26395    *:*    LISTEN    4573/perl</span></p><p>(Remember, port 26395 was the one we chose to tun webmin on &#8211; And webmin uses perl).</p><p>Now open a web browser and visit webmin. The URL I would use is:</p><p><strong>http://squid.localdomain:26395/</strong></p><p>(Again, remember that I <strong>added the appropriate information to my hosts file</strong> so that the browser can find the URL).</p><p>I chose not to enable SSL for logging into webmin (as I don&#8217;t need it in this LAN). After logging in, we want to configure squid. Look for something (on the left) that says &#8220;<strong>Unused Modules</strong>&#8221; and look for &#8220;<strong>Squid Proxy Server</strong>&#8220;, click that link. You will see an option to install the squid (webmin) module. <strong>Select that link to install it</strong>.</p><p>After installing, look on the left side menu and under &#8220;<strong>Servers</strong>&#8221; you will see &#8220;<strong>Squid Proxy Server</strong>&#8220;. Select &#8220;Squid Proxy Server&#8221; and then select the &#8220;<strong>Ports and Networking</strong>&#8221; option.</p><p>Note that squid is running on the <strong>default port 3128</strong>. Now return back to the squid module page by clicking &#8220;Module Index&#8221; (at the top of the page). Select the &#8220;<strong>Access Control</strong>&#8221; icon and see a button at the bottom of the page that says &#8220;Browser Regexp&#8221; &#8211; That contains a drop down list. Use the drop down list to select &#8220;<strong>Client Address</strong>&#8221; then click the button that says &#8220;<strong>Create new ACL</strong>&#8220;.</p><p>Enter your values in the form. I used the following:</p><p>ACL Name: localdomain<br
/> From IP: 192.168.1.0<br
/> To IP: 192.168.1.255<br
/> Netmask: 255.255.255.0</p><p>I didn&#8217;t change anything else and clicked on &#8220;Save&#8221;.</p><p>Now click the tab (at the top) that says &#8220;<strong>Proxy restrictions</strong>&#8220;. Click (at the bottom) &#8220;<strong>Add proxy restrictions</strong>&#8221; and look for the new ACL name you just created (mine was called &#8220;localdomain&#8221;) <span
style="color: #ff0000;">*** Make sure you are looking under the column that says &#8220;Match ACLS&#8221; ***</span> and click on that name. Now click the radio button that says &#8220;<strong>Allow</strong>&#8220;. Then select &#8220;save&#8221; at the bottom.</p><p>In the new screen that display, use the up arrow to <span
style="color: #ff0000;">move &#8220;localdomain&#8221; (or whatever you called your new ACL rule) so that it is just above the line that says &#8220;Deny all&#8221;</span>. If you don&#8217;t, your browsers will not be able to get access.</p><p>Now in your ssh window, use the command:</p><p><span
style="color: #ff6600;"><strong>shutdown -r now</strong></span></p><p>This will restart the server and squid3 (along with then new configuration). I noticed that webmin (for some strange reason) thought squid 2.6 was installed. Therefore, webmin was unable to start the server. But after rebooting the system, the &#8220;Stop Squid&#8221; button appeared &#8211; so I assume the webmin module has started working properly (no need for me to play with webmin again, as I&#8217;ll use SSH to access and reboot, etc., so I did not try).</p><p>As a final step, <strong>make sure that you set the proxy server address in your web browser</strong>. In my case the information to enter as a proxy server for each web browser is:</p><p><strong>192.168.1.200:3128</strong></p><p><strong>Update, July 03, 2009: </strong>I found a problem when trying to access statistics. Here&#8217;s the issue and fix&#8230;</p><p>Issue:  When trying to access the &#8220;Cache Manager Statistics&#8221; under &#8220;Squid Proxy Server&#8221;, the following error displays:</p><p><em><span
style="color: #3366ff;">&#8220;The Squid cache manager program /usr/lib/cgi-bin/cachemgr.cgi was not found on your system. Maybe your module configuration is incorrect.&#8221;</span></em></p><p>Fix:  <span
style="color: #ff6600;"><strong>aptitude install squid-cgi</strong></span></p><p>Cache manager statistics will now work.</p><p>Other sites with related information:</p><ul><li><a
rel="nofollow" href="http://shibuvarkala.blogspot.com/2008/11/howto-block-websites-using-squid-proxy.html" title="Howto Block websites using Squid Proxy in Ubuntu Linux"  target="_blank">Howto Block websites using Squid Proxy in Ubuntu Linux</a></li><li><a
rel="nofollow" href="http://shibuvarkala.blogspot.com/2008/11/howto-block-port-in-squid-proxy-ubuntu.html" title="Howto Block a Port in Squid Proxy , Ubuntu Linux"  target="_blank">Howto Block a Port in Squid Proxy , Ubuntu Linux</a></li><li><a
href="http://en.kioskea.net/faq/sujet-804-ubuntu-installing-an-http-proxy-server-squid" title="[Ubuntu]Installing an HTTP proxy server (Squid)"  target="_blank">[Ubuntu]Installing an HTTP proxy server (Squid)</a></li><li><a
href="http://chrisjohnston.org/2008/installing-squid-proxy-using-webmin-on-ubuntu-server-8041" title="Installing Squid Proxy using Webmin on Ubuntu Server 8.04.1"  target="_blank">Installing Squid Proxy using Webmin on Ubuntu Server 8.04.1</a></li><li><a
href="http://www.linuxjournal.com/article/10407" title="Paranoid Penguin - Building a Secure Squid Web Proxy, Part I"  target="_blank">Paranoid Penguin &#8211; Building a Secure Squid Web Proxy, Part I</a></li></ul><p>Enjoy faster web surfing as less external files are requested for pages you commonly visit and local cached copies are delivered to your browser. I hope you ladies and gents have fun playing with this, as I hope this post helps you out. Questions, suggestions, corrections, even additions?&#8230;. Please feel free to add them to you comments!</p> ]]></content:encoded> <wfw:commentRss>http://ubuntulinuxhelp.com/faster-internet-with-an-old-laptop-ubuntu-and-squid/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>Why is Ubuntu 9.04 (Jaunty) Not LTS?</title><link>http://ubuntulinuxhelp.com/why-is-ubuntu-940-jaunty-not-lts/</link> <comments>http://ubuntulinuxhelp.com/why-is-ubuntu-940-jaunty-not-lts/#comments</comments> <pubDate>Wed, 27 May 2009 20:16:00 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Editorials]]></category> <category><![CDATA[8.04]]></category> <category><![CDATA[9.04]]></category> <category><![CDATA[deb]]></category> <category><![CDATA[ext4]]></category> <category><![CDATA[hardy]]></category> <category><![CDATA[jaunty]]></category> <category><![CDATA[lts]]></category> <category><![CDATA[packages]]></category> <category><![CDATA[upgrade]]></category> <category><![CDATA[x.org]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/?p=1503</guid> <description><![CDATA[It&#8217;s not LTS, because it&#8217;s not time yet&#8230; A short post: &#8220;Why is Jaunty not an LTS release, shouldn&#8217;t I just stay with Hardy?&#8221; That&#8217;s a question I received from one of my clients. For those not familiar, &#8220;LTS&#8221; means &#8220;Long Term Support&#8221;. Indeed 8.04 (Hardy) has a longer support life than 9.04 (Jaunty), in [...]]]></description> <content:encoded><![CDATA[<p>It&#8217;s not LTS, because it&#8217;s not time yet&#8230;</p><p><strong>A short post:</strong> &#8220;Why is Jaunty not an LTS release, shouldn&#8217;t I just stay with Hardy?&#8221; That&#8217;s a question I received from one of my clients. For those not familiar, &#8220;LTS&#8221; means &#8220;Long Term Support&#8221;. Indeed 8.04 (Hardy) has a longer support life than 9.04 (Jaunty), in fact, <strong>support for 9.04 will expire before 8.04</strong>.</p><p><span
style="color: #0000ff;"><strong>Note:</strong></span></p><p><strong>Ubuntu Hardy (8.04)</strong> release was April, 2008</p><ul><li>Support for desktops ends: April, 2011</li><li>Support for servers ends: April, 2013</li></ul><p><strong>Jaunty Jackalope (9.04)</strong> release was April 2009</p><ul><li>Support ends: October 2010</li></ul><p>One thing to be aware of is that Canonical (the people who release Ubuntu), provide an<span
id="more-1503"></span> LTS version of Ubuntu <strong>every two years</strong>. Since Ubuntu 8.04 LTS was released in 2008, I assume Ubuntu 10.04 will be released in 2010 as an LTS release, and maybe be supported until 2015.</p><p>I think the above clearly answers the LTS question, however as to the choice of upgrading to 9.04 or remaining with 8.04, that&#8217;s not as simple.</p><p>Some of the key changes released in 9.04 (among others) were:</p><ul><li>Support for Wacom <strong>graphic tablets</strong></li><li><strong>Netbook</strong> support</li><li><strong>Faster boot</strong> up time</li><li>Desktop <strong>integration</strong> for web applications</li><li>Support for the new <strong>ext4</strong> file system</li></ul><p>Additionally, keep in mind that some open (and closed) source applications <strong>may no longer be  developing for 8.04</strong>. In many respects, I would weigh the options of application support just as much as patches and security releases from the Ubuntu repositories.</p><p>Personally, I have not upgraded yet. Why? &#8211; I don&#8217;t need to! Don&#8217;t get me wrong, I love all the new toys, tweaks and features, but I&#8217;m happy with the way my system runs and am reluctant to change that.</p><p>However, as of late, I find <strong>I&#8217;ve been using more .deb packages</strong> (upgrading to Gimp 2.6 in Ubuntu Hardy for example). Additionally, I&#8217;m using nVidia and am not sure about support in Jaunty&#8217;s new version of X.org.</p><p>Either way, just because 9.04 is not an LTS release, <strong>does not mean you shouldn&#8217;t consider upgrading</strong> &#8211; You should. Rather, stand back an evaluate whether you really <strong>NEED</strong> an upgrade or not.</p> ]]></content:encoded> <wfw:commentRss>http://ubuntulinuxhelp.com/why-is-ubuntu-940-jaunty-not-lts/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>The Trouble With Webcams and Ubuntu Linux</title><link>http://ubuntulinuxhelp.com/the-trouble-with-webcams-and-ubuntu-linux/</link> <comments>http://ubuntulinuxhelp.com/the-trouble-with-webcams-and-ubuntu-linux/#comments</comments> <pubDate>Tue, 07 Apr 2009 13:51:34 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Editorials]]></category> <category><![CDATA[64bit]]></category> <category><![CDATA[8.04]]></category> <category><![CDATA[cam]]></category> <category><![CDATA[camera]]></category> <category><![CDATA[drivers]]></category> <category><![CDATA[ekiga]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[gspca]]></category> <category><![CDATA[logitech]]></category> <category><![CDATA[skype]]></category> <category><![CDATA[spca]]></category> <category><![CDATA[Videos]]></category> <category><![CDATA[webcam]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/?p=1435</guid> <description><![CDATA[Recently I ran into issues with using my webcam in Ubuntu. Specifically the video would freeze (or not appear at all) and the functionality was terrible (in that most features were not available). Needless to say, personally, I wish it would be something that the open source community could fix (I&#8217;m not a developer, so [...]]]></description> <content:encoded><![CDATA[<p>Recently I ran into issues with using my webcam in Ubuntu. Specifically the video would freeze (or not appear at all) and the functionality was terrible (in that most features were not available). Needless to say, personally, I wish it would be something that the open source community could fix (I&#8217;m not a developer, so please forgive any incorrect opinions).</p><p>Here&#8217;s the scenario&#8230;</p><p>Hardware:</p><ul><li>AMD 64Bit system.</li><li>Logitech USB camera (Fusion).</li></ul><p>Software:</p><ul><li>Ubuntu 8.04 (Hardy).</li><li>Flash  LNX 9.0.152.0 upgraded to  LNX 10,0,15,3 (during this post).</li></ul><p>In my particular case, I discovered that when using Flash to connect to a video chat, I&#8217;d get a pop-up window asking which webcam to use. It was a simple matter to select the USB based cam, wich was given the name &#8220;0x046d&#8221; (for selection). Sometimes it would work, most of the time it did not. I also found that Skype connections were working all the time. However, video quality was not that great and there was almost none of the software features available (that were available to Windows users).</p><p>Missing features (that the camera supported) were:</p><ul><li>Face tracking (camera lens moves to keep your face in the center of the frame).</li><li>Rightlight 2 Technology (this fixes low, uneven, or glaring light automatically).</li><li>Built in mic (sometimes it worked, sometimes not).</li></ul><p>Needless to say, I was a bit frustrated with the inconsistent performance in Ubuntu Linux. To be fair, I did test the camera on a Windows XP environment and found that it worked great and that all features were available (so I knew it was not because of poor webcam hardware). However, this in great part was facilitated by<span
id="more-1435"></span> the software installation. It seems that Logitech has not made any drivers or software available for Linux. In fact, it seems there&#8217;s nothing available of Mac either. It&#8217;s just my opinion, but what kind of company produces products and dictates what operating system they can be used in. The world is rapidly changing and, it seems, there is much more (and increasing) diversity in the desktop environment, as such (in my opinion) Logitech should really sort out this issue as I think it makes them look bad. Ranting aside, this still left me with the issue of a great cam that had reduced functionality &#8211; simply because software was unavailable.</p><p>I found out that I needed to update my version of (64Bit) Flash. Apparently there were some issues that had been fixed since the initial Flash install. You can see what version of Flash you are using here: &#8220;<a
rel="nofollow" href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507" title="Version test for Adobe Flash Player"  target="_blank">Version test for Adobe Flash Player</a>&#8221; and learn how to install Flash properly here: &#8220;<a
href="http://ubuntulinuxhelp.com/adobe-flash-10-64-bit-use-the-alpha-version-instead/" title="Adobe Flash 10 64-Bit - Use the Alpha Version Instead?"  target="_self">Adobe Flash 10 64-Bit &#8211; Use the Alpha Version Instead?</a>&#8221; &#8211; That post has been updated (read &#8220;Update Feb. 23, 2009&#8243;) to get the correct information &#8211; It&#8217;s not an Alpha version anymore.</p><p>While the update of Flash, did resolve some issues &#8211; Video works more consistently now. However, even though the mic did install in Linux, I have to use a seperate mic when using the cam in Flash. However, when using Skype, both video and the on-board mic work. Again, this indicate the issue is software based. Interestingly in Ekiga, nothing works! I&#8217;ve since dumped Ekiga as it has no use in my system.</p><p>Again, it seems to me that Ubuntu Linux support for web cams is somewhat inconsistent, however, I&#8217;d like to clarify one thing. In reality it is some vendors that are not supporting Linux, which is the crux of the issue. It would be nice if the open source and Linux communities could jump in and fill the gap that some vendors are failing to address. That said, I as the end user could better help myself by properly researching hardware before buyting it.</p><p>The following resources, I&#8217;ve found, are most helpful (and I hope they help you too).</p><p><a
href="http://mxhaard.free.fr/spca5xx.html" title="Gspca/Spca5xx, Spca5xx-LE WebCams Driver"  target="_blank">Gspca/Spca5xx, Spca5xx-LE</a> are web cams drivers that support a wide range of cameras. When reviewing the list of cams, pick the ones where the &#8220;support&#8221; column is green and says &#8220;yes&#8221;. Also ensure that the &#8220;quality&#8221; column contains five stars.</p><p><a
href="https://bugs.edge.launchpad.net/ubuntu/+source/libv4l/+bug/260918" title="Needed: libv4l and associated application patches (or &quot;gspca stopped working in 2.6.27&quot;)"  target="_blank">gspca driver on launchpad</a> (bugs) helps fix a lot of issues with web cams. It provides more software updates and fixes as well.</p><p><a
href="https://help.ubuntu.com/community/Webcam" title="Ubuntu Webcam Community Documentation"  target="_blank">Ubuntu Community Webcam Documentation</a> contains some excellet resources (and probably should be one of your first stops?) One thing though, they suggest using Ekiga to test your webcam (as Ekiga is installed by default). That was not a good suggestion in my case (Ekiga did not work, but Skype and Flash did).</p><p><a
href="http://tldp.org/HOWTO/Webcam-HOWTO/index.html" title="The Webcam HOWTO"  target="_blank">The Webcam HOWTO</a> is a bit dated, but it will provide answers to some questions.</p><p><a
href="http://damien.douxchamps.net/ieee1394/cameras/" title="The IEEE1394 Digital Camera List"  target="_blank">The IEEE1394 Digital Camera List</a> is helpful to those who use a Firewire camera instead of USB.</p><p><a
href="http://ubuntulinuxhelp.com/linux-driver-for-quickcam-usb-cameras-logitech-quickcam-fusion/" title="Linux Driver for Quickcam USB cameras - Logitech Quickcam Fusion"  target="_self">Linux Driver for Quickcam USB cameras &#8211; Logitech Quickcam Fusion</a> will help you get your Logitech Fusion working with Ekiga. This is a post I wrote just over a year ago, some things may have changed (and personally, I&#8217;ve learned a lot more since then).</p><p>Finally, for us Ubuntu Linux users, there&#8217;s a specific hardware compatability list that you might want to peek at here: &#8220;<a
href="http://ubuntuhcl.org/browse/search?offset=0&amp;category=33&amp;manufacturer=&amp;os=&amp;order-by=&amp;keywords=" title="Ubuntu Hardware Compatability List"  target="_blank">Ubuntu Hardware Compatability List</a>&#8220;.</p><p>As for the functionality &#8211; which is application driven, again, it would be nice is Linux (Ubuntu), could at least catch up a bit with Windows and Mac! Doing so may further enhance its desktop viability!</p><p>For those interested in GPSA, there&#8217;s a great video (shown blow) that demonstrates how to install it:</p><p><object
width="425" height="344" data="http://www.youtube.com/v/ewwMFPucrxw&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash"><param
name="allowFullScreen" value="true" /><param
name="allowscriptaccess" value="always" /><param
name="src" value="http://www.youtube.com/v/ewwMFPucrxw&amp;hl=en&amp;fs=1&amp;rel=0" /><param
name="allowfullscreen" value="true" /></object></p><p>Personally I&#8217;ve not tried it yet &#8211; But I plan to! :)</p><p><strong>Other Related Resources:</strong></p><p><a
href="http://search.twitter.com/search?q=linux%20webcam" id="aptureLink_RQWHyi7J5q" style="margin: 0pt auto; padding: 0px 6px; text-align: center; display: block;" ><img
style="border: 0px none;" title="What people are saying about &quot;linux webcam&quot;" src="http://placeholder.apture.com/ph/370x341_TwitterArticle/" alt="" width="370" height="341" /></a></p><p>If you have any good Linux webcam resources, have some experiences or knowledge that you&#8217;d like to share, please feel free to comment below!</p> ]]></content:encoded> <wfw:commentRss>http://ubuntulinuxhelp.com/the-trouble-with-webcams-and-ubuntu-linux/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Building a Web Developer / Designer PC Using Ubuntu Linux &#8211; Revisited</title><link>http://ubuntulinuxhelp.com/building-a-web-developer-designer-pc-using-ubuntu-linux-revisited/</link> <comments>http://ubuntulinuxhelp.com/building-a-web-developer-designer-pc-using-ubuntu-linux-revisited/#comments</comments> <pubDate>Tue, 24 Mar 2009 17:31:41 +0000</pubDate> <dc:creator>Roger Wheatley</dc:creator> <category><![CDATA[Applications]]></category> <category><![CDATA[Hands On]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[8.04]]></category> <category><![CDATA[apt-get]]></category> <category><![CDATA[aptitude]]></category> <category><![CDATA[editor]]></category> <category><![CDATA[file]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[hardy]]></category> <category><![CDATA[how to]]></category> <category><![CDATA[install]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[meld]]></category> <category><![CDATA[opensource]]></category> <category><![CDATA[synchronization]]></category> <category><![CDATA[tkdiff]]></category> <category><![CDATA[unison]]></category> <category><![CDATA[xvidcap]]></category><guid
isPermaLink="false">http://ubuntulinuxhelp.com/?p=1428</guid> <description><![CDATA[Recently I posted &#8220;Build a Web Developer PC and Enable Most Media Playback Using Ubuntu Linux&#8221; and received a few messages asking what other tools I use. To save me time with answering email messages that essentially contain the same information, and to help the maximum number of readers, I thought it would be a [...]]]></description> <content:encoded><![CDATA[<p>Recently I posted &#8220;<a
href="http://ubuntulinuxhelp.com/build-a-web-developer-pc-and-enable-most-media-playback-using-ubuntu-linux/" title="Build a Web Developer PC and Enable Most Media Playback Using Ubuntu Linux"  target="_self">Build a Web Developer PC and Enable Most Media Playback Using Ubuntu Linux</a>&#8221; and received a few messages asking what other tools I use. To save me time with answering email messages that essentially contain the same information, and to help the maximum number of readers, I thought it would be a good follow up to that earlier post.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>First off, there some other applications I use, namely:<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><a
rel="nofollow" href="http://xvidcap.sourceforge.net/" title="xvidCap"  target="_blank">xVidCap</a>. This facilitates screen capturing video so that I can create tutorial videos. After which ffmpeg can be used to convert the captured video to flv format for web streaming.  If you&#8217;re interested, they have a couple instructional videos: <a
rel="nofollow" href="http://xvidcap.sourceforge.net/instruct-video1.mpeg" title="xvidCap instructional video 1"  target="_blank">Video 1</a> and <a
rel="nofollow" href="http://xvidcap.sourceforge.net/instruct-video2.mpeg" title="xvidCap instructional video 2"  target="_blank">Video 2</a>. To install it, the command is:<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><span
style="color: #ff6600;">sudo aptitude install xvidcap</span><img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>Also, to be able to quickly find the differences between <span
id="more-1428"></span>file versions I use <a
rel="nofollow" href="http://sourceforge.net/projects/tkdiff/" title="TkDiff"  target="_blank">TkDiff File Comparison</a> and <a
rel="nofollow" href="http://meld.sourceforge.net/" title="Meld"  target="_blank">Meld</a>. Both allow me to open different versions and display where files differ. These are particularly helpful if you access files from different locations and then need to troubleshoot changes. To install:<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><span
style="color: #ff6600;">sudo aptitude install tkdiff</span><img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><span
style="color: #ff6600;">sudo aptitude install meld</span><img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>In my personal case, this became more useful when I tried out <a
href="http://www.cis.upenn.edu/~bcpierce/unison/" title="Unison"  target="_blank">Unison</a>. As explained on the Unison web site:<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>&#8220;<em><span
style="color: #3366ff;">&#8230;Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other&#8230;</span></em>&#8220;<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>While I&#8217;m mentioning Unison, I should point out that I had a horrible experience with it (Note: I did not read the manual). In my opinion it&#8217;s a great idea, and I am truly waiting for the latest versions, however I did have issues (which I have not been able to resolve yet):<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>It advertises that synchronization can also occur between Linux and Windows systems (or Linux to Linux systems).<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>My reality with regards to Windows :<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><ul><li>Linux can connect to Windows, but then the connection is lost with an error message after supplying the correct password.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></li><li>Window can connect to Linux and does begin searching for changes, but then the application freezes, becomes unresponsive, network traffic is almost zero and CPU load shoots to 100% if you try to stop.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></li><li>For it to work the same version needs to be installed on both machines.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></li><li>Compiling from source did not work on Ubuntu 8.04 as it indicated there were errors in the make file (yet the <span
style="color: #ff6600;">sudo aptitude install unison-gtk</span> command does succeed &#8211; So I know all dependencies and libraries are already available)<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></li><li>Currently it does not work. (However other solutions like rsync etc. work without any issues or much hair pulling).<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></li><li>There is no option to delete a profile.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></li><li>Importantly, the FTP synchronization option is not available.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></li></ul><p><img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /><br
/> I really hope I can get this going &#8211; But it&#8217;s slow as it&#8217;s taken me almost 5 hours to try and get it working &#8211; to no avail. I wish there would be the same updated versions for all platforms available as packaged binaries (I think this would make things easier).<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><a
href="http://www.imgseek.net/" title="imgSeek"  target="_blank">imgSeek</a> is another useful tool that manages graphic collection and has the unique search capability where you can provide a rough sketch of the image you are looking for &#8211; And the results will be returned. No more having to use tags! In my opinion that is a great feature. You can <a
href="http://www.imgseek.net/sshot/9814e2bd8884d0d96a7d19c0a42403d5.png" title="imgSeek serach screenshot"  target="_blank">view the screenshot</a> of the search feature.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>Many of the other web design and development related tools are also Firefox extensions:<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><a
href="https://addons.mozilla.org/en-US/firefox/addon/1002" title="Codetch Firefox extension"  target="_blank">Codetch</a> allows me to edit files right inside Firefox. It&#8217;s a little bit like Bluefish.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><a
href="https://addons.mozilla.org/en-US/firefox/addon/134" title="Copy Plain Text Firefox extension"  target="_blank">Copy Plain Text</a> gives you the ability to copy and paste text without all the formatting.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><a
href="https://addons.mozilla.org/en-US/firefox/addon/2289" title="W3C CSS Validator Firefox extension"  target="_blank">W3C CSS Validator</a> does exactly that &#8211; validate that your CSS is formatted to the correct standards.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><a
href="https://addons.mozilla.org/en-US/firefox/addon/2104" title="CSSViewer Firefox estension"  target="_blank">CSSViewer</a> allows you to hover your mouse around a web page and see a small box that clearly shows all the CSS element in effect for any object or area.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><a
href="https://addons.mozilla.org/en-US/firefox/addon/179" title="EditCSS Firefox extension"  target="_blank">EditCSS</a> allows you to edit the CSS of any web page in real time and see the immediate changes, then you can simply copy and paste the change into your final style.css file.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><a
href="https://addons.mozilla.org/en-US/firefox/addon/1843" title="Firebug Firefox extension"  target="_blank">Firebug</a> is a robust extension that allows you to live debug and monitor CSS, HTML, JavaScript, etc. actions and results. It&#8217;s a good tool for troubleshooting issues.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><a
href="https://addons.mozilla.org/en-US/firefox/addon/60" title="Web Developer Firefox extension"  target="_blank">Web Developer</a> provides a tool bar with lots (and lots&#8230;) of development tools! If you&#8217;re only going to check one of these extensions, this is the one to look at!<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>Side note: I&#8217;ve often been asked what the &#8220;Ubuntu Firefox Modifications&#8221; extension does (as there is no ability to edit the preferences for it). It&#8217;s function is to allow installation of Firefox add ons via the Ubuntu package manager, however I&#8217;ve not played with that yet.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>Finally, one issue I&#8217;ve found very helpful is to tweak how Firefox operates, in other words making it function faster. The video below provides a good guide to tweaking Firefox for speed improvements:<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p><object
width="425" height="344" data="http://www.youtube-nocookie.com/v/wGYggczgyo8&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash"><param
name="allowFullScreen" value="true" /><param
name="allowscriptaccess" value="always" /><param
name="src" value="http://www.youtube-nocookie.com/v/wGYggczgyo8&amp;hl=en&amp;fs=1&amp;rel=0" /><param
name="allowfullscreen" value="true" /></object><img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p><p>Hopefully the revisit of this topic helps answer questions as well as improving the web developer and designer productivity in an Ubuntu Linux environment.<img
title="spacer_gif" src="http://ubuntulinuxhelp.com/wp-content/uploads/2008/03/spacer_gif.gif?9d7bd4" alt="" /></p> ]]></content:encoded> <wfw:commentRss>http://ubuntulinuxhelp.com/building-a-web-developer-designer-pc-using-ubuntu-linux-revisited/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <enclosure
url="http://xvidcap.sourceforge.net/instruct-video1.mpeg" length="9738040" type="video/mpeg" /> <enclosure
url="http://xvidcap.sourceforge.net/instruct-video2.mpeg" length="9189134" type="video/mpeg" /> </item> </channel> </rss>
<!-- Served from: ubuntulinuxhelp.com @ 2012-02-10 16:41:38 by W3 Total Cache -->
