<?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; Server</title> <atom:link href="http://www.ghacks.net/category/networks/server-networks/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>Three Quarters of EU Firms Not Ready to Recover from IT Failures</title><link>http://www.ghacks.net/2011/11/24/three-quarters-of-eu-firms-not-ready-to-recover-from-it-failures/</link> <comments>http://www.ghacks.net/2011/11/24/three-quarters-of-eu-firms-not-ready-to-recover-from-it-failures/#comments</comments> <pubDate>Thu, 24 Nov 2011 10:07:50 +0000</pubDate> <dc:creator>Mike Halsey MVP</dc:creator> <category><![CDATA[Server]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[business]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=53113</guid> <description><![CDATA[Almost three quarters of companies and public-sector organisations across nine European countries might not recover all of their data if they suffer an IT failure according to a new report released by the IT group EMC.  For the survey a total of 1,750 European companies and organisations were quizzed across the UK,  France, Germany, Italy, [...]]]></description> <content:encoded><![CDATA[<p>Almost three quarters of companies and public-sector organisations across nine European countries might not recover all of their data if they suffer an IT failure according to a new <a
href="http://uk.emc.com/about/news/press/2011/20111123-01.htm" target="_blank">report</a> released by the IT group EMC.  For the survey a total of 1,750 European companies and organisations were quizzed across the UK,  France, Germany, Italy, Spain, Benelux and Russia with each organisation ranging in size from 250 to 3000+ employees.</p><p>The research&#8217;s findings are worrying indeed.</p><blockquote><ul><li>74% of organisations are not very confident that they can fully recover after a disaster, according to a new survey of 1,750 European companies</li><li>54% surveyed have lost data and/or suffered systems downtime in the last year</li><li>61% report hardware failure as the primary cause of data loss and downtime;  natural disasters and employee sabotage being much less likely culprits</li><li>43% of organisations cite loss of employee productivity as the single biggest economic impact</li><li>28% point to lost revenue as a result of a disaster</li><li>40% of organisations still use tape for recovery and 80% of these organisations want to replace tape all together, highlighting the need for next generation backup and recovery</li></ul></blockquote><p>The fact that 74% of companies and organisations feel that they&#8217;re not prepared or equipped to properly recover data after an outage or disaster might be seen as very worrying for business overall.  We&#8217;ve all suffered data loss but the data losses suffered by business could affect us and them in many different ways.  They could lose customer orders, lose valuable employee details or details of current projects and so on.</p><p><img
class="alignleft size-full wp-image-53114" src="http://www.ghacks.net/wp-content/uploads/2011/11/backup-vault.png" alt="" width="154" height="154" />The survey also details that more than half of the businesses and organisations surveyed said they <em>had</em> experienced data loss or systems downtime in the last year.  It&#8217;s common for companies to suffer from downtime and it&#8217;s a pity the research doesn&#8217;t go into more detail about what percentage of companies had actually experienced data loss, all we have is a corruption figure that in itself seems too high.</p><p>They say the most commonly reported causes of downtime are&#8230;</p><blockquote><ul><li>Hardware failure: 61%</li><li>Power failure: 42%</li><li>Data corruption: 35%</li></ul></blockquote><p>One of the problems seems to be that 40% of the companies surveyed are still replying on tape for backup.  With the falling costs of hard disks and the increased bandwidth that dedicated phone lines can bring more and more companies are moving to secure and stable off-site backup solutions and indeed many business ISPs and server hosts now offer this facility as standard.  It is clear though that not enough companies are heeding the warnings of data loss and, more important of good security.</p><blockquote><p>The research found that businesses are spending, on  average, 10% of their IT budgets on backup and recovery, and 29% of businesses  do not feel they are spending enough.   For backup and disaster recovery purposes, 40% of companies still rely  on tape, with an average annual cost of €74,000 on transporting, storing,  testing and replacing tapes. Where tape is used for disaster recovery purposes,  10% still have an employee take home a copy of the backup tapes with them.</p></blockquote><p>The companies surveyed included manufacturing, retail, financial services and telecoms, among others and, frankly, it is disappointing that so many companies still seem unprepared for IT and data failures when computers have now been in business for over 30 years and have been on every desk for the vast majority of that time.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/11/24/three-quarters-of-eu-firms-not-ready-to-recover-from-it-failures/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>zInstall launch new Type-0 Hypervisor</title><link>http://www.ghacks.net/2011/09/22/zinstall-launch-new-type-0-hypervisor/</link> <comments>http://www.ghacks.net/2011/09/22/zinstall-launch-new-type-0-hypervisor/#comments</comments> <pubDate>Thu, 22 Sep 2011 17:19:26 +0000</pubDate> <dc:creator>Mike Halsey MVP</dc:creator> <category><![CDATA[Server]]></category> <category><![CDATA[virtual-machine]]></category> <category><![CDATA[virtualisation]]></category> <category><![CDATA[vm]]></category> <category><![CDATA[zinstall]]></category> <category><![CDATA[zirtu]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=50735</guid> <description><![CDATA[Virtualisation specialist zInstall have previously impressed with their products that include utilities to capture an existing Windows XP, Vista or any other operating system installation and allowing you to boot from it on any other computer from an external hard drive or suitably-sized USB pen drive.  This software meant you could take all of your [...]]]></description> <content:encoded><![CDATA[<p>Virtualisation specialist <a
href="http://www.zinstall.com/" target="_blank">zInstall</a> have previously impressed with their products that include utilities to capture an existing Windows XP, Vista or any other operating system installation and allowing you to boot from it on any other computer from an external hard drive or suitably-sized USB pen drive.  This software meant you could take all of your programs and files with you and work with them as though that operating system was installed on the host PC.</p><p>Now they&#8217;ve expanded their virtualisation line-up into the server space with the new <a
href="http://www.zirtu.com/" target="_blank">Zirtu Serverless VDI</a>, type 0 Hypervisor.  Like other comparable products this allows users to run an operating system contained in a virtual machine on any othger computer, and use the full hardware resources of the host machine.  This includes full access to the graphics card, memory and the ability to take complete control of the processor.</p><p>The virtual machine in this case would be run from a server, enabling a single virtual machine to run on many terminals in a business simultaneously.  Where Zirtu takes things to the next level though is in support for working offline.  In a recent <a
href="http://www.youtube.com/watch?v=e5emI0vyeTk" target="_blank">demo</a> they demonstrate a virtual machine that has only just loaded to a machine, continue to work with support for all the programs and files when the network connection to the server is disconnected.</p><p><img
class="aligncenter" src="http://www.ghacks.net/wp-content/uploads/2011/09/Zirtu-Serverless-VDI-Windows-Internet-Explorer-600x339.png" alt="" width="540" height="305" /></p><p>Where this comes in very handy is in permitting users to continue working on their PCs when their internal or tunnelled network connection dies, or when they are on the road and away from a connection.  The next time they log into the server all the files, programs and documents in the VM are automatically synchronised with the server, with the user noticing nothing about the connection problems.</p><p>Zirtu also uses existing virtualisation technology from the company that supports the computer&#8217;s hardware in ways that allows a virtual machine created on one machine, to work on another with a completely different hardware configuration, something that would normally break any Windows installation.</p><p>The concept of having a decentralised virtual machine that can keep people working when away from a direct connection to the server is hugely compelling, especially when downtime can cost companies so much money.  The ability to maintain the VMs centrally can also present significant cost-savings to business and provide additional benefits.</p><p>Among these is a solution that would allow users to run VMs on their own personal laptops and desktop PCs, something that business normally bans citing quite valid security concerns.  This type of virtualisation technology turns any home PC into a work PC.  The fact that it works so well and so quickly, in the demo given at a recent conference it&#8217;s virtual machine was shown fully working after only loading on the host PC for a few seconds before the network connection was pulled, is driven by technology the company is being tight-lipped about, unsurprisingly.</p><p>Either way this product demonstrates perfectly the types of virtualisation and cloud services that business might employ in the coming years to slash IT management costs, and to run better and more efficient IT operations.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/09/22/zinstall-launch-new-type-0-hypervisor/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Set up a Linux VPN Server with Gadmin-VPN-Server</title><link>http://www.ghacks.net/2011/03/30/set-up-a-linux-vpn-server-with-gadmin-vpn-server/</link> <comments>http://www.ghacks.net/2011/03/30/set-up-a-linux-vpn-server-with-gadmin-vpn-server/#comments</comments> <pubDate>Wed, 30 Mar 2011 19:02:12 +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[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[gadmin]]></category> <category><![CDATA[Linux VPN]]></category> <category><![CDATA[OpenVPN]]></category> <category><![CDATA[vpn]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=43273</guid> <description><![CDATA[There are so many reasons why a VPN Server makes perfect sense. For one, anyone with the credentials and the address can then gain access to the internal network from an external source. This enables users to work remotely and still have access to resources they wouldn&#8217;t otherwise have access to. There are obviously plenty [...]]]></description> <content:encoded><![CDATA[<p>There are so many reasons why a VPN Server makes perfect sense. For one, anyone with the credentials and the address can then gain access to the internal network from an external source. This enables users to work remotely and still have access to resources they wouldn&#8217;t otherwise have access to. There are obviously plenty of ways to set up a VPN server, but one of the most user-friendly means of setting up a VPN server on Linux is with the help of the Gadmin-VPN-Server tool.</p><p>The Gadmin tools are a set of GUI administration tools that allow for easy administration of various services, systems, and applications that would otherwise be challenging for the average user. One of those tools that is exceptionally helpful to have is the VPN Server tool. Let&#8217;s install it and set up an VPN server with this GUI.</p><p><span
id="more-43273"></span><strong>Installation</strong></p><p>The installation of Gamin-VPN-Server is simple, thanks to the fact that the tool exists in the standard repositories of most distributions. Because of that, the installation is as easy as following these steps:</p><ol><li>Open up the Add/Remove Software utility.</li><li>Search for &#8220;gadmin&#8221; (No Quotes).</li><li>Mark Gadmin VPN Server for installation.</li><li>Accept any dependencies necessary.</li><li>Click Apply to install.</li><li>Close the Add/remove Software utility when finished.</li></ol><p>The Gadmin VPN Server tool can now be started from within the System Tools folder from the Applications menu.</p><p><strong>Configuring the VPN server</strong></p><div
id="attachment_43281" class="wp-caption alignleft" style="width: 340px"><a
href="http://www.ghacks.net/wp-content/uploads/2011/03/gadmin_vpn_server.png"><img
class="size-medium wp-image-43281 " src="http://www.ghacks.net/wp-content/uploads/2011/03/gadmin_vpn_server-550x436.png" alt="" width="330" height="262" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Now for the real work. Open up the Gadmin tool to view the main window. This is where all of the configurations are done.</p><p>To set up a VPN server the following will need to be configured.</p><p>Server Settings:</p><p>External Address: This is the WAN side address of the network &#8211; the address the external users can reach. If this VPN server is on an internal network, it will be critical to make sure VPN traffic is routed to the server hosting the VPN server.</p><p>LAN interface address: The internal address used by the VPN Server.</p><p>LAN Subnet mask: The subnet used by the internal address on the VPN server.</p><p>Client Address range: The valid addresses the clients will be assigned when they log onto the VPN server.</p><p>Encryption Type: The encryption type to be used on the VPN.</p><p>After the server configurations have been entered, click the Apply button in the tool bar to save the settings. Now, scroll down to the&#8230;</p><p>Certificate Settings:</p><p>These settings are near the bottom of the Server settings tab. A pre-existing certificate need not be installed as Gadmin-VPN-Server has the ability to generate the necessary certificate. Just fill in the necessary information and then click the Apply button underneath the Certificate Settings to generate the necessary certificate.</p><p><strong>Users</strong></p><p>After the server has been set up, valid user accounts must be added. If the user already has an account on the server, a new account will not have to be created. If the user does not have an account on the server, create one in the User Accounts tab.</p><p><strong>Starting the server</strong></p><p>After everything is complete, click the Activate button and your VPN server will be ready to accept incoming connections. Users now only need set up their clients to connect to the correct address, using their credentials that reside on the VPN server, and they will be good to go.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/03/30/set-up-a-linux-vpn-server-with-gadmin-vpn-server/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Incredibly simple MySQL administration with SQL Buddy</title><link>http://www.ghacks.net/2011/01/12/incredibly-simple-mysql-administration-with-sql-buddy/</link> <comments>http://www.ghacks.net/2011/01/12/incredibly-simple-mysql-administration-with-sql-buddy/#comments</comments> <pubDate>Wed, 12 Jan 2011 21:52:27 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[database]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[php]]></category> <category><![CDATA[phpmyadmin]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=38925</guid> <description><![CDATA[If you have a need to manage MySQL databases, you know that learning the syntax for the various MySQL tools can be a real nightmare. Fortunately there are tools out there that make this job far more easy. But of the web-based tools, which are easiest? You might have given phpMyAdmin a try, but found [...]]]></description> <content:encoded><![CDATA[<p>If you have a need to manage MySQL databases, you know that learning the syntax for the various MySQL tools can be a real nightmare. Fortunately there are tools out there that make this job far more easy. But of the web-based tools, which are easiest? You might have given phpMyAdmin a try, but found it a bit complex to get up and running (if you&#8217;re curious about phpMyAdmin, read my article &#8220;<a
href="http://www.ghacks.net/2008/12/20/install-phpmyadmin-for-easy-mysql-administration/" target="_blank">Install phpmyadmin for easy MySQL administration</a>&#8220;). If that is the case, and you&#8217;re still looking for an easy way to manage your MySQL databases, look no further than <a
href="http://www.sqlbuddy.com/" target="_blank">SQL Buddy</a>.</p><p>SQL Buddy is one of the easiest web-based admin tools you will ever find. Not only does it make the process of creating and editing MySQL databases easy, it is also incredibly easy to install. Let&#8217;s see just how easy this is to manage.</p><p><span
id="more-38925"></span><strong>What you need</strong></p><p>You will, of course, need a working installation of MySQL. You will also have to have your MySQL admin user and password handy. As far as dependencies, you will need to have the following installed:</p><ul><li>PHP &gt;= 4.3</li><li>MySQL &gt;= 4</li></ul><p>Of course, if you already have the MySQL server up and running you might only need the PHP piece installed. You can install the PHP dependency easily from your Add/Remove Software tool. Search for &#8220;php&#8221; (no quotes) and install the version recommended for your distribution and release.</p><p>You will also need to download the SQL Buddy file. You can find that from the <a
href="http://www.sqlbuddy.com/" target="_blank">SQL Buddy main page</a>. This file will be a .zip file. Save that file into your web server&#8217;s document root (on a Ubuntu machine that would be <strong>/var/www</strong>).</p><p><strong>Installation</strong></p><div
id="attachment_38926" class="wp-caption alignleft" style="width: 340px"><a
href="http://www.ghacks.net/wp-content/uploads/2011/01/sql_buddy.png"><img
class="size-medium wp-image-38926 " src="http://www.ghacks.net/wp-content/uploads/2011/01/sql_buddy-550x371.png" alt="" width="330" height="223" /></a><p
class="wp-caption-text">Figure 1</p></div><p>You will be shocked to know there really is no installation. All you need to do is unzip the sqlbuddy_XXX.zip (Where XXX is the release number) within your web server document root and then point your browser to http://ADDRESS_TO_SERVER/sqlbuddy. Where ADDRESS_TO_SERVER is the actual address of your MySQL server. When you do this you will be prompted for the MySQL admin credentials. Enter the credentials and, upon successful authentication, you will find yourself on the SQL Buddy main page (see Figure 1).</p><div
id="attachment_38927" class="wp-caption alignright" style="width: 340px"><a
href="http://www.ghacks.net/wp-content/uploads/2011/01/sql_buddy_table.png"><img
class="size-medium wp-image-38927 " src="http://www.ghacks.net/wp-content/uploads/2011/01/sql_buddy_table-550x444.png" alt="" width="330" height="266" /></a><p
class="wp-caption-text">Figure 2</p></div><p>Once you are in you will find the interface very simple to use. Here you can create new databases by entering a name for the database, selecting the correct charset (Very important), and hitting Submit. Once you do that you will find yourself at a new screen. This new screen (Figure 2) allows you to edit the database and create tables for the database.</p><p>You do need to pay close attention to the creation of tables for your database. Make sure you add the correct fields for the the table or you will get an SQL error and the table will not be saved.</p><p>After you successfully enter the data for your tables, click Submit and your table will be added to the new Database (and the database will be successfully saved).</p><p><strong>Final thoughts</strong></p><p>If you have been searching for an easy method to manage your MySQL databases, search no more&#8230;SQL Buddy will have you easily creating and managing databases on your MySQL server.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/01/12/incredibly-simple-mysql-administration-with-sql-buddy/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Finally a solid Pandora app for Linux</title><link>http://www.ghacks.net/2010/12/30/finally-a-solid-pandora-app-for-linux/</link> <comments>http://www.ghacks.net/2010/12/30/finally-a-solid-pandora-app-for-linux/#comments</comments> <pubDate>Thu, 30 Dec 2010 18:15:39 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Music Industry]]></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 Basic]]></category> <category><![CDATA[last.fm]]></category> <category><![CDATA[Music service]]></category> <category><![CDATA[pandora]]></category> <category><![CDATA[scrobbling]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=38533</guid> <description><![CDATA[If you are a fan of Pandora Music and a user of Linux you know that Linux is a bit behind in the app space for this service. There are only a few possible clients and, until now, those clients simply were not options. The official Pandora client, due to flash issues, could bring your [...]]]></description> <content:encoded><![CDATA[<p>If you are a fan of <a
title="Pandora" href="http://www.pandora.com" target="_blank">Pandora Music</a> and a user of Linux you know that Linux is a bit behind in the app space for this service. There are only a few possible clients and, until now, those clients simply were not options. The official Pandora client, due to flash issues, could bring your Linux machine to a screeching halt. Many of the other clients either will not install or will install but will not run. Fortunately a new-ish Pandora client is available for Linux &#8211; <a
title="Pithos" href="http://kevinmehall.net/p/pithos/" target="_blank">Pithos</a>.</p><p>Pithos is a native Pandora client for the GNOME desktop. It is easy to install, has a user-friendly GUI, and won&#8217;t drag your machine into the murky waters. Let&#8217;s take a look at how to install and use this client so you can start your new year out rockin&#8217;.</p><p><span
id="more-38533"></span>Before you begin, you will need to have a Pandora account. Once you have a Pandora account you will be able to manage your stations from within Pithos (so need to bother adding/removing stations from within the Pandora site.)  In fact, it&#8217;s actually easier to manager your stations from within Pithos than it is from within the site.</p><p><strong>Installation</strong></p><p>Pithos is not found in the standard repositories, so you have to add the Pithos repository. Adding the repository is simple. Open up a terminal window and issue the following commands:</p><p><code>sudo add-apt-repository ppa:kevin-mehall/pithos-daily<br
/> sudo apt-get update</code></p><p>Once you have the repository in place, you can then install the application. This is done with the following command:</p><p><code>sudo apt-get install pithos</code></p><p>Once the application is installed you will find it located in <strong>Applications &gt; Sound and Video</strong>.</p><p><strong>Usage</strong></p><div
id="attachment_38534" class="wp-caption alignleft" style="width: 316px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/12/pithos_main.png"><img
class="size-full wp-image-38534 " src="http://www.ghacks.net/wp-content/uploads/2010/12/pithos_main.png" alt="" width="306" height="233" /></a><p
class="wp-caption-text">Figure 1</p></div><p>When you first start up Pithos you will be required to authenticate to your Pandora account. Once you do this Pithos will download your current list (or the default list) of stations associated with your account and open up the main window (see Figure 1). You can change the channel you want to listen to simply by clicking the channel drop-down and selecting the desired channel.</p><div
id="attachment_38536" class="wp-caption alignright" style="width: 304px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/12/pithos_manage_stations.png"><img
class="size-full wp-image-38536 " src="http://www.ghacks.net/wp-content/uploads/2010/12/pithos_manage_stations.png" alt="" width="294" height="269" /></a><p
class="wp-caption-text">Figure 2</p></div><p>To create new channels to enjoy click on the Preferences button (the gear with the drop-down arrow) and select Manage Stations. In this new window (see Figure 2) click the Add Station button and then enter the name of an artist. You will then be presented by a number of choices to select from. Choose the correct artist and click OK. That artist will be added to your station list.</p><p>You can also include each station in your QuickMix list. The QuickMix list is like a shuffle for Pandora. Select which stations you want to include in your QuickMix and then, from the Station drop-down (in the main window), select QuickMix to get a mix of music from all of your stations.</p><p><strong>Other features</strong></p><p>One of the nicer features of Pithos is the inclusion of a notification icon. From this icon you can left-click and quickly &#8220;Love&#8221;, skip, play, pause, &#8220;Ban&#8221;, or &#8220;Tired&#8221; a currently playing song and you can quickly quit Pithos.</p><p>Pithos also includes:</p><ul><li>Cover Art.</li><li>Notification popup with song info.</li><li>Launching pandora.com song info/station page.</li><li>Reconnecting when pandora session times out</li><li>Media Key support</li><li>Proxy support</li><li>Last.fm scrobbling</li></ul><p><strong>Final thoughts</strong></p><p>At last Linux has a worthy client for the enormously popular Pandora Music service. Make this your go-to application for Music listening in Linux and you won&#8217;t be sorry.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/12/30/finally-a-solid-pandora-app-for-linux/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Configure Samba shares in CentOS</title><link>http://www.ghacks.net/2010/12/13/configure-samba-shares-in-centos/</link> <comments>http://www.ghacks.net/2010/12/13/configure-samba-shares-in-centos/#comments</comments> <pubDate>Sun, 12 Dec 2010 23:13:01 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[samba]]></category> <category><![CDATA[samba shares]]></category> <category><![CDATA[Windows Shares]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=37893</guid> <description><![CDATA[Server OSes, such as CentOS, Red Hat Enterprise Linux, and SUSE Linux Enterprise do not enjoy the same simplicity as does the modern Linux desktop when it comes to issues like sharing out directories (even though they share the same default desktops). You can see how easy it is to share out folders in my [...]]]></description> <content:encoded><![CDATA[<p>Server OSes, such as CentOS, Red Hat Enterprise Linux, and SUSE Linux Enterprise do not enjoy the same simplicity as does the modern Linux desktop when it comes to issues like sharing out directories (even though they share the same default desktops). You can see how easy it is to share out folders in my article &#8220;<a
title="Easy folder sharing in GNOME" href="http://www.ghacks.net/2010/02/23/easy-folder-sharing-in-gnome/" target="_blank">Easy folder sharing in GNOME</a>&#8220;.</p><p>The server OSes justifiably make this task a bit more challenging to keep administrators from inadvertently sharing out folders that shouldn&#8217;t be shared or causing security holes to pop up on their servers. But that does not mean the task is impossible&#8230;in fact it&#8217;s not that much more difficult than it is on their brethren desktop. Let&#8217;s take a look at how this is done on CentOS.</p><p><span
id="more-37893"></span><strong>The tool</strong></p><div
id="attachment_37896" class="wp-caption alignleft" style="width: 340px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/12/system_config_samba.png"><img
class="size-medium wp-image-37896 " src="http://www.ghacks.net/wp-content/uploads/2010/12/system_config_samba-550x386.png" alt="" width="330" height="232" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Fortunately, there is a GUI tool for just about everything. This too goes for configuring Samba. In the CentOS distribution, the task of administering Samba shares is handled by <em>system-config-samba</em>. This tool is easy to use, but must be run as the root user. If you do not have access to the root user, you will have no luck starting the tool. But with that coveted root user password you can start up the Samba admin tool with the command <em>system-config-samba</em>.</p><p>Once the tool has started you will find a very user-friendly GUI (see Figure 1). By default nothing has been shared out&#8230;and before you do share anything, you will need to configure Samba. To do this click <strong>Preferences &gt; Server Settings</strong>. This new window has two tabs:</p><ul><li>Basic: Configure the name of your workgroup and a description of said workgroup.</li><li>Security: Configure the security of your Samba server.</li></ul><p>NOTE: The more important tab is the security tab. Here  you will configure the authentication mode.</p><div
id="attachment_37897" class="wp-caption alignright" style="width: 368px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/12/samba_users.png"><img
class="size-full wp-image-37897" src="http://www.ghacks.net/wp-content/uploads/2010/12/samba_users.png" alt="" width="358" height="237" /></a><p
class="wp-caption-text">Figure 2</p></div><p>Once you have the server configured click on <strong>Preferences &gt; Users</strong>. You must add users here before anyone can authenticate (if you select Security = users). Figure 2 shows how users are added. Make sure you select the correct Unix username from the dropdown. After you add that username click OK to be returned to the original window.</p><p>You are now ready to connect to your newly added share. You might, however find that you can not connect to that share. If so, the most likely reason is the firewall. Click on <strong>System &gt; Administration &gt; Security Level and Firewall</strong>. In this window (see Figure 3) you will need to make sure that Samba is checked, but also add ports 137 – 139 and 445.</p><div
id="attachment_37898" class="wp-caption alignleft" style="width: 237px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/12/samba_firewall.png"><img
class="size-full wp-image-37898 " src="http://www.ghacks.net/wp-content/uploads/2010/12/samba_firewall.png" alt="" width="227" height="287" /></a><p
class="wp-caption-text">Figure 3</p></div><p>After you have added all the necessary ports you should be able to connect to that share without a problem. Although you may be tempted to drop your firewall all together (in order to let Samba connections through) it is imperative that you do not simply drop your firewall. Remember, CentOS is a server OS and should be protected.</p><p><strong>Final thoughts</strong></p><p>It&#8217;s nice to see that even on the server distributions that Samba has become an incredibly easy system to administer. The system-config-samba tool makes sharing out server directories as easy as if you were on the desktop. Kudos to CentOS, Red Hat, and GNOME!</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/12/13/configure-samba-shares-in-centos/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Add SSL to CentOS web server</title><link>http://www.ghacks.net/2010/12/05/add-ssl-to-centos-web-server/</link> <comments>http://www.ghacks.net/2010/12/05/add-ssl-to-centos-web-server/#comments</comments> <pubDate>Sun, 05 Dec 2010 20:10:02 +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[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[The Web]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[ssl]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=37618</guid> <description><![CDATA[CentOS might well be one of the finest Linux distributions for a server environment. It is basically a mimic of Red Hat Enterprise Linux without the proprietary software and the price attached to it. With that in mind, it makes perfect sense to set CentOS up as your go-to Web server. It&#8217;s reliable, it&#8217;s stable, [...]]]></description> <content:encoded><![CDATA[<p>CentOS might well be one of the finest Linux distributions for a server environment. It is basically a mimic of Red Hat Enterprise Linux without the proprietary software and the price attached to it. With that in mind, it makes perfect sense to set CentOS up as your go-to Web server. It&#8217;s reliable, it&#8217;s stable, it&#8217;s extensible, and it&#8217;s secure.</p><p>But setting up a secure web server isn&#8217;t complete without the inclusion of SSL and certificates. If you are wanting to serve up sercure web pages you will certainly want your audience to be able to send them to https instead of http. So&#8230;with CentOS how do you do that? I will show you how.</p><p><span
id="more-37618"></span><strong>Installing all of the packages</strong></p><p>I will assume you already have CentOS installed as well as the Apache Web Server. Make sure you are able to go to the default Apache web page (or any web page on your CentOS web server), before you set up SSL. When you have all of that working you will need to install a couple of packages. This is done with the following steps:</p><ol><li>Open up a terminal window.</li><li>Su to the root user.</li><li>Issue the command <code>yum install mod_ssl openssl</code>.</li><li>Let the installation complete.</li></ol><p>With SSL installed and ready, it&#8217;s time to create your certificates for usage.</p><p><strong>Creating your certificate</strong></p><p>You will now have everything on your server to create CAs. You need to generate a private key, a csr, a self-signed key, and then you need to copy these files to the correct location. This is done with the following steps.</p><ol><li>Open up a terminal window.</li><li>Su to the root user.</li><li>Generate the private key with the command <code>openssl genrsa -out ca.key 1024</code>.</li><li>Generate the csr with the command <code>openssl req -new -key ca.key -out ca.csr</code>.</li><li>Generate the self-signed key with the command <code>openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt</code>.</li><li>Move the self-signed key with the command <code>cp ca.crt /etc/pki/tls/certs</code>.</li><li>Move the private key with the command <code>cp ca.key /etc/pki/tls/private/ca.key</code>.</li><li>Move the csr with the command <code>cp ca.csr /etc/pki/tls/private/ca.csr</code>.</li></ol><p><strong>Edit the Apache SSL configuration</strong></p><p>Open the file <strong>/etc/httpd/conf.d/ssl.conf </strong>and look for the section <em>SSLCertificateFile. </em>Make sure that line reads:</p><p><code>SSLCertificateFile /etc/pki/tls/certs/ca.crt</code></p><p>Now look for the <em>SSLCertificateKeyFile</em> and make sure that section reads:</p><p><code>SSLCertificateKeyFile /etc/pki/tls/private/ca.key</code></p><p>Save that file and you are ready to restart Apache.</p><p><strong>Restart and test</strong></p><p>Before you try to test Apache&#8217;s new SSL feature, you must restart the daemon. To do this issue the command <em>/etc/rc.d/init.d/httpd restart</em>. Hopefully you will see no warnings or errors. If not, then point your browser to https://ADDRESS_TO_SERVER Where ADDRESS_TO_SERVER is either the IP Address or the domain. You should then see a warning from your browser about the certificate for the site. If you see this warning congratulations, your Apache server is now ready for secure connections.</p><p>Remember, though, you created a self-signed certificate. To get the most out of SSL you might want to purchase a CA from a trusted name like <a
href="http://www.verisign.com/" target="_blank">Verisign</a> (There are, of course, plenty of other places where you can purchase those certifiacates).</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/12/05/add-ssl-to-centos-web-server/feed/</wfw:commentRss> <slash:comments>5</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>Creating self-signed certificates with gnoMINT</title><link>http://www.ghacks.net/2010/07/30/creating-self-signed-certificates-with-gnomint/</link> <comments>http://www.ghacks.net/2010/07/30/creating-self-signed-certificates-with-gnomint/#comments</comments> <pubDate>Fri, 30 Jul 2010 18:21:33 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[certificate authority]]></category> <category><![CDATA[certificates]]></category> <category><![CDATA[SASL]]></category> <category><![CDATA[server security]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=28921</guid> <description><![CDATA[I do a lot of work with Linux servers. Many of those servers are either web or mail that require the use of a signed certificate for authentication. In some of these cases a CA authorized certificate is necessary. In other cases though a self-signed certificate can be used. I can generate a self-signed certificate [...]]]></description> <content:encoded><![CDATA[<p>I do a lot of work with Linux servers. Many of those servers are either web or mail that require the use of a signed certificate for authentication. In some of these cases a CA authorized certificate is necessary. In other cases though a self-signed certificate can be used. I can generate a self-signed certificate by command line pretty easily&#8230;but not everyone wants to take the time to learn how to do this. For those that want to ease of a user-friendly GUI tool to generate their certificates there are a few tools. Not all of these tools work. The KDE tool Kleopatra is horribly broken. The GNOME tool gnoMINT, on the other hand, works flawlessly.</p><p>In this article I am going to show you how to install and use gnoMINT to generate your very own self-signed certificates that can be used for your web or email (or whatever) servers. NOTE: This article is not about showing you how to add those certificates to your various servers, but how to generate those certificates that can then be applied.</p><p><span
id="more-28921"></span><strong>Installation</strong></p><p>The installation of gnoMINT is simple. Just follow these directions:</p><ol><li>Open up you Add/Remove Software tool.</li><li>Search for &#8220;gnomint&#8221; (no quotes).</li><li>Mark the tool for installation.</li><li>Click Apply to install.</li></ol><div
id="attachment_28941" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/07/gnomint_main.png"><img
class="size-medium wp-image-28941 " src="http://www.ghacks.net/wp-content/uploads/2010/07/gnomint_main-500x430.png" alt="" width="300" height="258" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Once you have gnoMINT installed you will find it located in <strong>Applications &gt; System Tools</strong>. Let&#8217;s take a look at the process for creating a self-signed certificate now.</p><p><strong>Creating a certificate</strong></p><div
id="attachment_28942" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/07/gnomint_cert.png"><img
class="size-medium wp-image-28942  " style="margin: 5px" src="http://www.ghacks.net/wp-content/uploads/2010/07/gnomint_cert-500x301.png" alt="" width="300" height="181" /></a><p
class="wp-caption-text">Figure 2</p></div><p>When you open up the gnoMINT application you will see a fairly minimal window (see Figure 1). In this new window you can create a new certificate by clicking <strong>Certificate &gt; Add &gt; Self-signed CA</strong>. When you do this a new window will open (see Figure 2) requiring the standard information for CAs.</p><p>Once you have entered all the necessary information in this window a smaller window appearing needing just a few more details about this certificate. The details you will need are:</p><ul><li>Private key type: RSA or DSA.</li><li>Prive key bit length: 2048 is the default.</li><li>Months before root certificate expiration: 240 is the default. You can <strong>not</strong> set to this to zero and assume it will not expire.</li></ul><p>After you create your certificates they will be listed in the main window.</p><p><strong>Exporting your certificates</strong></p><div
id="attachment_28943" class="wp-caption alignleft" style="width: 287px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/07/gnomint_export.png"><img
class="size-full wp-image-28943 " src="http://www.ghacks.net/wp-content/uploads/2010/07/gnomint_export.png" alt="" width="277" height="278" /></a><p
class="wp-caption-text">Figure 3</p></div><p>Although we are not going to discuss how you would add these certificates to your server needs, I do want to mention the export process. From the main window if you right-click a certificate you can select Export. When you do this a new window will open where you can select what you want to export (see Figure 3). You have four options for export. Make sure you select the correct option that will exactly match your servers&#8217; needs.</p><p>After you export your certificate you will have the necessary files you need and you can simply upload them to your server. You will then need to make sure you configure your server to actually make use of the keys.</p><p><strong>Final thoughts</strong></p><p>Although the process of creating self-signed certificates by command line isn&#8217;t challenging, it&#8217;s nice to have a GUI tool with which to manage these keys. And for those that prefer not to bother learning the command line tools, gnoMINT is and ideal replacement for the command line.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/07/30/creating-self-signed-certificates-with-gnomint/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Add SASL to your Postfix server</title><link>http://www.ghacks.net/2010/07/27/add-sasl-to-your-postfix-server/</link> <comments>http://www.ghacks.net/2010/07/27/add-sasl-to-your-postfix-server/#comments</comments> <pubDate>Tue, 27 Jul 2010 11:32:09 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Email]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Dovecot]]></category> <category><![CDATA[Posfix]]></category> <category><![CDATA[SASL]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=28755</guid> <description><![CDATA[Some time ago I did a series on the Postfix email server here on Ghacks (see the Postfix content on Ghacks for more information). Hopefully you found this outstanding mail server as easy to set up and maintain as I do. But you might have noticed a bit of a challenge using your smtp server [...]]]></description> <content:encoded><![CDATA[<p>Some time ago I did a series on the Postfix email server here on Ghacks (see the <a
title="Postfix content on Ghacks" href="http://www.ghacks.net/index.php?s=postfix" target="_blank">Postfix content</a> on Ghacks for more information). Hopefully you found this outstanding mail server as easy to set up and maintain as I do. But you might have noticed a bit of a challenge using your smtp server outside of your network. Why is that? It is because, by default, Postfix will not authentic untrusted hosts &#8211; and any network outside of yours is an untrusted network. This is done by design &#8211; to keep others from using your SMTP server as a relay for SPAM. So how in the world do you set that Postfix server up so it can be connected to from the outside world? You will probably have users who need to do this.</p><p>When you have users that need access to your SMTP server from outside of your LAN you have to enable SASL (Simple Authentication and Security Layer). In this article I am going to show you how to do just that.</p><p><span
id="more-28755"></span><strong>Assumptions</strong></p><p>Naturally this article will assume you already have a working Postfix server that is both sending and receiving email. This article will describe the process as related to a CentOS 5 server (which makes an outstanding mail server for any size company). I will also assume you have root access to this server (as everything done in this article will need administrative privileges).</p><p><strong>First step</strong></p><p>The first thing you need to do is add a few lines to your <strong>/etc/postfix/main.cf </strong>file. What is needed is the following (add it to the end of the file):</p><p><code>smtpd_sasl_auth_enable = yes<br
/> broken_sasl_auth_clients = yes<br
/> smtpd_sasl_type = dovecot<br
/> smtpd_sasl_path = private/auth<br
/> smtpd_sasl_security_options = noanonymous</code></p><p>The next step is to add <em>permit_sasl_authenticated</em> to the <em>smtpd_recipient_restrictions</em> section of the same file. If you do not have an <em>smtpd_recipient_restrictions </em>section, just create the section like this:</p><p><code>smtpd_recipient_restrictions =<br
/> permit_mynetworks,<br
/> permit_sasl_authenticated,<br
/> reject_unauth_destination</code></p><p><strong>Second step</strong></p><div
id="attachment_28757" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/07/postfix.png"><img
class="size-medium wp-image-28757 " src="http://www.ghacks.net/wp-content/uploads/2010/07/postfix-500x331.png" alt="" width="300" height="199" /></a><p
class="wp-caption-text">Figure 1</p></div><p>The next step is to configure <em>auth default</em> in the authentication processes section (around line 778)  of <strong>/etc/dovecot.conf</strong>. This one is really tricky &#8211; only because this section of the <strong>dovecot.conf </strong>file is heavily commented and already contains some of the lines you will see Figure 1 and below. The code in figure 1 gives an easier representation of what needs to be added to the <strong>dovecot.conf </strong> file. The copy/paste-able text is below:</p><p><code>auth default {<br
/> mechanisms = plain login<br
/> passdb pam {<br
/> }<br
/> userdb passwd {<br
/> }<br
/> user = root<br
/> socket listen {<br
/> client {<br
/> path = /var/spool/postfix/private/auth<br
/> mode = 0660<br
/> user = postfix<br
/> group = postfix<br
/> }<br
/> }<br
/> }</code></p><p>Now it&#8217;s time to restart Postfix with the commands:<br
/> <code>service dovecot restart<br
/> postfix reload</code></p><p><strong>Testing</strong></p><p>It&#8217;s time to see if your setup works. To do this you will need to telnet to your mail server on port 25 like so:</p><p><code>telnet ADDRESS_OF_SERVER 25</code></p><p>Where ADDRESS_OF_SERVER is the actual address of your mail server. Now you need to generate a Base64 username/passcode to do so. This is possible with the help of Perl like so:<br
/> <code>perl -MMIME::Base64 -e 'print encode_base64("00USERNAME00PASSWORD");'</code></p><p>You can insert an actual username/password combination that exists on your server if you like in the command aboe (where you see USERNAME and PASSWORD).</p><p>This will print out a string of characters for you to use in the testing. The testing will look like this:<br
/> <code>telnet ADDRESS_OF_SERVER 25<br
/> Trying 127.0.0.1...<br
/> Connected to localhost.localdomain (127.0.0.1).<br
/> Escape character is '^]'.<br
/> 220 mail.example.com ESMTP Postfix<br
/> <strong>EHLO example.com</strong><br
/> 250-mail.example.com<br
/> 250-PIPELINING<br
/> 250-SIZE 20480000<br
/> 250-VRFY<br
/> 250-ETRN<br
/> 250-AUTH PLAIN LOGIN<br
/> 250-AUTH=PLAIN LOGIN<br
/> 250-ENHANCEDSTATUSCODES<br
/> 250-8BITMIME<br
/> 250 DSN<br
/> <strong>AUTH PLAIN STRING_OF_CHARACTERS</strong><br
/> 235 2.0.0 Authentication successful<br
/> <strong>quit</strong><br
/> 221 2.0.0 Bye<br
/> Connection closed by foreign host.</code><br
/> Where everything in <strong>bold</strong> is what you must enter and STRING_OF_CHARACTERS is the string generated by the earlier Perl command.</p><p><strong>Final thoughts</strong></p><p>If all is good you should have seen <em>Authentication successful</em> in your test. Congratulations, you can now access your SMTP server from outside of your LAN.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/07/27/add-sasl-to-your-postfix-server/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Troubleshoot Domain Account Lockouts With Lockout Fixer</title><link>http://www.ghacks.net/2010/06/28/troubleshoot-domain-account-lockouts-with-lockout-fixer/</link> <comments>http://www.ghacks.net/2010/06/28/troubleshoot-domain-account-lockouts-with-lockout-fixer/#comments</comments> <pubDate>Mon, 28 Jun 2010 13:09:06 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Networks]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[portable software]]></category> <category><![CDATA[windows domain]]></category> <category><![CDATA[windows software]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=27205</guid> <description><![CDATA[The portable software Lockout Fixer is a helpful program for system administrators that aids them in troubleshooting domain account lockouts. The application works similar to Microsoft&#8217;s own tool Lockoutstatus.exe with the exception that it adds features to the troubleshooting process to streamline it. Lockout Fixer for instance allows the administrator to view the audit failure [...]]]></description> <content:encoded><![CDATA[<p>The portable software Lockout Fixer is a helpful  program for system administrators that aids them in troubleshooting domain account lockouts.</p><p>The application works similar to Microsoft&#8217;s own tool Lockoutstatus.exe with the exception that it adds features to the troubleshooting process to streamline it.</p><p>Lockout Fixer for instance allows the administrator to view the audit failure logs that were recorded at the time of the lockout. It furthermore displays event log entries related to lockouts that include the client IP address needed to identify the issue.</p><p><span
id="more-27205"></span><div
id="attachment_27206" class="wp-caption alignnone" style="width: 510px"><img
src="http://www.ghacks.net/wp-content/uploads/2010/06/lockout-fixer-500x394.png" alt="lockout fixer" title="lockout fixer" width="500" height="394" class="size-medium wp-image-27206" /><p
class="wp-caption-text">lockout fixer</p></div></p><p>Lockout Fixer queries domain controllers on startup and displays the available ones in the computer network in the left sidebar. Domain controllers can be selected easily using the available checkboxes.</p><p>Here is how it works. The system administrator checks the servers from the sidebar listing and types in the username of a locked account.</p><p>It is then possible to immediately unlock the account by clicking the unlock account button or to use the check lock out status button to troubleshoot the lockout.</p><p>The lock out time, last bad password time and bad password count are then displayed for each selected domain controller. The timezone is that of the remote computer which is important if some of the servers are located in a different timezone.</p><p>The data that is displayed can be selected again to lookup the audit failure logs of the selected servers.</p><p>The event log query tool can be used separately to enter a computer name to retrieve its logs.</p><p>Two tips are provided by the developer that are helpful in the troubleshooting process.</p><p>Unlocked accounts might still be shown as locked if the account got unlocked after a specific period of time and the user has not logged into the account in the meantime.</p><p>It can also happen that the logs are not displayed for the bad password time that is selected. This can happen if the lockout has been recorded in the log prior to the lockout time / bad password time. It helps in those cases to change the time to a second before the bad password occurred to see the log information.</p><p>Lockout Fixer is a helpful troubleshooting tool for Windows system administrators. It is compatible with 32-bit and 64-bit editions of Microsoft Windows, a download is provided at the developer&#8217;s website over at Lockoutfixer.cz.cc.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/06/28/troubleshoot-domain-account-lockouts-with-lockout-fixer/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Introduction to iptables</title><link>http://www.ghacks.net/2010/06/14/introduction-to-iptables/</link> <comments>http://www.ghacks.net/2010/06/14/introduction-to-iptables/#comments</comments> <pubDate>Mon, 14 Jun 2010 19:48:30 +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[Server]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[chains]]></category> <category><![CDATA[iptables]]></category> <category><![CDATA[linux security]]></category> <category><![CDATA[packet traffic]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=26547</guid> <description><![CDATA[If you&#8217;ve been around Linux long enough you know there are many ways to secure your box. What you may or may not know is that a number of those means are simply front-ends for the all-mighty iptables tool. IPtables is a very powerful, complicated system which can control packet traffic on your system. It [...]]]></description> <content:encoded><![CDATA[<p>If you&#8217;ve been around Linux long enough you know there are many ways to secure your box. What you may or may not know is that a number of those means are simply front-ends for the all-mighty <em>iptables </em>tool. IPtables is a very powerful, complicated system which can control packet traffic on your system. It can deny, reject, allow, route, and do just about anything else you want to do with that traffic&#8230;all from the command line. Of course, along with this power, comes some serious complexity.</p><p>That complexity is what an introductory article is needed. I have seen plenty of users try to just jump into the heart and soul of iptables, only to see them fail miserably. To fully understand iptables one must first understand how iptables is actually used. In this article I will help you to understand the fundamentals of iptables so later on we can further that knowledge with more in-depth scripts and commands.</p><p><span
id="more-26547"></span><strong>What IS iptables?</strong></p><p>As I mentioned earlier, iptables is a powerful way to control packet traffic to and from your Linux box. But how does it manage this?  It does so by creating TABLES made up of CHAINS. There are three types of chains:</p><ul><li>INPUT: Controls packets coming in.</li><li>OUTPUT: Controls packets going out.</li><li>FORWARD: Controls packets that are forwarded.</li></ul><p>These are also applied to the default policies. When you install a Linux operating system it will have three pre-defined iptables chains (one for each of the above).</p><p>Now each chain can handle the packet traffic in one of four different ways (actions):</p><ul><li>ACCEPT: Allow the packet in/out.</li><li>REJECT: The target device will reject the packet.</li><li>DROP: The packet is immediately dropped and the target device never sees said packet.</li><li>RETURN: Go to another chain in your table as if it never saw the rejecting chain.</li></ul><p>So now you have a TABLE made up of CHAINS that use ACTIONS to route traffic. Is this getting any easier? Now, you can also have more than one TABLE on a machine &#8211; but that is far too complex for an introductory article. Your machine will also have a default POLICY for each chain (INPUT, OUTPUT, FORWARD). By default these POLICIES are typically set to the action ACCEPT.</p><p>You must also understand that when a packet arrives on a machine it must traverse the iptables CHAIN until it either matches a CHAIN rule or it passes through all rules unscathed. Because of this you want to create your chains carefully. If you do not you can wind up with traffic you want to ACCEPT getting REJECTed because of a poorly ordered chain. For example:</p><p>Let&#8217;s say you want to ACCEPT all ssh traffic within your internal network safe passage to your machines. But what if you have a CHAIN rule that REJECTS ssh traffic in place before that internal rule? If you do this all internal ssh traffic will be REJECTed as well. In this case you would want your TABLE chain order like so:</p><p>CHAIN ACCEPTing incoming LAN ssh traffic</p><p>CHAIN REJECTing incoming WAN ssh traffic</p><p>Let&#8217;s take a look at how you use <em>itables</em> as a command to create or change POLICY chains.</p><p><strong>Usage</strong></p><div
id="attachment_26554" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/06/iptables_l.png"><img
class="size-medium wp-image-26554 " src="http://www.ghacks.net/wp-content/uploads/2010/06/iptables_l-500x352.png" alt="" width="300" height="211" /></a><p
class="wp-caption-text">Figure 1</p></div><p>If you issue the command <em>iptables -L </em>all of your current chains will be listed like what you see in Figure 1. NOTE: The <em>iptables </em>command MUST be run as either the root user or with the help of <em>sudo.</em></p><p>As you can see, in my output, my TABLE consists of the three default policy CHAINS and each is currently set to the action ACCEPT.  What if I want to change my INPUT policy to DROP? After all, do you want incoming traffic to have total access to your machine? You can set the input POLICY to DROP with the following command:</p><p><em>sudo iptables -P INPUT DROP</em></p><p>What you have effectively done above is set your default INPUT POLICY to REJECT. So without creating any new CHAINS all incoming traffic to that machine will be REJECTED. Here&#8217;s the problem with that&#8230;say, for instance, you want to allow ssh traffic into that machine? If you leave it as is this will not happen. Because you have the INPUT POLICY set to REJECT and you have no other CHAINS in place, no incoming traffic will work. Remember, though, what I said about creating CHAINS in the right order to ensure needed traffic can find safe passage.</p><p><strong>Final thoughts</strong></p><p>Thus begins our journey with iptables. It&#8217;s not the most simple system to employ, but it certainly is powerful.  Is it worth the time and effort when there are so many GUI tools to choose from? That depends upon your needs. If you are working on nothing more than a desktop &#8211; then the GUI front-end will more than likely be enough. If, however, you have a server with mission-critical or sensitive data you might need the extra power and flexibility that iptables brings to the table.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/06/14/introduction-to-iptables/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Save partitions across a network with Partimage</title><link>http://www.ghacks.net/2010/06/02/save-partitions-across-a-network-with-partimage/</link> <comments>http://www.ghacks.net/2010/06/02/save-partitions-across-a-network-with-partimage/#comments</comments> <pubDate>Wed, 02 Jun 2010 11:13:41 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <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[disaster recovery]]></category> <category><![CDATA[ext4]]></category> <category><![CDATA[gparted]]></category> <category><![CDATA[image tools]]></category> <category><![CDATA[linux image]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=25871</guid> <description><![CDATA[In my last article I showed you how to save a partition from a drive to a local image file using the Partimage tool (see my article &#8220;Copy partitions on your system with Partimage&#8220;). And although (as a reader did point out) Partimage is limited by not supporting ext4 file systems, it still has plenty [...]]]></description> <content:encoded><![CDATA[<p>In my last article I showed you how to save a partition from a drive to a local image file using the Partimage tool (see my article &#8220;<a
title="Copy partitions on your system with Partimage" href="http://www.ghacks.net/2010/06/01/copy-partitions-on-your-system-with-partimage/" target="_blank">Copy partitions on your system with Partimage</a>&#8220;). And although (as a reader did point out) Partimage is limited by not supporting ext4 file systems, it still has plenty of uses. One of those uses is copying partitions across a networking. In fact, Partimage has a tool, the Partimage Server, that can be used as a storage facility to hold partitions that can then be imaged onto multiple machines. That can save you quite a bit of time when you are imaging numerous systems. This can bring much relief in disaster recovery as well as desktop or server rollout.</p><p>In this article I am going to show you how to set up the Partimage Server as well as save an image to it from a remote machine.</p><p><span
id="more-25871"></span><strong>Assumptions</strong></p><p>You will need to make sure the system you are imaging is NOT an ext4 machine (this would leave out Ubuntu 10.04 and Fedora 13 for sure). You will also need an IP address for your server as well as super user access in order to run Partimage. Finally you will need to make sure your server has plenty of room to store the image file(s) it is to house.</p><p><strong>Installation</strong></p><p>You&#8217;ve already installed Partimage in the previous article. But you did not install the server. In order to install the server on Ubuntu do the following:</p><ol><li>Open up a terminal window.</li><li>Issue the command <em>sudo apt-get install partimage-server </em></li><li>Enter your sudo password.</li></ol><p>That&#8217;s it. If you are installing on Fedora you would have to <em>su </em>to the root user and issue the command <em>yum install partimage-server</em>. On OpenSuSE that command would be <em>zypper install partimage-server</em>.</p><p><strong>Configuring the server</strong></p><p>There is very little to configure for the server. What you will need to do is open up the file <strong>/etc/partimaged/partimagedusers</strong> and add a user to that file that will be used to authenticate from the clients. The user you add MUST have an account on the Partimage server machine. There is nothing fancy about the user setup, you just add the user (or users) one per line in the file, save, and close the file.</p><p>Once you have added that user it&#8217;s time to start the server. Do this with the command <em>/etc/init.d/partimaged restart</em>. The server will start and you are ready to go.</p><p><strong>Connecting to the server</strong></p><div
id="attachment_25872" class="wp-caption alignleft" style="width: 309px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/06/partimage_server.png"><img
class="size-medium wp-image-25872 " src="http://www.ghacks.net/wp-content/uploads/2010/06/partimage_server-499x354.png" alt="" width="299" height="212" /></a><p
class="wp-caption-text">Figure 1</p></div><p>If you refer back to the original article you will see how to get to this step. It is very similar to creating the image on the local machine, only you will select the option for Connect to server (see Figure 1).</p><div
id="attachment_25874" class="wp-caption alignright" style="width: 309px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/06/partimage_login.png"><img
class="size-medium wp-image-25874 " src="http://www.ghacks.net/wp-content/uploads/2010/06/partimage_login-499x354.png" alt="" width="299" height="212" /></a><p
class="wp-caption-text">Figure 2</p></div><p>Once you have filled out that information, click F5 to continue one. You will then be asked for the username/password for the user you added to the partimagedusers file. After you enter that information (see Figure 2), tab down to the OK button and hit Enter to continue on.</p><p>After the login succeeds Partimage will continue on as it did when you were saving that partition to the local drive. And when it completes, you will have an image of that system stored on your Partimage Server.</p><p><strong>Final thoughts</strong></p><p>Even though there is no support for ext4 file systems, Partimage does support many other types, making it a very useful tool. I would like to think that ext4 would be rolled into the system in the future, but there is not much indicating this is the case. That would also make me believe newer file systems will also not be supported. If this is the case, I hope a new tool like Partimage will arrive on the scene that will support ext4 and btrfs file systems.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/06/02/save-partitions-across-a-network-with-partimage/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Set up infinote server for collaborative use</title><link>http://www.ghacks.net/2010/05/03/set-up-infinote-server-for-collaborative-use/</link> <comments>http://www.ghacks.net/2010/05/03/set-up-infinote-server-for-collaborative-use/#comments</comments> <pubDate>Mon, 03 May 2010 20:52:06 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[collaborative server]]></category> <category><![CDATA[GNOME]]></category> <category><![CDATA[gobby]]></category> <category><![CDATA[KDE]]></category> <category><![CDATA[Kobby]]></category> <category><![CDATA[text editor]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=25096</guid> <description><![CDATA[If you&#8217;ve followed my recent text editor series you will have noticed I included a text editor that is also a collaborative tool (see my article &#8220;Kobby: KDE collaborative text editor&#8220;). In that article I mentioned that Kobby can work with the GNOME equivalent Gobby. But to do so they need a server running. The [...]]]></description> <content:encoded><![CDATA[<p>If you&#8217;ve followed my recent text editor series you will have noticed I included a text editor that is also a collaborative tool (see my article &#8220;<a
title="Kobby: KDE collaborative text editor" href="http://www.fabianrodriguez.com/blog/2010/02/05/gobby-server-in-3-steps/" target="_blank">Kobby: KDE collaborative text editor</a>&#8220;). In that article I mentioned that Kobby can work with the GNOME equivalent Gobby. But to do so they need a server running. The best server for that service &#8211; Infinote. Infinote is the new protocol used in Gobby (replacing the out of date obby) and is put in place with the libinfnity package. Without this package you would have a difficult (if not impossible) time getting Kobby and Gobby to communicate with one another.</p><p>In this article I am going to show you how to install and run an infinote server so that Kobby and Gobby can communicate with one another.</p><p><span
id="more-25096"></span><strong>Installation</strong></p><p>There are two packages you must install for this to work. One of those packages will have been installed when you install Gobby. That package is libinfinity. If you did not install Gobby on the machine that will act as your infinote server you will need to install the libinfinity package as well as the package listed below. Follow these steps for installation:</p><ol><li> Fire up your package management system (Synaptic, Ubuntu Software Center, gnome-packagekit, etc).</li><li>Search for &#8220;infinoted&#8221; (no quotes).</li><li>Mark infinoted for installation.</li><li>Click Apply to install.</li></ol><p>That&#8217;s it! You are now ready to begin.</p><p><strong>Usage</strong></p><p>There are two ways to use infinoted: with or without encryption. If you want to offer password-protected sessions you will have to run with encryption. No passwords = no encryption. Let&#8217;s start off with the non-encrypted session first.</p><p>To launch an encryption-less session open up a terminal window and issue the following command:</p><p><em>infinoted &#8211;security-policy=no-tls</em></p><p>NOTE: When launching this session you will not be returned your prompt. Even if you add the &#8220;&amp;&#8221; to the end of your prompt (which usually places the command in the background) you still won&#8217;t get your prompt back. When you issue this command the command will instruct you which port the server is listening on. By default infinoted will listen to port 6523 (in case you do not issue the command from the terminal window &#8211; more on that in a bit).</p><p>Now let&#8217;s take a look at starting the server with encryption. To do this you will issue two commands, the first command creates the necessary keys, the second launches the daemon. Let&#8217;s take a look at the commands. The first command:</p><p><em>infinoted &#8211;create-key &#8211;create-certificate -k KEY_NAME.pem  -c CERT_NAME.pem</em></p><p>Where KEY_NAME is the name of the key and CERT_NAME is the name of the certificate. When you issue that command infinoted will generate the necessary key/cert pair and then you are ready to start the server with the command:</p><p><em>infinoted -k key.pem  -c cert.pem</em></p><p>Now when you start up your Gobby and/or Kobby instances, you can host your server with password protection.</p><p><strong>Starting your server</strong></p><p>If you are like me, you don&#8217;t want to have a terminal window open in order to run the server. No matter which type of server you run (with or without encryption), you can add the startup line to your <strong>/etc/rc.local</strong> file so the server will start up at boot. If you don&#8217;t want to go that route you can always just hit &lt;Alt&gt;F2 and then enter the run line in the command dialog box.</p><p><strong>Final thoughts</strong></p><p>If you are looking for a very simple way to host a collaborative server for Gobby or Kobby, the Infinoted server is all you need for simplicity and reliability. Once the server is up and running all you will have to do is point your clients to the server (and the correct port) and your clients will be collaborating immediately.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/05/03/set-up-infinote-server-for-collaborative-use/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Luckybackup: Linux backup made easy</title><link>http://www.ghacks.net/2010/04/13/luckybackup-linux-backup-made-easy/</link> <comments>http://www.ghacks.net/2010/04/13/luckybackup-linux-backup-made-easy/#comments</comments> <pubDate>Tue, 13 Apr 2010 11:39:04 +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 Basic]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[network backup]]></category> <category><![CDATA[remote backup]]></category> <category><![CDATA[rpm]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=24492</guid> <description><![CDATA[There are a lot of backup tools out there. From the overly simple to the overly complex. Many of those backup tools go unnoticed and unused. Some of them get recognized as the outstanding projects they are. One of those tools is Luckybackup. This tool was awarded Sourceforge&#8217;s best new project of 2009. There is [...]]]></description> <content:encoded><![CDATA[<p>There are a lot of backup tools out there. From the overly simple to the overly complex. Many of those backup tools go unnoticed and unused. Some of them get recognized as the outstanding projects they are. One of those tools is Luckybackup. This tool was awarded Sourceforge&#8217;s best new project of 2009. There is a reason for that. Luckybackup is a simple to use backup tool that can backup both to a local machine and to a remote machine &#8211; with a user-friendly gui and all the features you would expect in a backup tool.</p><p>You might think that Luckybackup is a tool only an end-user could love. Not so. Although Luckybackup is simple to use, open source, and free it&#8217;s a worthy candidate for business backup as well. Oh sure, you&#8217;re not going to image your machines with this backup tool, but you can backup your data. In this article I am going to show you how to install and use Luckybackup.</p><p><span
id="more-24492"></span><strong>Installation</strong></p><p>Installation is simple. If you&#8217;re lucky Luckybackup will be found in your distributions repositories. If that&#8217;s the case, just fire up your package manager tool, search for &#8220;luckybackup&#8221; (No quotes), select Lucky Backup for installation, and click apply. That&#8217;s it. If you&#8217;re not luck, and Lucky Backup isn&#8217;t in your repositories, then you will have to go to the <a
title="Lucky Backup download page" href="http://luckybackup.sourceforge.net/download.html" target="_blank">Lucky Backup download page</a> and download the binary for your distribution. Once you have that file it&#8217;s as simple as either letting your browser auto-detect and let a tool like GDebi install the package, or install from command line like so:</p><p><em>rpm -ivh luckybackup-XXX.rpm </em></p><p>Where XXX is the release number.</p><p><strong>Using Lucky Backup</strong></p><div
id="attachment_24499" class="wp-caption alignleft" style="width: 294px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/04/luckybackup_main.png"><img
class="size-medium wp-image-24499 " src="http://www.ghacks.net/wp-content/uploads/2010/04/luckybackup_main-474x499.png" alt="" width="284" height="299" /></a><p
class="wp-caption-text">Figure 1</p></div><p>I am going to walk you through the steps for creating a remote backup using Lucky Backup. The remote backup I am going to illustrate uses ssh for the network transportation. For simplicities sake I am going to illustrate how you can do a backup with user intervention. To really make this work, you will want to set up password-less secure shell communication. You can see how this is done in my article &#8220;<a
title="Five handy secure shell tips and tricks" href="http://www.ghacks.net/2009/10/17/five-handy-secure-shell-tips-and-tricks/" target="_blank">Five handy secure shell tips and tricks</a>&#8220;.</p><p>Once installed open up a terminal window and issue the command <em>luckybackup</em>. This command will open up the user-friendly gui (see Figure 1) where you add all of the backups you want to create.</p><p>Let&#8217;s walk through the steps of creating an ssh-based backup.</p><p><strong>Step 1: </strong>Click the Add button.</p><p><strong> </strong></p><p><strong></p><div
id="attachment_24500" class="wp-caption alignright" style="width: 288px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/04/luckybackup_backup.png"><img
class="size-medium wp-image-24500 " src="http://www.ghacks.net/wp-content/uploads/2010/04/luckybackup_backup-464x500.png" alt="" width="278" height="300" /></a><p
class="wp-caption-text">Figure 2</p></div><p><span
style="font-weight: normal">Step 2: </span></strong>Fill in the necessary pieces of information in the new window (see Figure 2). This information will include:</p><ul><li>Name: Name to give the backup.</li><li>Type: Full or incremental.</li><li>Source: What you want to backup.</li><li>Destion: Directory on local or remote host to store backup.</li></ul><p>REMOTE TAB:</p><ul><li>User remote host: Check this box.</li><li>Destination: Check this box.</li><li>User: Username on remote machine.</li><li>Host: IP Address of remote machine</li><li>Ssh: Check this box.</li></ul><p><strong>Step 3: </strong>Click Okay to save your settings.</p><p><strong>Step 4: </strong>Click Start to begin the backup process.</p><p>If your backup was setup correct you will immediately be informed such and, in the terminal window where you started Lukcybackup from, you will prompted for the remote users password. Enter the password in that terminal window and hit enter. Your backup will begin.</p><p>As I mentioned earlier, to avoid having to be prompted for your password (this will be necessary for scheduled backup) you will need to set up password-less secure shell.</p><p><strong>Final thoughts</strong></p><p>That was simple. That is exactly how a backup tool should work. Give Lucky Backup a try, you may not find a Linux backup tool as simple to use.</p><p><strong><br
/> </strong></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/04/13/luckybackup-linux-backup-made-easy/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> <item><title>Final stages of the eGroupware Installation</title><link>http://www.ghacks.net/2010/04/13/final-stages-of-the-egroupware-installation/</link> <comments>http://www.ghacks.net/2010/04/13/final-stages-of-the-egroupware-installation/#comments</comments> <pubDate>Mon, 12 Apr 2010 22:27:34 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></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[calendar]]></category> <category><![CDATA[egroupware]]></category> <category><![CDATA[ERP]]></category> <category><![CDATA[groupware]]></category> <category><![CDATA[HRM]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=24425</guid> <description><![CDATA[We are plowing forward with the eGroupware installation. We have already been introduced to eGroupware (see my article &#8220;eGroupware: Your Exchange replacement has arrived&#8220;), we have also seen how to take care of all the prerequisites (see my article &#8220;How to install eGroupware&#8220;), and finally we&#8217;ve seen how to create the header.inc.php (see my article [...]]]></description> <content:encoded><![CDATA[<p>We are plowing forward with the eGroupware installation. We have already been introduced to eGroupware (see my article &#8220;<a
title="eGroupware: Your Exchange replacement has arrived" href="http://www.ghacks.net/2009/01/21/egroupware-your-exchange-replacement-has-arrived/" target="_blank">eGroupware: Your Exchange replacement has arrived</a>&#8220;), we have also seen how to take care of all the prerequisites (see my article &#8220;<a
title="How to install install eGroupware" href="http://www.ghacks.net/2010/04/11/how-to-install-egroupware/#comment-1032803" target="_blank">How to install eGroupware</a>&#8220;), and finally we&#8217;ve seen how to create the header.inc.php (see my article &#8220;<a
title="Create your header.inc.php in eGroupware" href="http://www.ghacks.net/2010/04/11/how-to-install-egroupware/#comment-1032803" target="_blank">Creating your header.inc.php for eGroupware</a>&#8220;). Now it&#8217;s time to continue on with the installation and take care of simple application management.</p><p>In this article I am going to walk you through the section of the eGroupware installation that takes care of the final stages of the eGroupware installation. Once you are done with that, your eGroupware site will be ready to go.</p><p><span
id="more-24425"></span><strong>Where are we?</strong></p><div
id="attachment_24426" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/04/egroupware_stages.png"><img
class="size-medium wp-image-24426 " src="http://www.ghacks.net/wp-content/uploads/2010/04/egroupware_stages-500x397.png" alt="" width="300" height="238" /></a><p
class="wp-caption-text">Figure 1</p></div><p>The last thing you did was create the configuration file <strong>/var/www/egroupware/header.inc.php</strong>. Now it&#8217;s a matter of finishing up the installation from a page that is set up in stages (see Figure 1). You will have logged in by now and are ready to take care of the first stage in this final step.</p><p><strong>Stage 1: </strong>The first stage is to create the database. You have to supply the charset, DB root username, and DB root password. For the charset, just let it as the default. The username/password will be for the username that can connect to the database you created for this setup. Once you have entered that information click Create Database. You should get the warning: <em>Your database is working, but you don&#8217;t have any applications installed. </em>When you do get that warning you will also see a button labeled <em>Install all applications.</em> You are now ready to click that button.</p><p><strong>Stage 2: </strong>When you click the <em>Install all applications button</em>. When this</p><div
id="attachment_24427" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/04/egroupware_setup.png"><img
class="size-medium wp-image-24427 " src="http://www.ghacks.net/wp-content/uploads/2010/04/egroupware_setup-500x300.png" alt="" width="300" height="180" /></a><p
class="wp-caption-text">Figure 2</p></div><p>stage finishes you should see <em>If you did not receive any errors, your applications have been installed. </em>At that point click the <em>Re-check my installation </em>button. Now your setup page should look similar to that in Figure 2. As you can see there are only two stages left in the installation.</p><p><strong>Stage 3: </strong>As you can see, in the Step 2 Configuration section we have neglected to create a couple of directories. This is simple. Open up a console window and issue the following commands:</p><ul><li>sudo mkdir /opt/egroupware</li><li>sudo mkdir /opt/egroupware/default/</li><li>sudo mkdir /opt/egroupware/default/files</li><li>sudo mkdir /opt/egroupware/default/backup</li><li>sudo chmod -R 777 /opt/egroupware</li></ul><p>Now, oddly enough, we need to click on the Edit Current Configuration button and enter the following:</p><p>Full path for users and group files: /opt/egroupware/default/files</p><p>Full path to the backup directory: /opt/egroupware/default/backup</p><p>Click Save and you should be complete. Of course those directories could have been created during the prerequisite stage of the install, but I wanted to highlight how you could go back and re-configure at any stage of the installation. NOTE: If there are any other issues in your Current Configuration, now is the time to take care of them.</p><p><strong>Stage 4: </strong>The final step is to click on the Create an Admin Account button. When you click on that you only need fill out the information for the admin account. All of the information is straight forward. You will notice two check boxes. One is to allow the admin access to all installed applications. Although they warn you this can be annoying, I tend to prefer it this way so my admin user can see everything. You can also opt to have eGroupware create demo accounts. This is users choice. You will be creating accounts anyway &#8211; so this is up to you.</p><p>That should do it. When you click Save on this you should have all green checks and be ready to log into your eGroupware installation. You will find a TON of stuff to configure now. Start playing around and see what eGroupware has to offer.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/04/13/final-stages-of-the-egroupware-installation/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
