About the author

Photo of sanduhrs
sanduhrs

Drush Installation Ubuntu

Drush ist das Werkzeug für Drupal Administratoren, die sich trauen auf der Kommandozeile zu arbeiten.

Die Instalation auf ubuntu läuft wie folgt:

cd /opt

# Aktueller Download link siehe http://drupal.org/project/drush
wget
http://ftp.drupal.org/files/projects/drush-6.x-3.1.tar.gz
#
Aktueller Download link siehe http://drupal.org/project/drush_make
wget
http://ftp.drupal.org/files/projects/drush_make-6.x-2.0-beta8.tar.gz
#
Entpacken
sudo tar -xvzf drush-6.x-3.1.tar.gz
sudo tar -xvzf drush_make-6.x-2.0-beta8.tar.gz

# Berechtigungen setzen
chmod +x drush/drush

# Symlink setzen für drush make
ln -s drush_make drush/commands/drush_make

# Symlink setzen für den aufruf
ln -s /opt/drush/drush /usr/bin/drush

Das war es schon.

Jetzt lässt sich drush schön mit dem Komando

drush                   

aufrufen.

Zur Benutzung muss man nur in das Verzeichnis wechseln, in dem Drupal installiert ist: cd /var/www/drupal/

Eine kurze Status Übersicht erhält man, wenn man dort das Kommando drush status ausführt.

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> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

Website powered by lovely Drupal · Microformats · XML Feed · Valid XHTML, CSS · No www.