Files
42_INT_13_inception/README.md

13 KiB

inception


WIP


git next commit

  • nginx cleaned and works with alpine (45s instead of 180s, 4 times faster)
  • in Makefile resolved super-clean rule
  • wordpress and mariadb pbm connections

questions

  • ? why http to https redirection doesn't works ?
  • ? what means "a file or directory on the host machine is mounted into a container" ?
  • ? why the volumes cannot be modify outside docker ?
  • ? rm -rf /var/lib/apt/lists/* ?

docker :


nginx


openssl


mariadb

Can't connect to local server through socket '/run/mysqld/mysqld.sock'

sudo / find -type s
/var/lib/mysql/mysql.sock
  • mysqld

    mariadb basic commands :
    • create user :
      # mysql -u root
      use mysql;
      CREATE USER 'some_user'@'%' IDENTIFIED BY 'some_pass';
      GRANT ALL PRIVILEGES ON *.* TO 'some_user'@'%' WITH GRANT OPTION;
      
    • show users :
      SELECT User, Host, plugin FROM mysql.user;
      
    • delete user :
      DROP USER <name>;
      
    • show databases :
      SHOW DATABASES;
      
    • delete database :
      DROP DATABASE <name>;
      

wordpress