01 2022 档案

摘要:我的是ubuntu系统,你如果是centos可以把apt-get改为yum即可。 这次实践失败,最后还是能收,发不出去,找了找原因,我看了看ewomail他们的docker DockerFile,其实他们这个dockerfile是有问题的,直接就设置了他们自己的邮箱域名放里面,而且我们外部是没法传入 阅读全文
posted @ 2022-01-18 11:33 HumorChen99 阅读(56) 评论(0) 推荐(0) 编辑
摘要:ACME自动安装 我用的ubuntu,如果你是centos则把apt-get 改为yum即可 # 我安装好后提示要安装socat,因此你们先安装上这个 apt-get install socat -y # 安装acme curl https://get.acme.sh | sh # 安装好后关闭终端 阅读全文
posted @ 2022-01-17 23:38 HumorChen99 阅读(179) 评论(0) 推荐(0) 编辑
摘要:修改系统限制配置文件 vi /etc/security/limits.conf # 在最后一行加入以下的配置并保存退出 * hard nofile 65535 * soft nofile 65535 root hard nofile 65535 root soft nofile 65535 重新打开 阅读全文
posted @ 2022-01-17 22:11 HumorChen99 阅读(2) 评论(0) 推荐(0) 编辑
摘要:查看要改的容器ID docker ps 停止docker,复制好要改的容器ID进入Docker容器目录去 service docker stop cd /var/lib/docker/containers/ cd 刚复制的容器ID,然后按TAB自动补全 修改配置文件 # 有可能是config.jso 阅读全文
posted @ 2022-01-17 21:48 HumorChen99 阅读(49) 评论(0) 推荐(0) 编辑
摘要:非常之简单高效!!! 编辑my.cnf vi my.cnf # 然后粘贴下面的并保存 [mysql] default-character-set=utf8mb4 [mysqld] character_set_server=utf8mb4 init_connect='SET NAMES utf8' l 阅读全文
posted @ 2022-01-17 21:40 HumorChen99 阅读(73) 评论(0) 推荐(0) 编辑
摘要:基本知识 swap 分区通常被称为交换分区,这是一块特殊的硬盘空间,即当实际内存不够用的时候,操作系统会从内存中取出一部分暂时不用的数据,放在交换分区中,从而为当前运行的程序腾出足够的内存空间。 也就是说,当内存不够用时,我们使用 swap 分区来临时顶替。这种“拆东墙,补西墙”的方式应用于几乎所有 阅读全文
posted @ 2022-01-13 13:02 HumorChen99 阅读(26) 评论(0) 推荐(0) 编辑
摘要:安装Python2.7 不示范了,一般人都安装了,没有的百度,很简单的 安装python-pip # ubuntu apt install python-pip -y # centos yum install python-pip -y 安装runlike pip install runlike 查 阅读全文
posted @ 2022-01-12 10:23 HumorChen99 阅读(23) 评论(0) 推荐(0) 编辑
摘要:JAVA字符串常量池你弄懂了吗?看看这个10个问题你能不能回答正确 /** * @author humorchen * @date 2021/12/28 10:43 */ public static void main(String[] args) throws InterruptedExcepti 阅读全文
posted @ 2022-01-06 13:06 HumorChen99 阅读(5) 评论(0) 推荐(0) 编辑
摘要:团队地址美团点评https://tech.meituan.com/饿了么https://zhuanlan.zhihu.com/ElemeFE腾讯大讲堂http://djt.qq.com/videos/腾讯云技术 https://www.zhihu.com/org/teng-xun-yun-ji-zh 阅读全文
posted @ 2022-01-06 11:52 HumorChen99 阅读(47) 评论(0) 推荐(0) 编辑
摘要:如何实现给接口或Controller加上我自己的注解就能让他必须登录或者不需要登录就能访问呢? @RequestMapping("/test2") @LoginNotRequired public String test2() { return "test2"; } @RestController 阅读全文
posted @ 2022-01-02 19:23 HumorChen99 阅读(39) 评论(0) 推荐(0) 编辑
摘要:这样的如何实现?自动注入当前登录的用户id、当前登录的用户对象 @RequestMapping("/test1") public String test1(@UserId Long userId, @LoginedUser User user) { return String.format("tes 阅读全文
posted @ 2022-01-02 19:16 HumorChen99 阅读(35) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示