You are here

Installing Acquia Drupal


#adjust according to needs:
site=/home/l1nk/demo2
version=1.0.2-ISR
build=2988
mydb=aquia
#get the code and install it
wget http://acquia.com/files/downloads/acquia-drupal-$version.$build.tar.gz
mkdir dtemp
tar -zxf acquia-drupal-$version.$build.tar.gz -C dtemp
rm -fR $site
mv dtemp/acquia-drupal-$version $site
rm -fR dtemp
chmod 777 -R $site/sites/default
chmod a+w $site/sites/default/settings.php
#create the database
echo "CREATE DATABASE $mydb CHARACTER SET utf8 COLLATE utf8_unicode_ci;" | mysql -u root -p
#now you can visit the site!
#then when you are prompted to, come back and change the permissions
chmod a-w $site/sites/default/settings.php
chmod 755 $site/sites/default

create new account here: http://acquia.com/sign-up
sign up for a subscription and get a key here: https://acquia.com/product-matrix
put your identifier and key in this page: http://mysite/admin/settings/acquia-agent

Topic: