Install drush - a drupal module - on ubuntu linux server.

  • But first of all "What is Drush?"
    "Drush is a command line shell and Unix scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend most of their working hours at the command prompt."
    Drush allows you to easily manage, update, and maintain your modules via command line without having the need to keep a CVS cheat sheet laying around.
  • Requirements.
    Drush requires PHP 5.2. As of version 2.0, Drush is a stand-alone tool.
    It therefore requires PHP to be compiled with CLI-mode (command line interface) enabled. This allows PHP files to be executed via command line. Under ubuntu, if not already available, you can install it with the following command:
    sudo apt-get install php5-cli
  •  Installation
    Download Drush form drupal.org, unpack it in the /opt directory. Unlike other modules this one does not need to be in sites/all/modules.
    #cd /opt
    #wget http://ftp.drupal.org/files/projects/drush-All-versions-4.0-rc10.tar.gz (the latest version)
    #tar -zxvf drush-All-versions-4.0-rc10.tar.gz
    
     Now we need to put Drush on the path; a symbolic link will do the job for us:
    #ln -s /opt/drush/drush /usr/local/bin/
  •  

 

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

                                                       
88
""

88 ,adPPYba, 8b db d8 ,adPPYba,
88 a8P_____88 `8b d88b d8' a8" ""
88 8PP""""""" `8b d8'`8b d8' 8b
88 "8b, ,aa `8bd8' `8bd8' "8a, ,aa
88 `"Ybbd8"' YP YP `"Ybbd8"'
,88
888P"
Enter the code depicted in ASCII art style.