BLOG

Install drupal with DRUSH(Drupal Shell)

This tutorial is tested on ubuntu(Linux) for installing drupal with drush.
Requirements:
1. LAMP
2. DRUSH(sudo apt-get install drush)
3. Write access to www folder
4. Mysql username, password, database name.
Installation

 drush dl drupal-7.xx

I used drupal-7.22

drush site-install standard --account-name=admin --account-pass=admin --db-url=mysql://YourMySQLUser:RandomPassword@localhost/YourMySQLDatabase

Enjoy Drupal Development.

Training @Tata Consultancy Services[ILP]

ILP(Initial Learning Program) Experience

This was the first time when i was called for training in one of the largest IT company of India TCS, in beautiful city named as Ahmedabad.
We were tagged with a stream named as BIPM(Business Intelligence & Performance Management).
We were groomed in two different ways, one was technically and other was personally.

Vi Magics

I was working with coder of drupal from past 3 days and had removed 7000 errors from a particular module. But i have done it with VI-Editor by following Commands.

1.For Removing all leading spaces

:1,$s/^\s*//gc

I have used gc so that it will confirm for every instance on every line.
2. Make an indentation of 2 spaces for every line starting.

:%s!^!  !

3. Replacing

,

with

, 
 :%s/,/, /gc

4. For deleting all trialing spaces at the end of line

:%s/ \+$//c

Wrong permissions on configuration file, should not be world writable!

If you install phpMyAdmin on your web host and all you see when you access www.yoursite.com/phpmyadmin (or whatever) is “Wrong permissions on configuration file, should not be world writable!” you are supposed to just change the permissions of /phpmyadmin/config.inc.php to not be world writable (i.e. chmod 755 config.inc.php, or by using your FTP client).

Pages

Subscribe to RSS - blogs