Our Man in India

Management Consultancy

Is your nfs working

I use nfs quite a lot. It allows local access to remote files i.e. the remote folder is mounted locally so you can access the remote files locally.

Often overlooked, make sure the proper NFS RPC-based services are enabled for portmap (not required for nfs4). Issue the following command

Continue Reading

Support Net Neutrality

Internet neutrality is a big deal. It enables you, or anyone else, to complete at a true level playing field with large corporations.

Early last year Mark Zuckerberg had pushed to break net neutrality in India. It failed! Read here more about Facebook's biggest setback in the Guardian.

Now the

Continue Reading

cron errors only

If you run a cron job and you would like to only see the errors  reported use cronic on Centos or chrronic on Ubuntu. The latter comes with the package moreutils

apt-get install moreutils
Continue Reading

Search for a text string within files

At times you see that a particular image or so is not found when loading a web page and you are at a loss where the call came from. At least I had that today when I noticed that a menu image was called. The command to search for that

Continue Reading

Minify files

I use yui-compressor to minify my files. It’s so easy. In Ubuntu (15.04) it’s available via apt-get.

To install it (on Ubuntu) type the following in your terminal window

apt-get install yui-compressor

The command structure to run it is

yui-compressor SOURCE > TARGET

yui-compressor public/

Continue Reading