How to Set Up a New Amazon Bitnami Instance

Setting up a new Amazon Bitnami Instance

This section is only relevant for those that do not know how to set up Drupal and want to host on Amazon:

  • If you don't already have the latest Drupal, get it with: (see
  • If this is the first time, run: sudo ln -s /opt/bitnami/mysql/tmp/mysql.sock /tmp/mysql.sock
  • tar xvf drupal-7.10.tar.gz
  • mv drupal-7.10 <sitename>
  • cd <sitename>/sites/default
  • cp default.settings.php settings.php
  • Edit Apache Config
Alias /sitename/ "/opt/bitnami/apps/sitename/"
Alias /sitename  "/opt/bitnami/apps/sitename"

<Directory "/opt/bitnami/apps/sitename">
    Options Indexes MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
  • Restart Apache: sudo apachectl restart
  • cd <sitename>/sites/default
  • chmod o+w settings.php
  • mkdir files
  • chmod o+w files
  • Navigate to http:<domain>/<site>/install.php * Ensure all requirements are met * Create the database: http:<domain>/phpmyadmin/
  • Priviledges → Add a new User
  • Create username and password
  • Select “Local” for the access
  • Select: Create database with same name and grant all privileges
  • Enter details into wizard
  • chmod o-w settings.php
  • Edit <site>/.htaccess and add the RewriteBase /<site> if not installed on root
  • Add this: settings.php
   'unix_socket' => '/opt/bitnami/mysql/tmp/mysql.sock',
   'host' => 'localhost',
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk