各类软件安装与环境配置

1、JDK(https://www.oracle.com/java/technologies/downloads/archive/)

JAVA_HOME:
C:\XXX\jdk1.8.0_271

PATH:
%JAVA_HOME%\jre\bin
%JAVA_HOME%\bin\

2、Maven(https://archive.apache.org/dist/maven/maven-3/)

MAVEN_HOME:
C:\Environment\apache-maven-3.8.2

M2_HOME:
C:\Environment\apache-maven-3.8.2\bin

3、MySQL(https://downloads.mysql.com/archives/community/)

PATH:
C:\Environment\mysql-5.7.37\bin

3.1 my.ini

skip-grant-tables

3.2 mysqld -install

3.3 初始化数据文件

mysqld --initialize-insecure --user=mysql

3.4 再次启动mysql

mysql -u root -p 进入mysql管理界面

3.5 修改root密码

update mysql.user set authentication_string=password('123456') where user='root' and Host = 'localhost';

3.6刷新权限

flush privileges

3.7删除my.ini文件skip-grant-tables

重启mysql

net stop mysql
net start mysql

4、node.js

C:\Environment\nodejs\

posted @ 2022-12-06 23:21  JacketLi  阅读(98)  评论(0编辑  收藏  举报