Jul 122012
 

I just realized that I’ve never written anything about one of my favorite commands on the Linux shell: locate.
This command take as input the name (or part of it) and instantly it gives you all the locations where that file is located, an alternative to this could be to use the command find, but there is an huge difference in the time that takes find to search large file systems in comparison to a locate, this difference is given from the fact that locate uses his own database where it stores all the file names, while find scan the directory and looks for the file name you have given as input.
Continue reading »

Flattr this!

Jul 092012
 

OpenDNS is a popular DNS provider used widely both in the server as in home desktop, one of the feature they provide to their customer is DNSCrypt, a security enhancement that should add protection against all DNS based attacks, such as cache poisoning.

In the same way the SSL turns HTTP web traffic into HTTPS encrypted Web traffic, DNSCrypt turns regular DNS traffic into encrypted DNS traffic that is secure from eavesdropping and man-in-the-middle attacks. It doesn’t require any changes to domain names or how they work, it simply provides a method for securely encrypting communication between OpenDNS customers and their DNS servers. The software is released as open source on GitHub.

At the moment this solution only works in conjunction with OpenDNS, which means that you need to change your computer’s DNS provider to OpenDNS to make use of the this security feature, that’s their business after all.

Let’s see in detail how to use it on Linux. Continue reading »

Flattr this!

Jul 072012
 

Sometimes is useful to sync automatically files over the net between 2 or more computers, maybe you want to keep some configuration files aligned on different servers or maybe you have a cluster of web servers and you want to keep their document root aligned so your customer will always see the same result.

You could do this with a network filesystem like NFS, GlusterFS or Coda File system.
But why do complicated things when you could easily do this just keeping in sync the local filesystem ?

In a former article I’ve talked about Unison to do a work like that, and it works, the limit of Unison is that you can have just 2 nodes, but if you have more nodes you have to use a different solution like the one i present you today: csync2

Continue reading »

Flattr this!

Jul 012012
 

Sometime is useful to have information on a system when you login into it via ssh or via a local terminal, or perhaps just to have a warmer welcome with some ASCII art and information on your system, on Linux there are many software that do this work, we can call them Shell information tools.

These tools are designed to run in a terminal to show information on your distribution/system.

Continue reading »

Flattr this!

Jun 282012
 

Original article by Paul Castagnino, first published on usemoslinux.blogspot.it in spanish

Secure Boot is a type of mechanism that verifies that the code executed is digitally signed. Thus the computer can only boot an operating system that has a bootloader properly signed. This is a requirement that Microsoft asked to put on computers the badge “Windows 8 Certified”. This request by Microsoft has split the waters among the major Linux distributions , find out why.

Continue reading »

Flattr this!