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!
Comments
Post new comment