摘要:
authorized_keys:存放远程免密登录的公钥,主要通过这个文件记录多台机器的公钥 id_rsa : 生成的私钥文件 id_rsa.pub : 生成的公钥文件 know_hosts : 已知的主机公钥清单 如果希望ssh公钥生效需满足至少下面两个条件: 1) .ssh目录的权限必须是700 阅读全文
摘要:
开启防火墙443端口 firewall-cmd --add-port=443/tcp --permanent 别忘了重启 firewall-cmd --reload 阅读全文
摘要:
安装 阅读全文
摘要:
编译安装git 参考 《CentOS7编译安装git》 安装httpd yum install httpd -y 安装gitweb yum install gitweb -y 创建项目根目录 $ sudo mkdir /opt/git $ git init --bare 设置ACL $ chown 阅读全文
摘要:
#datasourcespring.datasource.url=jdbc:mysql://120.26.246.185:3306/gaea?&useSSL=falsespring.datasource.username=xiezhiyanspring.datasource.password=yil 阅读全文
摘要:
@Configurationpublic class CorsConfig { @Bean public FilterRegistrationBean corsFilter() { UrlBasedCorsConfigurationSource source = new UrlBasedCorsCo 阅读全文
摘要:
系统采用前后端分离的架构,采用OAuth2协议是很自然的事情。 下面开始实战,主要依赖以下两个组件: 一、认证服务器 二、资源服务器 踩过的坑 一开始一直在配置WebSecurityConfigurerAdapter,其实这个跟ResourceServerConfigurerAdapter是冲突的, 阅读全文