赞
踩
下载二进制可运行程序:https://dlcdn.apache.org/iotdb/1.3.1/apache-iotdb-1.3.1-all-bin.zip
历史版本下载:https://archive.apache.org/dist/iotdb/
压缩包下载后,解压后即可看到
将解压后的文件通过Xshell/Xftp直接上传到Linux服务器
apache-iotdb-1.3.1-all-bin
目录下面执行命令bash sbin/start-standalone.sh
[root@iZ2ze30dygwd6yh7gu6lskZ apache-iotdb-1.3.1-all-bin]# bash sbin/start-standalone.sh
Execute start-standalone.sh finished, you can see more details in the logs of confignode and datanode
netstat -nplt
[root@iZ2ze30dygwd6yh7gu6lskZ apache-iotdb-1.3.1-all-bin]# netstat -nplt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1402/sshd
tcp6 0 0 :::3306 :::* LISTEN 1298/mysqld
tcp6 0 0 127.0.0.1:6667 :::* LISTEN 1837/java
tcp6 0 0 :::80 :::* LISTEN 30199/nginx: worker
tcp6 0 0 127.0.0.1:10740 :::* LISTEN 1837/java
tcp6 0 0 127.0.0.1:10710 :::* LISTEN 1727/java
tcp6 0 0 127.0.0.1:10760 :::* LISTEN 1837/java
bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
[root@iZ2ze30dygwd6yh7gu6lskZ apache-iotdb-1.3.1-all-bin]# bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
---------------------
Starting IoTDB Cli
---------------------
_____ _________ ______ ______
|_ _| | _ _ ||_ _ `.|_ _ \
| | .--.|_/ | | \_| | | `. \ | |_) |
| | / .'`\ \ | | | | | | | __'.
_| |_| \__. | _| |_ _| |_.' /_| |__) |
|_____|'.__.' |_____| |______.'|_______/ version 1.3.1 (Build: 214695d)
Successfully login at 127.0.0.1:6667
IoTDB> SHOW DATABASES
+--------+---+-----------------------+---------------------+---------------------+
|Database|TTL|SchemaReplicationFactor|DataReplicationFactor|TimePartitionInterval|
+--------+---+-----------------------+---------------------+---------------------+
+--------+---+-----------------------+---------------------+---------------------+
Empty set.
It costs 0.418s
IoTDB> exit
bash sbin/stop-standalone.sh
[root@iZ2ze30dygwd6yh7gu6lskZ apache-iotdb-1.3.1-all-bin]# bash sbin/stop-standalone.sh
Check whether the internal_port is used..., port is 10710
Stop ConfigNode, PID: 1727
Check whether the rpc_port is used..., port is 6667
Stop DataNode, PID: 1837
觉得好,就一键三连呗(点赞+收藏+关注)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。