上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 89 下一页
摘要: 1、今天使用yum 安装了一个软件,后来没有找到路径 2、以 nodejs 为例 : yum install -y nodejs 1. # rpm -qa|grep nodejs // 复制输出内容 2. # rpm -ql nodejs-8.11.2-1nodesource.x86_64 3、ok 阅读全文
posted @ 2024-10-22 23:07 槑孒 阅读(215) 评论(0) 推荐(0)
摘要: 一、pg数据库安装包下载 下载地址:http://www.postgresql.org/ftp/source/ 下载tar.gz版 二、安装依赖包 由于是centOS7,所以使用yum来安装 yum install -y perl-ExtUtils-Embed readline-devel zlib 阅读全文
posted @ 2024-10-22 22:05 槑孒 阅读(1054) 评论(0) 推荐(0)
摘要: CentOS 上安装和配置 GeoServer 作为系统服务 1. 安装 GeoServer 下载 GeoServer: 从 GeoServer 官方网站 下载最新版本的 GeoServer 压缩包。 解压文件: tar -zxvf geoserver-2.25.3-bin.zip -C /usr/ 阅读全文
posted @ 2024-10-22 11:17 槑孒 阅读(700) 评论(0) 推荐(0)
摘要: CentOS 防火墙命令 一. firewalld 命令 1. 安装 firewalld sudo yum install firewalld -y 2. 启动和停止 firewalld 启动 firewalld: sudo systemctl start firewalld 停止 firewall 阅读全文
posted @ 2024-10-21 11:23 槑孒 阅读(290) 评论(0) 推荐(0)
摘要: 1. 创建Nginx服务文件 首先,创建Nginx的systemd服务文件: sudo vi /etc/systemd/system/nginx.service 然后在文件中添加以下内容: [Unit] Description=A high performance web server and a 阅读全文
posted @ 2024-10-21 10:36 槑孒 阅读(918) 评论(0) 推荐(0)
摘要: 步骤 1: 更新系统 在安装Java之前,确保系统包是最新的。 sudo yum update -y 步骤 2: 下载Java 17 从Oracle官方网站或AdoptOpenJDK下载Java 17。如果使用Oracle JDK,可以到Oracle网站下载。如果使用AdoptOpenJDK,可以使 阅读全文
posted @ 2024-10-21 10:10 槑孒 阅读(5390) 评论(0) 推荐(0)
摘要: 问题描述 运行编译后的可执行程序时报错 error while loading shared libraries: lib***.so.: cannot open shared object file: No such file or directory. 原因分析 从错误信息提示中,可以知道是在指 阅读全文
posted @ 2024-10-21 09:18 槑孒 阅读(6582) 评论(0) 推荐(0)
摘要: FastJson 序列化处理 null 值的 1. 默认行为 FastJson 序列化时默认跳过值为 null 的字段。这意味着如果一个对象的某个字段为 null,序列化后的 JSON 不会包含该字段。 2. 序列化 null 字段 如果希望保留 null 值字段,即使字段的值为 null 也要在 阅读全文
posted @ 2024-10-19 00:35 槑孒 阅读(1097) 评论(0) 推荐(0)
摘要: 需求:使用MyBatis进行开发时,在一个SQL语句中需要拼接list的大小。 大家都知道,当我们在MyBatis中写SQL时,如果需要遍历list,先对list进行非空判断的时候,可以加下面这行: <if test="null != list and list.size != 0">SQL</if 阅读全文
posted @ 2024-10-18 11:27 槑孒 阅读(210) 评论(0) 推荐(0)
摘要: 续https://www.cnblogs.com/echohye/p/18464302 问题 如果我需要获取Hash类型的所有键值,应该怎么获取呢 cmd = "redis.call('HGETALL', key)" 如果是直接使用以上命名,将会直接报序列化失败 (我这里的redis是使用FastJ 阅读全文
posted @ 2024-10-14 15:46 槑孒 阅读(128) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 89 下一页