User login

Setting up a new GNU/Linux computer (Debian/Ubuntu flavor) for Drupal work, Agaric style

Create an SSH key

ssh-keygen

Send a copy of the public key to an agaric with access to the test server to add it there. Read more about setting up public keys and agent forwarding.

Get Drush

Follow composer instructions on https://github.com/drush-ops/drush (preferred over apt-get or PEAR.)

Create a directory for your Drush extensions:

sudo mkdir /home/yourname/.drush
sudo chown -R yourname /home/yourname/.drush

Extras

Prerequsite software for the Vim configuration

sudo apt-get install vim vim-gnome curl

Get the same bash shortcuts, vim configuration etc. as ben

You'll need Git first, but you'll need that anyway:

sudo apt-get install git

A set of scripts mostly adopted and used by ben so far available on gitorious.

git clone git://gitorious.org/agaric-scripts/agaric-scripts.git ~/.scripts

And to ~/.bashrc add:

. ~/.scripts/.bashrc-agaric

And to ~/.vimrc add:

source ~/.scripts/.vimrc-agaric

Shopping-free Ubuntu

Optional, for personal taste, if on Ubuntu: Remove the shopping results from Ubuntu unity search, http://fixubuntu.com

Prerequisite for Drake

You'll need Rake for Drake to work:

sudo apt-get install ruby1.9.1
sudo gem install rake

(i think sudo to install a gem is wrong, but the alternative is write permissions for local user to both /var/lib/gems/ and /usr/local/bin)

And continue on to Deploying the Agaric way!

Searched words: 
Drush helper scripts configuring shell

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • 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> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.