TDengine支持php,TDengine多种安装包的安装和卸载

更新时间:2023-07-19 05:36:59 阅读: 评论:0

TDengine⽀持php,TDengine多种安装包的安装和卸载TDengine多种安装包的安装和卸载
TDengine开源版本提供deb、rpm、三种安装包,⽤户可以根据⾃⼰的运⾏环境选择合适的安装包。
其中deb⽀持ubuntu系统,rpm⽀持centos系统,包两种系统都⽀持。
deb包的安装和卸载
⼀、安装
1、从官⽹下载获得deb安装包,⽐如tdengine-1.6.1.5.deb;
2、进⼊到tdengine-1.6.1.5.deb安装包所在⽬录,执⾏如下的安装命令:
plum@ubuntu:~/git/taosv16$ sudo dpkg -i tdengine-1.6.1.5.deb
Selecting previously unlected package tdengine.
(Reading databa ... 193536 files and directories currently installed.)
Preparing to unpack tdengine-1.6.1.5.deb ...
Unpacking tdengine (1.6.1.5) ...
Setting up tdengine (1.6.1.5) ...
Start to
Created symlink from /etc/systemd/system/multi-ur.target.wants/taosd.rvice to /etc/systemd/system/taosd.rvice.
TDengine is installed successfully!
To configure TDengine : edit /etc/taos/taos.cfg
To start TDengine : sudo systemctl start taosd
To access TDengine : u taos in shell
TDengine is installed successfully!
⼆、卸载
卸载命令如下:
plum@ubuntu:~/git/tdengine/debs$ sudo dpkg -r tdengine
(Reading databa ... 193718 files and directories currently installed.)
Removing tdengine (1.6.1.5) ...
TDEngine is removed successfully!
鞋店的英文
plum@ubuntu:~/git/tdengine/debs$
rpm包的安装和卸载
⼀、安装
1、从官⽹下载获得rpm安装包,⽐如tdengine-1.6.1.5-3.el7.x86_64.rpm;
2、进⼊到tdengine-1.6.1.5-3.el7.x86_64.rpm安装包所在⽬录,执⾏如下的安装命令:
[root@bogon x86_64]# rpm -iv tdengine-1.6.1.5-3.el7.x86_64.rpm
召唤师技能加点
tdengine-1.6.1.5-3.el7.x86_64
Start to
猪肉汤怎么做好吃Created symlink from /etc/systemd/system/multi-ur.target.wants/taosd.rvice to /etc/systemd/system/taosd.rvice.
TDengine is installed successfully!
To configure TDengine : edit /etc/taos/taos.cfg
To start TDengine : sudo systemctl start taosd
To access TDengine : u taos in shell
TDengine is installed successfully!
⼆、卸载
卸载命令如下:
[root@bogon x86_64]# rpm -e tdengine
TDEngine is removed successfully!
<包的安装和卸载
⼀、安装
油淋茄子1、从官⽹下载获得安装包,⽐如taos-1.6.1.;
2、进⼊到taos-1.6.1.安装包所在⽬录,先解压⽂件后,进⼊⼦⽬录,执⾏其中的install.sh安装脚本:
plum@ubuntu:~/git/tdengine/relea$ sudo tar -xzvf taos-1.6.1.
plum@ubuntu:~/git/tdengine/relea$ ll
total 3796
drwxr-xr-x 3 root root 4096 Aug 9 14:20 ./
drwxrwxr-x 11 plum plum 4096 Aug 8 11:03 ../
drwxr-xr-x 5 root root 4096 Aug 8 11:03 taos-1.6.1.5-linux-2019-08-08-11-02/
-rw-r--r-- 1 root root 3871844 Aug 8 11:03 taos-1.6.1.
plum@ubuntu:~/git/tdengine/relea$ cd taos-1.6.1.5-linux-2019-08-08-11-02/
plum@ubuntu:~/git/tdengine/relea/taos-1.6.1.5-linux-2019-08-08-11-02$ ll
total 2640
百无聊赖
drwxr-xr-x 5 root root 4096 Aug 8 11:03 ./
drwxr-xr-x 3 root root 4096 Aug 9 14:20 ../
drwxr-xr-x 5 root root 4096 Aug 8 11:03 connector/
drwxr-xr-x 2 root root 4096 Aug 8 11:03 driver/
勃尔卡工作小组drwxr-xr-x 8 root root 4096 Aug 8 11:03 examples/
-rwxr-xr-x 1 root root 87 Aug 8 11:03 install_client.sh*
-rwxr-xr-x 1 root root 13095 Aug 8 11:03 install.sh*
-
rw-r--r-- 1 root root 6253 Aug 8 11:03 relea_note
-rw-r--r-- 1 root root 2651954 Aug 8 11:03
plum@ubuntu:~/git/tdengine/relea/taos-1.6.1.5-linux-2019-08-08-11-02$ sudo ./install.sh
Start to
Created symlink from /etc/systemd/system/multi-ur.target.wants/taosd.rvice to /etc/systemd/system/taosd.rvice. TDengine is installed successfully!
To configure TDengine : edit /etc/taos/taos.cfg
To start TDengine : sudo systemctl start taosd
To access TDengine : u taos in shell
TDengine is installed successfully!
⼆、卸载
卸载命令如下:
plum@ubuntu:~/git/tdengine/relea/taos-1.6.1.5-linux-2019-08-08-11-02$ rmtaos
TDEngine is removed successfully!
安装⽬录说明
TDengine成功安装后,主安装⽬录是/usr/local/taos,⽬录内容如下:
plum@ubuntu:/usr/local/taos$ cd /usr/local/taos
plum@ubuntu:/usr/local/taos$ ll
total 36
drwxr-xr-x 9 root root 4096 Aug 9 14:33 ./
drwxr-xr-x 13 root root 4096 Aug 9 14:33 ../
drwxr-xr-x 2 root root 4096 Aug 9 14:33 bin/
drwxr-xr-x 2 root root 4096 Aug 9 14:33 cfg/
drwxr-xr-x 5 root root 4096 Aug 9 14:33 connector/
lrwxrwxrwx 1 root root 13 Aug 9 14:33 data -> /var/lib/taos/
drwxr-xr-x 2 root root 4096 Aug 9 14:33 driver/
drwxr-xr-x 8 root root 4096 Aug 9 14:33 examples/
自我介绍怎么说drwxr-xr-x 2 root root 4096 Aug 9 14:33 include/
drwxr-xr-x 2 root root 4096 Aug 9 14:33 init.d/
lrwxrwxrwx 1 root root 13 Aug 9 14:33 log -> /var/log/taos/
⾃动⽣成配置⽂件⽬录、数据库⽬录、⽇志⽬录。
配置⽂件缺省⽬录:/etc/taos/taos.cfg, 软链接到/usr/local/taos/cfg/taos.cfg;
数据库缺省⽬录:/var/lib/taos, 软链接到/usr/local/taos/data;
⽇志缺省⽬录:/var/log/taos, 软链接到/usr/local/taos/log;
/
usr/local/taos/bin⽬录下的可执⾏⽂件,会软链接到/usr/bin⽬录下;
/usr/local/taos/driver⽬录下的动态库⽂件,会软链接到/usr/lib⽬录下;
/usr/local/taos/include⽬录下的头⽂件,会软链接到到/usr/include⽬录下;
注意事项
TDengine提供了多种安装包,但最好不要在⼀个系统上同时使⽤安装包和deb或rpm安装包。否则会相互影响,导致在使⽤时出现问题。
对于deb包安装后,如果安装⽬录被⼿⼯误删了部分,出现卸载、或重新安装不能成功。此时,需要清除tdengine包的安装信息,执⾏如下命令:
plum@ubuntu:~/git/tdengine/$ sudo rm -f /var/lib/dpkg/info/tdengine*
然后再重新进⾏安装就可以了。
对于rpm包安装后,如果安装⽬录被⼿⼯误删了部分,出现卸载、或重新安装不能成功。此时,需要清除tdengine包的安装信息,执⾏如下命令:
[root@bogon x86_64]# rpm -e --noscripts tdengine
然后再重新进⾏安装就可以了。

本文发布于:2023-07-19 05:36:59,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1087354.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:安装   卸载   安装包   录下
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图