摘要: 查看防火墙是否开启systemctl status firewalld 若没有开启则是开启状态systemctl start firewalld 关闭则start改为stop 查看所有开启的端口firewall-cmd --list-ports 注:启动防火墙后,默认没有开启任何端口,需要手动开启端 阅读全文
posted @ 2022-05-11 09:45 逐星i 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1.nginx安装 ​ linux版本:CentOS7 64位 ​ 【yum 安装最新版nginx:https://www.cnblogs.com/xxoome/p/7256214.html】 ​ 在安装nginx前首先要确认系统中安装了gcc、pcre-devel、zlib-devel、opens 阅读全文
posted @ 2022-05-11 09:38 逐星i 阅读(52) 评论(0) 推荐(0) 编辑
摘要: MYSQL创建子账号以及权限设置 一.连接Mysql(我用的工具是Xshell6) 命令: mysql -uroot -p 二.创建子账号 创建一个用户名为test,密码为123456的子账号。 命令: CREATE USER 'test'@'localhost' IDENTIFIED BY '12 阅读全文
posted @ 2022-05-11 09:34 逐星i 阅读(352) 评论(0) 推荐(0) 编辑
摘要: list.sort((o1, o2) -> Float.compare(o2.getScore(), o1.getScore())); 阅读全文
posted @ 2022-05-11 09:29 逐星i 阅读(145) 评论(0) 推荐(0) 编辑
摘要: @PostMapping(value = "hi") public String postHi(@RequestHeader HttpHeaders headers, HttpServletRequest request) { return request.getHeader("Content-Le 阅读全文
posted @ 2022-05-11 09:26 逐星i 阅读(4140) 评论(0) 推荐(0) 编辑