云墨客

云墨客

穷且益坚,不坠青云之志。

在宝塔中使用nginx将域名映射至端口,并且支持webSocket访问

在宝塔中使用nginx将域名映射至端口,并且支持webSocket访问

2021年 12月 3日 admin Comments 0 Comment

1.在宝塔首页创建网站: 数据库可不创建  域名提前准备好 2.点击刚刚创建的网站,点击配置文件, 将如下代码粘贴在相应位置并做相应修改 3.随后删除…

Read More Read More

Docker系统架构

Docker系统架构

2021年 12月 3日 admin Comments 0 Comment

什么是Docker Docker 最初是 dotCloud 公司创始人 Solomon Hykes 在法国期间发起的一个公司内部项目,它是基于 dotCloud…

Read More Read More

SpringBoot使用拦截器实现token身份验证

SpringBoot使用拦截器实现token身份验证

2021年 12月 2日 admin Comments 0 Comment

浏览器的传统session会话 无法应用于安卓浏览器 因此需要token身份验证 我这里使用拦截器配合Redis实现此功能 AuthorizationInter…

Read More Read More

使用SpringBoot Aop机制实现接口数据缓存

使用SpringBoot Aop机制实现接口数据缓存

2021年 12月 2日 admin Comments 0 Comment

在服务器接口的实际运行中 获取数据的接口的使用频率如果每次都请求数据库 那么将对服务器的资源造成浪费. 例如: 获取首页的公告接口 每个人访问一次都需要请求一次…

Read More Read More

MySQL命令行导入导出sql文件

MySQL命令行导入导出sql文件

2021年 12月 2日 admin Comments 0 Comment

使用nivcat远程传输 数据量庞大时耗时非常久 因此我们使用mysqldump命令 将数据在服务器上导出至文件内 随后使用scp命令导入至新服务器 或者使用x…

Read More Read More

如何生成总和固定的多个随机数

如何生成总和固定的多个随机数

2021年 12月 2日 admin Comments 1 comment

例如: 需要生成10个随机数 这10个随机数的总和为1000 对此场景首先想到的方法是 先在0-MAX(初始MAX=1000)间random一个数,然后用总和减…

Read More Read More

ubuntu搭建gitlab以及初始化密码

ubuntu搭建gitlab以及初始化密码

2021年 12月 2日 admin Comments 0 Comment

系统版本:18.04 在搭建之前要确定其网络环境是没有问题。用root身份进行操作 注意:建议至少2G内存运行gitlab 否则可能经常出现502的问题 1、安…

Read More Read More

阿里云部署SpringBoot项目

阿里云部署SpringBoot项目

2021年 12月 1日 admin Comments 0 Comment

环境: 阿里云 ubuntu18.04 MySQL5.7 java8 redis 1.如果是腾讯云服务器,ssh连接是非root用户 默认用户是ubu…

Read More Read More

Posts navigation

NEWER POSTS

近期文章

  • java11以后没有jre目录
  • 在离线的Debian或者Ubuntu上安装环境
  • 谷歌浏览器同一个页面JSESSIONID不停的变化
  • mysql的text类型Data too long
  • 实用工具之minio安装与使用

归档

  • 2022 年 9 月
  • 2022 年 7 月
  • 2022 年 6 月
  • 2022 年 2 月
  • 2021 年 12 月

cookie debian docker Free MyBatis plugin git gitLab IDEA Java JSESSIONID linux minio MyBatis MySql nginx Redis SpringBoot SSL ubuntu websocket 乱码 宝塔 实用工具 对象存储 微服务 编码格式 编程技巧 跨域

2025 年 5 月
一 二 三 四 五 六 日
 1234
567891011
12131415161718
19202122232425
262728293031  
« 9 月    
© 2025 | 皖ICP备2021017520号-1