Advertisement
jackthepastemaster

Untitled

Oct 11th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1.  
  2. install apache2
  3.  
  4. sudo apt-get install php7.0
  5.  
  6. extension
  7. sudo apt-get install php7.0-gd php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-zip php7.0-soap php7.0-bcmath
  8.  
  9.  
  10. sudo apt install apache2
  11.  
  12. change the user for apache2 in envvars to the current user
  13.  
  14. sudo apt install mariadb-server mariadb-client
  15.  
  16. sudo mysql -u root
  17.  
  18. use mysql;
  19. update user set plugin='' where User='root';
  20. flush privileges;
  21.  
  22. mysql_secure_installation
  23.  
  24.  
  25. marketplace keys
  26. public
  27. 6eee4b2f76fa59536ee380eabae1f293
  28. private
  29. ac4d961c9fa0f5f0cc66b6a00ee8b90b
  30.  
  31. install magento 2 using composer
  32. run the setup command
  33.  
  34. php bin/magento setup:install --backend-frontname="admin" --key="admin" --session-save="files" --db-host="localhost" --db-name="m2demo" --db-user="root" --db-password="mysql" --base-url="http://m2demo.loc/" --base-url-secure="https://m2demo.loc/" --admin-user="admin" --admin-password="admin123" --admin-email="test@test.com" --admin-firstname="Vladimir" --admin-lastname="Sedlar"
  35.  
  36.  
  37. switch to developer mode
  38. php bin/magento deploy:mode:set developer
  39.  
  40. disable magento caches, full_page block_html layout translate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement