Wednesday, September 22, 2010

Drush command line shell and scripting interface for Drupal

I haven't heard about Drush command line tool until recently. Books about Drupal do not talk about this nifty tool, not even the advanced ones. Drush takes the power of command line, it can be savior for lazy hacker like me. The only prerequisite for using drush is secure shell access to execute commands on your web server server.

First thing I learnt to do with drush is download, upgrade and enable modules. It a quick and efficient way of upgrade modules.


# /usr/share/drush/drush disable link
The following modules will be disabled: link
Do you really want to continue? (y/n): y
Link was disabled successfully.                                                                                                                   [ok]
# /usr/share/drush/drush uninstall link
The following modules will be uninstalled: link
Do you really want to continue? (y/n): y
link was successfully uninstalled.                                                                                                                [ok]
# /usr/share/drush/drush dl link
Project link (6.x-2.9) downloaded to /var/www/drupal/sites/all/modules/.                                                                        [success]
# /usr/share/drush/drush enable link
The following modules will be enabled: link
Do you really want to continue? (y/n): y
Link was enabled successfully.       

Another favorite feature of drush is ability to execute sql commands to debug problems. /usr/share/drush/drush sql cli

Learn more about the various options and rediscover of the joy of Drupal.

Tuesday, September 21, 2010

Software Freedom Day 2010 Hanoi Linux User Group Vietnam

Photo blog of Hanoi Linux User Groups Software Freedom Day 2010 event.
Software Freedom Day 2010 , Hanoi, Vietnam


The Day Begins ....

Keynote Talk

The Audience

OLPC Vietnam Sugar On Stick Talk

Talks video streamed live across Vietnam
Hanoi LUG members having a good time

Linux Gaming.. Tux Racers

Linux Gaming, I love my score :)

Linux RPG Gaming

Linux First Person Shooter Game

Linux Multi Player Gaming
Linux CD/DVD burning, Game Contest running in background

Video Conference between Hanoi and Saigon LUGs

Kudos to Hanoi LUG Team

Monday, September 20, 2010

Ubuntu Accessibility Talk at Hanoi SFD, 2010

This weekend I gave a short talk highlighting Ubuntu Accessibility at Hanoi Linux User Groups Software Freedom Day 2010 event. Giving this talk was quite a challenge, I had to remember to stop every few sentences for Yang to do the Vietnamese translation. (Thanks for a splendid job Yang!)

You can download the slides online from the Ubuntu Accessibility Scribd page.

Popular Posts