Go back to the EC2 admin console and find the “Public DNS” setting for your Drupal instance (for production, allocate an Elastic IP and use your DNS provider to point an A record at that).Leave your command prompt open and ready.In /home/drupal/.bash_profile, add ‘PATH=”/home/drupal/pear/:$PATH”‘ and ‘export PATH’ then source /home/drupal/.bash_profile.grant all privileges on drupal.* to set password for = password(‘dfsdfsdfsdfsfetc.etc.’).(On production servers, follow these instructions to set up new passwords for mysql’s root account.).For production servers, you will probably want to configure either additional or larger EBS volumes and set up snapshots by following these instructions. Get a little better MySQL config by following these instructions.sudo yum install -y httpd perl gd php php-pear mysql mysql-server php-common php-dba php-pdo php-mysql php-xml php-xmlrpc php-gd.The SSH client will ask about several things–just click “Yes.”Ĭonfiguring your web server and installing Drupal.You probably need to grant the application permission to run in your browser, and you may need to ensure your Java installation is working and try again.Type in the path to the key you created, above.Click “Connect from your browser using the Java SSH Client.”.On the “Instance Actions” drop-down list, select “Connect.”.Click the checkbox on the far left of your new instance.On the left navbar, select “Instances.”.Click “Save Details,” and on the next screen, “Launch.”.Open the “Security Settings” sub-panel, and select the security group you created earlier.A small instance is probably the minimum for Drupal, and you may need a larger instance: both have some cost. Note that t1.micro, the free option, is selected for the machine size.Click “Continue,” and on the next screen, click “Edit Details.”.Select the default 64-bit Amazon Linux AMI (EBS-backed for persistent storage).You will need to know the complete directory path to the file in text form, not just how to find it by clicking. Beside the key pair input area, click the “Download” button and save your key pair to somewhere you’ll remember it, such as your Documents folder.For your key pair, select “Create New” and name it–perhaps something like “AMI Key Pair 1.”.Name your instance–perhaps something like “Drupal 1.”.Click the large “Launch Instance” button.On the left navbar, select EC2 dashboard.Select SSH and click “Add Rule,” and then do the same for HTTP.A panel should appear at the bottom of the page. On the security groups screen, select your new security group.Describe your security group as “HTTP + SSH.”.Name your security group something like “webservers.”.Click the button to “Create Security Group.”.On the left navbar, click “Security Groups.”.On the left navbar, select an appropriate region, such as US-East.NOTE: The really easy way to create Drupal instances on AWS would be to use a BitNami AMI.īut if you really want to do it manually, here’s a brief tutorial on installing Drupal on AWS.ĭeploying your server at Amazon and connecting to it
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |