timescaledb源码安装_postgresql was built without openssl support, whic-程序员宅基地

技术标签: PG学习笔记  timescaledb  timescale  源码安装  

因为postgresql是源码安装的,所以timescaledb也得源码安装。

timescaledb 0.12.1版本,解压后如下

[root@server4 timescaledb-0.12.1]# ls
bootstrap      build         CMakeLists.txt   docs     NOTICE     scripts  src   timescaledb.control.in
bootstrap.bat  CHANGELOG.md  CONTRIBUTING.md  LICENSE  README.md  sql      test  version.config
[root@server4 timescaledb-0.12.1]# pwd
/root/timescaledb-0.12.1

首先安装cmake(如果已有不需要安装), 然后执行./bootstrap.

[root@server4 timescaledb-0.12.1]# ./bootstrap 
Build system already initialized in ./build
Do you want to remove it (this is IMMEDIATE and PERMANENT), y/n? y
-- The C compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- TimescaleDB version 0.12.1. Can be updated from version 0.12.0
-- Build type is Release
-- Install method is 'source'
-- Performing Test CC_SUPPORTS_VISIBILITY_HIDDEN
-- Performing Test CC_SUPPORTS_VISIBILITY_HIDDEN - Success
-- Using compiler GNU
CMake Error at CMakeLists.txt:141 (message):
  Unable to find 'pg_config'

提示找不到pg_config.

这个pg_config为postgresql安装好后的一个可执行文件,执行它可以得到postgresql的相关配置和路径

[root@server4 timescaledb-0.12.1]# cd /appdev/pgsql/bin/
[root@server4 bin]# ./pg_config
BINDIR = /appdev/pgsql/bin
DOCDIR = /appdev/pgsql/share/doc
HTMLDIR = /appdev/pgsql/share/doc
INCLUDEDIR = /appdev/pgsql/include
PKGINCLUDEDIR = /appdev/pgsql/include
INCLUDEDIR-SERVER = /appdev/pgsql/include/server
LIBDIR = /appdev/pgsql/lib
PKGLIBDIR = /appdev/pgsql/lib
LOCALEDIR = /appdev/pgsql/share/locale
MANDIR = /appdev/pgsql/share/man
SHAREDIR = /appdev/pgsql/share
SYSCONFDIR = /appdev/pgsql/etc
PGXS = /appdev/pgsql/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--prefix=/appdev/pgsql' '--without-readline'
CC = gcc
CPPFLAGS = -D_GNU_SOURCE
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2
CFLAGS_SL = -fPIC
LDFLAGS = -Wl,--as-needed -Wl,-rpath,'/appdev/pgsql/lib',--enable-new-dtags
LDFLAGS_EX = 
LDFLAGS_SL = 
LIBS = -lpgcommon -lpgport -lpthread -lz -lrt -lcrypt -ldl -lm 
VERSION = PostgreSQL 10.5

将pg_config路径添加进~/.bash_profile

[root@server4 bin]# cat ~/.bash_profile 
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin:/appdev/pgsql/bin

再次执行./bootstrap

[root@server4 bin]# source ~/.bash_profile 
[root@server4 bin]# cd ~/timescaledb-0.12.1/
[root@server4 timescaledb-0.12.1]# ./
bootstrap  build/     docs/      scripts/   sql/       src/       test/      
[root@server4 timescaledb-0.12.1]# ./bootstrap 
Build system already initialized in ./build
Do you want to remove it (this is IMMEDIATE and PERMANENT), y/n? y
-- The C compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- TimescaleDB version 0.12.1. Can be updated from version 0.12.0
-- Build type is Release
-- Install method is 'source'
-- Performing Test CC_SUPPORTS_VISIBILITY_HIDDEN
-- Performing Test CC_SUPPORTS_VISIBILITY_HIDDEN - Success
-- Using compiler GNU
-- Found Git: /usr/bin/git (found version "1.8.3.1") 
-- Using pg_config /appdev/pgsql/bin/pg_config
-- Compiling against PostgreSQL version 10.5
-- Install pgindent to be able to format C code: https://github.com/postgres/postgres/tree/master/src/tools/pgindent
CMake Error at CMakeLists.txt:274 (message):
  PostgreSQL was built without OpenSSL support, which TimescaleDB needs for
  full compatibility.  Please rebuild PostgreSQL using `--with-openssl` or if
  you want to continue without OpenSSL, re-run bootstrap with
  `-DUSE_OPENSSL=0`


