Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
bf57aed0
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看板
提交
bf57aed0
编写于
2月 16, 2022
作者:
Z
zyyang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change
上级
f1ddde87
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
6 addition
and
8 deletion
+6
-8
packaging/sed_kh.sh
packaging/sed_kh.sh
+1
-0
packaging/tools/install.sh
packaging/tools/install.sh
+5
-8
未找到文件。
packaging/sed_kh.sh
浏览文件 @
bf57aed0
...
...
@@ -139,6 +139,7 @@ function replace_community_kh() {
sed
-i
"s/configDir=
\"\/
etc
\/
taos
\"
/configDir=
\"\/
etc
\/
kinghistorian
\"
/g"
${
top_dir
}
/packaging/tools/install.sh
sed
-i
"s/installDir=
\"\/
usr
\/
local
\/
taos
\"
/installDir=
\"\/
usr
\/
local
\/
kinghistorian
\"
/g"
${
top_dir
}
/packaging/tools/install.sh
sed
-i
"s/adapterName=
\"
taosadapter
\"
/adapterName=
\"
khadapter
\"
/g"
${
top_dir
}
/packaging/tools/install.sh
sed
-i
"s/
\$
{csudo}mkdir -p
\$
{install_main_dir}
\/
examples/#
\$
{csudo}mkdir -p
\$
{install_main_dir}
\/
examples/g"
${
top_dir
}
/packaging/tools/install.sh
# packaging/tools/makeclient.sh
sed
-i
"s/productName=
\"
TDengine
\"
/productName=
\"
KingHistorian
\"
/g"
${
top_dir
}
/packaging/tools/makeclient.sh
...
...
packaging/tools/install.sh
浏览文件 @
bf57aed0
...
...
@@ -173,9 +173,7 @@ function install_main_path() {
${
csudo
}
mkdir
-p
${
install_main_dir
}
/bin
# ${csudo}mkdir -p ${install_main_dir}/connector
${
csudo
}
mkdir
-p
${
install_main_dir
}
/driver
if
[
$productName
==
"TDengine"
]
;
then
${
csudo
}
mkdir
-p
${
install_main_dir
}
/examples
fi
${
csudo
}
mkdir
-p
${
install_main_dir
}
/examples
${
csudo
}
mkdir
-p
${
install_main_dir
}
/include
# ${csudo}mkdir -p ${install_main_dir}/init.d
if
[
"
$verMode
"
==
"cluster"
]
;
then
...
...
@@ -502,7 +500,6 @@ function install_config() {
local_fqdn_check
# first full-qualified domain name (FQDN) for TDengine cluster system
echo
echo
-e
-n
"
${
GREEN
}
Enter FQDN:port (like h1.
${
emailName
}
:6030) of an existing
${
productName
}
cluster node to join
${
NC
}
"
echo
...
...
@@ -772,7 +769,7 @@ function updateProduct() {
tar
-zxf
${
tarName
}
install_jemalloc
echo
-e
"
${
GREEN
}
Start to update
TDengine
...
${
NC
}
"
echo
-e
"
${
GREEN
}
Start to update
${
productName
}
...
${
NC
}
"
# Stop the service if running
if
pidof
${
serverName
}
&>/dev/null
;
then
if
((
${
service_mod
}
==
0
))
;
then
...
...
@@ -830,13 +827,13 @@ function updateProduct() {
echo
echo
-e
"
${
GREEN_DARK
}
To configure
${
productName
}
${
NC
}
: edit
${
cfg_install_dir
}
/
${
configFile
}
"
echo
-e
"
${
GREEN_DARK
}
To configure
Taos
Adapter (if has)
${
NC
}
: edit
${
cfg_install_dir
}
/
${
adapterName
}
.toml"
echo
-e
"
${
GREEN_DARK
}
To configure Adapter (if has)
${
NC
}
: edit
${
cfg_install_dir
}
/
${
adapterName
}
.toml"
if
((
${
service_mod
}
==
0
))
;
then
echo
-e
"
${
GREEN_DARK
}
To start
${
productName
}
${
NC
}
:
${
csudo
}
systemctl start
${
serverName
}${
NC
}
"
elif
((
${
service_mod
}
==
1
))
;
then
echo
-e
"
${
GREEN_DARK
}
To start
${
productName
}
${
NC
}
:
${
csudo
}
service
${
serverName
}
start
${
NC
}
"
else
echo
-e
"
${
GREEN_DARK
}
To start
Taos
Adapter (if has)
${
NC
}
:
${
adapterName
}
&
${
NC
}
"
echo
-e
"
${
GREEN_DARK
}
To start Adapter (if has)
${
NC
}
:
${
adapterName
}
&
${
NC
}
"
echo
-e
"
${
GREEN_DARK
}
To start
${
productName
}
${
NC
}
: ./
${
serverName
}${
NC
}
"
fi
...
...
@@ -922,7 +919,7 @@ function installProduct() {
elif
((
${
service_mod
}
==
1
))
;
then
echo
-e
"
${
GREEN_DARK
}
To start
${
productName
}
${
NC
}
:
${
csudo
}
service
${
serverName
}
start
${
NC
}
"
else
echo
-e
"
${
GREEN_DARK
}
To start
Taos
Adapter (if has)
${
NC
}
:
${
adapterName
}
&
${
NC
}
"
echo
-e
"
${
GREEN_DARK
}
To start Adapter (if has)
${
NC
}
:
${
adapterName
}
&
${
NC
}
"
echo
-e
"
${
GREEN_DARK
}
To start
${
productName
}
${
NC
}
:
${
serverName
}${
NC
}
"
fi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录