上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 89 下一页
摘要: 前提条件 安装PostGIS之前必须先安装proj,geos,gdal 1、安装proj8 下载proj-8.1.0.tar.gz :http://download.osgeo.org/proj/proj-8.1.0.tar.gz [root@gyl soft]# tar xf proj-8.1.0 阅读全文
posted @ 2024-10-23 00:53 栖木hy 阅读(1046) 评论(0) 推荐(0)
摘要: 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 栖木hy 阅读(219) 评论(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 栖木hy 阅读(1065) 评论(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 栖木hy 阅读(721) 评论(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 栖木hy 阅读(302) 评论(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 栖木hy 阅读(922) 评论(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 栖木hy 阅读(5496) 评论(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 栖木hy 阅读(6655) 评论(0) 推荐(0)
摘要: FastJson 序列化处理 null 值的 1. 默认行为 FastJson 序列化时默认跳过值为 null 的字段。这意味着如果一个对象的某个字段为 null,序列化后的 JSON 不会包含该字段。 2. 序列化 null 字段 如果希望保留 null 值字段,即使字段的值为 null 也要在 阅读全文
posted @ 2024-10-19 00:35 栖木hy 阅读(1135) 评论(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 栖木hy 阅读(215) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 89 下一页