<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; Tutorials Advanced</title> <atom:link href="http://www.ghacks.net/category/tutorials-advanced/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 09:52:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Diagnosing and Repairing Difficult Problems in Windows 7 Free Webcast</title><link>http://www.ghacks.net/2011/12/31/diagnosing-and-repairing-difficult-problems-in-windows-7-free-webcast/</link> <comments>http://www.ghacks.net/2011/12/31/diagnosing-and-repairing-difficult-problems-in-windows-7-free-webcast/#comments</comments> <pubDate>Sat, 31 Dec 2011 11:05:12 +0000</pubDate> <dc:creator>Mike Halsey MVP</dc:creator> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[mike halsey]]></category> <category><![CDATA[oreilly]]></category> <category><![CDATA[troubleshooting]]></category> <category><![CDATA[webcast]]></category> <category><![CDATA[windows 7]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=55016</guid> <description><![CDATA[Windows 7 is Microsoft&#8217;s most stable and reliable version of their desktop operating system yet, but it&#8217;s still such a complex piece of software that when something does go wrong it can be extremely difficult to diagnose and repair the problem. As the author of &#8220;Troubleshooting Windows 7 Inside Out&#8221; from Microsoft Press one of [...]]]></description> <content:encoded><![CDATA[<p>Windows 7 is Microsoft&#8217;s most stable and reliable version of their desktop operating system yet, but it&#8217;s still such a complex piece of software that when something does go wrong it can be extremely difficult to diagnose and repair the problem.</p><p>As the author of &#8220;Troubleshooting Windows 7 Inside Out&#8221; from Microsoft Press one of the most popular webcast requests I have received is for how you can diagnose and repair these complex and difficult problems, so on January 12th 2012 this is exactly what I&#8217;m going to do.</p><p><img
class="alignleft  wp-image-55017" src="http://www.ghacks.net/wp-content/uploads/2011/12/lrg-491x600.jpg" alt="" width="177" height="216" />The <a
href="http://oreillynet.com/pub/e/2120" target="_blank">webcast</a> is completely free, live and starts at 10AM PT - San Francisco | <span>6pm &#8211; London | 1pm &#8211; New York | Fri, Jan 13th at 5am &#8211; Sydney | Fri, Jan 13th at 3am &#8211; Tokyo | Fri, Jan 13th at 2am &#8211; Beijing | 11:30pm &#8211; Mumbai</span></p><blockquote><p><span>It can be difficult enough finding out what&#8217;s gone wrong with windows 7 or a program, but some problems can be a nightmare to diagnose. In this webcast, Mike Halsey, the author of Troubleshooting Windows 7 Inside Out talks you through how to diagnose really stubborn and hidden problems in Windows 7, and explains how you can go about fixing them.</span></p></blockquote><p><span>In this webcast I&#8217;ll cover the tools and skills you&#8217;ll need to diagnose problems, and I&#8217;ll show you the extensive diagnostic tools that already exist inside Windows 7 to help you with the job.  In fact it&#8217;s possible to diagnose complex Windows 7 problems using nothing more than Windows 7 itself.</span></p><p><span>If you&#8217;re not able to make the webcast when it&#8217;s broadcast live, just register in advance and you&#8217;ll be given free access to watch it afterwards online through the O&#8217;Reilly website.  It will last for approximately 60 minutes and is part of a series of regular webcasts that, from February, will return to their regular <em>first Thursday</em> slot.</span></p><p><span>You can register for this free webcast <a
href="http://oreillynet.com/pub/e/2120" target="_blank">here</a>.</span></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/12/31/diagnosing-and-repairing-difficult-problems-in-windows-7-free-webcast/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Join gHacks Editor Mike Halsey for a &#8220;Windows 7 Troubleshooting&#8221; webcast series</title><link>http://www.ghacks.net/2011/08/01/join-ghacks-editor-mike-halsey-for-a-windows-7-troubleshooting-webcast-series/</link> <comments>http://www.ghacks.net/2011/08/01/join-ghacks-editor-mike-halsey-for-a-windows-7-troubleshooting-webcast-series/#comments</comments> <pubDate>Mon, 01 Aug 2011 09:24:39 +0000</pubDate> <dc:creator>Mike Halsey MVP</dc:creator> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[mike halsey]]></category> <category><![CDATA[troubleshooting]]></category> <category><![CDATA[webcast]]></category> <category><![CDATA[windows 7]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=48479</guid> <description><![CDATA[I&#8217;m delighted to be able to announce that I&#8217;ve got some more free webcasts coming up, with the first one this Thursday, 4th August, on Securing your files and data in Windows. The webcasts are all on the theme &#8220;Windows 7 Troubleshooting&#8221; and will include Securing Windows 7 and Internet Explorer, Troubleshooting Windows Update and [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: left">I&#8217;m delighted to be able to announce that I&#8217;ve got some more free webcasts coming up, with the first one this Thursday, <strong>4th August</strong>, on Securing your files and data in Windows.</p><p
style="text-align: left">The webcasts are all on the theme &#8220;Windows 7 Troubleshooting&#8221; and will include <strong>Securing Windows 7 and Internet Explorer</strong>, <strong>Troubleshooting Windows Update and Service Pack Problems</strong> and <strong>Troubleshooting Networking Issues</strong> and will be one a month until the beginning of November.</p><p
style="text-align: left">The webcasts are all free to attend, from the comfort of your own home or office, and full details can be found below.</p><table
style="width: 549px;height: 973px" width="549" border="0"><tbody><tr><td
colspan="2"><img
style="border: 0px currentColor" src="http://oreilly.com/images/oreilly/windows7-series-mhalsey.png" alt="Windows 7 Troubleshooting Webcast Series Presented By Mike Halsey" width="542" height="193" border="0" /></td></tr><tr><td
valign="top">Join Mike Halsey, author of <a
href="http://post.oreilly.com/rd/9z1z0h6mht0n7lig95ch61emdesve0e6k7alha4ajro">Troubleshooting Windows 7 Inside Out</a>, in this four-part webcast series on Troubleshooting Windows 7. On the first Thursday of each month, Mike will guide us through a new aspect of Windows troubleshooting. You&#8217;ll learn how to take control of essential Windows 7 maintenance and security features and master quick fixes to the most common Windows problems. Bring your questions, too. Mike will allow plenty of time for Q&amp;A.</p><hr
/><table
width="602" border="0" cellspacing="0" cellpadding="5"><tbody><tr><td
valign="top"><a
href="http://post.oreilly.com/rd/9z1zflc5l23v949svtgi220b658inuiij55saha8ar0">Securing Your Files and Data in Windows</a><br
/> <a
href="http://post.oreilly.com/rd/9z1zpee5k578nq29htkij1p6ihgsq55hsnqqh4qiogo"><img
src="http://oreilly.com/images/oreilly/ical_icon-tiny.png" alt="Add to iCal" width="30" height="30" align="right" border="0" /></a><strong>Thursday, Aug 4, 2011 at 10:00AM PT</strong><br
/> <a
href="http://post.oreilly.com/rd/9z1znogb7kp60v2alvbh30g5ubstq8hkbqstdldf40g"><img
src="http://oreilly.com/images/oreilly/training/btn-last-chance-to-register.png" alt="Last Chance to Register" width="202" height="30" border="0" /></a><br
/> The most important part of your PC is your files and data, but how can you safeguard them against sudden disaster, and how can you recover them should things go wrong? In this webcast, Mike  will talk you though how to keep your files and data safe from even the worst disaster.</td></tr></tbody></table><hr
/><table
width="602" border="0" cellspacing="0" cellpadding="5"><tbody><tr><td
valign="top"><a
href="http://post.oreilly.com/rd/9z1z0ud18ei3impv887rhk30qe0eklbirhrso4dm8m8">Securing Windows 7 and Internet Explorer</a><br
/> <a
href="http://post.oreilly.com/rd/9z1zef1a8cmd6itffb8hajie5rds04ak4eb2ql98bd8"><img
src="http://oreilly.com/images/oreilly/ical_icon-tiny.png" alt="Add to iCal" width="30" height="30" align="right" border="0" /></a><strong>Thursday, Sep 1, 2011 at 10:00AM PT</strong><br
/> <a
href="http://post.oreilly.com/rd/9z1ztqg7brcsrrd3gsbcneb1gglvgclph1nefsjt1oo"><img
src="http://oreilly.com/images/oreilly/training/btn-register-now.png" alt="Register now" width="136" height="30" border="0" /></a><br
/> The more time you spend online, the more vulnerable you can be to malware and scammers. In this webcast, Mike  will describe what to look for to keep yourself safe, and how you can configure Windows and Internet Explorer to keep yourself, your family, small business and your personal data safe from prying eyes and online thieves.</td></tr></tbody></table><hr
/><table
width="100%" border="0" cellspacing="0" cellpadding="5"><tbody><tr><td
valign="top"><a
href="http://post.oreilly.com/rd/9z1zbh1ej0i66afb6bgs6h28af2b5nc5nfprlbsqlcg">Troubleshooting Windows Update and Service Pack Problems</a><br
/> <a
href="http://post.oreilly.com/rd/9z1z8n101eh191nq9c3fqdpj7gmbu1h2b7eqhidohc8"><img
src="http://oreilly.com/images/oreilly/ical_icon-tiny.png" alt="Add to iCal" width="30" height="30" align="right" border="0" /></a><strong>Thursday, Oct 6, 2011 at 10:00AM PT</strong><br
/> <a
href="http://post.oreilly.com/rd/9z1zgt9t58c21qqh3ctr06dcc7g9m2lln8p1v3nagvg"><img
src="http://oreilly.com/images/oreilly/training/btn-register-now.png" alt="Register now" width="136" height="30" border="0" /></a><br
/> Among the most common problems with Windows are issues around the installation and maintenance of Windows Updates and Service Packs. In this webcast Mike  will talk you through how to repair common problems and diagnose and repair more complex issues that can bring your computer to a standstill.</td></tr></tbody></table><hr
/><table
width="602" border="0" cellspacing="0" cellpadding="5"><tbody><tr><td
valign="top"><a
href="http://post.oreilly.com/rd/9z1zbar4g47hpmtcl15pqkfionp7dbpvc0prr1dsjn8">Troubleshooting Networking Issues in Windows 7</a><br
/> <a
href="http://post.oreilly.com/rd/9z1z15r405b553urau79r4vd8ii05emip6hjvo6gr4g"><img
src="http://oreilly.com/images/oreilly/ical_icon-tiny.png" alt="Add to iCal" width="30" height="30" align="right" border="0" /></a><strong>Thursday, Nov 3, 2011 at 10:00AM PT</strong><br
/> <a
href="http://post.oreilly.com/rd/9z1z57st6rv69l1l1ncrj3dcvjcmddk23aos9p4dapo"><img
src="http://oreilly.com/images/oreilly/training/btn-register-now.png" alt="Register now" width="136" height="30" border="0" /></a><br
/> Everybody has had issues with networking at some point and with the Introduction of new features including Homegroup, networking in Windows 7 is more complex than ever before. In this webcast Mike will discuss how you can diagnose and repair networking problems on your PC.</td></tr></tbody></table></td></tr></tbody></table><p
style="text-align: left">You can find out more about these webcasts <a
href="http://post.oreilly.com/form/oreilly/viewhtml/9z1zcag2cm4c7nobcedk9lpulj5ua5okea5l3pglut0?imm_mid=072676&amp;cmp=em-orm-webcast-pr-windows7-series-direct" target="_blank">here</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/08/01/join-ghacks-editor-mike-halsey-for-a-windows-7-troubleshooting-webcast-series/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Troubleshooting Windows Defender Conflicts</title><link>http://www.ghacks.net/2011/06/15/troubleshooting-windows-defender-conflicts/</link> <comments>http://www.ghacks.net/2011/06/15/troubleshooting-windows-defender-conflicts/#comments</comments> <pubDate>Wed, 15 Jun 2011 10:37:18 +0000</pubDate> <dc:creator>Mike Halsey MVP</dc:creator> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[anti virus]]></category> <category><![CDATA[malware]]></category> <category><![CDATA[services]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[windows-defender]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=46499</guid> <description><![CDATA[I get troubleshooting emails on a wide variety of subjects, it&#8217;s always great when you can help people out and one I received this week was from someone who&#8217;d bought the latest version of Kaspersky Anti-Virus in response to a minor virus attack on her PC. Kaspersky removed the virus diligently enough, but it had [...]]]></description> <content:encoded><![CDATA[<p>I get troubleshooting emails on a wide variety of subjects, it&#8217;s always great when you can help people out and one I received this week was from someone who&#8217;d bought the latest version of Kaspersky Anti-Virus in response to a minor virus attack on her PC.</p><p>Kaspersky removed the virus diligently enough, but it had left her with an annoying and recurring Windows Defender 0X80070006 error code whenever she started her PC.  This code, if you do a quick search on Google is &#8220;Application failed to initialise&#8221; though it was clear to me straight away what had happened and it&#8217;s so common I thought I&#8217;d write it up here.</p><p><img
class="alignleft size-full wp-image-46500" src="http://www.ghacks.net/wp-content/uploads/2011/06/toptip.jpg" alt="windows defender conflicts" width="150" height="150" /></p><p>Windows Defender has been a staple component of Windows since the famous XP Service pack 2 that introduced it.  It&#8217;s a basic anti malware app that runs automatically in the background on your PC and helps keep it free of nasties.  It&#8217;s no substitute for a commercial anti-malware app though, MalwareBytes being my all-time favourite, and as such many third-party anti-virus programs disable it when you install them.  Kaspersky is no exception to this but on this occasion, as also happens so many times, something went wrong and Windows Defender wasn&#8217;t disabled, or wasn&#8217;t disabled correctly.</p><p>This is a simple-enough problem to fix and can be done in just a few simple steps.  I thought I&#8217;d talk you through those steps here.</p><p>The first thing to do is to open the <strong>Services</strong>panel in Windows.  While Windows Defender is to all intents and purposes a program, it&#8217;s not installed as a normal program.  Instead it runs as a Windows service, much in the same way your print spooler or your firewall does.</p><p>The best way to find services is just to type the word <strong>services</strong> into the search box in the Start Menu.  You&#8217;ll see in figure 1 that the services panel has an icon that&#8217;s a couple of cogs, a large one and a small one (it&#8217;s highlighted here).  Click on this option to open the services panel.</p><div
id="attachment_46501" class="wp-caption aligncenter" style="width: 419px"><img
class="size-full wp-image-46501" src="http://www.ghacks.net/wp-content/uploads/2011/06/services.jpg" alt="windows defender troubleshooting" width="409" height="445" /><p
class="wp-caption-text">Fig 1</p></div><p>When the services panel opens you&#8217;ll see a very long list of a great many Windows services as in Figure 2, they&#8217;ll by default all be listed in alphabetical order.  Scroll down the list until you find <strong>Windows Defender</strong>.</p><p>Once you have Windows Defender visible in the services panel, <strong>right-click</strong> on it and select <strong>Properties</strong> from the context menu that appears.</p><div
id="attachment_46502" class="wp-caption aligncenter" style="width: 550px"><img
class="size-medium wp-image-46502" src="http://www.ghacks.net/wp-content/uploads/2011/06/services2-600x558.jpg" alt="windows defender" width="540" height="502" /><p
class="wp-caption-text">Fig 2</p></div><p>After you&#8217;ve selected the properties for Windows Defender, a small dialog window will appear showing all the options for that service.  You can see this in Figure 3.  In the centre of this window is an option to select the service&#8217;s <strong>Startup Type</strong>.  This is the option you&#8217;ll want to change as, most likely, your new anti-virus software has failed to disable Windows Defender and its service is still running.</p><p>Just changing this Startup Type behaviour to <strong>Disabled</strong> and pressing the <strong>OK</strong> button in the window is enough to fix the problem.  You can now close the services window and restart your PC.  Now you won&#8217;t get the error any more as Windows Defender will no longer be running and there won&#8217;t be any conflicts between it and your new anti-virus software.</p><div
id="attachment_46503" class="wp-caption aligncenter" style="width: 430px"><img
class="size-full wp-image-46503" src="http://www.ghacks.net/wp-content/uploads/2011/06/services3.jpg" alt="windows security software" width="420" height="474" /><p
class="wp-caption-text">Fig 3</p></div><blockquote><p>It can be <strong>very</strong>tempting to look down the list in the Services panel to see what else you may or may not need.  By default Windows 7 is very good at only running services that are actually required.  You may find that the <strong>Tablet PC Input Service</strong> is running, and if you don&#8217;t have a touch-enabled computer you can safely disable this service too.  I would <strong>always</strong>advise against shutting down any other services however.  Some are required for Windows to start and operate, and others are required by third-party software (including your anti-virus software).</p><p><strong>You should always be extremely careful disabling Windows services unless you know exactly what they are!  Doing so could cause your computer to become unstable or even unable to start.</strong></p></blockquote> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/06/15/troubleshooting-windows-defender-conflicts/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>gHacks Editor&#8217;s &#8220;Windows 7 Power Users Guide&#8221; eBook is now FREE [UPDATED]</title><link>http://www.ghacks.net/2011/05/07/ghacks-editors-windows-7-power-users-guide-ebook-is-now-free/</link> <comments>http://www.ghacks.net/2011/05/07/ghacks-editors-windows-7-power-users-guide-ebook-is-now-free/#comments</comments> <pubDate>Sat, 07 May 2011 16:35:15 +0000</pubDate> <dc:creator>Mike Halsey MVP</dc:creator> <category><![CDATA[ghacks]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[ebook]]></category> <category><![CDATA[free]]></category> <category><![CDATA[inside out]]></category> <category><![CDATA[microsoft press]]></category> <category><![CDATA[mike halsey]]></category> <category><![CDATA[out]]></category> <category><![CDATA[power users guide]]></category> <category><![CDATA[troubleshooting]]></category> <category><![CDATA[troubleshooting windows 7 inside]]></category> <category><![CDATA[windows 7]]></category> <category><![CDATA[windows 7 power users guide]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=44804</guid> <description><![CDATA[I&#8217;m delighted to announce that my 170 page Windows 7 Power Users Guide is now completely FREE to download and own as an eBook. The book is for people of all technical ability from complete novices to IT Pros. UPDATE : In the first day of it&#8217;s release as a free eBook, the Windows 7 [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: left">I&#8217;m delighted to announce that my 170 page <strong>Windows 7 Power Users Guide</strong> is now completely FREE to download and own as an eBook. The book is for people of all technical ability from complete novices to IT Pros.</p><blockquote><p
style="text-align: left"><strong>UPDATE : </strong>In the first day of it&#8217;s release as a free eBook, <strong>the Windows 7 Power Users Guide </strong>has received <strong>more than half a million </strong>hits!</p></blockquote><p
style="text-align: left">The book contains 16 chapters and is a guide on how to get the very best out of Windows 7 from installation to configuration and advanced operations. It includes step-by-step guides, screenshots and diagrams on every page, quick tips throughout the book and is presented in full colour.</p><blockquote><p>From the author of <strong><a
href="http://oreilly.com/catalog/9780735645202/" target="_blank">Troubleshooting Windows 7 Inside Out</a> </strong>from Microsoft Press&#8230; A book for people who use Windows 7 at home or at work and know it can do more for them, but who don&#8217;t know how. The Windows 7 Power Users Guide contains helpful how-to&#8217;s, full colour pictures and quick tips to guide you through everything from using the Start Menu and Taskbar to backing up your documents and identifying and fixing problems</p></blockquote><p><a
href="http://www.inspirare.net/thelongclimb/wp-content/uploads/2011/05/W7PUG-Cover-free-small.jpg"><img
class="aligncenter" src="http://www.inspirare.net/thelongclimb/wp-content/uploads/2011/05/W7PUG-Cover-free-small.jpg" alt="" width="503" height="717" /></a></p><p>You can download the book from my <a
href="http://www.lulu.com/product/ebook/the-windows-7-power-users-guide/15662737" target="_blank">online book store</a> or directly from my website <a
href="http://www.thelongclimb.com/books/win7powerfree.pdf" target="_blank">here</a>. </p><p>You can now catch up with more of my writing and events (including competitions and giveaways) at my new <a
href="http://www.facebook.com/pages/Mike-Halsey-MVP/198636693505437?sk=wall" target="_blank">Facebook Group</a>.</p><p
style="text-align: center"><img
class="alignnone size-medium wp-image-44808" src="http://www.ghacks.net/wp-content/uploads/2011/05/pic1-402x570.png" alt="" width="241" height="342" /><img
class="alignnone size-medium wp-image-44811" src="http://www.ghacks.net/wp-content/uploads/2011/05/pic4-402x570.png" alt="" width="241" height="342" /><img
class="alignnone size-medium wp-image-44810" src="http://www.ghacks.net/wp-content/uploads/2011/05/pic3-403x570.png" alt="" width="242" height="342" /><img
class="alignnone size-medium wp-image-44809" src="http://www.ghacks.net/wp-content/uploads/2011/05/pic2-402x570.png" alt="" width="241" height="342" /></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/05/07/ghacks-editors-windows-7-power-users-guide-ebook-is-now-free/feed/</wfw:commentRss> <slash:comments>33</slash:comments> </item> <item><title>Easily install applications from within Firefox with Appnr</title><link>http://www.ghacks.net/2010/12/31/easily-install-applications-from-within-firefox-with-appnr/</link> <comments>http://www.ghacks.net/2010/12/31/easily-install-applications-from-within-firefox-with-appnr/#comments</comments> <pubDate>Fri, 31 Dec 2010 15:08:42 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[about:config]]></category> <category><![CDATA[application install]]></category> <category><![CDATA[gdebi]]></category> <category><![CDATA[Linux applications]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=38559</guid> <description><![CDATA[There are so many ways to install applications in Linux. There&#8217;s Synaptic, apt-get, dpkg, Ubuntu Software Center, and many more.  In Ubuntu (or a Debian derivative) you can even install from your browser with the help of GDebi. But did you know there is another way to install with the help of the Firefox browser? That&#8217;s [...]]]></description> <content:encoded><![CDATA[<p>There are so many ways to install applications in Linux. There&#8217;s Synaptic, apt-get, dpkg, Ubuntu Software Center, and many more.  In Ubuntu (or a Debian derivative) you can even install from your browser with the help of GDebi. But did you know there is another way to install with the help of the Firefox browser? That&#8217;s right. Sure any browser can be configured to launch an external application, but wouldn&#8217;t it be nice to be able to do all of this from within the browser itself? Well, with the help of Appnr.com (and a little bit of configuration magic) you can do just that. Let&#8217;s take a look at just how to set up a Ubuntu desktop Linux distribution to install applications directly from within Firefox.</p><p><span
id="more-38559"></span><strong>What you need</strong></p><p>First, you will need a working Firefox browser. That is simple as nearly every distribution ships with Firefox. Next you will need to install the application <em>apturl</em>. To install this you can either find it from within Synaptic (NOTE: You will not find this within the Ubuntu Software Center) or you can install it from the command line. Let&#8217;s install from the command line:</p><ol><li>Open up a terminal window.</li><li>Issue the command <code>sudo apt-get install apturl</code>.</li><li>Type your sudo password and hit Enter.</li><li>Accept any necessary dependencies.</li><li>Let the installation complete.</li></ol><p>Now you are ready for a little Firefox configuration magic.</p><p><strong>Configuring Firefox</strong></p><div
id="attachment_38560" class="wp-caption alignleft" style="width: 340px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/12/about_config.png"><img
class="size-medium wp-image-38560 " src="http://www.ghacks.net/wp-content/uploads/2010/12/about_config-550x305.png" alt="" width="330" height="183" /></a><p
class="wp-caption-text">Figure 1</p></div><p>If you&#8217;ve never worked with the <em>about:config</em> piece in Firefox, you are about to. The <em>about:config </em>page is a way to configure numerous hidden options in Firefox. This also allows you to create new configuration options. To get to this page open up Firefox and enter <em>about:config</em> in the address bar. You will be warned about the dangers of messing with this configuration and you will have to accept by clicking a button to continue on. Once within <em>about:config</em> you will see numerous strings that can be edited (see Figure 1).</p><div
id="attachment_38561" class="wp-caption alignright" style="width: 270px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/12/new_string.png"><img
class="size-full wp-image-38561 " src="http://www.ghacks.net/wp-content/uploads/2010/12/new_string.png" alt="" width="260" height="101" /></a><p
class="wp-caption-text">Figure 2</p></div><p>What you have to do is create a new string. To do this right click anywhere on the page and select <strong>New &gt; String</strong>. In the resulting window (see Figure 2) enter the following string:</p><p><code>network.protocol-handler.app.apt</code></p><p>Click OK and a new window will appear pre-filled with the string:</p><p><code>/usr/bin/apturl</code></p><p>OK that string to complete the new configuration. Now you have to add one more string. Right-click the <em>about:config</em> page, select <strong>New &gt; String</strong>, and enter the following:</p><p><code>network.protocol-handler.app.apt+http</code></p><p>OK that and then OK the pre-filled in string for the value.</p><p>You are now ready to give it a try.</p><p><strong>Installing</strong></p><p>From Firefox, go to the site http://appnr.com and locate an application to install. You will notice, when you mouse over an application, an Install button will appear. Click on that application&#8217;s Install button and you will prompted for your sudo password. Once you authenticate to sudo the application will install without having to open an external application. Although the same things are going on in the background, it is just one step quicker than the standard GDebi install from within Firefox. And anything to make Linux easier is a plus.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/12/31/easily-install-applications-from-within-firefox-with-appnr/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Easily connect Linux to a Windows Domain</title><link>http://www.ghacks.net/2010/11/30/easily-connect-linux-to-a-windows-domain/</link> <comments>http://www.ghacks.net/2010/11/30/easily-connect-linux-to-a-windows-domain/#comments</comments> <pubDate>Tue, 30 Nov 2010 20:25:41 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[active directory]]></category> <category><![CDATA[domain]]></category> <category><![CDATA[windows domain]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=37475</guid> <description><![CDATA[The task of joining Linux to a Windows domain can be a challenge. I have covered it before here (see my article &#8220;Join a Ubuntu machine to a Windows domain&#8220;), but many users have had issues with Likewise Open either not being able to join or not being able to reliably remain joined. Naturally, if [...]]]></description> <content:encoded><![CDATA[<p>The task of joining Linux to a Windows domain can be a challenge. I have covered it before here (see my article &#8220;<a
href="http://www.ghacks.net/2010/04/21/join-a-ubuntu-machine-to-a-windows-domain/" target="_blank">Join a Ubuntu machine to a Windows domain</a>&#8220;), but many users have had issues with Likewise Open either not being able to join or not being able to reliably remain joined. Naturally, if you are able to connect successfully with Likewise Open, you should stick with that. But if you are looking for an easier method of joining a domain, I have found a great solution&#8230;<a
title="Centrify Express" href="http://www.centrify.com/express/free-active-directory-tools-for-linux-mac.asp" target="_blank">Centrify Express</a>.</p><p>Centrify Express is free tool offered by the company that makes various Single Sign-On tools, of which only Express is available free and easily for the Linux operating system. Once you have used this tool to join a Windows Domain you will be shocked at how easily it is done.</p><p><span
id="more-37475"></span><strong>Installation</strong></p><p>I am going to illustrate this installation process on a Ubuntu 10.10 machine. If you need to install on a different distribution (or on Windows, or Mac) you will need to sign up for a download. If you do that you will find pre-compiled binaries for:</p><ul><li>Windows</li><li>Mac</li><li>CentOS</li><li>Debian</li><li>Mandriva</li><li>SUSE</li><li>OpenSolaris</li><li>Oracle Enterprise Linux</li><li>Red Hat Enterprise Linux</li><li>Scientific Linux</li></ul><p>But if you are using Ubuntu, you can follow these easy steps:</p><ol><li>Open up the Ubuntu Software Center.</li><li>Search for &#8220;centrify&#8221; (No quotes).</li><li> Click Install.</li><li>Type your sudo password and press Enter.</li><li>Once the installation is finished you can then close out the Ubuntu Software Center.</li></ol><p>Now it&#8217;s time to do just a tiny bit of configuration.</p><p><strong>Configuration</strong></p><p>The only configuration you need to take care of is in the <strong>/etc/nsswitch </strong>file. In that file you will find a line that looks like:<br
/> <code>hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4</code></p><p>Change that file to just read:</p><p><code>hosts:        files dns</code></p><p>Now there is one other configuration you need to take care of BEFORE you join the domain. In the file <strong>/etc/centrifydc/group.ignore </strong>you need to add the group &#8220;admin&#8221; (no quotes) to this list. If you do not do this your sudo users will not longer have sudo privileges. Without sudo privileges your users will not be able to install applications or run anything that needs administrative permissions.</p><p>Once you have configured that file, save  it. You are now ready to join the comain.</p><p><strong>Joining the domain</strong></p><p>You will need the domain admin password for this to be successful. To join the domain do the following:</p><p>Open up a terminal window.</p><p>Issue the command <code>sudo adjoin -w DOMAIN</code> (Where DOMAIN is the domain you want to join).</p><p>Type the Domain admin password and hit Enter.</p><p>It may take some time but you will eventually be joined to the domain. You should now be able to open up Nautilus and explore your network by hostname as if you were using a Windows machine.</p><p>If you find you can not see your network by hostname, you might have to reboot and then log in with your AD credentials.</p><p><strong>Final thoughts</strong></p><p>You now have two methods with which to join a Windows domain. The enterprise pastures, for Linux, are growing greener and greener by the day.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/11/30/easily-connect-linux-to-a-windows-domain/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Configure Linux to boot without a monitor</title><link>http://www.ghacks.net/2010/11/28/configure-linux-to-boot-without-a-monitor/</link> <comments>http://www.ghacks.net/2010/11/28/configure-linux-to-boot-without-a-monitor/#comments</comments> <pubDate>Sun, 28 Nov 2010 15:29:59 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[headless server]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[ubuntu server]]></category> <category><![CDATA[X Windows]]></category> <category><![CDATA[Xorg]]></category> <category><![CDATA[xorg.conf]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=37372</guid> <description><![CDATA[Many administrators/users prefer to set up their servers as headless machines. If you&#8217;re not sure what a headless machine is &#8211; it&#8217;s a PC without a monitor. This is an outstanding way to use Linux as a server as typically people install Linux servers sans GUIs. Thing is, a problem has arisen with recent iterations [...]]]></description> <content:encoded><![CDATA[<p>Many administrators/users prefer to set up their servers as headless machines. If you&#8217;re not sure what a headless machine is &#8211; it&#8217;s a PC without a monitor. This is an outstanding way to use Linux as a server as typically people install Linux servers sans GUIs. Thing is, a problem has arisen with recent iterations of Linux distributions. In recent releases (especially with Ubuntu) the distributions do not use an X configuration. This is great for end-users on desktops because the operating auto-detects the graphics chip and monitor for auto-X configuration. This is a problem for a headless server as there will be monitor attached. When Ubuntu &gt;= 10.04 gets to the monitor detection it will freeze and your headless server is worthless.</p><p>You could work around this by plugging in a monitor, mouse, and keyboard and letting the OS boot and then removing the monitor when the boot process has finished. This is a far from ideal solution. Fortunately the Linux community has come up with a temporary work around for this issue (I&#8217;m confident the distribution developers will come up with a much better solution soon). Let&#8217;s take a look at the solution.</p><p><span
id="more-37372"></span><strong>Warnings</strong></p><p>This solution requires that you create an <strong>/etc/X11/xorg.conf </strong>configuration file. I assume that anyone wanting to set up a headless server isn&#8217;t afraid of manually creating/editing the xorg.conf file. If you are, make sure you back up any pre-existing xorg.conf file that might live in <strong>/etc/X11</strong>.</p><p>This guide also assumes that you already have a working server installation that you can successfully boot with an attached monitor. I will also assume you know what graphics card is in your server. You will need this information momentarily (so if you don&#8217;t know it, dig around and find out what card you are using). With that being said, let&#8217;s get on with it.</p><p><strong>xorg.conf</strong></p><p>The first thing you need to do is to set up the <strong>xorg.conf</strong> configuration. If one already exists, copy it to <strong>/etc/X11/xorg.conf.OLD</strong> and then erase the contents of the <strong>/etc/X11/xorg.conf</strong> file. The new contents of that file will be:</p><p><code>Section "Device"<br
/> Identifier "VNC Device"<br
/> Driver "vesa"<br
/> EndSection</code></p><p><code>Section "Screen"<br
/> Identifier "VNC Screen"<br
/> Device "VNC Device"<br
/> Monitor "VNC Monitor"<br
/> SubSection "Display"<br
/> Modes "1024x768"<br
/> EndSubSection<br
/> EndSection</code></p><p><code>Section "Monitor"<br
/> Identifier "VNC Monitor"<br
/> HorizSync 30-70<br
/> VertRefresh 50-75<br
/> EndSection</code></p><p>Once you have saved and closed that file you now need to edit the <strong>/etc/default/grub</strong> file and add the following line:</p><p><code>GRUB_CMDLINE_LINUX="nomodeset"</code></p><p>You can take this one step further and disable the splash screen for the boot process by setting the line:</p><p><code>GRUB_CMDLINE_LINUX_DEFAULT=</code></p><p>to &#8220;<em>quiet</em>&#8221; instead of &#8220;<em>quiet splash</em>&#8221;</p><p>Save the <strong>/etc/default/grub</strong> file and then issue the command <em>sudo update-grub</em> to rebuilt grub.</p><p>To test this setup go ahead and boot the machine without the monitor attached. Once you have given it plenty of time to boot you can either VNC or ssh into the machine. If you get a successful connection you are good to go. If you do not get a successful connection plug the monitor back in and see where in the process it stopped. If you have a black screen revisit the configuration and make sure everything is correct. To further troubleshoot boot the machine with the monitor plugged in and check the <strong>/var/log/Xorg.0.log </strong>file for any errors. Hopefully you will find the setup above works like a champ.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/11/28/configure-linux-to-boot-without-a-monitor/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Change perspective of images in The GIMP</title><link>http://www.ghacks.net/2010/10/31/change-perspective-of-images-in-the-gimp/</link> <comments>http://www.ghacks.net/2010/10/31/change-perspective-of-images-in-the-gimp/#comments</comments> <pubDate>Sun, 31 Oct 2010 17:07:42 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[3d images]]></category> <category><![CDATA[gimp]]></category> <category><![CDATA[perspective]]></category> <category><![CDATA[photoshop]]></category> <category><![CDATA[The GIMP]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=36395</guid> <description><![CDATA[The GIMP is one of the most powerful of the free, open source image manipulation tools you will ever use. It seems the possibilities are nearly limitless. But for some users, the barrier to entry on The GIMP is too challenging to get over. Although it may seem that way, it is not necessarily true. [...]]]></description> <content:encoded><![CDATA[<p>The GIMP is one of the most powerful of the free, open source image manipulation tools you will ever use. It seems the possibilities are nearly limitless. But for some users, the barrier to entry on The GIMP is too challenging to get over. Although it may seem that way, it is not necessarily true. And to help illustrate that, I am going to demonstrate how to tackle one of the more challenging tools in The GIMPs tool kit &#8211; the Perspective tool.</p><p>Perspective is the ability to make it look like you are seeing objects coming or going or to give them a three dimensional shape. Although it may seem like a difficult tool to use, it&#8217;s actually quite easy (once you get the hang of it). Let&#8217;s see just how this is done.</p><p><span
id="more-36395"></span><strong>Assumptions</strong></p><p>Naturally I will assume you already have The GIMP installed on your machine. I will also assume you have at least a rudimentary grasp on how The GIMP is used (as I won&#8217;t be explaining fundamentals of GIMPs usage). Now, with that said, let&#8217;s get to work.</p><p><strong> </strong></p><p><strong> </strong></p><p><strong> </strong></p><p><strong> </strong></p><p><strong></p><div
id="attachment_36398" class="wp-caption alignleft" style="width: 194px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/10/prospective_tool.png"><img
class="size-medium wp-image-36398  " src="http://www.ghacks.net/wp-content/uploads/2010/10/prospective_tool-306x500.png" alt="" width="184" height="300" /></a><p
class="wp-caption-text">Figure 1</p></div><p>The Perspective tool</strong></p><p>When you open up The GIMP you will find the Perspective tool in the toolbox. Figure 1 shows the Perspective tool selected. As you can see you can change the Interpolation and the Clipping as well as the Direction.</p><p>What I want to do is to show you how to create a road that</p><div
id="attachment_36399" class="wp-caption alignright" style="width: 188px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/10/road.png"><img
class="size-medium wp-image-36399  " src="http://www.ghacks.net/wp-content/uploads/2010/10/road-493x500.png" alt="" width="178" height="180" /></a><p
class="wp-caption-text">Figure 2</p></div><p>looks like it&#8217;s coming at you. The initial image (Figure 2) was created by simply drawing two solid lines and a dotted line.</p><p>Because you are going to be actually changing the shape of the image, you need to copy your image onto a larger image. If you do not do this you will not have room to change the perspective of your working image. In the case of our example I will create a newer, larger workspace with the same background color as what you see in Figure 2.</p><div
id="attachment_36400" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/10/perspective_working.png"><img
class="size-medium wp-image-36400 " src="http://www.ghacks.net/wp-content/uploads/2010/10/perspective_working-500x419.png" alt="" width="300" height="251" /></a><p
class="wp-caption-text">Figure 3</p></div><p>With the new workspace created copy the contents of what you want to work with into the new space. Once that is there select the perspective tool.</p><p>When you click on your working image you will see four small squares appear, one in each corner of the copied image. All you need to do is manipulate those corners around until you get the exact perspective you need. Figure 3 shows how The GIMPs perspective tool shows you the original perspective and your working perspective.</p><p>When you have the exact look you want you will need to click the Transform button in the floating Perspective window.</p><div
id="attachment_36401" class="wp-caption alignright" style="width: 273px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/10/road_complete.png"><img
class="size-full wp-image-36401 " src="http://www.ghacks.net/wp-content/uploads/2010/10/road_complete.png" alt="" width="263" height="185" /></a><p
class="wp-caption-text">Figure 4</p></div><p>When you are done, you will have a 3D looking image of a road appearing to come your way (see Figure 4).</p><p>Sure you could have done this freehand, but the task is far, far easier using the tool dedicated to that single purpose.</p><p><strong>Final thoughts</strong></p><p>The GIMP is filled with handy tools like the Perspective tools. And each of these tools only takes a short period to get used to how they work. The Perspective tool is no different. And, in the end, you will create fantastic images with ease.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/10/31/change-perspective-of-images-in-the-gimp/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Change your Grub and Grub2 splash screen in Ubuntu</title><link>http://www.ghacks.net/2010/10/17/change-your-grub-splash-screen-in-ubuntu/</link> <comments>http://www.ghacks.net/2010/10/17/change-your-grub-splash-screen-in-ubuntu/#comments</comments> <pubDate>Sun, 17 Oct 2010 13:53:53 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[grub]]></category> <category><![CDATA[grub2]]></category> <category><![CDATA[splashscreen]]></category> <category><![CDATA[The GIMP]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=35946</guid> <description><![CDATA[Your first question might be &#8220;Why bother changing your grub splash screen?&#8221; The answer? Why not! Well, actually there are plenty of reasons you might want to change your Grub splash screen. You could be in a company that wants its brand from top to bottom, or you just want your computer to be cool [...]]]></description> <content:encoded><![CDATA[<p>Your first question might be &#8220;Why bother changing your grub splash screen?&#8221; The answer? Why not! Well, actually there are plenty of reasons you might want to change your Grub splash screen. You could be in a company that wants its brand from top to bottom, or you just want your computer to be cool from boot to desktop.</p><p>Whatever reason you have for wanting to add a nifty splash screen to Grub, you can. There is no &#8220;handy&#8221; GUI application for this, so you are going to have to issue a few commands<em>. </em><strong>NOTE: This is something you should undertake ONLY if you know what you are doing. One mistake with Grub and your machine could be rendered unbootable. </strong>You&#8217;ve been warned. NOTE: I will show how to do this in both Grub and Grub2</p><p><em><span
id="more-35946"></span><strong><span
style="font-style: normal">What is the splash screen?</span></strong></em></p><p><em><span
style="font-style: normal">The Grub splash screen is the image you see behind the text as the OS boots. There are certain specifications the splash screen must follow. These specs are:</span></em></p><ul><li><em><span
style="font-style: normal">Must be 640&#215;480 pixels</span></em></li><li><em><span
style="font-style: normal">Contain no more than 16 colors (12 colors works best)</span></em></li><li><em><span
style="font-style: normal">Must be in gzipped xpm format (.xpm.gz).</span></em></li></ul><p><em><span
style="font-style: normal">Fortunately The GIMP can handle all of the above. So the first task is to create your splash screen following the above guidelines. A few tips for creating your own splash images:</span></em></p><ul><li>Monochrome images in either greyscale, or primary colors work best.</li><li>Abstract images work well because distortions won&#8217;t effect them as much as reality-based images.</li><li>Too much detail in an image will be lost.</li><li>Make sure your splash screen has a strong design, otherwise it will look boring.</li></ul><p>After you have created your image, you will need to save the image in <strong>/boot/grub</strong>, remembering to save it in the <em>.xpm.gz</em> format.</p><p><strong>Grub </strong></p><p>Once you have your image created, the next step is to configure Grub. Open up the file <strong>/boot/grub/menu.lst</strong> and add the line:</p><p><code>splashimage(hd0,0)/grub/splash.xpm.gz</code></p><p>Where <em>splash</em> is the name of the image you want to use and <em>hd0,0 </em>is your boot partition.</p><p>Save that file and the next time your boot your machine you will see your new splash image.</p><p><strong>Grub2</strong></p><p>For Grub2 the images should follow these rules:</p><ul><li>Size should be 640×480</li><li>Format should be .tga (The GIMP can do this)</li><li>Follow the same design tips as above.</li><li>Saved in /usr/share/images/grub/</li></ul><p>When you have your image created and saved in the proper location, open up the file <strong>/etc/grub.d/05_debian_theme </strong>and look for the line:</p><p><code>WALLPAPER="/usr/share/images/desktop-base/moreblue-orbit-grub.png"</code></p><p>You will want to change the explicit path of the image in the line above to the path of your new image. When you have that done, save the file, and issue the command:</p><p><em>sudo update-grub2</em></p><p>The above command will reveal numerous pieces of information, of which one should look like:</p><p><em>Found background image: imagename.tga</em></p><p>Where <em>imagename.tga </em>is the image you are using for your splash screen.</p><p>You are now ready to boot Ubuntu and see your special splash screen.</p><p><strong>Final thoughts</strong></p><p>No, it&#8217;s not going to make you a better user, but it will allow you or your company to show your brand better, or for you to just make your PC all the more customized. Linux is good like that.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/10/17/change-your-grub-splash-screen-in-ubuntu/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Upgrade Ubuntu from 10.04 to 10.10</title><link>http://www.ghacks.net/2010/09/28/upgrade-ubuntu-from-10-04-to-10-10/</link> <comments>http://www.ghacks.net/2010/09/28/upgrade-ubuntu-from-10-04-to-10-10/#comments</comments> <pubDate>Tue, 28 Sep 2010 11:14:25 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[Ubuntu 10.04]]></category> <category><![CDATA[Ubuntu 10.10]]></category> <category><![CDATA[updating Linux]]></category> <category><![CDATA[upgrading linux]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=35340</guid> <description><![CDATA[If you are currently using Ubuntu 10.04 and are interested in 10.10 you have choices &#8211; you can burn yourself an ISO and do a complete, fresh installation, OR you can upgrade using apt-get without having to bother with a re-installation. Of course I should warn you that, as of this writing, Ubuntu 10.10 is [...]]]></description> <content:encoded><![CDATA[<p>If you are currently using Ubuntu 10.04 and are interested in 10.10 you have choices &#8211; you can burn yourself an ISO and do a complete, fresh installation, OR you can upgrade using apt-get without having to bother with a re-installation. Of course I should warn you that, as of this writing, Ubuntu 10.10 is still in beta. That doesn&#8217;t mean you have to avoid the upgrade. It does, however, mean you run the risk of not everything working correctly. But if you are all-too-antsy to get that precious 10.10 on your machine&#8230;the task is actually quite simple.</p><p>In this article I am going to show you how to, from both the GUI and from the command line. After you are finished, you should have a working version of Ubuntu 10.10 beta. Of course, as 10.10 comes out of beta you can continue to update and have a full released version in no time.</p><p>NOTE: You can ONLY do this upgrade from 10.04. You can not upgrade from any earlier release. Also make sure you DO back up all of your data. Even though the upgrade process has become very reliable, you never know when something could go south.</p><p><strong><span
id="more-35340"></span>From the GUI</strong></p><div
id="attachment_35341" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/09/ubuntu_upgrade.png"><img
class="size-medium wp-image-35341 " src="http://www.ghacks.net/wp-content/uploads/2010/09/ubuntu_upgrade-500x490.png" alt="" width="300" height="294" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Let&#8217;s tackle this task from the GUI tool first (as that is how most will want to do this anyway). The first step is to open up the update manager in in &#8220;development release&#8221; mode. To do this hit Alt-F2 and type <code>update-manager --devel-release</code> and hit Enter. When you do this the update manager will open with a new addition &#8211; the Upgrade button (see Figure 1).</p><p>Before you actually hit the Upgrade button, you MUST install any and all updates for your system. If there are none listed click the Check button first. If you see any updates go ahead and click Install Updates and allow those updates to finish. NOTE: If the updates require a reboot, do so BEFORE you continue on to the upgrade.</p><p>Once you have completed all updates it is then safe to click the Upgrade button. Walk through the steps for this upgrade (they are very straight-forward) and reboot when completed.</p><p><strong>From command line</strong></p><p>Believe it or not, upgrading from command line is just as easy as it is from the GUI tool. The first step is to update your system. So open up a terminal window and issue these two commands:</p><p><code>sudo apt-get update<br
/> sudo apt-get upgrade</code></p><p>Of course, you will have to enter your sudo password for the first command. Once that is complete you may need to restart your computer (depending on if the kernel is updated or not). After that, you are ready for the upgrade. The first step is to issue the following command:</p><p><code>sudo apt-get install update-manager-core</code></p><p>Now we need to make a simple edit to the <strong>/etc/update-manager/release-upgrades</strong>. This file determines the default behavior for the release upgrader. The line you need to change is at the bottom of this file. Change it from:</p><p><code>Prompt=lts</code></p><p>to</p><p><code>Prompt=normal</code></p><p>Save and close that file and then issue the command:</p><p><code>sudo do-release-upgrade -d</code></p><p>When  prompted, click Y to continue on with the upgrade. Once the upgrade is complete, you will need to restart you computer.</p><p><strong>Final thoughts</strong></p><p>Linux does make it easy to upgrade from release to release. I have run these upgrades many times and only rarely have I encountered a problem. Does that mean they are 100% guaranteed? No. Things happen&#8230;so please, make sure you backup all of your data before attempting this process.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/09/28/upgrade-ubuntu-from-10-04-to-10-10/feed/</wfw:commentRss> <slash:comments>14</slash:comments> </item> <item><title>Compile your own Linux kernel</title><link>http://www.ghacks.net/2010/09/07/compile-your-own-linux-kernel/</link> <comments>http://www.ghacks.net/2010/09/07/compile-your-own-linux-kernel/#comments</comments> <pubDate>Tue, 07 Sep 2010 16:05:55 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[kernel compiling]]></category> <category><![CDATA[linux kernel]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=34028</guid> <description><![CDATA[Back in the old days, the compiling of a Linux kernel was often a necessity. If you wanted to get a particular piece of hardware working or if you wanted to prune some of the &#8220;fat&#8221; from the kernel you had to compile a kernel specific to your machine. It was never an easy process [...]]]></description> <content:encoded><![CDATA[<p>Back in the old days, the compiling of a Linux kernel was often a necessity. If you wanted to get a particular piece of hardware working or if you wanted to prune some of the &#8220;fat&#8221; from the kernel you had to compile a kernel specific to your machine. It was never an easy process (at least until you got the hang of it) and always took a long period of time.</p><p>So why bother with it now? When machines are large and fast enough to not have to worry about such issues as extra kernel modules or space? There are still plenty of reasons for wanting to compile your own kernel. One of those reasons is the experience. Nothing says &#8220;Linux&#8221; like compiling ones own kernel. But beyond that &#8211; gaining as much performance out of your server or eking out a bit more security are two fine examples as to why one should learn how to compile their own kernel.</p><p>In this article, I am going to show you how to do just that &#8211; compile your own Linux kernel.</p><p><span
id="more-34028"></span><strong>A word of warning</strong></p><p>Before you attempt this task, it&#8217;s best that you read through this document in its entirety, instead of just marching through, step by step. You will also want to make sure you keep a working kernel on your system. That way, if the kernel you build doesn&#8217;t work, you will have one to fall back on.</p><p>Also, my intention with this is to be as generic as possible. There might be tools or tasks that are specific to your distribution. If you find something is lacking for your particular distribution, or a particular step isn&#8217;t working for your distribution, please not it in the comments so it can be resolved.</p><p><strong>What you will need</strong></p><p>You won&#8217;t need much more than the latest kernel source (download the latest from <a
title="Kernel.org" href="http://kernel.org/" target="_blank">kernel.org</a>), you will need to make sure you have gcc installed, and you will need a lot of patience. This process can take a lot of time&#8230;so make sure you have plenty of time blocked off.</p><p>If you do not have gcc installed you can do so with a command similar to either of these (depending upon your distribution):</p><p>sudo apt-get install gcc</p><p>yum install gcc</p><p>NOTE: The latter command will require you to su to root first.</p><p>Much of the kernel building process will require root access.</p><p><strong>The compilation process</strong></p><div
id="attachment_34036" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/09/kernel.png"><img
class="size-medium wp-image-34036 " src="http://www.ghacks.net/wp-content/uploads/2010/09/kernel-500x372.png" alt="" width="300" height="223" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Now it&#8217;s time to do the work. I will list out the steps for compilation:</p><p>Unpack the source code into <strong>/usr/src/</strong> with the command <code>tar -xjvf linux-2.6.XXX.tar.bz2 -C /usr/src</code>. Where XXX is the release number.</p><p>Move into the newly created <strong>/usr/src/2.6.XXX </strong>directory with the command <code>mv /usr/src/linux-2.6.XXX</code> (Where XXX is the release number).</p><p>Issue the command <code>make menuconfig</code>.</p><p>At this ncurses based you will need to go through the entire kernel and remove (or add) the modules that you want. This can take some time, so go through this step very carefully.</p><p>Once you have finished selecting all modules exit out of that tool and issue the command <em>make</em>. This will compile the kernel.</p><p>After the initial make is complete issue the command <em>make modules</em> to compile the modules for your kernel.</p><p>Now it&#8217;s time to install the kernel modules with the command <em>make modules_install.</em></p><p>Now, install the kernel with the command <em>make install</em>.</p><p>The above last command will install the following files into <strong>/boot:</strong></p><ul><li>System.map-2.6.XXX</li><li>config-2.6.XXX</li><li>vmlinuz-2.6.XXX</li></ul><p>Where XXX is the release number.</p><p>Now you have to create the initrd file with the commands:</p><p><code>cd /boot/<br
/> mkinitrd -o initrd.img-2.6.XXX 2.6.XXX</code> Where XXX is the release number.</p><p>You now have to update Grup to include the new kernel. This will depend upon the distribution you are using. For this we will tackle in a separate article.</p><p><strong>Final thoughts</strong></p><p>You have just compiled your first Linux kernel. You may not even have a need to do this, but it&#8217;s always good to have an understanding of what old school Linux users had to go through. To be honest, I haven&#8217;t had to compile my own kernel for quite a while. But knowing how to do is allows you to have complete control over your Linux system.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/09/07/compile-your-own-linux-kernel/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Modify LDAP entries with the ldapmodify command</title><link>http://www.ghacks.net/2010/09/03/modify-ldap-entries-with-the-ldapmodify-command/</link> <comments>http://www.ghacks.net/2010/09/03/modify-ldap-entries-with-the-ldapmodify-command/#comments</comments> <pubDate>Fri, 03 Sep 2010 14:55:07 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Directory Server]]></category> <category><![CDATA[LDAP]]></category> <category><![CDATA[ldapsearch]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=33881</guid> <description><![CDATA[Recently I&#8217;ve done a number of articles covering the Lightweight Directory Access Protocol (LDAP) which range from installation, adding entries, to full-blown GUI management tools (See LDAP content on Ghacks for more information). If you&#8217;re in the dark about LDAP is an application protocol that allows the querying and modifying of directory services data implemented on IP networks. Basically [...]]]></description> <content:encoded><![CDATA[<p>Recently I&#8217;ve done a number of articles covering the Lightweight Directory Access Protocol (LDAP) which range from installation, adding entries, to full-blown GUI management tools (See <a
title="LDAP on Ghacks" href="http://www.ghacks.net/index.php?s=LDAP" target="_blank">LDAP content on Ghacks</a> for more information). If you&#8217;re in the dark about LDAP is an application protocol that allows the querying and modifying of directory services data implemented on IP networks. Basically it&#8217;s a complex, large, directory of information of various forms that can be used for many, varied implementations (company addressbooks, application authentication, etc).</p><p>Once LDAP is installed you have, at your fingertips, plenty of tools to add, edit, and delete data on that server. One of those tools is critical to keeping data current. That tool is <em>ldapmodify. </em>In this article I am going to show you how to use this tool to modify an entry in an LDAP server.</p><p><span
id="more-33881"></span><strong>Command basics</strong></p><p>The ldapmodify command isn&#8217;t exactly like all other commands. Instead of just running a single command and being done with it, you issue the command, do you work, and then escape out of the command. The actual modification of the data doesn&#8217;t happen until you escape the command. The sequence goes like this:</p><ol><li>Issue the ldapmodify command (with appropriate options).</li><li>Inform ldapmodify what you are modifying.</li><li>Modify your data.</li><li>Escape with CTRL-d.</li><li>ldapmodify will make the changes.</li></ol><p>Yes, it does seem like a fairly complex process&#8230;and yes it is a complex, but a very necessary process.</p><p>Let&#8217;s take a look at the actual process. As an example I am going to modify the gecos entry of an already existing directory entry. The gecos entry is a general information field that can be used for just about anything). Let&#8217;s have some fun and change the gecos entry for user scooper and indicate that Sheldon Cooper is a Theoretical Physicist at Caltech University. We&#8217;ll assume the gecos entry only contains the information &#8220;Sheldon Cooper&#8221; and the LDAP server&#8217;s is on 192.168.1.10 and the full dc is wallen.local. Here is the actual process for this task:</p><p>Issue the command:</p><p><code>ldapmodify -h localhost -x -W -D "cn=admin,dc=wallen,dc=local"</code></p><p>It will now seem like the command is stuck. It&#8217;s actually just waiting for input. The input will look like this (hit Enter after each line):</p><p><code>dn: uid=scooper,ou=People,dc=wallen,dc=local<br
/> changetype: modify<br
/> replace: gecos<br
/> gecos: Theoretical Physicist, Caltech University</code></p><p>Once you have completed entering this text, hit Enter, and then hit CTRL-d to escape the command and then you should see something like:</p><p><code>modifying entry "uid=scooper,ou=People,dc=wallen,dc=local"</code></p><p>Now if you issue the ldapsearch command you will see the changes made. The ldapsearch command would look something like:</p><p><code>ldapsearch -x -b "dc=wallen,dc=local" -s sub "objectclass=*"</code></p><p>You should see Sheldon&#8217;s listing like this:</p><p><code># scooper, People, wallen.local<br
/> dn: uid=scooper,ou=People,dc=wallen,dc=local<br
/> uid: scooper<br
/> cn: Sheldon Cooper<br
/> objectClass: account<br
/> objectClass: posixAccount<br
/> objectClass: top<br
/> loginShell: /bin/bash<br
/> uidNumber: 500<br
/> gidNumber: 120<br
/> homeDirectory: /home/scooper<br
/> gecos: Theoretical Physicist Caltech University</code></p><p>You now have modified the entry. Of course you aren&#8217;t limited to the gecos entry. You can actually modify any entry you want using the same technique.</p><p><strong>Final thoughts</strong></p><p>Hopefully LDAP is getting easier and easier for you. You can now add and modify entries. We will keep digging and eventually you will have the LDAP basics mastered.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/09/03/modify-ldap-entries-with-the-ldapmodify-command/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Adding LDAP entries from the command line</title><link>http://www.ghacks.net/2010/09/02/adding-ldap-entries-from-the-command-line/</link> <comments>http://www.ghacks.net/2010/09/02/adding-ldap-entries-from-the-command-line/#comments</comments> <pubDate>Thu, 02 Sep 2010 11:39:17 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Directory Server]]></category> <category><![CDATA[LDAP]]></category> <category><![CDATA[ldapadd]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=33848</guid> <description><![CDATA[Okay, so we&#8217;ve been dealing with LDAP a bit here on Ghacks, but mostly we&#8217;ve look at GUI tools (check out LDAP content on Ghacks). All of the GUI tools are good, but nothing beats the command line for pure control and power. And what&#8217;s best, once you have LDAP installed, you have all the [...]]]></description> <content:encoded><![CDATA[<p>Okay, so we&#8217;ve been dealing with LDAP a bit here on Ghacks, but mostly we&#8217;ve look at GUI tools (check out <a
title="LDAP on Ghacks" href="http://www.ghacks.net/index.php?s=LDAP" target="_blank">LDAP content on Ghacks</a>). All of the GUI tools are good, but nothing beats the command line for pure control and power. And what&#8217;s best, once you have LDAP installed, you have all the tools necessary to manage your LDAP data! There&#8217;s really no need for further installation.</p><p>So, yeah&#8230;LDAP comes with it&#8217;s own set of management tools and, in this article, we are going to take a look at the primary tool for adding entries to your LDAP databases: ldapadd.</p><p><span
id="more-33848"></span><strong>From file or command?<br
/> </strong>One of the best things about the ldapadd command is that you can have it read all of your entries from files. That way you don&#8217;t have to issue lengthy commands every time you want to add an entry. This also means you can add multiple entries at once. I will show you how to add entries this way so your LDAP administration life is much simpler. And from that process you should be able to glean enough to know the full command-line process.</p><p><strong>ldapadd </strong></p><p>When you see an ldapadd command for the first time, you might cringe, thinking it far too difficult to use. But once you understand the usage, it becomes quite easy. Now, you must have admin rights to issue the ldapadd command; so, depending up your distribution, you will either have to <em>su </em>to the root user or use <em>sudo</em> to issue the command.</p><p>The basic usage of the ldapadd command is:</p><p><em>ldapadd [OPTIONS] [CREDENTIALS] filename</em></p><p>Any file name you read into the ldapadd command should be in the form of an .ldif file. Now, let&#8217;s take a look at the more common options you will use with ldapadd:</p><ul><li>x: Use simple authentication, instead of SASL authentication.</li><li>D: This options means you are going to use the Distinguished Name (binddn) to bind to the LDAP directory.</li><li>W: Prompt for simple authentication.</li><li>f: The file name you want to read into ldapadd.</li></ul><p>Using the D option means you are going to be using a Distinguished Name. What this means is that you are going to authenticate in the form of:</p><p><code>cn=admin,dc=wallen,dc=local</code></p><p>The above entry means you are using the <strong>admin</strong> user on the domain <strong>wallen.local</strong>.</p><p>Now, let&#8217;s take a look at the format of the file you will use. Let&#8217;s examine a very basic entry. Let&#8217;s say I want to add the user Willow Wallen to my LDAP address book. I will do that within the file <strong>users.ldif</strong>. The entry looks like:</p><p><code># Willow's Entry<br
/> dn: cn=Willow Wallen,ou=people,dc=wallen,dc=local<br
/> cn: Willow Wallen<br
/> objectClass: person<br
/> sn: Wallen</code></p><p>This will add the user <strong>Willow Wallen</strong> to the group <strong>people </strong>and she will be labeled as a person. Save that file and now let&#8217;s add her with the command:</p><p><code>sudo ldapadd -x -D cn=admin,dc=wallen,dc=local -W -f users.ldif</code></p><p>You will have to enter both your sudo password and your ldap password.</p><p><strong>Final thoughts</strong></p><p>You have taken one major step forward in your usage of LDAP. This is a very powerful, very complex tool you have at your finger tips. It&#8217;s important to understand the basics and learn one step at a time. We&#8217;ll continue our journey into LDAP in upcoming articles.</p><p><strong><br
/> </strong></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/09/02/adding-ldap-entries-from-the-command-line/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Set up your LDAP server on Ubuntu 10.04</title><link>http://www.ghacks.net/2010/08/31/set-up-your-ldap-server-on-ubuntu-10-04/</link> <comments>http://www.ghacks.net/2010/08/31/set-up-your-ldap-server-on-ubuntu-10-04/#comments</comments> <pubDate>Tue, 31 Aug 2010 11:14:20 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[bash]]></category> <category><![CDATA[chmod]]></category> <category><![CDATA[Directory Server]]></category> <category><![CDATA[LDAP]]></category> <category><![CDATA[slapd]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=33779</guid> <description><![CDATA[So lately I&#8217;ve been covering some pretty sweet LDAP tools. You&#8217;ve seen &#8220;Manage your LDAP data with phpLDAPAdmin&#8220;, &#8220;Access and manage your LDAP data with Luma&#8220;, and &#8220;Set up an LDAP server on Fedora&#8220;. Although the last entry showed you how to get a server up and running with the 389 Directory Server GUI, none [...]]]></description> <content:encoded><![CDATA[<p>So lately I&#8217;ve been covering some pretty sweet LDAP tools. You&#8217;ve seen &#8220;<a
title="Manage your data with phpLDAPadmin" href="http://www.ghacks.net/2010/08/30/manage-your-ldap-data-with-phpldapadmin/" target="_blank">Manage your LDAP data with phpLDAPAdmin</a>&#8220;, &#8220;<a
title="Access and manage your LDAP data with Luma" href="http://www.ghacks.net/2010/08/30/access-and-manage-your-ldap-data-with-luma/" target="_blank">Access and manage your LDAP data with Luma</a>&#8220;, and &#8220;<a
title="Set up an LDAP server on Fedora" href="http://www.ghacks.net/2010/08/25/set-up-an-ldap-server-on-fedora/" target="_blank">Set up an LDAP server on Fedora</a>&#8220;. Although the last entry showed you how to get a server up and running with the 389 Directory Server GUI, none of these articles have touched on the tried and true text-based installation and setup of the slapd LDAP server. And that is exactly what we are going to do here.</p><p>But here&#8217;s the thing &#8211; the slapd server can be a real pain to set up. It didn&#8217;t used to be. The old fashion way was to install slapd and then edit the <strong>/etc/ldap/slapd.conf</strong> file to suite your needs. Thing is, the slapd.conf configuration file has been deprecated and now, trying to figure out how to configure slapd is like finding the proverbial needle in the proverbial haystack. Fortunately, in my desperate scouring to work out an easy method of doing this, I have found some tools to make the job easier. And that&#8217;s what this article is all about, getting slapd up and running on a Ubuntu machine so you too can have LDAP running.</p><p><span
id="more-33779"></span><strong>Installation</strong></p><p>Of course there is a bit of installation to take care of before you do anything. But the installation isn&#8217;t challenging and there isn&#8217;t too much to install. Here are the steps you need to follow:</p><ol><li>Open up a terminal window.</li><li>Issue the command <code>sudo apt-get install slapd ldap-utils php5-ldap</code>.</li><li>Type your sudo password and hit Enter.</li><li>Accept any dependencies necessary.</li></ol><p>And that&#8217;s it. You are now ready for the configuration of slapd. But what to do? This article isn&#8217;t about a fancy GUI tool. Instead I have found a script floating around the web (who&#8217;s author I can not name because I have seen this script on a number of sites) which actually makes this process amazingly easy. I have posted the script <a
title="script" href="http://pastebin.com/qGk9CzQ9" target="_blank">here on pastebin</a> for you to either download or copy and paste.</p><p>No matter if you download or copy and paste the script, name it something like <em>ldap_script.sh</em> and save it in your home directory. Once you have it saved give it executable permissions with the command:</p><p><code>chmod u+x ldap_script</code></p><p>Now the script is almost ready. You do have to make a few simple changes. Near the top of the script you will see:</p><p><code>passwd=pleaseeditme<br
/> dc1=pleaseeditme<br
/> dc2=pleaseeditme</code></p><p>Obviously you need to change each <em>pleaseeditme</em> entry to suit your needs. For my LDAP server that section lookes like:</p><p><code>passwd=mypassword<br
/> dc1=wallen<br
/> cd2=local</code></p><p>You will also notice, near the end of the script, it adds a user. The section<em> #Adding user </em>can be edited to suit your needs, or it can be left alone so that at least one correct user is added at first.</p><p>When you have the script ready, it&#8217;s time to execute. Issue the command <em>sudo ./ldap_script</em> and watch the magic fly by. When all is said and done you should then be able to check out your LDAP server with one of the means mentioned in previous articles, or you can issue the command:</p><p><code>﻿ldapsearch -x -h localhost -b "dc=EXAMPLE,dc=COM" "(objectClass=*)"</code></p><p>Where EXAMPLE and COM match your dc entires.</p><p><strong>Final thoughts</strong></p><p>You should now have your LDAP server up and running. You can start adding entries and managing it with whatever tool (or command line) you want. NOTE: We&#8217;ll take a look at the management of LDAP via the command line in later articles. Enjoy your LDAP server!</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/08/31/set-up-your-ldap-server-on-ubuntu-10-04/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Access and manage your LDAP data with Luma</title><link>http://www.ghacks.net/2010/08/30/access-and-manage-your-ldap-data-with-luma/</link> <comments>http://www.ghacks.net/2010/08/30/access-and-manage-your-ldap-data-with-luma/#comments</comments> <pubDate>Sun, 29 Aug 2010 23:39:07 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Fedora]]></category> <category><![CDATA[LDAP]]></category> <category><![CDATA[LDAP server]]></category> <category><![CDATA[Luma]]></category> <category><![CDATA[slapd]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=33735</guid> <description><![CDATA[I have recently been dealing with LDAP and attempting to find easier solutions for this often daunting task. If you&#8217;ve ever had to try to set up and manage an LDAP server, you know exactly what I am talking about. Although installing and setting up an LDAP server is a challenging task, even more so [...]]]></description> <content:encoded><![CDATA[<p>I have recently been dealing with LDAP and attempting to find easier solutions for this often daunting task. If you&#8217;ve ever had to try to set up and manage an LDAP server, you know exactly what I am talking about. Although installing and setting up an LDAP server is a challenging task, even more so is working with the data. Having to add users and manage your scheme from the command line is enough to send most administrators packing.</p><p>That is, until I discovered a very handy little tool, just for this purpose, called Luma. Luma is an LDAP manager that is pure graphical ease. If you already have your LDAP server up and running, you won&#8217;t have any problem managing your data with this tool. In this article I am going to show you how to install Luma and how to connect to your LDAP server.</p><p><span
id="more-33735"></span><strong>Installation</strong></p><p>I&#8217;m going to show you how to install Luma on both Ubuntu and Fedora. It&#8217;s actually quite simple. Just follow these steps:</p><p><em>Fedora</em></p><ol><li>Open up a terminal window.</li><li>Su to the root user.</li><li>Issue the command <em>yum install luma.</em></li><li>Okay any dependencies (if necessary).</li><li>Once installation is complete, you can close the terminal.</li></ol><p><em>Ubuntu</em></p><ol><li>Open up a terminal window.</li><li>Issue the command <em>sudo apt-get install luma.</em></li><li>Enter your sudo (user) password.</li><li>Okay any dependencies (if necessary).</li><li>Once the installation is complete, you can close the terminal.</li></ol><p>Now that you have Luma installed, let&#8217;s open it up and connect to a server.</p><p><strong>Usage</strong></p><div
id="attachment_33737" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/08/luma_main.png"><img
class="size-medium wp-image-33737 " src="http://www.ghacks.net/wp-content/uploads/2010/08/luma_main-500x460.png" alt="" width="300" height="276" /></a><p
class="wp-caption-text">Figure 1</p></div><p>To start up Luma you will not find a menu entry, so you will have to run Luma from command line (or create a menu entry). To do this click Alt-F and then enter <em>luma</em> in the run dialog. Or you can leave that terminal window open and then just issue the command<em> </em>from within there.</p><p>Once started you will see a simple window (see Figure 1) where you can choose from any one of the available plugins. In order to add a server you need to click <strong>Settings &gt; Edit Server List</strong>. From this window click the Add button to create a new server.</p><p>The first step is to give this new server a name. This is a human readable name so it does not need to be a hostname or IP address.  After you create a name click OK to move on to the real work.</p><div
id="attachment_33738" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/08/luma_server_settings.png"><img
class="size-medium wp-image-33738 " src="http://www.ghacks.net/wp-content/uploads/2010/08/luma_server_settings-500x360.png" alt="" width="300" height="216" /></a><p
class="wp-caption-text">Figure 2</p></div><p>Once you have created the server you have three configurations to take care of (see Figure 2):</p><ul><li>Network options: Hostname, Port, Encryption type.</li><li>Authentication: Mechanism for authentication (simple, or SASL type), Bind as (login authentication), and Password.</li><li>LDAP options: Follow aliases and/or Use Base DNs provided by the server.</li></ul><p>The trickiest option for most is going to be the Authentication &#8220;Bind as&#8221; setting. You do not just log in with a plain username. Instead (as you can see in Figure 2), you log in with username and domain in the form of <em>cn=USERNAME,dc=DOMAIN, dc=NAME</em>. In the case of my example it&#8217;s <em>cn=admin,dc=wallen,dc=local</em>.</p><div
id="attachment_33739" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/08/luma_browse.png"><img
class="size-medium wp-image-33739 " src="http://www.ghacks.net/wp-content/uploads/2010/08/luma_browse-500x460.png" alt="" width="300" height="276" /></a><p
class="wp-caption-text">Figure 3</p></div><p>Once you have logged in you can then use the plugins like Browse (see Figure 3). This examples illustrates how you can manage the various aspects of your LDAP entries.</p><p><strong>Final thoughts</strong></p><p>In upcoming articles we will deal with more LDAP administration with Luma as it is, by far, one of the easiest front ends for the LDAP server I have come across.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/08/30/access-and-manage-your-ldap-data-with-luma/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Set up an LDAP server on Fedora</title><link>http://www.ghacks.net/2010/08/25/set-up-an-ldap-server-on-fedora/</link> <comments>http://www.ghacks.net/2010/08/25/set-up-an-ldap-server-on-fedora/#comments</comments> <pubDate>Wed, 25 Aug 2010 11:10:13 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Online Services]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Directory Server]]></category> <category><![CDATA[Fedora]]></category> <category><![CDATA[LDAP]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=33577</guid> <description><![CDATA[LDAP (Lightweight Directory Access Protocol) is one of the more complicated setups for a Linux machine. LDAP is to Linux what Active Directory is to Window. And if you have a lot of users on a network, which log into various machines, you will want something like LDAP in order to retain all of their [...]]]></description> <content:encoded><![CDATA[<p>LDAP (Lightweight Directory Access Protocol) is one of the more complicated setups for a Linux machine. LDAP is to Linux what Active Directory is to Window. And if you have a lot of users on a network, which log into various machines, you will want something like LDAP in order to retain all of their information on a single, stored location.</p><p>But because LDAP is fairly complex, it is not often used except by those who have the lengthy period of time it takes to understand the task of getting an LDAP server up and running. That doesn&#8217;t need to be the case, if you happen to have a Fedora server lying around. There is a tool, <a
title="389 Directory Server" href="http://directory.fedoraproject.org/" target="_blank">389 Directory Server</a>, that helps you to get this up and running quickly and easily.  In this article I am going to show you how to install and set up the 389 Directory Server.</p><p><span
id="more-33577"></span><strong>Installation</strong></p><p>The installation of 389 DS is simple. Just follow these steps:</p><ol><li>Open up a terminal window.</li><li>Su to the root user.</li><li>Issue the command <em>yum install fedora-ds</em>.</li><li>Accept all of the dependencies.</li><li>Wait for the installation to finish.</li></ol><p>Now you are ready to begin. The configuration of 389 is done via command line. Once that is complete you can then manage your LDAP server with a nice GUI tool.</p><p><strong>Configuration</strong></p><div
id="attachment_33578" class="wp-caption alignleft" style="width: 510px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/08/setup_7.png"><img
class="size-medium wp-image-33578" src="http://www.ghacks.net/wp-content/uploads/2010/08/setup_7-500x348.png" alt="" width="500" height="348" /></a><p
class="wp-caption-text">Figure 1</p></div><p>The configuration takes place in the terminal window. To begin the process issue the command (as root)<em> setup-ds-admin.pl. </em>This will begin a process that will take about 14 steps. Each step looks similar to that in Figure 1.</p><p>The steps for the setup are:</p><p>1. Agree to license.</p><p>2. Set up warning alert.</p><p>3. Choose type of installation.</p><p>4. Configure fully qualified domain name for name.</p><p>5. Server user name.</p><p>6. Do you want to register this software with an existing configuration directory server?</p><p>7. Administrator ID.</p><p>8. Administration domain.</p><p>9. Server network port.</p><p>10. Directory server identifier (name).</p><p>11. Valid DN for your directory suffix.</p><p>12. Directory Manager DN.</p><p>13. Administration network port.</p><p>14. Save configuration and set up server.</p><p>The final step is basically writing your configurations to the config script and then starting the server. Once you have completed these steps, the hard part is over! Don&#8217;t worry about not understanding any of the above explanations, as each step is clearly explained on its own screen (as shown in Figure 1).</p><p>Now that your setup is complete, you are ready to fire up the GUI admin tool.</p><p><strong>The admin tool</strong></p><div
id="attachment_33579" class="wp-caption alignright" style="width: 280px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/08/admin_login.png"><img
class="size-full wp-image-33579 " src="http://www.ghacks.net/wp-content/uploads/2010/08/admin_login.png" alt="" width="270" height="201" /></a><p
class="wp-caption-text">Figure 2</p></div><p>The administration tool is started (as the root user) with the command <em>389-console</em>. When you login to the admin tool you will need to use your admin username and password you created during the setup and the URL (including port number) you created (see Figure 2).</p><div
id="attachment_33580" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/08/management_console.png"><img
class="size-medium wp-image-33580 " src="http://www.ghacks.net/wp-content/uploads/2010/08/management_console-500x353.png" alt="" width="300" height="212" /></a><p
class="wp-caption-text">Figure 3</p></div><p>Once you have successfully logged in you will now be in the 389 Directory Server Management Console (see Figure 3). It is from within this console that you actually take care of all of the LDAP management (we&#8217;ll save that for another article).</p><p><strong>Final thoughts</strong></p><p>If you&#8217;ve ever tried to set up LDAP manually then you know it can be a real pain. With tools like 389 Directory Server, this process has become exponentially easier. Give this a try and see if you have better luck setting up your LDAP server.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/08/25/set-up-an-ldap-server-on-fedora/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Create a repository with subversion</title><link>http://www.ghacks.net/2010/08/24/create-a-repository-with-subversion/</link> <comments>http://www.ghacks.net/2010/08/24/create-a-repository-with-subversion/#comments</comments> <pubDate>Tue, 24 Aug 2010 15:48:12 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Online Services]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[CVS]]></category> <category><![CDATA[repository]]></category> <category><![CDATA[subversion]]></category> <category><![CDATA[svn]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=33539</guid> <description><![CDATA[In my last article I illustrated how to install Enlightenment by checking out the most recent code from the Enlightenment Subversion Server (see &#8220;Installing Enlightenment E17 using subversion&#8220;). After that article I thought it would be a good follow up to illustrate how to create your own subversion repository. Why? What can you use a [...]]]></description> <content:encoded><![CDATA[<p>In my last article I illustrated how to install Enlightenment by checking out the most recent code from the Enlightenment Subversion Server (see &#8220;<a
title="Installing Enlightenment E17 using subversion" href="http://www.ghacks.net/2010/08/23/installing-enlightenment-e17-using-subversion/" target="_blank">Installing Enlightenment E17 using subversion</a>&#8220;). After that article I thought it would be a good follow up to illustrate how to create your own subversion repository.</p><p>Why? What can you use a subversion repository for? If you are collaborating on an application project in which multiple users need to be able to check in and check out your code, you will definitely want to use a solution such as subversion. There are other, interesting possibilities, for using subversion&#8230;such as a repository for documentation that is</p><p><span
id="more-33539"></span>In this process we are going to create a repository called <strong>myrepository</strong> and a project within that repository called &#8220;myproject&#8221;.  For simplicity sake we are going to house that repository in our ~/ directory. This is only used for simplicity (to avoid permissions issues). Once you have gained an understanding of how to work with subversion, we&#8217;ll discuss creating repositories that can be accessed from without.</p><p>Here are the steps for creating your subversion repository.</p><p><strong>Step 1</strong>: Install Subversion</p><p><strong>Step 2: </strong>Create your repository</p><p><code>svnadmin create ~/repository</code></p><p><strong>Step 3</strong>: Create project folders within ~/myrepository. Once you have created the directory structure, you can then move the pre-existing project files into the trunk folder. If this is a new project (that no work has been done) you can start saving your project files to the trunk folder. The folder structure needs to look like this:</p><ul><li>main folder &#8211; project</li><li>sub folders &#8211; branches, tags, trunk</li><li>trunk sub folders (holds various project folders)</li></ul><p><strong>Step 4</strong>: Create an svn user. This will be the user(s) that are allowed access to the project.  The first step is to edit the <strong>~/myrepository/conf/svnserve.conf </strong>file and add the following to the end of the file:</p><p><code>anon-access = none<br
/> auth-access = write<br
/> password-db = passwd</code></p><p>The next step is to edit <strong>~/myrepository/conf/passwd</strong> and add the following to the end of the file:</p><p><code>user = user password</code></p><p>Where <em>user</em> is the username and <em>password </em>is the password for the user.</p><p><strong>Step 5</strong>: Now it&#8217;s time to import your project. From within your ~/myrepository direcotory issue the command:</p><p><code>svn import project1/ svn+ssh://user@ADDRESS/home/USER/myproject/project1 -m "Original Commit"</code></p><p>Where ADDRESS is the location of the machine housing the repository and USER is the actual user name. NOTE: The above command is all one line.  When that command runs successfully you will be prompted for the user password. Once you correctly enter the user password you will see scroll by a number of lines all beginning with &#8220;Adding&#8221;. That tells you all of your project files/folders have been added.</p><p><strong>Step 6</strong>: Start the daemon. In order for other uses to be able to access that repository you have to run the subversion daemon. To start this, issue the command:</p><p><code>svnserve -d</code></p><p>You can now check out and check in your project files on your svn repository.</p><p><strong>Final thoughts</strong></p><p>This has been a very basic introduction to setting up a subversion server. The next time around we are going to take this to the next level and set up a subversion server that others can check in and check out files.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/08/24/create-a-repository-with-subversion/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Installing Enlightenment E17 using Subversion</title><link>http://www.ghacks.net/2010/08/23/installing-enlightenment-e17-using-subversion/</link> <comments>http://www.ghacks.net/2010/08/23/installing-enlightenment-e17-using-subversion/#comments</comments> <pubDate>Mon, 23 Aug 2010 17:33:26 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[CVS]]></category> <category><![CDATA[E17]]></category> <category><![CDATA[Enlightenment]]></category> <category><![CDATA[subversion]]></category> <category><![CDATA[svn]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=33514</guid> <description><![CDATA[If you&#8217;ve spent enough time around Linux you might have come across an installation process that requires the use of SVN. SVN is subversion which is a version control system based on CVS. What this means is that this tool manages files and directories and keeps track of the changes made to them. A lot [...]]]></description> <content:encoded><![CDATA[<p>If you&#8217;ve spent enough time around Linux you might have come across an installation process that requires the use of SVN. SVN is subversion which is a version control system based on CVS. What this means is that this tool manages files and directories and keeps track of the changes made to them. A lot of developers use tools like this in order to allow testers and other developers access to the most recent versions of their software. In effect, installing from subversion always guarantees you are installing the most recent code base for your application.</p><p>But subversion isn&#8217;t always the easiest tool for the end user to get up to speed with. So, with the end user in mind, this article will attempt to explain how subversion can be used in the process of installing software on the Linux operating system.</p><p><span
id="more-33514"></span><strong>When is subversion the right tool to use?</strong></p><p>This is a fairly tricky question. There are two obvious reasons to use subversion:</p><p>Keeping archives of older versions: By nature, subversion is a version control system, so it handles this task perfectly.</p><p>Collaboration: If you are working on the development of an application with more than one person, then subversion is perfect for you as well. Using subversion this way allows developers to check out code, work on it, and check it back in.</p><p>And of course, you can use subversion to check out the latest version of code and then install said latest version.</p><p><strong>How it all works</strong></p><p>The first step in this is to install subversion itself. This is simple, as subversion will be found in your standard repository. To install open up a terminal window and issue the command:</p><p><code>sudo apt-get install subversion</code></p><p>or on Fedora like so:</p><p><code>yum install subversion</code></p><p>Once the software is installed you are ready to go.</p><p>Let&#8217;s assume you are wanting to check out the latest version of a piece of software. Let&#8217;s illustrate this with the Enlightenment E17 window manager/desktop environment. Now, as this is a fairly complex package, there are dependencies that must be resolved. Those dependencies can be resolved using your regular installation tool (like yum or apt-get). Those dependencies are:</p><ul><li>m4</li><li>autoconf</li><li>automake (1.7 or higher)</li><li>cvs</li><li>libtool</li><li>pkg-config</li><li>texinfo</li><li>zlib</li><li>libpng</li><li>jpeg</li><li>freetype2</li><li>liblua (5.1 or higher)</li><li>xorg-x11 or xfree86</li><li>x11-libs</li><li>dbus</li><li>hal</li><li>pam (required for desklock)</li></ul><p>You might also want these optional dependencies:</p><ul><li>librsvg2</li><li>inotify (linux only)</li><li>curl</li><li>openssl</li><li>libungif</li><li>libtiff</li><li>gettext</li></ul><p>Once you have all the dependencies met, you can then proceed with the subversion installation.</p><p>The first thing you have to do is check out and install all of the dependencies (that can not be installed via the normal means). These are all done using the subversion <em>svn</em> command. The basic usage of the command is:</p><p><em>svn co ADDRESS</em></p><p>Where ADDRESS is the actual link to the CVS repository. NOTE: <em>co </em>stands for check out. Now we are going to check out all of the dependencies and then install them all from CVS. to do this, issue the following commands (one at a time):</p><p><code>svn co http://svn.enlightenment.org/svn/e/trunk/eina eina-svn<br
/> svn co http://svn.enlightenment.org/svn/e/trunk/eet eet-svn<br
/> svn co http://svn.enlightenment.org/svn/e/trunk/evas evas-svn<br
/> svn co http://svn.enlightenment.org/svn/e/trunk/ecore ecore-svn<br
/> svn co http://svn.enlightenment.org/svn/e/trunk/efreet efreet-svn<br
/> svn co http://svn.enlightenment.org/svn/e/trunk/embryo embryo-svn<br
/> svn co http://svn.enlightenment.org/svn/e/trunk/edje edje-svn<br
/> svn co http://svn.enlightenment.org/svn/e/trunk/e_dbus e_dbus-svn</code></p><p>Each of the above commands will create a new directory. For example the first command will create the directory <strong>eina-svn</strong> within the directory from which the command is run. You will need to cd into each of these directories (one at a time of course) and then issue the following commands:</p><p><em>./autogen.sh</em><br
/> <em>make</em><br
/> <em>sudo make install</em><br
/> <em>sudo ldconfig</em></p><p>After you have done this for all of the dependencies it&#8217;s time to check out and install the main software. This is done with the following:</p><p><code>svn co http://svn.enlightenment.org/svn/e/trunk/e e17-svn</code></p><p>Now it&#8217;s time to install. Change into the newly created <strong>e17-svn</strong> folder and issue the following commands:</p><p><code>./autogen.sh<br
/> make<br
/> sudo make install</code></p><p>After a fairly lengthy time, Enlightenment E17 should then be installed on your machine. You should now be able to log out and log back in with E17.</p><p><strong>Final thoughts</strong></p><p>Installing with the help of subversion is actually quite a nice way of keeping on the bleeding edge of your software. And some software, like E17, can only be installed (on certain distributions) in this manner. I hope this has helped you to understand how useful and how easy subversion can be.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/08/23/installing-enlightenment-e17-using-subversion/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Convert ext2/3 to ext4</title><link>http://www.ghacks.net/2010/08/11/convert-ext23-to-ext4/</link> <comments>http://www.ghacks.net/2010/08/11/convert-ext23-to-ext4/#comments</comments> <pubDate>Wed, 11 Aug 2010 11:12:30 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[ext2]]></category> <category><![CDATA[ext3]]></category> <category><![CDATA[ext4]]></category> <category><![CDATA[hard-drive]]></category> <category><![CDATA[linux filesystem]]></category> <category><![CDATA[partitions]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=32828</guid> <description><![CDATA[Let&#8217;s say you&#8217;re a little bit behind the times. You&#8217;ve wanted to do some upgrading of your Linux machines but you&#8217;ve just not really had the time. Or let&#8217;s say you did do some upgrading of your Linux system but you didn&#8217;t make any changes to your file system and you&#8217;re still running a machine [...]]]></description> <content:encoded><![CDATA[<p>Let&#8217;s say you&#8217;re a little bit behind the times. You&#8217;ve wanted to do some upgrading of your Linux machines but you&#8217;ve just not really had the time. Or let&#8217;s say you did do some upgrading of your Linux system but you didn&#8217;t make any changes to your file system and you&#8217;re still running a machine with either ext2 or ext3. Now that&#8217;s not necessarily a bad thing as both file systems work and work well. But let&#8217;s say you do want to take advantage of some of the features of ext4.</p><p>In this article I am going to show you how to migrate your ext2 or ext3 partition to ext4. I will use a Ubuntu machine as an example. I want to warn you that you could lose data by doing this so, following good administrative practices, back up your data! Once you are certain you have that backup of your data, it&#8217;s time to begin.</p><p><span
id="more-32828"></span><strong>Kernel pre-requisite</strong></p><p>You must be certain you have a kernel that is at least 2.6.28-11-generic or higher. If not, do NOT continue on with this. To find out what kernel you are running issue the command <code>uname -r.</code> If your kernel is lower thatn 2.6.28-11 stop where you are and close your browser.</p><p><strong>Step 1</strong></p><p>The first step is to boot from a Ubuntu Live CD. You do this because you can&#8217;t convert a file system that has been mounted. If you are converting a second drive on your machine (one that doesn&#8217;t contain your OS or your <strong>~/ </strong>(home) directory, you can always just unmount that drive and do this without booting the Live CD.</p><p><strong>Step 2:</strong></p><p>Now it&#8217;s time to convert. We&#8217;re going to use <strong>/dev/sda1 </strong>as an example for converting. You will want to know the exact name of the drive and/or partition you are wanting to covert. If you are converting from ext2 to ext4 issue the following commands:</p><p>﻿<code>sudo bash<br
/> tune2fs -O extents,uninit_bg,dir_index,has_journal /dev/sda1</code></p><p>If you are wanting to convert ext3 to ext4 issue the following commands:<br
/> <code>sudo bash<br
/> tune2fs -O extents,uninit_bg,dir_index /dev/sda1</code></p><p>NOTE: After you enter either of the <em>sudo bash</em> commands you will have to enter your sudo password.</p><p><strong>Step 3:</strong></p><p>Regardless of which conversion you are doing you will want to check the drive (or partition) after the conversion and repair any issues. Do this with the command:</p><p><code>e2fsck -pf /dev/sda1</code></p><p><strong>Step 4:</strong></p><p>Now you need to make sure the partition will mount. Do this with the command:</p><p><code>sudo mount -t ext4 /dev/sda1 /mnt</code></p><p>Hopefully you won&#8217;t see any errors. You should now see the contents of that drive listed in the <strong>/mnt</strong> directory.</p><p><strong>Step 5:</strong></p><p>It&#8217;s time to edit your <strong>/etc/fstab</strong> file to reflect the change. Open this file up with your favorite text editor and look for the line that corresponds to the drive/partition you just changed. In that line you will reference to either ext2 or ext3. Change that reference to ext4. Save and close that file.</p><p><strong>Step 6:</strong></p><p>Now you need to refresh grub. Depending upon how your boot partition is will determine how you do this. If your boot partition is SEPARATE, do the following:</p><p><code>sudo bash<br
/> mkdir /mnt/boot<br
/> mount /dev/sda1 /mnt/boot<br
/> grub-install /dev/sda --root-directory=/mnt --recheck</code></p><p>If your boot partition is NOT separate, do the following:</p><p><code>sudo bash<br
/> mount /dev/sda1 /mnt<br
/> grub-install /dev/sda --root-directory=/mnt --recheck</code></p><p><strong>Step 7:</strong></p><p>Reboot. Once up and running you will now be using the ext4 file system!</p><p><strong>Final thoughts</strong></p><p>If you are leery of any of the above, don&#8217;t worry&#8230;you don&#8217;t HAVE to do this. Your system will run fine with ext2 or ex3. But if you love to get your hands dirty with your machines&#8230;then you will enjoy converting a working file system from one type to another. Just remember BACK UP YOUR DATA!</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/08/11/convert-ext23-to-ext4/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>Get to know Linux: Grub2</title><link>http://www.ghacks.net/2010/08/02/get-to-know-linux-grub2/</link> <comments>http://www.ghacks.net/2010/08/02/get-to-know-linux-grub2/#comments</comments> <pubDate>Mon, 02 Aug 2010 15:28:35 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[boot-loader]]></category> <category><![CDATA[grub]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[update-grub]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=29031</guid> <description><![CDATA[Most PC users have no idea what a boot loader is. Yet all PCs have them. Most Linux users, by nature, do know what a boot loader is because they have had to deal with them one on one for a long time. Of course times have changed and gone are the days when you [...]]]></description> <content:encoded><![CDATA[<p>Most PC users have no idea what a boot loader is. Yet all PCs have them. Most Linux users, by nature, do know what a boot loader is because they have had to deal with them one on one for a long time. Of course times have changed and gone are the days when you really had to monkey around with your boot loader. Back when I first started working with Linux, the boot loader was lilo (Linux Loader). Then I migrated to a different distribution and was using Grub. Now, Grub has moved to Grub2 and things are going swimmingly. So swimmingly in fact that I rarely have to even think about using the boot loader for anything &#8211; other than to let it do its thing.</p><p>But there are times when that trust old application needs to have a bit of a tweaking and when that time comes, you&#8217;re going to need to know exactly what to tweak and what to do post-tweak. In this Ghacks article I am going to introduce you to some of the fundamentals of the Grub2 bootloader.</p><p><span
id="more-29031"></span><strong>What the bootloader does</strong></p><p>In a nutshell, the bootloader instructs the kernel how it is supposed to boot. Without the bootloader the kernel wouldn&#8217;t get it&#8217;s initialization instructions (which kernel is default, any switches that are passed at startup, etc). Of course this is a vast over-simplification of what the boot loader does, but for the newer user, it&#8217;s explanation enough.</p><p><strong>Handy Grub switches</strong></p><p>There are plenty of Grub command line switches that you can use upon boot. But first you have to get to the Grub command prompt. To do this hit the &#8220;e&#8221; key when you see the kernel listing at boot followed by &lt;Ctrl&gt;x. This will land you in the Grub command prompt, at which point you can run any of the following:</p><ul><li>grub&gt; CTRL + X: Boots any arguments you enter into the commandline.</li><li>grub&gt; halt: Shuts down the computer</li><li>grub&gt; reboot: Reboot the computer</li><li>grub&gt; help: :ists all available commands (which is quite a few)</li><li>grub&gt; help a: Lists all available commands that start with the letter a</li><li>grub&gt; ls: Lists all available partitions on your disk(s)</li><li>grub&gt;ls (hdx,x): Lists all files on that partition</li><li>grub&gt;cat (hdx,x)file: Outputs the contents of &#8220;file&#8221;</li></ul><p><strong>Configuring Grub</strong></p><p>I am going to demonstrate how to make a change to Grub and then make that change take effect. There are a few files that might seem like the one you want to edit. The real file you should edit is <strong>/etc/default/grub</strong>. When you open this file take notice of the following entry:<br
/> <code>GRUB_DEFAULT=0</code></p><p>That line instructs which kernel is the default to boot. You may find any number of entries in your Grub configuration file. For each kernel version you will find a standard entry and a recovery mode entry. The are numbered 0,1,2,3,4, etc. Look through your Grub configuration file for the kernel line you want to be the default entry. Remember, numbering starts at 0 not 1. So the third entry will actually be 2. Change that GRUB_DEFAULT= line to reflect the entry you want to serve as the default, save and close the file, and then run the following command update Grub:</p><p><code>sudo update-grub</code></p><p>Now when you reboot your machine, it will default to the kernel you have chosen as default. This is always helpful when you are experimenting with kernels or you get an upgraded kernel that breaks a feature.</p><p><strong>Final thoughts</strong></p><p>The boot loader for your machine is crucial. Take good care of this tool and it will do the same for you. But do use caution when undertaking any task that involves the boot loader, else you render your machine unbootable. Of course Grub is much more than what you have been shown here. We&#8217;ll get into more about this powerful boot loader later.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/08/02/get-to-know-linux-grub2/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> </channel> </rss>
