MySQL

  1. sudo apt-get update
  2. sudo apt-get install -y mysql-server mysql-client
  3. service mysql start
  4. sudo vim /etc/mysql/debian.cnf
  5. use mysql
  6. alter user '新的用户名'@'localhost' IDENTIFIED with mysql_native_password BY '新的密码';

MongoDB

sudo apt-get install mongodb

mongo

Redis

sudo apt-get install redis-server

redis-cli