fancyport.blogg.se

Installing drupal on aws ec2 using command line
Installing drupal on aws ec2 using command line









installing drupal on aws ec2 using command line installing drupal on aws ec2 using command line
  1. #Installing drupal on aws ec2 using command line how to
  2. #Installing drupal on aws ec2 using command line install
  3. #Installing drupal on aws ec2 using command line update
  4. #Installing drupal on aws ec2 using command line password

…by adding the following in my /etc/apache2/nf file RewriteEngine on I fixed the problem by running: sudo a2enmod rewrite Configure clean URLsĪfter my installation, I found that my pages were given strange URLs that included an “index.php”. Secure your siteĪfter the installation is complete, you will want to restore the original (more secure) permissions on the following files. If you’re unsure about any answers, see the Drupal installation guide starting at Step 4. If all that went well, then you should be able to point your browser to your Public DNS and see the Drupal 8 setup up page: Drupal 8 on AWSįollow the installation steps, answering questions when prompted. Sudo chmod 666 sites/default/services.yml sudo chmod 666 sites/default/settings.php Sudo cp sites/default/ sites/default/services.yml sudo cp sites/default/ sites/default/settings.php sudo rm drupal-8.0.Ĭopy the following files as shown. sudo tar -strip-components=1 -xzvf drupal-8.0.ĭelete the archive. The following command will unpack Drupal 8 and put everything where it needs to go, including several additional hidden Drupal 8 files. If you are still in superuser mode from the above step, just type “exit”. In this step, I will suggest you just use your normal login – which should probably be ubuntu – rather than the superuser. So, if that all worked, you should now have a LAMP stack set up on your Ubuntu AWS instance. Now exit the MySQL prompt by typing: exit If successful, MySQL will reply with: Query OK, 0 rows affected

#Installing drupal on aws ec2 using command line password

****Enter your MySQL password from above**** (you did record it, right?)Īt the MySQL prompt, set the permissions using the following command: (where “password” is your MySQL password) GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES ON drupal.* TO IDENTIFIED BY 'password' Log in and set the access database rights: mysql -u root -p ****Enter a MySQL password when prompted**** (this password will be used again, so record it).Ĭreate a new database for your site mysql -u root -p -e "CREATE DATABASE drupaldb CHARACTER SET utf8 COLLATE utf8_general_ci " Īnswer ‘yes’ when prompted about disk space 3 upgraded, 27 newly installed, 0 to remove and 58 not upgraded.Īfter this operation, 115 MB of additional disk space will be used. Be sure to include the “^” (which identifies lamp-server as a meta-package).

#Installing drupal on aws ec2 using command line update

Update apt-get so that it has the most recent information apt-get update ( apt-get is a package/software manager.)

installing drupal on aws ec2 using command line

#Installing drupal on aws ec2 using command line install

I suggest you become the super user, run apt-get and install the LAMP package. Install a LAMP stackĪssuming that you are now logged into your EC2 server, you need to install the LAMP stack. *This may work with other Linux/Unix installations besides Ubuntu, but I can only guarantee it on a recent Ubuntu installation

  • …to be able to connect to this instance via AWS CLI.
  • #Installing drupal on aws ec2 using command line how to

    …an EC2 Ubuntu version running on AWS or at least know how to get one up and running*.If you are keen to try the steps in this article for yourself, you’ll need Easily customize data structures, listings, and pages, and take advantage of new capabilities for displaying data on mobile devices, building APIs, and adapting to multilingual needs. Also, the description of the Official Drupal 8 Website sounds interesting:ĭrupal 8 will set a new standard for ease of use, while offering countless new ways to tailor and deploy your content to the Web. I thought I would try and get the jump on everyone and see if I could install it on an AWS Instance. At the time of writing, Drupal 8 hasn’t been officially released yet, however, there is a Beta version available.











    Installing drupal on aws ec2 using command line