会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
枫·影
博客园
首页
新随笔
联系
订阅
管理
2023年7月5日
使用docker部署pg集群(postgresql+postgis+pgrouting+pgpool)
摘要: # 使用docker部署pg集群(postgresql+postgis+pgrouting+pgpool) ## 1,安装docker ```` yum install docker ```` ## 2,拉取docker容器 ```` docker pull hub-mirror.c.163.com
阅读全文
posted @ 2023-07-05 16:09 枫·影
阅读(1622)
评论(0)
推荐(0)
2023年3月29日
pg 结合mybatis查询数组id的名称
摘要: 1,添加sql <!-- 查询车辆编号 --> <!--suppress SqlResolve --> <sql id="get_car_code_car"> select n1.code from base_car n1 where n1.deleted = '0' and n1.id = any
阅读全文
posted @ 2023-03-29 10:32 枫·影
阅读(58)
评论(0)
推荐(0)
2022年8月5日
kafka 内网部署 运行外网访问
摘要: kafka 内网部署 运行外网访问 解决方案 1,在server.properties 中添加配置 advertised.listeners=PLAINTEXT://外网IP:9092 2,注意不要添加 listeners listeners 是实际连接配置 而 advertised.listene
阅读全文
posted @ 2022-08-05 11:27 枫·影
阅读(386)
评论(0)
推荐(0)
2022年7月22日
openEuler 安装宝塔页面
摘要: openEuler 安装宝塔页面 1,安装环境 dnf -y install gcc automake autoconf libtool make dnf -y install python3-devel 2,使用脚本安装宝塔页面 wget -O install.sh http://download
阅读全文
posted @ 2022-07-22 23:18 枫·影
阅读(533)
评论(0)
推荐(0)
2022年4月26日
ubuntu 离线安装软件
摘要: ubuntu 离线安装软件 1,总体安装步骤 1,安装一个新的Ubuntu服务器,最好是没有安装过软件包的 2, 修改数据源 修改文件 /etc/apt/sources.list deb http://mirrors.aliyun.com/ubuntu/ focal main restricted
阅读全文
posted @ 2022-04-26 08:45 枫·影
阅读(461)
评论(0)
推荐(0)
2022年4月12日
离线安装postgresql 和 postgis
摘要: 修改 yum 配置文件 vi /etc/yum.conf 修改 cachedir 到上传的缓存文件夹 cachedir文件夹下是 base code epel extras 等文件夹 [main] cachedir=/home/postgis 安装 1,安装工具类 yum -C install wg
阅读全文
posted @ 2022-04-12 10:34 枫·影
阅读(638)
评论(0)
推荐(0)
centos 7 下安装redis
摘要: 下载源文件 wget https://github.com/redis/redis/archive/7.0-rc3.tar.gz 解压源文件 tar xzf 7.0-rc3.tar.gz cd到解压的文件夹内 cd 7.0-rc3 执行编译 make cd到编译完成的文件夹内 cd src 当前终端
阅读全文
posted @ 2022-04-12 10:30 枫·影
阅读(27)
评论(0)
推荐(0)
2022年3月31日
centos 手动安装nginx并配置openssl
摘要: 下载 openssl-1.1.1n cd /usr/local/src/ wget --no-check-certificate https://www.openssl.org/source/openssl-1.1.1n.tar.gz tar xzf openssl-1.1.1n.tar.gz 安装
阅读全文
posted @ 2022-03-31 16:17 枫·影
阅读(456)
评论(0)
推荐(0)
2022年3月30日
Springboot druid 多数据源
摘要: 目录结构 结构 修改配置 pom <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.1</version>
阅读全文
posted @ 2022-03-30 11:16 枫·影
阅读(524)
评论(0)
推荐(0)
springboot 解决跨域问题
摘要: @Bean public CorsFilter corsFilter() { UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); CorsConfiguration config = new
阅读全文
posted @ 2022-03-30 11:14 枫·影
阅读(205)
评论(0)
推荐(0)
下一页
公告