springsecurity实现自动登录很简单,人家让我们配置一下就好了 1.首先得要有数据源 和 操作数据库的对象,只有这两个才能往表中写token;在配置类中注入数据源,在容器中加入 操作数据库的对象 @Configuration public class SecurityConfig exte ...
分类:
编程语言 时间:
2021-02-05 10:38:01
阅读次数:
0
查看CentOS-Base.repo部分内容,文件路径 /etc/yum.repos.d/CentOS-Base.repo [base] baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ mirrorlist=http ...
分类:
其他好文 时间:
2021-02-05 10:29:54
阅读次数:
0
命令: composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 阿里云目前已经正式上线PHP Composer全量镜像,所有PHP开发者都可以通过我们的开发者社区 developer.aliyun ...
分类:
其他好文 时间:
2021-02-04 11:53:25
阅读次数:
0
转:npm install 时总是报phantomjs-prebuilt@2.1.14安装失败 在npm install时总是报如下错误, 尝试单独安装:npm install phantomjs-prebuilt@2.1.14 还是报错 Please report this full log at ...
分类:
Web程序 时间:
2021-01-28 12:01:50
阅读次数:
0
网上找了很多教程,但其位置都是错误的,一行代码就能搞定,不知道为啥讲一大堆,还搞不成功。 wget http://mirrors.aliyun.com/repo/Centos-altarch-7.repo -O /etc/yum.repos.d/CentOS-Base.repo ...
分类:
其他好文 时间:
2021-01-28 11:51:17
阅读次数:
0
说明:懂得分享,心存感恩! 一、根本法则:参考官网 https://repo.saltstack.com/#rhel 二、CentOS 7使用yum安装SaltStack具体方法 说明:以下步骤全部参考官网 (1)安装SaltStack存储库和密钥 yum install -y https://re ...
分类:
其他好文 时间:
2021-01-27 14:01:50
阅读次数:
0
1:打开 https://vault.centos.org/ 查看需要的系统版本URL路径 2:修改文件/etc/yum.repos.d/CentOS-Base.repo为以下内容 [centos-office]name=centos-officefailovermethod=prioritybas ...
分类:
其他好文 时间:
2021-01-27 13:02:36
阅读次数:
0
@ 一、环境介绍 系统版本 IP地址 主机名 角色 centos7.5 192.168.1.104 salt-master master centos7.5 192.168.1.105 salt-client client 环境说明: centos7.5默认的python环境是2.7版本。 官方说明 ...
分类:
系统相关 时间:
2021-01-26 12:01:22
阅读次数:
0
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun ...
分类:
其他好文 时间:
2021-01-25 11:26:11
阅读次数:
0
最近在做基于容器的CI/CD, 一个朴素的自动部署的思路是: 从Git Repo打出git tag,作为镜像Tag ssh远程登录到部署机器 向部署环境注入镜像Tag,拉取镜像,重新部署 下面分享我是如何在K8s、docker-compose中注入镜像TAG(持续部署)? k8s 熟悉k8s的同学知 ...
分类:
其他好文 时间:
2021-01-25 11:24:55
阅读次数:
0