config

nginx

  • where: /etc/nginx

mysql

install

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mysql-server

login

sudo mysql

status check

sudo systemctl status mysql

create new user

create user 'username'@'host' identified by 'password';

and then apply privileges by run below code in mysql;

flush privileges;