AWSUbuntu: Difference between revisions

From Wiki RB4
Line 1: Line 1:
==[[Magento|Magento]]==
==[[Magento|Magento]]==
* installation according to [https://www.youtube.com/watch?v=aJDSigVa7To here] and update for PHP 7.2 according to [http://haraldwingerter.de/?p=882 here] and [https://www.liquidweb.com/kb/install-php-7-2-ubuntu-16-04/ here] (list of old libs in myphppackages.txt)
* installation according to [https://www.youtube.com/watch?v=aJDSigVa7To here] and update for PHP 7.2 according to [http://haraldwingerter.de/?p=882 here] and [https://www.liquidweb.com/kb/install-php-7-2-ubuntu-16-04/ here] (list of old libs in myphppackages.txt)
* create DB m2_1 manually by phpmyadmin
* http://34.220.188.76/magento2/
* http://34.220.188.76/magento2/
* http://34.220.188.76/magento2/admin_xq3nc0
* http://34.220.188.76/magento2/admin_xq3nc0

Revision as of 20:58, 12 February 2019

Magento

sudo chmod -R 777 /var/www/html/

To avoid errors

sudo chmod -R 777 /var/www/html/magento2/

MySQL

  • version
mysql -V // -> 5.7.25
sudo /etc/init.d/mysql stop
sudo mkdir /var/run/mysqld/
sudo chown mysql /var/run/mysqld/
sudo mysqld_safe --skip-grant-tables &
ENTER
sudo mysql -u root
use mysql;
update user set authentication_string=PASSWORD("pHalloo0@1p") where User='root';
flush privileges;
exit;
sudo /etc/init.d/mysql stop
sudo /etc/init.d/mysql start
// test
sudo mysql -u root -p

PHPMyAdmin

  • sudo apt-get install -y phpmyadmin
  • use MySQL root password
  • change PHPMyAdmin URL
cd /etc/apache2/conf-available/
alias phpmyadmin -> phpxmyadmin
  • ren /var/www/html/phpmyadmin
cd /var/www/html/
mv phpmyadmin phpxmyadmin
  • restart apache
sudo service apache2 restart

Samba

  • installation according to here
    • user: ubuntu
    • password: Halloo0@1
    • share: HTML_SHARE
    • backup of configuration
\etc\samba\smb.conf.sik
  • edit security group according to here