AWSUbuntu

From Wiki RB4
Revision as of 17:15, 12 February 2019 by UweHeuer (talk | contribs) (→‎MySQL)

Magento

  • installation according to here and update for PHP 7.1 according to here
    • mysql user=root pwd=root
mysql --user=root --password=root
  • install PHPMyAdmin
    • in addition
sudo ln -s /usr/share/phpmyadmin/ /var/www/html/phpmyadmin
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

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