Linux
linux
努力搬砖 ing
这个作者很懒,什么都没留下…
展开
-
Linux解决外网访问不到端口问题
cd到linux 的etc/sysconfig目录下执行以下语句 则在外网上就可以访问此端口了: firewall-cmd --permanent --add-port=80/tcp 其中80 是你想要访问的端口 firewall-cmd --reload 直接关闭防火墙的命令: systemctl stop firewalld.service ———————————————— 原文链接:https://blog.csdn.net/weixin_41631245/article/details/9563转载 2021-04-11 10:52:49 · 2346 阅读 · 0 评论 -
SpringBoot处理返回json中的null属性
SpringBoot处理返回json中的null属性 在实体类中添加 @JsonInclude(JsonInclude.Include.NON_EMPTY) 注解 @Data @JsonInclude(JsonInclude.Include.NON_EMPTY) public class ProductListOut { private Integer rtypeId; private Integer typeId; private String typeName;原创 2021-03-28 17:43:42 · 309 阅读 · 0 评论 -
Linux安装Mysql
安装Mysql 1、在执行wget命令的目录下或你的上传目录下找到Mysql安装包:mysql-5.7.24-linux-glibc2.12-x86_64.tar.gz 执行解压命令: [root@localhost /]# tar xzvf mysql-5.7.24-linux-glibc2.12-x86_64.tar.gz [root@localhost /]# ls mysql-5.7.24-linux-glibc2.12-x86_64 mysql-5.7.24-linux-glibc2.12-x8原创 2021-03-17 17:40:51 · 140 阅读 · 0 评论
分享