Weblog
Thoughts which doesn't affect the world's peace

Archive for the ‘Linux’ Category

Passwordless ssh login

Thu ,16/12/2010

It’s frustrating to enter your password over and over again over multiple boxes when you need speed or just if you have to issue commands frequently. One way to avoid this hustle is to enable passwordless ssh login. Note that this should be done in a secured network, where no outside access is possible, as this is security issue you have to consider otherwise!

Before we start, there is something to be configured on the remote box.

(more…)

Using fuse file system over SSH

Thu ,16/12/2010

Did you ever had to check multiple directories on multiple linux boxes, to copy or maintain files on all of them and even create a batch files to automate your tasks?

Here is a simple way to implement grsync (graphical rsync backend) with fuse file system over ssh for (graphical) backup of certain directories:

(more…)

Find and remove multiple files

Wed ,08/12/2010

Under *nix operating system, there is a command to find files and folders, called the same way – find.

Are you tired of all the windows users browsing through images and creating “Thumbs.db” files?

Here is how you can remove these files with just one command:

(more…)

Apache2, .htaccess, mod_rewrite

Mon ,08/02/2010

In apache2 you can’t use .htaccess files by default. That’s just fine, security-wise, but not if you really need to use them.
In the general case, you should put your mod_rewrite or any other .htaccess rules in your httpd config (if you have access to it).
If you need to add mod_rewrite rules to a .htaccess file, you should look for the following:
(more…)

Backspace in Firefox for linux

Wed ,27/01/2010

 One common thing about using multiple operating systems is that you are used to one shortcuts in one operating system and would like to have the same in all others.
However, Firefox in some linux distributions does not have the “usual” behaviour of the backspace key – to return  you to the previous browsed page.
Luckily, this is a easy tweak and you don’t even have to restart firefox, your GUI or reboot.
(more…)

Help! Gnome menu missing!

Mon ,25/01/2010

Recently there has been problem found with gnome menus – on applications such as evolution and pidgin, the main menu disappeared.

Apparently, this is a bug in the gnome desktop environment.

The solution:
(more…)

Logwatch mail notifications

Mon ,30/11/2009

Have you ever felt like uninstalling your mail server after you’ve received another dozen of these “Logwatch for…..” type of mails? That wouldn’t really be necessary, here is how you can do that “safely”:

(more…)