How to compare the content of two folders automatically

Many of us end up, inevitably, with so many files and folders that it is impossible to keep them under control without some specialized help. Luckily, as I’ll show you in a moment, under Linux there are several, very efficient solutions to this problem.

Multiple copies of many files, scattered all over the computer, waste space, create confusion, and slow down desktop indexers like DocFetcher. I have already explained how to find and remove the unwanted extra copies here.

When it comes time to clean up your folders and files, a common problem crops up: how can I find where duplicate files and folders exist between multiple directories? The problem is both more complex and much more common than it may appear at first sight. A directory may contain many, many levels of sub-directories, each with thousands of files of all sorts. Trying to figure out manually the differences between two directory trees like those could take days.
Continue reading

How to Password Protect Redmine using mod_perl, Apache and Redmine.pm – HOWTO

Currently I was required to password-protect some sort of Redmine setting up. I’ve commonly used mod_auth_mysql intended for similar initiatives, but Redmine relies on a salted code format that’s incompatible having mod_auth_mysql. And so, I taken on Apache/Perl authentication, a first in my opinion (When i rarely hint Perl) and could make the item work.
Continue reading

How to Dual Boot Windows 8 and Linux Mint on the Same PC – Howto

In the event you’re an serious operating process geek, you may need to test available both Microsoft windows 8 in addition to Linux Mint. Here’s learn to get the very best of both equally by dual-booting Linux Mint with all your Windows 8 setting up.

Before most of us start there may be a few things that you’ll need:

10GB connected with free space with your drive
This Linux Mint DISC, from in this article (x86) or maybe here (x64), burnt into a DVD.
About half-hour of time to yourself
Continue reading

How To Install VMware Server On OpenSUSE Linux 10.3

bold writing are command that you need to enter

red letting are command that you need to issue as root

  1. click on Computer > More Applications > YaST

  2. Put in root password for YaST

  3. Scroll down until you see Software Management and single click on it

  4. Check for the following software. If you don’t have it installed, install it

    1. kernel-source

    2. gcc

    3. gcc-c++

    4. make (This is most likely already installed, but just to double check)

  5. Continue reading

Howto: Create a Linux Box for Your Mom (50+ Resources)

Here is a great article from virtualhosting.com discussing some good resources for “getting your mom on linux”. Great idea!

By Jessica Hupp

For most computer literate children, a request from mom to get her set up on “this web thing” is met with panic and a feeling of drudgery. Are you about to expose your sweet mother to spam, phishing, viruses, or worse? Or perhaps more frightening, sign your life away as a 24/7 tech support center? Perhaps, but there’s a better way. By setting your mom up on a Linux machine, you can give her a safe, lean computing experience that will let her do all of the things she wants to do without giving you a nervous breakdown. Here, we’ve compiled over 50 of the best resources to help you get your mom on Linux without a whole lot of trouble.

Systems & Environments

With these systems and environments, you can get your mom set up with low maintenance and friendly interfaces.

  1. SimplyMEPIS: SimplyMEPIS is low-maintenance and great for Linux beginners.
  2. Linspire: Linspire is the “World’s Easiest Desktop Linux,” with a familiar look and feel for Windows users.
  3. Mandriva: Mandriva Linux was specifically designed to offer ease of use for new users.
  4. Ubuntu: One of the most popular Linux distributions, Ubuntu is stable and easy to use.
  5. KDE: The K Desktop Environment is easy to use, and offers basic desktop functions.
  6. Ximian Desktop: Ximian offers a simple layout, with large icons that are great for elderly users.
  7. Lycoris: This distribution looks a lot like windows, and offers great ease of use.
  8. SuSE: With SuSE, you’ll got lots of popular open source software like OpenOffice, Kaffeine, and more.
  9. GNOME: In this desktop environment, you’ll find an extremely usable GUI.

Continue reading

Reduce Apache Load With lighttpd On Debian Etch Linux

Lighttpd, sometimes pronounced “Lighty”, is a lightweight HTTP server that can help alleviate Apache’s load by serving static content. Since Lighttpd uses less resources per request than Apache, it generally serves most static content faster than Apache. This tutorial shows how to install Lighttpd behind Apache via Apache´s proxy module.

No guarantee that this will work for you!

1 Requirements

To install such a system you will need the following:

2 Setting up lighttpd

Once Lighttpd is installed, you’ll have to modify the configuration file to use it

vi /etc/lighttpd/lighttpd.conf

#bind to port (Default: 80)
server.port = 81

 Continue reading 

Installing Lighttpd With PHP5 And MySQL Support On Fedora 8

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Last edited 01/11/2008

Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a Fedora 8 server with PHP5 support (through FastCGI) and MySQL support.

