Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
014948c8
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
014948c8
编写于
4月 27, 2022
作者:
Z
zyyang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change
上级
7c69586c
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
11 addition
and
7 deletion
+11
-7
packaging/tools/install.sh
packaging/tools/install.sh
+8
-5
packaging/tools/makepkg.sh
packaging/tools/makepkg.sh
+3
-2
未找到文件。
packaging/tools/install.sh
浏览文件 @
014948c8
...
...
@@ -29,6 +29,9 @@ logDir="/var/log/taos"
configDir
=
"/etc/taos"
installDir
=
"/usr/local/taos"
adapterName
=
"taosadapter"
benchmarkName
=
"taosBenchmark"
dumpName
=
"taosdump"
demoName
=
"taosdemo"
data_dir
=
${
dataDir
}
log_dir
=
${
logDir
}
...
...
@@ -202,9 +205,9 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/
${
clientName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
clientName
}
${
bin_link_dir
}
/
${
clientName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
serverName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
serverName
}
${
bin_link_dir
}
/
${
serverName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
adapterName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
adapterName
}
${
bin_link_dir
}
/
${
adapterName
}
||
:
[
-x
${
install_main_dir
}
/bin/
taosBenchmark
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosBenchmark
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
install_main_dir
}
/bin/
taosBenchmark
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosBenchmark
${
bin_link_dir
}
/taosBenchmark
||
:
[
-x
${
install_main_dir
}
/bin/
taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
install_main_dir
}
/bin/
${
benchmarkName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
benchmarkName
}
${
bin_link_dir
}
/
${
demoName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
benchmarkName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
benchmarkName
}
${
bin_link_dir
}
/
${
benchmarkName
}
||
:
[
-x
${
install_main_dir
}
/bin/
${
dumpName
}
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/
${
dumpName
}
${
bin_link_dir
}
/
${
dumpName
}
||
:
[
-x
${
install_main_dir
}
/bin/TDinsight.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/TDinsight.sh
${
bin_link_dir
}
/TDinsight.sh
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/
${
uninstallScript
}
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -859,7 +862,7 @@ function updateProduct() {
echo
-e
"
\0
33[44;32;1m
${
productName
}
client is updated successfully!
${
NC
}
"
fi
rm
-rf
$(
tar
-tf
${
tarName
}
|grep
-v
"^
\.
/$"
)
rm
-rf
$(
tar
-tf
${
tarName
}
|
grep
-v
"^
\.
/$"
)
}
function
installProduct
()
{
...
...
@@ -955,7 +958,7 @@ function installProduct() {
fi
touch
~/.
${
historyFile
}
rm
-rf
$(
tar
-tf
${
tarName
}
|grep
-v
"^
\.
/$"
)
rm
-rf
$(
tar
-tf
${
tarName
}
|
grep
-v
"^
\.
/$"
)
}
## ==============================Main program starts from here============================
...
...
packaging/tools/makepkg.sh
浏览文件 @
014948c8
...
...
@@ -72,14 +72,15 @@ else
${
build_dir
}
/bin/
${
benchmarkName
}
\
${
build_dir
}
/bin/TDinsight.sh "
#!!! do not change taosadapter here
bin_files
=
"
${
build_dir
}
/bin/
${
serverName
}
\
${
build_dir
}
/bin/
${
clientName
}
\
${
taostools_bin_files
}
\
${
build_dir
}
/bin/
${
adapterName
}
\
${
build_dir
}
/bin/
taosadapter
\
${
build_dir
}
/bin/tarbitrator
\
${
script_dir
}
/remove.sh
\
${
script_dir
}
/set_core.sh
\
${
script_dir
}
/run_
${
serverName
}
_and_
${
adapterName
}
.sh
\
${
script_dir
}
/run_
taosd_and_taosadapter
.sh
\
${
script_dir
}
/startPre.sh
\
${
script_dir
}
/taosd-dump-cfg.gdb"
fi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录