-- Configuring incomplete, errors occurred!
See also "/root/timescaledb-0.12.1/build/CMakeFiles/CMakeOutput.log".
[root@server4 timescaledb-0.12.1]# 

提示postgresql没有带Openssl安装,那就索性,timescale也不带openssl安装。

[root@server4 timescaledb-0.12.1]# ./bootstrap -DUSE_OPENSSL=0
Build system already initialized in ./build
Do you want to remove it (this is IMMEDIATE and PERMANENT), y/n? y
-- The C compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- TimescaleDB version 0.12.1. Can be updated from version 0.12.0
-- Build type is Release
-- Install method is 'source'
-- Performing Test CC_SUPPORTS_VISIBILITY_HIDDEN
-- Performing Test CC_SUPPORTS_VISIBILITY_HIDDEN - Success
-- Using compiler GNU
-- Found Git: /usr/bin/git (found version "1.8.3.1") 
-- Using pg_config /appdev/pgsql/bin/pg_config
-- Compiling against PostgreSQL version 10.5
-- Install pgindent to be able to format C code: https://github.com/postgres/postgres/tree/master/src/tools/pgindent
-- Using pg_regress /appdev/pgsql/lib/pgxs/src/test/regress/pg_regress
-- Using objdump /usr/bin/objdump
-- Configuring done
-- Generating done
-- Build files have been written to: /root/timescaledb-0.12.1/build
TimescaleDB build system initialized in ./build. To compile, do:
cd ./build && make
[root@server4 timescaledb-0.12.1]# 

cd ./build && make && make install

[root@server4 timescaledb-0.12.1]# cd ./build/
[root@server4 build]# ls
CMakeCache.txt  cmake_install.cmake  scripts  src   timescaledb.control
CMakeFiles      Makefile             sql      test  version.config
[root@server4 build]# make
Scanning dependencies of target sqlupdatescripts
[  1%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.12.0--0.12.1.sql
[  2%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.11.0--0.12.1.sql
[  3%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.10.1--0.12.1.sql
[  4%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.10.0--0.12.1.sql
[  5%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.9.2--0.12.1.sql
[  7%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.9.1--0.12.1.sql
[  8%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.9.0--0.12.1.sql
[  9%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.8.0--0.12.1.sql
[ 10%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.7.1--0.12.1.sql
[ 11%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.7.0--0.12.1.sql
[ 12%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.6.1--0.12.1.sql
[ 14%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.6.0--0.12.1.sql
[ 15%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.5.0--0.12.1.sql
[ 16%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.4.2--0.12.1.sql
[ 17%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.4.1--0.12.1.sql
[ 18%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.4.0--0.12.1.sql
[ 20%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.3.0--0.12.1.sql
[ 21%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.2.0--0.12.1.sql
[ 22%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.1.0--0.12.1.sql
[ 22%] Built target sqlupdatescripts
Scanning dependencies of target sqlfile
[ 23%] Generating /root/timescaledb-0.12.1/build/sql/timescaledb--0.12.1.sql
[ 23%] Built target sqlfile
[ 24%] Generating gitcommit.h
Scanning dependencies of target timescaledb
[ 25%] Building C object src/CMakeFiles/timescaledb.dir/agg_bookend.c.o
[ 27%] Building C object src/CMakeFiles/timescaledb.dir/cache.c.o
[ 28%] Building C object src/CMakeFiles/timescaledb.dir/cache_invalidate.c.o
[ 29%] Building C object src/CMakeFiles/timescaledb.dir/catalog.c.o
[ 30%] Building C object src/CMakeFiles/timescaledb.dir/chunk.c.o
[ 31%] Building C object src/CMakeFiles/timescaledb.dir/chunk_adaptive.c.o
[ 32%] Building C object src/CMakeFiles/timescaledb.dir/chunk_constraint.c.o
[ 34%] Building C object src/CMakeFiles/timescaledb.dir/chunk_dispatch.c.o
[ 35%] Building C object src/CMakeFiles/timescaledb.dir/chunk_dispatch_info.c.o
[ 36%] Building C object src/CMakeFiles/timescaledb.dir/chunk_dispatch_plan.c.o
[ 37%] Building C object src/CMakeFiles/timescaledb.dir/chunk_dispatch_state.c.o
[ 38%] Building C object src/CMakeFiles/timescaledb.dir/chunk_index.c.o
[ 40%] Building C object src/CMakeFiles/timescaledb.dir/chunk_insert_state.c.o
[ 41%] Building C object src/CMakeFiles/timescaledb.dir/constraint_aware_append.c.o
[ 42%] Building C object src/CMakeFiles/timescaledb.dir/copy.c.o
[ 43%] Building C object src/CMakeFiles/timescaledb.dir/dimension.c.o
[ 44%] Building C object src/CMakeFiles/timescaledb.dir/dimension_slice.c.o
[ 45%] Building C object src/CMakeFiles/timescaledb.dir/dimension_vector.c.o
[ 47%] Building C object src/CMakeFiles/timescaledb.dir/event_trigger.c.o
[ 48%] Building C object src/CMakeFiles/timescaledb.dir/extension.c.o
[ 49%] Building C object src/CMakeFiles/timescaledb.dir/guc.c.o
[ 50%] Building C object src/CMakeFiles/timescaledb.dir/histogram.c.o
[ 51%] Building C object src/CMakeFiles/timescaledb.dir/hypercube.c.o
[ 52%] Building C object src/CMakeFiles/timescaledb.dir/hypertable.c.o
[ 54%] Building C object src/CMakeFiles/timescaledb.dir/hypertable_cache.c.o
[ 55%] Building C object src/CMakeFiles/timescaledb.dir/hypertable_insert.c.o
[ 56%] Building C object src/CMakeFiles/timescaledb.dir/hypertable_restrict_info.c.o
[ 57%] Building C object src/CMakeFiles/timescaledb.dir/indexing.c.o
[ 58%] Building C object src/CMakeFiles/timescaledb.dir/init.c.o
[ 60%] Building C object src/CMakeFiles/timescaledb.dir/installation_metadata.c.o
[ 61%] Building C object src/CMakeFiles/timescaledb.dir/partitioning.c.o
[ 62%] Building C object src/CMakeFiles/timescaledb.dir/planner.c.o
[ 63%] Building C object src/CMakeFiles/timescaledb.dir/plan_expand_hypertable.c.o
[ 64%] Building C object src/CMakeFiles/timescaledb.dir/plan_add_hashagg.c.o
[ 65%] Building C object src/CMakeFiles/timescaledb.dir/planner_import.c.o
[ 67%] Building C object src/CMakeFiles/timescaledb.dir/planner_utils.c.o
[ 68%] Building C object src/CMakeFiles/timescaledb.dir/process_utility.c.o
[ 69%] Building C object src/CMakeFiles/timescaledb.dir/scanner.c.o
[ 70%] Building C object src/CMakeFiles/timescaledb.dir/sort_transform.c.o
[ 71%] Building C object src/CMakeFiles/timescaledb.dir/subspace_store.c.o
[ 72%] Building C object src/CMakeFiles/timescaledb.dir/tablespace.c.o
[ 74%] Building C object src/CMakeFiles/timescaledb.dir/trigger.c.o
[ 75%] Building C object src/CMakeFiles/timescaledb.dir/utils.c.o
[ 76%] Building C object src/CMakeFiles/timescaledb.dir/version.c.o
[ 77%] Building C object src/CMakeFiles/timescaledb.dir/bgw/job.c.o
[ 78%] Building C object src/CMakeFiles/timescaledb.dir/bgw/job_stat.c.o
[ 80%] Building C object src/CMakeFiles/timescaledb.dir/bgw/launcher_interface.c.o
[ 81%] Building C object src/CMakeFiles/timescaledb.dir/bgw/scheduler.c.o
[ 82%] Building C object src/CMakeFiles/timescaledb.dir/bgw/timer.c.o
[ 83%] Building C object src/CMakeFiles/timescaledb.dir/net/conn.c.o
[ 84%] Building C object src/CMakeFiles/timescaledb.dir/net/conn_plain.c.o
[ 85%] Building C object src/CMakeFiles/timescaledb.dir/net/http.c.o
[ 87%] Building C object src/CMakeFiles/timescaledb.dir/net/http_response.c.o
[ 88%] Building C object src/CMakeFiles/timescaledb.dir/net/http_request.c.o
[ 89%] Building C object src/CMakeFiles/timescaledb.dir/telemetry/uuid.c.o
[ 90%] Building C object src/CMakeFiles/timescaledb.dir/telemetry/metadata.c.o
[ 91%] Building C object src/CMakeFiles/timescaledb.dir/telemetry/telemetry.c.o
[ 92%] Linking C shared module timescaledb-0.12.1.so
[ 92%] Built target timescaledb
Scanning dependencies of target timescaledb-loader
[ 94%] Building C object src/loader/CMakeFiles/timescaledb-loader.dir/loader.c.o
[ 95%] Building C object src/loader/CMakeFiles/timescaledb-loader.dir/bgw_message_queue.c.o
[ 96%] Building C object src/loader/CMakeFiles/timescaledb-loader.dir/bgw_counter.c.o
[ 97%] Building C object src/loader/CMakeFiles/timescaledb-loader.dir/bgw_launcher.c.o
[ 98%] Building C object src/loader/CMakeFiles/timescaledb-loader.dir/bgw_interface.c.o
[100%] Linking C shared module timescaledb.so
[100%] Built target timescaledb-loader
[root@server4 build]# 
[root@server4 build]# make install
[ 22%] Built target sqlupdatescripts
[ 23%] Built target sqlfile
[ 92%] Built target timescaledb
[100%] Built target timescaledb-loader
Install the project...
-- Install configuration: "Release"
-- Installing: /appdev/pgsql/share/extension/timescaledb.control
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.12.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.11.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.10.1--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.10.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.9.2--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.9.1--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.9.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.8.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.7.1--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.7.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.6.1--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.6.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.5.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.4.2--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.4.1--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.4.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.3.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.2.0--0.12.1.sql
-- Installing: /appdev/pgsql/share/extension/timescaledb--0.1.0--0.12.1.sql
-- Installing: /appdev/pgsql/lib/timescaledb-0.12.1.so
-- Installing: /appdev/pgsql/lib/timescaledb.so
[root@server4 build]# 

postgresql.conf添加共享库

# - Kernel Resource Usage -


shared_preload_libraries = 'timescaledb'                # (change requires restart)

# - Cost-Based Vacuum Delay -

重启postgresql, psql连入

建立数据库

testdb=# create database ts1;
CREATE DATABASE
testdb=# \c ts1
You are now connected to database "ts1" as user "postgres".

创建timescaledb extension

ts1=# create extension if not exists timescaledb CASCADE;
WARNING:  
WELCOME TO
 _____ _                               _     ____________  
|_   _(_)                             | |    |  _  \ ___ \ 
  | |  _ _ __ ___   ___  ___  ___ __ _| | ___| | | | |_/ / 
  | | | |  _ ` _ \ / _ \/ __|/ __/ _` | |/ _ \ | | | ___ \ 
  | | | | | | | | |  __/\__ \ (_| (_| | |  __/ |/ /| |_/ /
  |_| |_|_| |_| |_|\___||___/\___\__,_|_|\___|___/ \____/
               Running version 0.12.1
For more information on TimescaleDB, please visit the following links:

 1. Getting started: https://docs.timescale.com/getting-started
 2. API reference documentation: https://docs.timescale.com/api
 3. How TimescaleDB is designed: https://docs.timescale.com/introduction/architecture

Note: TimescaleDB collects anonymous reports to better understand and assist our users.
For more information and how to disable, please see our docs https://docs.timescaledb.com/using-timescaledb/telemetry.

CREATE EXTENSION
ts1=# 

timescaledb已安装成功

 

编译debug版本

./bootstrap -DCMAKE_BUILD_TYPE="Debug"
 

create table "ckts2"(
    time TIMESTAMPTZ NOT NULL,
    "id" int,
    "col2" int
);
SELECT create_hypertable('ckts2', 'time');

建表和超表

tsdb=# \d
         List of relations
 Schema | Name  | Type  |  Owner   
--------+-------+-------+----------
 public | ckts2 | table | postgres
(1 row)

tsdb=# SELECT create_hypertable('ckts2', 'time');
 create_hypertable 
-------------------
 
(1 row)

tsdb=# \d+ ckts2
                                           Table "public.ckts2"
 Column |           Type           | Collation | Nullable | Default | Storage | Stats target | Description 
--------+--------------------------+-----------+----------+---------+---------+--------------+-------------
 time   | timestamp with time zone |           | not null |         | plain   |              | 
 id     | integer                  |           |          |         | plain   |              | 
 col2   | integer                  |           |          |         | plain   |              | 
Indexes:
    "ckts2_time_idx" btree ("time" DESC)
Triggers:
    ts_insert_blocker BEFORE INSERT ON ckts2 FOR EACH ROW EXECUTE PROCEDURE _timescaledb_internal.insert_blocker()

tsdb=# 

 

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/jacicson1987/article/details/82970721

智能推荐

vant 组件中的DropdownMenu 下拉菜单为啥获取不了value值?设置title,值不改变?_van-dropdown-menu必须是value名吗-程序员宅基地

文章浏览阅读7.6k次,点赞2次,收藏5次。看到有小伙伴对使用vant框架里DropdownMenu有疑问,统一记录,有默认title官方地址 https://youzan.github.io/vant/#/zh-CN/dropdown-menuhtml <van-dropdown-menu> <van-dropdown-item :title="accountName" v-model="accountNameValue" :optio_van-dropdown-menu必须是value名吗

大明:讲解硬盘ESP分区和MSR分区有什么用?值得收藏-程序员宅基地

文章浏览阅读9k次。我个人认为,ESP分区的作用会大一些,影响到系统的“引导启动恢复”功能,至于MSR分区作用不大,删除了也无所谓。_esp分区和msr分区

详细记录YOLACT实例分割ncnn实现-程序员宅基地

文章浏览阅读1k次。点击上方“小白学视觉”,选择加"星标"或“置顶”重磅干货,第一时间送达链接:https://zhuanlan.zhihu.com/p/128974102本文转载自知乎,作者已授权,未经许可请勿二次转载。0x0 YOLACT实例分割https://urlify.cn/rURFry端到端一阶段完成实例分割速度快,550x550图片在TitanXP上号称达到33FPS开源代码,..._ncnn yolact

C# 引用Newtonsoft.Json库 将Json格式字符串中的null转换为空字符串_c# json反序列化null值处理-程序员宅基地

文章浏览阅读2.2k次。定义自定义的JsonConverter类,用于控制反序列化过程中的类型转换。使用JsonSerializerSettings对象设置反序列化。_c# json反序列化null值处理

K8S教程(5)Dashboard的安装与使用_kubectl edit svc kubernetes-dashboard -n kubernete-程序员宅基地

文章浏览阅读2.7k次。K8S Dashboard的官方介绍:https://kubernetes.io/zh/docs/tasks/access-application-cluster/web-ui-dashboard/1、下载资源清单并且应用kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml2、查看应用资源清单后所创建的deployment及Pod信_kubectl edit svc kubernetes-dashboard -n kubernetes-dashboard

Google I/O大会轰动全场的Glass Demo视频是怎么来的?-程序员宅基地

文章浏览阅读2.1k次。说起Google I/O 2012开发者大会上令人印象最深刻的一幕莫过于Google Project Glass的跳伞表演了。整个过程在Google Hangout上视频直播,现场的观众和在网上观看Youtube视频直播的网友们随着跳伞者的视角如醉如痴。在昨天玩High全场后,今天Google又玩了一回跳伞,不过观众们还是很兴奋,有读者甚至在雷锋网微博上留言:“这次Google I/O 201

随便推点

从nacos客户端的TIME_WAIT说起_nacos timed_waiting-程序员宅基地

文章浏览阅读802次。问题起因前段时间调研nacos,用来代替zookeeper当作dubbo的注册中心,使用的是nacos的1.1.4版本。还用了nacosSync,一款nacos提供的迁移工具,可将常见的注册中心上的服务同步到nacos上。这玩意很不好用,至少不是生产级别的工具。但这与本文无关,后面会专门写一篇文章来介绍这个同步工具的优缺点,以及生产级别还需要做哪些改造。开始测试时,总有服务莫名奇妙的下线了,一直找不到原因。后来在调研的过程中,nacos发布了1.2.0-beta.0版本,于是去github上看了1.2.0_nacos timed_waiting

FL Studio21.1无限试用版体验新功能变化介绍_fl试用版能用多久-程序员宅基地

文章浏览阅读341次。许多刚刚接触音乐创作的新朋友,通过各种渠道了解到FL Studio,但并不知道我们的历史以及在音乐创作方面所产生的影响,今天分享一篇来自coco玛奇朵博主Rio的深度科普文章,相信对新人会有很大启发。_fl试用版能用多久

专题论坛 | 时空知识图谱与地理大模型(SpatialDI2024)-程序员宅基地

文章浏览阅读45次。原文来源于微信公众号“ACM SIGSPATIAL CHN分会”。转载或者引用本文请注明来源及原作者,版权归原作者及刊载媒体所有。ACM SIGSPATIAL中国分会致力于推动空间数据的研究范式及空间智能理论与技术在时空大数据、智慧城市、交通科学、社会治理等领域的创新与应用。为进一步促进空间数据智能研究的理论发展与应用,交流相关领域的新理论、新问题、新方法,ACM SIGSPATIAL中国分会创办..._基于北斗高精度时空信息和位置语义图谱的地理交通时空大模型构建

关于compile() 函数简单实用示例_c#的compile用法-程序员宅基地

文章浏览阅读1.4k次。3、AST分析和修改:将源代码字符串编译为AST对象,然后使用ast模块进行分析和修改操作,例如静态代码分析、代码转换等。1、动态执行代码:可以将源代码字符串编译为代码对象,然后使用exec()函数执行。2、动态求值表达式:将单个表达式编译为代码对象,然后使用eval()函数求值。在使用某些代码需要提炼出公共的代码块是可以使用,方便后续的使用和添加;compile将代码编译为代码对象,应用在代码中可以提高效率。首先code下新建demo.py。编写调用脚本test.py。返回表达式执行结果。_c#的compile用法

IMX6之emmc的u-boot无法启动调试方法_imx6q bootmode-程序员宅基地

文章浏览阅读1.1w次,点赞2次,收藏5次。通过量测启动设备相应的管脚clock信号来判断Boot_cfg设置是否正确,而如果MFG及MFG镜像可以工作,也可以使用MFG直接读取SBMR1寄存器来获取:1.将MFG的uboot换成正常启动的uboot,即替换掉 \Mfgtools-Rel-4.1.0_130816_MX6Q_UPDATER\Profiles\MX6Q Linux Update\OS Firmware\ u-boot-mx_imx6q bootmode

汉字库,字模的了解_显示汉字为什么是dedede-程序员宅基地

文章浏览阅读4.1k次,点赞3次,收藏4次。汉字库,字模的了解标签: 技术类 2007-09-04 21:50阅读(726)评论(0) 由于Turbo C应用于DOS操作系统下,在使用Turbo C进行程序设计时,一般情况下只好使用英文进行人机交互。要是想直接用中文界面,就需要另想他法了。  如果使用中文DOS系统(如UCDOS),则可以解决在字符界面下的汉字显示问题。也就是说,可以用printf或其他_显示汉字为什么是dedede