You are here

rahul's blog

File Encryption Using GPG And Editing Using Vim

File encryption is a useful feature. Especially if you want to store some sensitive information in a file on your PC or mail someone a file with sensitive data. GPG allows us to encrypt files using either a password or public-private-key pair. Further, a vim plugin is available which allows you to edit the gpg file directly. Though vim by default provides encryption support for files (using the -x option), the encryption algorithm is weak. GPG provides a great alternative for strongly encrypting files.

Category: 

Lessons of the Square Watermelon

Japanese grocery stores had a problem. They are much smaller than their US counterparts and therefore don’t have room to waste. Watermelons, big and round, wasted a lot of space. Most people would simply tell the grocery stores that watermelons grow round and there is nothing that can be done about it. That is how I would assume the vast majority of people would respond. But some Japanese farmers took a different approach. ... Read the complete article.

Category: 

Choosing A Web Hosting Provider

My site had faced a big downtime last week - for 4 consecutive days. Thanks to the then hosting provider Powweb, I had to face this problem. As a matter of fact, I had sent them a mail immediately when my site went down. They took 2 days to respond and said that the problem was fixed. But even after an additional 2 days my site was still down. This along with the fact that even previously there were frequent downtimes (about 2-3 hours per week) made me switch my hosting provider.

Category: 

Need for Backup

Note: See also the follow up to this article about some of the Linux Backup Solutions

Some things are learned the hard way and the importance of taking backup was among those. While I will not get into the details about how to take backup I just want to stress on the importance of backups. Just consider one of the following real-life scenarios:

1. There is a huge power fluctuation and your entire hard disk gets destroyed.

Category: 

Mail Retriever

A mail retriever is used to retrieve mails from remote mail servers. This is especially useful if you want to retrieve mails from remote mail servers and deliver it to your local mail server or store in your local machine.

Category: 

Setting Up Mail Server (With MDA, IMAP And Webmail)

Mail Server

Using your own mail server, you can have mails delivered directly. Certain things I looked out for while choosing a mail server for my personal use:

- Support for regular operating system accounts (unix logins)
- IMAP support (either inbuilt / external)
- Webmail support (either inbuilt / external)
- Maildir format supported
- (Sieve) Server side filtering (http://www.debian-administration.org/articles/244)
- Ease of installation

Category: 

Adding JPEG Comments

MaPiVi is a photo organizing software which can be used to add comments to JPEG files (always take a backup of your photos as this software works on it directly). However, MaPiVi is no longer being maintained actively. Another graphical tool which can be used for editing JPEG comments is XnViewMP. Originially written for Mac, binaries are now available for major linux distributions.

Category: 

Shutdown Using Power Button

Here is a small tip. For configuring the power button to start shut down sequence when pressed, install "acpid" daemon via apt. This will install the necessary event (/etc/acpi/events/powerbtn) and associated action (/etc/acpi/powerbtn.sh) to be performed upon pressing the power button.

Category: 

Setting up DHCP Server

A dhcp server allows you to assign IPs dynamically to your clients. For further information visit, Setting up DHCP server.

Category: 

Connecting via PPPoE

This is especially useful for those who use a username and password to connect to their broadband cable/ADSL connection (such as that provided by BSNL, Airtel and Tata Indicom). For this you need to install pppoeconf package and run the command.

# apt-get install pppoeconf
# pppoeconf

Alternatively, if you are using mepis you can configure by going to Kmenu --> Internet --> Connection --> ADSL/PPPoE configuration.

Category: 

Pages

Subscribe to RSS - rahul's blog