摘要: # 使用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 枫·影 阅读(1122) 评论(0) 推荐(0) 编辑
摘要: 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 枫·影 阅读(37) 评论(0) 推荐(0) 编辑
摘要: kafka 内网部署 运行外网访问 解决方案 1,在server.properties 中添加配置 advertised.listeners=PLAINTEXT://外网IP:9092 2,注意不要添加 listeners listeners 是实际连接配置 而 advertised.listene 阅读全文
posted @ 2022-08-05 11:27 枫·影 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 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 枫·影 阅读(417) 评论(0) 推荐(0) 编辑
摘要: ubuntu 离线安装软件 1,总体安装步骤 1,安装一个新的Ubuntu服务器,最好是没有安装过软件包的 2, 修改数据源 修改文件 /etc/apt/sources.list deb http://mirrors.aliyun.com/ubuntu/ focal main restricted 阅读全文
posted @ 2022-04-26 08:45 枫·影 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 修改 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 枫·影 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 下载源文件 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 枫·影 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 下载 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 枫·影 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 目录结构 结构 修改配置 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 枫·影 阅读(497) 评论(0) 推荐(0) 编辑
摘要: @Bean public CorsFilter corsFilter() { UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); CorsConfiguration config = new 阅读全文
posted @ 2022-03-30 11:14 枫·影 阅读(186) 评论(0) 推荐(0) 编辑