![]() 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 ****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). Update apt-get so that it has the most recent information apt-get update ( apt-get is a package/software manager.) 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |