删除文件提示“没有找到项目”,“找不到该项目”
1、目录下新建del.bat,内容为:
DEL /F /A /Q \\?\%1
RD /S /Q \\?\%1
DEL /F /A /Q \\?\%1
RD /S /Q \\?\%1
全局所有用户生效:/etc/profile
,仅单个用户生效:~/.bash_profile
中最后添加
export JAVA_HOME=/usr/local/jdk/jdk1.8.0_311
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin
npm config set prefix "D:\Program Files\nodejsCache\node_global"
npm config set cache "D:\Program Files\nodejsCache\node_cache"
并在系统环境变量中添加D:\Program Files\nodejsCache\node_global
,否则全局安装组件无法使用。
即将下线npm install -g cnpm --registry=https://registry.npm.taobao.org
npm install -g cnpm --registry=https://registry.npmmirror.com
npm config set registry https://registry.npmmirror.com
npm i npm -g
全局更新npm之后再去安装自己需要的组件
npm install vue-router
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: boss_demo@1.0.0
npm ERR! Found: vue@2.6.14
npm ERR! node_modules/vue
npm ERR! vue@"^2.5.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^3.2.0" from vue-router@4.0.14
npm ERR! node_modules/vue-router
npm ERR! vue-router@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See D:\Program Files\nodejsCache\node_cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:*
使用npm install vue-router@3.2.0 -S
即可
su – root
rpm -qa |grep -i mariadb
查询是否存在mariadb
,如果存在查询结果如图所示
如果存在,采用命令yum remove + 名称清除
(如果不存在直接进行下一步)
当运行后出现Complete则运行成功
tar –xvzf mysql-5.7.32-1.el7.x86_64.rpm-bundle.tar
rpm -ivh mysql-community-common-5.7.32-1.el7.x86_64.rpm
rpm -ivh mysql-community-libs-5.7.32-1.el7.x86_64.rpm
rpm -ivh mysql-community-client-5.7.32-1.el7.x86_64.rpm
rpm -ivh mysql-community-server-5.7.32-1.el7.x86_64.rpm
注意:必须按顺序安装;
systemctl start mysqld
grep password /var/log/mysqld.log
临时密码为后面红框框起来的部分
登陆mysql
mysql –u root –p
输入如下命令重设密码:
set password = password("新密码")
例:set password = password("HaHa@654321");
grant all privileges on *.* to root@'%' identified by "123456";
grant all privileges on *.* to root@'192.168.1.22' identified by "123456";