Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
10f535d3
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
10f535d3
编写于
8月 09, 2022
作者:
wafwerar
提交者:
GitHub
8月 09, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #15905 from taosdata/fix/ZhiqiangWang/TD-18283-add-taosBenchmark-to-deb
build: add taosBenchmark to deb
上级
585458f3
21199976
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
11 addition
and
22 deletion
+11
-22
README-CN.md
README-CN.md
+2
-9
README.md
README.md
+2
-9
cmake/cmake.platform
cmake/cmake.platform
+2
-2
examples/rust
examples/rust
+1
-0
packaging/deb/makedeb.sh
packaging/deb/makedeb.sh
+1
-1
packaging/rpm/tdengine.spec
packaging/rpm/tdengine.spec
+1
-1
packaging/tools/post.sh
packaging/tools/post.sh
+1
-0
tools/taos-tools
tools/taos-tools
+1
-0
未找到文件。
README-CN.md
浏览文件 @
10f535d3
...
...
@@ -50,19 +50,12 @@ TDengine 目前 2.0 版服务器仅能在 Linux 系统上安装和运行,后
## 安装工具
### Ubuntu 1
6
.04 及以上版本 & Debian:
### Ubuntu 1
8
.04 及以上版本 & Debian:
```
bash
sudo
apt-get
install
-y
gcc cmake build-essential git libssl-dev
```
### Ubuntu 14.04:
```
bash
sudo
apt-get
install
-y
gcc cmake3 build-essential git binutils-2.26
export
PATH
=
/usr/lib/binutils-2.26/bin:
$PATH
```
编译或打包 JDBC 驱动源码,需安装 Java JDK 8 或以上版本和 Apache Maven 2.7 或以上版本。
安装 OpenJDK 8:
...
...
@@ -89,7 +82,7 @@ taosTools 是用于 TDengine 的辅助工具软件集合。目前它包含 taosB
sudo
apt
install
build-essential libjansson-dev libsnappy-dev liblzma-dev libz-dev pkg-config
```
### CentOS 7:
### CentOS 7
.9
:
```
bash
sudo
yum
install
-y
gcc gcc-c++ make cmake git openssl-devel
...
...
README.md
浏览文件 @
10f535d3
...
...
@@ -53,19 +53,12 @@ To build TDengine, use [CMake](https://cmake.org/) 3.0.2 or higher versions in t
## Install build dependencies
### Ubuntu 1
6
.04 and above or Debian
### Ubuntu 1
8
.04 and above or Debian
```
bash
sudo
apt-get
install
-y
gcc cmake build-essential git libssl-dev
```
### Ubuntu 14.04
```
bash
sudo
apt-get
install
-y
gcc cmake3 build-essential git binutils-2.26
export
PATH
=
/usr/lib/binutils-2.26/bin:
$PATH
```
To compile and package the JDBC driver source code, you should have a Java jdk-8 or higher and Apache Maven 2.7 or higher installed.
To install openjdk-8:
...
...
@@ -91,7 +84,7 @@ To build the [taosTools](https://github.com/taosdata/taos-tools) on Ubuntu/Debia
sudo
apt
install
build-essential libjansson-dev libsnappy-dev liblzma-dev libz-dev pkg-config
```
### CentOS 7
### CentOS 7
.9
```
bash
sudo
yum
install
epel-release
...
...
cmake/cmake.platform
浏览文件 @
10f535d3
...
...
@@ -97,13 +97,13 @@ IF ("${CPUTYPE}" STREQUAL "")
ELSE ()
# if generate ARM version:
# cmake -DCPUTYPE=aarch32 .. or cmake -DCPUTYPE=aarch64
IF (${CPUTYPE} MATCHES "aarch32")
IF (${CPUTYPE} MATCHES "aarch32"
or ${CPUTYPE} MATCHES "arm32"
)
SET(PLATFORM_ARCH_STR "arm")
MESSAGE(STATUS "input cpuType: aarch32")
ADD_DEFINITIONS("-D_TD_ARM_")
ADD_DEFINITIONS("-D_TD_ARM_32")
SET(TD_ARM_32 TRUE)
ELSEIF (${CPUTYPE} MATCHES "aarch64")
ELSEIF (${CPUTYPE} MATCHES "aarch64"
or ${CPUTYPE} MATCHES "arm64"
)
SET(PLATFORM_ARCH_STR "arm64")
MESSAGE(STATUS "input cpuType: aarch64")
ADD_DEFINITIONS("-D_TD_ARM_")
...
...
rust
@
7ed7a977
Subproject commit 7ed7a97715388fa144718764d6bf20f9bfc29a12
packaging/deb/makedeb.sh
浏览文件 @
10f535d3
...
...
@@ -60,7 +60,7 @@ cp ${compile_dir}/../packaging/tools/set_core.sh ${pkg_dir}${install_home_pat
cp
${
compile_dir
}
/../packaging/tools/taosd-dump-cfg.gdb
${
pkg_dir
}${
install_home_path
}
/bin
cp
${
compile_dir
}
/build/bin/taosd
${
pkg_dir
}${
install_home_path
}
/bin
#
cp ${compile_dir}/build/bin/taosBenchmark ${pkg_dir}${install_home_path}/bin
cp
${
compile_dir
}
/build/bin/taosBenchmark
${
pkg_dir
}${
install_home_path
}
/bin
if
[
-f
"
${
compile_dir
}
/build/bin/taosadapter"
]
;
then
cp
${
compile_dir
}
/build/bin/taosadapter
${
pkg_dir
}${
install_home_path
}
/bin
||
:
...
...
packaging/rpm/tdengine.spec
浏览文件 @
10f535d3
...
...
@@ -69,7 +69,7 @@ cp %{_compiledir}/../packaging/tools/set_core.sh %{buildroot}%{homepath}/bin
cp %{_compiledir}/../packaging/tools/taosd-dump-cfg.gdb %{buildroot}%{homepath}/bin
cp %{_compiledir}/build/bin/taos %{buildroot}%{homepath}/bin
cp %{_compiledir}/build/bin/taosd %{buildroot}%{homepath}/bin
#
cp %{_compiledir}/build/bin/taosBenchmark %{buildroot}%{homepath}/bin
cp %{_compiledir}/build/bin/taosBenchmark %{buildroot}%{homepath}/bin
if [ -f %{_compiledir}/build/bin/taosadapter ]; then
cp %{_compiledir}/build/bin/taosadapter %{buildroot}%{homepath}/bin ||:
...
...
packaging/tools/post.sh
浏览文件 @
10f535d3
...
...
@@ -132,6 +132,7 @@ function install_bin() {
[
-x
${
bin_dir
}
/taosd
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taosd
${
bin_link_dir
}
/taosd
||
:
[
-x
${
bin_dir
}
/taosadapter
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taosadapter
${
bin_link_dir
}
/taosadapter
||
:
[
-x
${
bin_dir
}
/taosBenchmark
]
&&
${
csudo
}
ln
-sf
${
bin_dir
}
/taosBenchmark
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
bin_dir
}
/taosBenchmark
]
&&
${
csudo
}
ln
-sf
${
bin_dir
}
/taosBenchmark
${
bin_link_dir
}
/taosBenchmark
||
:
[
-x
${
bin_dir
}
/TDinsight.sh
]
&&
${
csudo
}
ln
-sf
${
bin_dir
}
/TDinsight.sh
${
bin_link_dir
}
/TDinsight.sh
||
:
[
-x
${
bin_dir
}
/taosdump
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
bin_dir
}
/set_core.sh
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/set_core.sh
${
bin_link_dir
}
/set_core
||
:
...
...
taos-tools
@
3c7dafee
Subproject commit 3c7dafeea3e558968165b73bee0f51024898e3da
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录