上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 为php打了redis扩展,宝塔安装了redis7,运行php项目报错:WRONGPASS invalid username-password pair or user is disabled.反复检查用户名密码没有问题,后来偶然发现: 将php.ini中的禁用函数putenv删除,问题解决 阅读全文
posted @ 2023-11-28 15:30 童年的回忆 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 由于Zerotier服务器在国外,导致在国内的速度不快,所以官方推荐设置自己的moon服务器做节点加速。moon服务器需要24小时不挂机,并且有固定ip,对硬件要求不高,所以云服务器比较符合做moon服务器 第一步:在云服务器linux上安装Zerotier客户端: curl -s https:// 阅读全文
posted @ 2023-11-02 15:01 童年的回忆 阅读(5815) 评论(0) 推荐(0) 编辑
摘要: 配置代理服务 export http_proxy=122.114.112.242:16816 export https_proxy=122.114.112.242:16816 删除代理服务: unset http_proxy unset https_proxy 阅读全文
posted @ 2023-11-02 14:56 童年的回忆 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 以ubuntu系统为例: 1.安装certbot: apt update apt upgrade sudo apt install certbot python3-certbot-nginx 2.验证Web服务器端口是否打开并允许通过防火墙 sudo ufw status verbose 3.获取S 阅读全文
posted @ 2023-10-17 11:24 童年的回忆 阅读(926) 评论(0) 推荐(0) 编辑
摘要: 最近在服务器上为let's encrypt证书添加自动续签计划任务时,发现总是不成功,但手动执行该计划任务所对应的sh脚本则没问题,这让我怀疑crontab执行时可能缺少了点什么导致的,想追踪一下crontab的执行日志,发现并没有,需要手动修改配置文件打开: sudo vim /etc/rsysl 阅读全文
posted @ 2023-10-17 11:05 童年的回忆 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 首先在pom.xml下引入JUnit必须的包: <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>org.springframework.b 阅读全文
posted @ 2023-10-13 11:32 童年的回忆 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 编辑Git 配置文件: vim ~/.gitconfig 修改配置文件,添加下面内容: [credential] helper = store 再触发填写一次用户名密码,就保存了。 如果系统找不到.gitconfig文件: git config --global --edit 阅读全文
posted @ 2023-10-03 22:51 童年的回忆 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 主要还是站点配置文件,找到vhost下的站点配置文件,代码如下 server { listen 80; server_name www.test.com test.com; index index.html index.htm index.php; #include /usr/local/nginx 阅读全文
posted @ 2023-10-03 19:06 童年的回忆 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 报错信息: 解决方法,启动seata时指定host: sh bin/seata-server.sh -p 8091 -h 能ping通的IP 阅读全文
posted @ 2023-09-27 13:18 童年的回忆 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1.下载地址: https://archive.apache.org/dist/maven/maven-3/ PS:推荐下载3.8.x,最新的3.9.x在打包时可能会出错。 2.配置本地仓库 maven默认的本地仓库地址为 ${user.home}/.m2/repository ,也就是在C盘当中。 阅读全文
posted @ 2023-09-13 13:35 童年的回忆 阅读(56) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页
如果本博客解决了您的问题,可以微信支付宝打赏鼓励一下作者哦,在此表示感谢