mysql setup:
CREATE USER drupalDBuser@localhost
alter user 'drupalDBuser'@'localhost' identified with mysql_native_password by 'password'
need mysql_native_password plugin because php didn't know new mysql_native_password method.
drupal 8: see refer page here. need manually modify the source code.
nginx: need build with --with-pcre= option to enable ngx_http_rewrite_module. And the properly config file can be found here.
upload error:An AJAX HTTP error occurred. here