Commands I used to install Lamp

These are the commands that I used to install LAMP stack.

  1.  sudo apt-get install apache2
  2. sudo apt-get -y purge php5 libapache2-mod-php5 php5 php5-cli php5-common php5-curl php5-gd php5-imap php5-intl php5-json php5-mcrypt php5-mysql php5-pspell php5-readline php5-sqlite
  3. sudo apt-get install mysql-client mysql-server _ Here I had to give the root password to the installation. Very Important step. Skipped the hardening part.
  4. (Had already got this but to complete the steps)
    sudo apt-get install python-software-properties software-properties-common
  5. sudo add-apt-repository ppa:ondrej/php
  6. sudo apt-get update
  7. sudo apt-get install php7.2
  8. apt-get install php-pear php7.2-dev php7.2-zip php7.2-curl php7.2-gd php7.2-mysql php7.2-mcrypt php7.2-xml libapache2-mod-php7.2
    1. Here there was an issue with php7.2mcrypt, so removed that and installed the rest.
  9. (To install mcrypt module). sudo apt-get -y install gcc make autoconf libc-dev pkg-config
  10. sudo apt-get -y install libmcrypt-dev
  11. sudo pecl install –nodeps mcrypt-snapshot
  12. sudo bash -c “echo > /etc/php/7.2/cli/conf.d/mcrypt.ini”
  13. php7.2 -i | grep mcrypt

Well did manage to get the whole thing going.

Writing Tips: ‘Newly Coined English Indian Words’

We keep hearing that many Indian words have found its way into the various English Dictionaries and feel great pride in that fact.

But what seems to have been missed by the media (newspaper and magazines) is that these dictionaries are the local version of the dictionaries. That means the Indian version of the dictionary of the Publisher.

So, what does that mean? It means that if you use a particular new indian word that has now found in the dictionary, and so logically legal to use and should be understood by all, will not be understood by majority of the people who are not from India.

So now what is the best thing to do?

The best thing to do is avoid using them when you address international audience (since it impedes the flow of the language). Or if at all you need to use them, describe it first and then use it.

Makes sense. Right!!

How to put two pictures side by side using Gimp

I was searching for a method to put two A5 size image into one A4 size page to get it printed in the wonderful site ‘’. I was wondering if there was a way to use Gimp the free cross-platform and powerful image editor to that. Since not many tutorials are available for Gimp, these nuggets come in very handy.

Was answered by Sani in Yahoo Answers – Using Gimp for the editing.

  1. Open first image
  2. Go to IMAGE >> CANVAS SIZE:…
  3. Set the canvas size to MUCH LARGER than you will actually want.
  4. Click OK:…
  6. Open 2nd picture
  7. SELECT >> ALL
  8. EDIT >> COPY
  9. Switch back to the 1st image (with the big canvas size)
  10. EDIT >> PASTE
  11. Move it to where you want it :…
  12. CROP

The only change that I did from what is mentioned here was that I did the copy of the photo before Step 5.

The final result: