基于WSL2的Linux发行版CentOS8基础镜像(vim ssh tar net-tools wget)
预安装了数据库:mysql5.7.38 redis-7.0.0 mongodb5.0.8
安装路径:
mysql:安装路径/usr/local/mysql,配置文件路径/etc/my.cnf
redis:安装路径/usr/local/redis,配置文件redis.cnf路径/usr/local/redis/bin/
mongodb:安装路径/usr/local/mongodb
启动命令:
mysqld --user=root
/usr/local/redis/bin/redis-server /usr/local/redis/bin/redis.conf
mongod --dbpath /var/lib/mongo --logpath /var/log/mongodb/mongod.log --fork
1