I do not issue any guarantee that this will work for you!

1 Preliminary Note

In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate.

2 Installing MySQL 5.0

First we install MySQL 5.0 like this:

yum install mysql mysql-server

Then we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server:

chkconfig –levels 235 mysqld on
/etc/init.d/mysqld start

Continue reading

Install Apple Safari Browser On Ubuntu Linux 7.10 With PlayOnLinux

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Last edited 01/18/2008

This guide explains how you can install Apple’s Safari browser on Ubuntu 7.10. As there is no Linux version of Safari, we will run it under Wine. We will use a tool called PlayOnLinux to install Safari under Wine. With PlayOnLinux you can install lots of Windows games and some Windows applications (such as Office 2003, IE6, MS Money, etc.) on Linux. Installing Safari on Linux is good for people such as web designers who have switched to Linux but still need to test their web sites in other browsers.

I do not issue any guarantee that this will work for you!

1 Installing PlayOnLinux

Open Firefox and go to http://www.playonlinux.com/en/download.html. Click on the link reading Click here for the .deb package:

In the Firefox download dialogue, select Open with GDebi Package Installer (default):

Click to enlarge

Continue reading

3 Ways To Access Linux Partitions (ext2/ext3) From Windows On Dual-Boot Systems

Three Ways To Access Linux Partitions (ext2/ext3) From Windows On Dual-Boot Systems

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Last edited 12/20/2007

If you have a dual-boot Windows/Linux system, you probably know this problem: you can access files from your Windows installation while you are in Linux, but not the other way round. This tutorial shows three ways how you can access your Linux partitions (with ext2 or ext3 filesystem) from within Windows: Explore2fs, DiskInternals Linux Reader, and the Ext2 Installable File System For Windows. While the first two provide read-only access, the Ext2 Installable File System For Windows can be used for read and write operations.

Continue reading

Install Ruby On Rails and getting started

Getting Started With Ruby On Rails

Installing Ruby on Rails (RoR) on windows, OSX and Linux. Generally there are 3 installations: OSX, Windows and Linux, and Linux install is the most easy one.

Windows:

Go to http://www.rubyonrails.org/, and download the package containing gems (windows installer).

Install the package.

Update the gem system via:

gem update –system

Update installed gems via:

gem update

When this is done install the relevant gems. I would suggest the following as a minimum:
*rails (for the framework)
Please note, that rails 2.02 is the newest version, you can install an older version via

gem install v1.2.6 rails

*mysql (for database assess)
*mongrel (webserver better when webrick)

When asked for the version you want to use, choose the newst version, that has win32 in the option.

OSX 10.4 and 10.5

Go to http://www.macports.org/ and download the correct version of the file (tiger/leopard).

Read through the installation guide: http://www.macports.org/install.php

Quick guide:
Install the correct xcode for your system.
Install the macports program (this can take a little while)
When done, do:

sudo port install ruby
sudo port install rb-gems (enabling gems under ruby)
sudo gem install rails (framework)
sudo port install rb-mysql (mysql for use under RoR)
sudo gem install mongrel (webserver)
sudo port install subversion (for easy install for remote plugins)

Linux (Ubuntu like / Debian based)

sudo apt-get update && sudo apt-get upgrade (getting newst list, and updateing software before continuing).
sudo apt-get install ruby subversion mysql libmysql-ruby1.8

sudo gem install rails
sudo gem install mongrel

And you should be set to go.

IDE for use with RoR:
Textmate (OSX), has very poor subversion integration, but good RoR integration
Not free
Eclipse (good integration, via plugins)
http://www.eclipse.org/ download plugins via Aptana website, for RoR support.
Free

Aptana (good integration via plugins) http://www.aptana.com/
complete IDE, eclipse based. Free
IDEA (good integration via plugins)
Complete IDE suite, with great integration of subversion, mysql and even jira for bugtracking.
Professional, but expensive.

Remeber to point your IDE to where your RoR / rails is installed for best integration:
Windows most often: c:\ruby\bin
OSX: /opt/local/
Linux: /usr/bin/ruby

Errors:

Linux:

sudo gem update –system

Which introduced this error:

/usr/bin/gem:23: uninitialized constant Gem::GemRunner(NameError)

whenever I tried to run rubygems. On the rails forum, I found a fix for it!. Simply add the line to the file /usr/bin/gem (may be different on a mac):

require 'rubygems/gem_runner'

after

require 'rubygems'

Source: http://www.nickpeters.net/2007/12/31/fix-for-uninitialized-constant-gemgemrunner-nameerror/

This error when installing gems:

extconf.rb:1:in `require’: no such file to load—mkmf (LoadError)

from extconf.rb:1.

Do:

sudo apt-get install ruby1.8-dev