上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页
摘要: spring boot 2.4版本跨域问题 报错信息: When allowCredentials is true, allowedOrigins cannot contain the special value "*" since that cannot be set on the "Access 阅读全文
posted @ 2021-03-29 16:19 低调的小白 阅读(658) 评论(0) 推荐(0) 编辑
摘要: CentO7S系统服务器可能设置了错误的时间,需要调整时区和时间。如下是CentOS7系统使用NTP协议,从一个时间服务器同步标准时间: [root@localhost ~]# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime [root@loc 阅读全文
posted @ 2021-02-01 14:48 低调的小白 阅读(672) 评论(0) 推荐(0) 编辑
摘要: 步骤: 一定要先修改服务器时间 date -s 然后再跑java 服务 阅读全文
posted @ 2021-01-26 12:00 低调的小白 阅读(1144) 评论(0) 推荐(0) 编辑
摘要: 版权声明:本文为博主原创文章,遵循<a href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener"> CC 4.0 BY-SA </a>版权协议,转载请附上原文出处链接和本声明。 本文链接: 阅读全文
posted @ 2021-01-20 14:24 低调的小白 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 脚本无法执行问题 如果我们使用 crontab 来定时执行脚本,无法执行,但是如果直接通过命令(如:./test.sh)又可以正常执行,这主要是因为无法读取环境变量的原因。 解决方法: 1、所有命令需要写成绝对路径形式,如: /usr/local/bin/docker。 2、在 shell 脚本开头 阅读全文
posted @ 2020-12-28 11:41 低调的小白 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 1.切换到安装目录下 cd /usr/sbin/ 2.查看所有的用户 ./rabbitmqctl list_users 3.添加ADMIN账户 rabbitmqctl add_user username passwd //添加用户,后面两个参数分别是用户名和密码 rabbitmqctl set_pe 阅读全文
posted @ 2020-12-25 13:55 低调的小白 阅读(1643) 评论(0) 推荐(1) 编辑
摘要: 问题描述: 当重启服务器后,用使用 systemctl start rabbitmq-server.service 命令启动报错: 错误信息:Job for rabbitmq-server.service failed because the control process exited with 阅读全文
posted @ 2020-12-25 12:01 低调的小白 阅读(4800) 评论(0) 推荐(0) 编辑
摘要: 一、本地新创建分支推到远程 1.git checkout -b new_branch 2.git push --set-upstream origin new_branch 二、git拉取远程分支并创建本地分支 方法1: git fetch git branch -r git checkout -b 阅读全文
posted @ 2020-12-17 15:07 低调的小白 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 基本的思路是,以安全模式启动mysql,这样不需要密码可以直接以root身份登录,然后重设密码。 首先,我们停掉MySQL服务: sudo service mysql stop 以上命令适用于Ubuntu和Debian。CentOS、Fedora和RHEL下使用mysqld替换mysql。 以安全模 阅读全文
posted @ 2020-11-25 13:56 低调的小白 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 原因:在连接mysql时没有"-u"参数导致的。 阅读全文
posted @ 2020-11-25 13:53 低调的小白 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页