Posted by sureshpeters on March 20, 2011 at 7:01pm
hey guys, i just setup the amazon micro instance using Bitnami :) . its easy process to create and running in drupal in couple of minutes. Am happy by it, but if we need to upload any modules.. am not getting any idea, how to upload the modules and activate in drupal ??
need help guys
Comments
SFTP Your Drupal app is
SFTP
Your Drupal app is installed in the /opt/bitnami/apps/drupal directory.
DIY is always a good option
It's not hard to set up your own Drupal in EC2 with exactly the software you want. If you're happy with simple bash scripting you might be interested in creating your own simple AMI which boots into Drupal. I favor storing the Drupal install in a tar file so it can be deployed to any number of webservers and taking nightly backups of the database, web server configs and the webserver content to S3. I also store some of my content directly on S3.
I've documented these within the "Amazon EC2" and "Drupal 7" guides.
http://www.practicalclouds.com/
You get your free micro instance because Amazon also offer this. Once you start using Amazon directly then you will have full control of all of their services and also full control of how you install Drupal. I'm on holiday at the moment and so haven't posted a my new Drupal profile - which can also install Drupal on an EC2 instance, and you can then customize both the AMI and the Drupal install.
Regards
Dave
http://www.practicalclouds.com
Host your Drupal website in EC2
aws drupal Module question
could someone please show me how to upload a module to my bitnami drupal instance hosted on aws?
Drush works
If you're using Bitnami, then you can just try to use drush to download them, or you can use the regular module install interface.
If you need to add drush, you can do it, perhaps the easiest way, by installing it via pear. (You'll have to login and then install pear ("sudo apt-get install php-pear"). The drush page shows how to install it via pear. Next, you'll just have to find your Drupal webroot (see above), or, if you want to find them another way, you can use the locate command (you'll need to run "sudo updatedb" first); then you can type "locate drupal" or whatever string you want to use. That will give you a list of files/directories that have "drupal" in them.
cd to your installation directory and then type "drush dl " — the module name is the name space, and, so, for instance, Entity Reference is entityreference, and Display Suite is ds. You can find the name to use by going to the module page on the Drupal site and grabbing whatever is the after the last forward slash.
If you want to install them via the "install module" option in the Drupal Admin (this is for D7+), then you'll have to copy the .tar.gz download link and place that in there.
If you're doing it via drush, then the ownership of the file will be for the user and not apache (or nginx), and so you can't do a regular "update modules" from there unless you change the permissions (easiest way: from the drupal directory: "sudo chown -R www-data:www-data sites"). If apache is running under a user like httpd, then use httpd:httpd instead of www-data.
If you install the modules via the Drupal admin page, then you won't need to change the permissions.
Hope this helps.