How to set up a Replica Set on MongoDB

MongoDB has become the most famous NoSQL database on the market. MongoDB is document-oriented, and its scheme-free design makes it a really attractive solution for all kinds of web applications. One of the features that I like the most is Replica Set, where multiple copies of the same data set are maintained by a group […]
Continue reading…

 

How to encrypt files and directories with eCryptFS on Linux

You do not have to be a criminal or work for the CIA to use encryption. You simply don’t want anybody to spy on your financial data, family pictures, unpublished manuscripts, or secret notes where you have jotted down startup ideas which you think can make you super rich. I have heard people telling me […]
Continue reading…

 

How to configure Access Control Lists (ACLs) on Linux

Working with permissions on Linux is rather a simple task. You can define permissions for users, groups or others. This works really well when you work on a desktop PC or a virtual Linux instance which typically doesn’t have a lot of users, or when users don’t share files among themselves. However, what if you […]
Continue reading…

 

How to improve your productivity in terminal environment with Tmux

The introduction of the mouse was a wonderful innovation in making computers more accessible to average people. But for programmers and sysadmins, moving our hands off the keyboard while working on a computer can be distracting. As a sysadmin, I spend most of the time working in the terminal environment. Opening tabs and moving around […]
Continue reading…