npm源改为国内 此方法不需要安装cnpm也可以使用淘宝镜像,提高国内访问速度 由于 Node 的官方模块仓库网速太慢,模块仓库需要切换到阿里的源。 npm config set registry https://registry.npm.taobao.org/ 执行下面的命令,确认是否切换成功。 ...
分类:
Web程序 时间:
2021-06-02 17:08:19
阅读次数:
0
常规步骤 新建空文件夹 在新建文件夹下打开git bush here git init 初始化本地仓库 配置自己的用户名和密码 可以随便输入,建议自己姓名+邮箱 '''自定义用户名''' git config user.name XXX '''自定义邮箱''' git config user.ema ...
分类:
其他好文 时间:
2021-06-02 15:50:26
阅读次数:
0
#!/usr/bin/env python3 # -*- coding: utf-8 -*- #根据主机ip查找openSSH配置文件~/.ssh/config对应主机配置项 #自用sshfindip命令python实现版本 #原始sshfindip为shell脚本实现,参看:/v/bin/sshf ...
分类:
编程语言 时间:
2021-06-02 15:35:27
阅读次数:
0
docker 安装 yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/d ...
分类:
其他好文 时间:
2021-06-02 15:18:47
阅读次数:
0
docker 安装 yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/d ...
分类:
其他好文 时间:
2021-06-02 14:49:47
阅读次数:
0
1. kubeconfig配置文件 kubectl使用kubeconfig认证文件连接K8s集群,使用kubectl config指令生成kubeconfig文件。 2. kubectl管理命令概要 官方文档参考地址:https://kubernetes.io/zh/docs/reference/k ...
分类:
其他好文 时间:
2021-06-02 14:42:54
阅读次数:
0
当启用@EnableAuthorizationServer注解时,启动项目报错 报错信息 Description: Field configurers in org.springframework.security.oauth2.config.annotation.web.configuration ...
分类:
编程语言 时间:
2021-06-02 14:05:33
阅读次数:
0
package com.example.testdrools.config; import org.kie.api.KieBase; import org.kie.api.KieServices; import org.kie.api.builder.*; import org.kie.api.ru ...
分类:
编程语言 时间:
2021-06-02 13:14:55
阅读次数:
0
对于id自动生成的方式,有注解和配置两种。 含义相同:不过设置自动增长的时候必须保证数据库中id是自增,assign_id和assign_uuid则不需要。 yml配置: mybatis-plus: #type-aliases-package: com.monster.demo.entity glo ...
分类:
数据库 时间:
2021-06-02 13:10:19
阅读次数:
0
一、环境 *centos7.6 二、安装步骤 *设置yum源 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum-config-manager --add-repo htt ...
分类:
其他好文 时间:
2021-06-02 12:47:47
阅读次数:
0