diff --git a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_apache.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_apache.md index fd7beb423..451921216 100644 --- a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_apache.md +++ b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_apache.md @@ -57,15 +57,15 @@ - Suggested operating environment:Ubuntu, CentOS, MacOS - Runtime Environment - - Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. + - Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. - There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction. - - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows: + - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows: ```shell - # Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`. - ../Python-3.8.0/python -m venv `venv` + # Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`. + ../Python-3.10.0/python -m venv `venv` ``` ## 3. Installation steps @@ -103,13 +103,13 @@ 6. Download and import AINode to a dedicated folder, switch to the dedicated folder and extract the installation package ```shell - unzip iotdb-enterprise-ainode-1.3.3.2.zip + unzip apache-iotdb-1.3.3-ainode-bin.zip ``` 7. Configuration item modification ```shell - vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties + vi apache-iotdb-1.3.3-ainode-bin/conf/iotdb-ainode.properties ``` Configuration item modification:[detailed information](#configuration-item-modification) @@ -125,7 +125,7 @@ 9. Start the AINode node ```shell - nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh > myout.file 2>& 1 & + nohup bash apache-iotdb-1.3.3-ainode-bin/sbin/start-ainode.sh > myout.file 2>& 1 & ``` > Return to the default environment of the system: conda deactivate @@ -278,7 +278,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t | ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation | | ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling | -> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) +> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) #### Example @@ -454,17 +454,17 @@ If the user loses files in the data folder, AINode may not be able to actively r ### 4.1 An error occurs when starting AINode stating that the venv module cannot be found - When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): + When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website. ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` -Install version 3.8.0 of venv into AINode in the AINode path. +Install version 3.10.0 of venv into AINode in the AINode path. ```shell -../Python-3.8.0/python -m venv venv(Folder Name) +../Python-3.10.0/python -m venv venv(Folder Name) ``` When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment. @@ -498,12 +498,12 @@ The corresponding error occurs during installation and compilation, usually due Use the following instructions to download the installation package from the official website and extract it: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` Compile and install the corresponding Python package: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_timecho.md b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_timecho.md index c51a589f1..ac7c278ca 100644 --- a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_timecho.md +++ b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_timecho.md @@ -57,15 +57,15 @@ - Suggested operating environment:Ubuntu, CentOS, MacOS - Runtime Environment - - Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. + - Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. - There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction. - - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows: + - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows: ```shell - # Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`. - ../Python-3.8.0/python -m venv `venv` + # Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`. + ../Python-3.10.0/python -m venv `venv` ``` ## 3. Installation steps @@ -311,7 +311,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t | ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation | | ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling | -> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) +> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) #### Example @@ -487,17 +487,17 @@ If the user loses files in the data folder, AINode may not be able to actively r ### 4.1 An error occurs when starting AINode stating that the venv module cannot be found - When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): + When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website. ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` -Install version 3.8.0 of venv into AINode in the AINode path. +Install version 3.10.0 of venv into AINode in the AINode path. ```shell -../Python-3.8.0/python -m venv venv(Folder Name) +../Python-3.10.0/python -m venv venv(Folder Name) ``` When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment. @@ -531,12 +531,12 @@ The corresponding error occurs during installation and compilation, usually due Use the following instructions to download the installation package from the official website and extract it: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` Compile and install the corresponding Python package: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_apache.md b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_apache.md index 91de30f31..2cd8e2917 100644 --- a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_apache.md +++ b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_apache.md @@ -57,15 +57,15 @@ - Suggested operating environment:Ubuntu, CentOS, MacOS - Runtime Environment - - Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. + - Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. - There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction. - - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows: + - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows: ```shell - # Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`. - ../Python-3.8.0/python -m venv `venv` + # Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`. + ../Python-3.10.0/python -m venv `venv` ``` ## Installation steps @@ -103,13 +103,13 @@ 6. Download and import AINode to a dedicated folder, switch to the dedicated folder and extract the installation package ```shell - unzip iotdb-enterprise-ainode-1.3.3.2.zip + unzip apache-iotdb-1.3.3-ainode-bin.zip ``` 7. Configuration item modification ```shell - vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties + vi apache-iotdb-1.3.3-ainode-bin/conf/iotdb-ainode.properties ``` Configuration item modification:[detailed information](#configuration-item-modification) @@ -125,7 +125,7 @@ 9. Start the AINode node ```shell - nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh > myout.file 2>& 1 & + nohup bash apache-iotdb-1.3.3-ainode-bin/sbin/start-ainode.sh > myout.file 2>& 1 & ``` > Return to the default environment of the system: conda deactivate @@ -278,7 +278,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t | ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation | | ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling | -> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) +> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) #### Example @@ -454,17 +454,17 @@ If the user loses files in the data folder, AINode may not be able to actively r ### An error occurs when starting AINode stating that the venv module cannot be found - When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): + When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website. ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` -Install version 3.8.0 of venv into AINode in the AINode path. +Install version 3.10.0 of venv into AINode in the AINode path. ```shell -../Python-3.8.0/python -m venv venv(Folder Name) +../Python-3.10.0/python -m venv venv(Folder Name) ``` When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment. @@ -498,12 +498,12 @@ The corresponding error occurs during installation and compilation, usually due Use the following instructions to download the installation package from the official website and extract it: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` Compile and install the corresponding Python package: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_timecho.md b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_timecho.md index 5374f19a2..f59234aa8 100644 --- a/src/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_timecho.md +++ b/src/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_timecho.md @@ -57,15 +57,15 @@ - Suggested operating environment:Ubuntu, CentOS, MacOS - Runtime Environment - - Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. + - Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. - There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction. - - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows: + - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows: ```shell - # Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`. - ../Python-3.8.0/python -m venv `venv` + # Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`. + ../Python-3.10.0/python -m venv `venv` ``` ## Installation steps @@ -311,7 +311,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t | ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation | | ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling | -> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) +> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) #### Example @@ -487,17 +487,17 @@ If the user loses files in the data folder, AINode may not be able to actively r ### An error occurs when starting AINode stating that the venv module cannot be found - When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): + When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website. ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` -Install version 3.8.0 of venv into AINode in the AINode path. +Install version 3.10.0 of venv into AINode in the AINode path. ```shell -../Python-3.8.0/python -m venv venv(Folder Name) +../Python-3.10.0/python -m venv venv(Folder Name) ``` When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment. @@ -531,12 +531,12 @@ The corresponding error occurs during installation and compilation, usually due Use the following instructions to download the installation package from the official website and extract it: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` Compile and install the corresponding Python package: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_apache.md b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_apache.md index 91de30f31..592d5c733 100644 --- a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_apache.md +++ b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_apache.md @@ -57,15 +57,15 @@ - Suggested operating environment:Ubuntu, CentOS, MacOS - Runtime Environment - - Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. + - Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. - There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction. - - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows: + - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows: ```shell - # Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`. - ../Python-3.8.0/python -m venv `venv` + # Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`. + ../Python-3.10.0/python -m venv `venv` ``` ## Installation steps @@ -103,13 +103,13 @@ 6. Download and import AINode to a dedicated folder, switch to the dedicated folder and extract the installation package ```shell - unzip iotdb-enterprise-ainode-1.3.3.2.zip + unzip apache-iotdb-1.3.3-ainode-bin.zip ``` 7. Configuration item modification ```shell - vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties + vi apache-iotdb-1.3.3-ainode-bin/conf/iotdb-ainode.properties ``` Configuration item modification:[detailed information](#configuration-item-modification) @@ -125,7 +125,7 @@ 9. Start the AINode node ```shell - nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh > myout.file 2>& 1 & + nohup bash apache-iotdb-1.3.3-ainode-bin/sbin/start-ainode.sh > myout.file 2>& 1 & ``` > Return to the default environment of the system: conda deactivate @@ -278,7 +278,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t | ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation | | ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling | -> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) +> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) #### Example @@ -454,17 +454,17 @@ If the user loses files in the data folder, AINode may not be able to actively r ### An error occurs when starting AINode stating that the venv module cannot be found - When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): + When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website. ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` -Install version 3.8.0 of venv into AINode in the AINode path. +Install version 3.10.0 of venv into AINode in the AINode path. ```shell -../Python-3.8.0/python -m venv venv(Folder Name) +../Python-3.10.0/python -m venv venv(Folder Name) ``` When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment. @@ -498,12 +498,12 @@ The corresponding error occurs during installation and compilation, usually due Use the following instructions to download the installation package from the official website and extract it: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` Compile and install the corresponding Python package: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_timecho.md b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_timecho.md index 5374f19a2..f59234aa8 100644 --- a/src/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_timecho.md +++ b/src/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_timecho.md @@ -57,15 +57,15 @@ - Suggested operating environment:Ubuntu, CentOS, MacOS - Runtime Environment - - Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. + - Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. - There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction. - - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows: + - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows: ```shell - # Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`. - ../Python-3.8.0/python -m venv `venv` + # Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`. + ../Python-3.10.0/python -m venv `venv` ``` ## Installation steps @@ -311,7 +311,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t | ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation | | ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling | -> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) +> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) #### Example @@ -487,17 +487,17 @@ If the user loses files in the data folder, AINode may not be able to actively r ### An error occurs when starting AINode stating that the venv module cannot be found - When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): + When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website. ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` -Install version 3.8.0 of venv into AINode in the AINode path. +Install version 3.10.0 of venv into AINode in the AINode path. ```shell -../Python-3.8.0/python -m venv venv(Folder Name) +../Python-3.10.0/python -m venv venv(Folder Name) ``` When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment. @@ -531,12 +531,12 @@ The corresponding error occurs during installation and compilation, usually due Use the following instructions to download the installation package from the official website and extract it: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` Compile and install the corresponding Python package: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_apache.md b/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_apache.md index fd7beb423..451921216 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_apache.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_apache.md @@ -57,15 +57,15 @@ - Suggested operating environment:Ubuntu, CentOS, MacOS - Runtime Environment - - Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. + - Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. - There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction. - - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows: + - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows: ```shell - # Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`. - ../Python-3.8.0/python -m venv `venv` + # Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`. + ../Python-3.10.0/python -m venv `venv` ``` ## 3. Installation steps @@ -103,13 +103,13 @@ 6. Download and import AINode to a dedicated folder, switch to the dedicated folder and extract the installation package ```shell - unzip iotdb-enterprise-ainode-1.3.3.2.zip + unzip apache-iotdb-1.3.3-ainode-bin.zip ``` 7. Configuration item modification ```shell - vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties + vi apache-iotdb-1.3.3-ainode-bin/conf/iotdb-ainode.properties ``` Configuration item modification:[detailed information](#configuration-item-modification) @@ -125,7 +125,7 @@ 9. Start the AINode node ```shell - nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh > myout.file 2>& 1 & + nohup bash apache-iotdb-1.3.3-ainode-bin/sbin/start-ainode.sh > myout.file 2>& 1 & ``` > Return to the default environment of the system: conda deactivate @@ -278,7 +278,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t | ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation | | ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling | -> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) +> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) #### Example @@ -454,17 +454,17 @@ If the user loses files in the data folder, AINode may not be able to actively r ### 4.1 An error occurs when starting AINode stating that the venv module cannot be found - When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): + When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website. ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` -Install version 3.8.0 of venv into AINode in the AINode path. +Install version 3.10.0 of venv into AINode in the AINode path. ```shell -../Python-3.8.0/python -m venv venv(Folder Name) +../Python-3.10.0/python -m venv venv(Folder Name) ``` When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment. @@ -498,12 +498,12 @@ The corresponding error occurs during installation and compilation, usually due Use the following instructions to download the installation package from the official website and extract it: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` Compile and install the corresponding Python package: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md b/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md index c51a589f1..ac7c278ca 100644 --- a/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md +++ b/src/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md @@ -57,15 +57,15 @@ - Suggested operating environment:Ubuntu, CentOS, MacOS - Runtime Environment - - Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. + - Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb--ainode-bin` folder, and follow the steps below to start AINode. - There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction. - - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows: + - It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb--ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows: ```shell - # Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`. - ../Python-3.8.0/python -m venv `venv` + # Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`. + ../Python-3.10.0/python -m venv `venv` ``` ## 3. Installation steps @@ -311,7 +311,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t | ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation | | ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling | -> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) +> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed) #### Example @@ -487,17 +487,17 @@ If the user loses files in the data folder, AINode may not be able to actively r ### 4.1 An error occurs when starting AINode stating that the venv module cannot be found - When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): + When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other): To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website. ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` -Install version 3.8.0 of venv into AINode in the AINode path. +Install version 3.10.0 of venv into AINode in the AINode path. ```shell -../Python-3.8.0/python -m venv venv(Folder Name) +../Python-3.10.0/python -m venv venv(Folder Name) ``` When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment. @@ -531,12 +531,12 @@ The corresponding error occurs during installation and compilation, usually due Use the following instructions to download the installation package from the official website and extract it: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` Compile and install the corresponding Python package: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_apache.md b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_apache.md index 906cf2ee6..1092905ab 100644 --- a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_apache.md +++ b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_apache.md @@ -56,16 +56,16 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, - 建议操作环境: Ubuntu, CentOS, MacOS - 运行环境 - - 联网环境下 Python >= 3.8即可,且带有 pip 和 venv 工具;非联网环境下需要使用 Python 3.8版本,并从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 + - Python 版本在 3.10~3.12 即可,且带有 pip 和 venv 工具;非联网环境下需要从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 - 环境变量中需存在 Python 解释器且可以通过 `python` 指令直接调用 - - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.8.0 版本虚拟环境,语句如下: + - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.10.0 版本虚拟环境,语句如下: ```shell - # 安装3.8.0版本的venv,创建虚拟环境,文件夹名为 `venv` - ../Python-3.8.0/python -m venv `venv` + # 安装3.10.0版本的venv,创建虚拟环境,文件夹名为 `venv` + ../Python-3.10.0/python -m venv `venv` ``` ## 3. 安装部署及使用 @@ -102,13 +102,13 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, 6. 下载导入AINode到专用文件夹,切换到专用文件夹并解压安装包 ```shell - unzip iotdb-enterprise-ainode-1.3.3.2.zip + unzip apache-iotdb-1.3.3-ainode-bin.zip ``` 7. 配置项修改 ```shell - vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties + vi apache-iotdb-1.3.3-ainode-bin/conf/iotdb-ainode.properties ``` 配置项修改:[详细信息](#配置项修改) > ain_seed_config_node=iotdb-1:10710(集群通讯节点IP:通讯节点端口)
@@ -123,7 +123,7 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, 9. 启动AINode节点 ```shell - nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh > myout.file 2>& 1 & + nohup bash apache-iotdb-1.3.3-ainode-bin/sbin/start-ainode.sh > myout.file 2>& 1 & ``` > 回到系统默认环境:conda deactivate @@ -271,7 +271,7 @@ AINode 支持修改一些必要的参数。可以在 `conf/iotdb-ainode.properti | ain_interpreter_dir | -i | AINode 所安装在的虚拟环境的解释器路径,需要使用绝对路径 | 否 | String | 默认读取环境变量 | 调用时输入或持久化修改 | | ain_force_reinstall | -r | 该脚本在检查 AINode 安装情况的时候是否检查版本,如果检查则在版本不对的情况下会强制安装 lib 里的 whl 安装包 | 否 | Bool | false | 调用时输入 | -> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本为3.8(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) +> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) #### 示例 @@ -445,17 +445,17 @@ IoTDB> show cluster ### 4.1 启动AINode时出现找不到venv模块的报错 - 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.8 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): + 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.10 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): 在本地安装 venv 模块,以 ubuntu 为例,可以通过运行以下命令来安装 python 自带的 venv 模块。或者从 python 官网安装一个自带 venv 的 python 版本。 ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` - 安装 3.8.0 版本的 venv 到 AINode 里面 在 AINode 路径下 + 安装 3.10.0 版本的 venv 到 AINode 里面 在 AINode 路径下 ```shell -../Python-3.8.0/python -m venv venv(文件夹名) +../Python-3.10.0/python -m venv venv(文件夹名) ``` 在运行启动脚本时通过 `-i` 指定已有的 python 解释器路径作为 AINode 的运行环境,这样就不再需要创建一个新的虚拟环境。 @@ -489,12 +489,12 @@ sudo make install 使用以下指定从官网下载安装包并解压: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` 编译安装对应的 python 包: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_timecho.md b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_timecho.md index 7fff11b9c..1e8d83e96 100644 --- a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_timecho.md +++ b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_timecho.md @@ -56,16 +56,16 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, - 建议操作环境: Ubuntu, CentOS, MacOS - 运行环境 - - 联网环境下 Python >= 3.8即可,且带有 pip 和 venv 工具;非联网环境下需要使用 Python 3.8版本,并从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 + - Python 版本在 3.10~3.12 即可,且带有 pip 和 venv 工具;非联网环境下需要从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 - 环境变量中需存在 Python 解释器且可以通过 `python` 指令直接调用 - - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.8.0 版本虚拟环境,语句如下: + - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.10.0 版本虚拟环境,语句如下: ```shell - # 安装3.8.0版本的venv,创建虚拟环境,文件夹名为 `venv` - ../Python-3.8.0/python -m venv `venv` + # 安装3.10.0版本的venv,创建虚拟环境,文件夹名为 `venv` + ../Python-3.10.0/python -m venv `venv` ``` ## 3. 安装部署及使用 @@ -305,7 +305,7 @@ AINode 支持修改一些必要的参数。可以在 `conf/iotdb-ainode.properti | ain_interpreter_dir | -i | AINode 所安装在的虚拟环境的解释器路径,需要使用绝对路径 | 否 | String | 默认读取环境变量 | 调用时输入或持久化修改 | | ain_force_reinstall | -r | 该脚本在检查 AINode 安装情况的时候是否检查版本,如果检查则在版本不对的情况下会强制安装 lib 里的 whl 安装包 | 否 | Bool | false | 调用时输入 | -> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本为3.8(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) +> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) #### 示例 @@ -479,17 +479,17 @@ IoTDB> show cluster ### 4.1 启动AINode时出现找不到venv模块的报错 - 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.8 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): + 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.10 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): 在本地安装 venv 模块,以 ubuntu 为例,可以通过运行以下命令来安装 python 自带的 venv 模块。或者从 python 官网安装一个自带 venv 的 python 版本。 ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` - 安装 3.8.0 版本的 venv 到 AINode 里面 在 AINode 路径下 + 安装 3.10.0 版本的 venv 到 AINode 里面 在 AINode 路径下 ```shell -../Python-3.8.0/python -m venv venv(文件夹名) +../Python-3.10.0/python -m venv venv(文件夹名) ``` 在运行启动脚本时通过 `-i` 指定已有的 python 解释器路径作为 AINode 的运行环境,这样就不再需要创建一个新的虚拟环境。 @@ -523,12 +523,12 @@ sudo make install 使用以下指定从官网下载安装包并解压: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` 编译安装对应的 python 包: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_apache.md b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_apache.md index da95a66a6..4bf9d9e70 100644 --- a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_apache.md +++ b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_apache.md @@ -56,16 +56,16 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, - 建议操作环境: Ubuntu, CentOS, MacOS - 运行环境 - - 联网环境下 Python >= 3.8即可,且带有 pip 和 venv 工具;非联网环境下需要使用 Python 3.8版本,并从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 + - Python 版本在 3.10~3.12 即可,且带有 pip 和 venv 工具;非联网环境下需要从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 - 环境变量中需存在 Python 解释器且可以通过 `python` 指令直接调用 - - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.8.0 版本虚拟环境,语句如下: + - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.10.0 版本虚拟环境,语句如下: ```shell - # 安装3.8.0版本的venv,创建虚拟环境,文件夹名为 `venv` - ../Python-3.8.0/python -m venv `venv` + # 安装3.10.0版本的venv,创建虚拟环境,文件夹名为 `venv` + ../Python-3.10.0/python -m venv `venv` ``` ## 安装部署及使用 @@ -100,13 +100,13 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, 6. 下载导入AINode到专用文件夹,切换到专用文件夹并解压安装包 ```shell - unzip iotdb-enterprise-ainode-1.3.3.2.zip + unzip apache-iotdb-1.3.3-ainode-bin.zip ``` 7. 配置项修改 ```shell - vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties + vi apache-iotdb-1.3.3-ainode-bin/conf/iotdb-ainode.properties ``` 配置项修改:[详细信息](#配置项修改) > ain_seed_config_node=iotdb-1:10710(集群通讯节点IP:通讯节点端口)
@@ -121,7 +121,7 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, 9. 启动AINode节点 ```shell - nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh > myout.file 2>& 1 & + nohup bash apache-iotdb-1.3.3-ainode-bin/sbin/start-ainode.sh > myout.file 2>& 1 & ``` > 回到系统默认环境:conda deactivate @@ -269,7 +269,7 @@ AINode 支持修改一些必要的参数。可以在 `conf/iotdb-ainode.properti | ain_interpreter_dir | -i | AINode 所安装在的虚拟环境的解释器路径,需要使用绝对路径 | 否 | String | 默认读取环境变量 | 调用时输入或持久化修改 | | ain_force_reinstall | -r | 该脚本在检查 AINode 安装情况的时候是否检查版本,如果检查则在版本不对的情况下会强制安装 lib 里的 whl 安装包 | 否 | Bool | false | 调用时输入 | -> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本为3.8(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) +> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) #### 示例 @@ -443,17 +443,17 @@ IoTDB> show cluster ### 启动AINode时出现找不到venv模块的报错 - 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.8 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): + 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.10 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): 在本地安装 venv 模块,以 ubuntu 为例,可以通过运行以下命令来安装 python 自带的 venv 模块。或者从 python 官网安装一个自带 venv 的 python 版本。 ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` - 安装 3.8.0 版本的 venv 到 AINode 里面 在 AINode 路径下 + 安装 3.10.0 版本的 venv 到 AINode 里面 在 AINode 路径下 ```shell -../Python-3.8.0/python -m venv venv(文件夹名) +../Python-3.10.0/python -m venv venv(文件夹名) ``` 在运行启动脚本时通过 `-i` 指定已有的 python 解释器路径作为 AINode 的运行环境,这样就不再需要创建一个新的虚拟环境。 @@ -487,12 +487,12 @@ sudo make install 使用以下指定从官网下载安装包并解压: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` 编译安装对应的 python 包: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_timecho.md b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_timecho.md index adeb7cb03..2b9d1db07 100644 --- a/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_timecho.md +++ b/src/zh/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_timecho.md @@ -56,16 +56,16 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, - 建议操作环境: Ubuntu, CentOS, MacOS - 运行环境 - - 联网环境下 Python >= 3.8即可,且带有 pip 和 venv 工具;非联网环境下需要使用 Python 3.8版本,并从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 + - Python 版本在 3.10~3.12 即可,且带有 pip 和 venv 工具;非联网环境下需要从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 - 环境变量中需存在 Python 解释器且可以通过 `python` 指令直接调用 - - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.8.0 版本虚拟环境,语句如下: + - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.10.0 版本虚拟环境,语句如下: ```shell - # 安装3.8.0版本的venv,创建虚拟环境,文件夹名为 `venv` - ../Python-3.8.0/python -m venv `venv` + # 安装3.10.0版本的venv,创建虚拟环境,文件夹名为 `venv` + ../Python-3.10.0/python -m venv `venv` ``` ## 安装部署及使用 @@ -304,7 +304,7 @@ AINode 支持修改一些必要的参数。可以在 `conf/iotdb-ainode.properti | ain_interpreter_dir | -i | AINode 所安装在的虚拟环境的解释器路径,需要使用绝对路径 | 否 | String | 默认读取环境变量 | 调用时输入或持久化修改 | | ain_force_reinstall | -r | 该脚本在检查 AINode 安装情况的时候是否检查版本,如果检查则在版本不对的情况下会强制安装 lib 里的 whl 安装包 | 否 | Bool | false | 调用时输入 | -> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本为3.8(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) +> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) #### 示例 @@ -478,17 +478,17 @@ IoTDB> show cluster ### 启动AINode时出现找不到venv模块的报错 - 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.8 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): + 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.10 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): 在本地安装 venv 模块,以 ubuntu 为例,可以通过运行以下命令来安装 python 自带的 venv 模块。或者从 python 官网安装一个自带 venv 的 python 版本。 ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` - 安装 3.8.0 版本的 venv 到 AINode 里面 在 AINode 路径下 + 安装 3.10.0 版本的 venv 到 AINode 里面 在 AINode 路径下 ```shell -../Python-3.8.0/python -m venv venv(文件夹名) +../Python-3.10.0/python -m venv venv(文件夹名) ``` 在运行启动脚本时通过 `-i` 指定已有的 python 解释器路径作为 AINode 的运行环境,这样就不再需要创建一个新的虚拟环境。 @@ -522,12 +522,12 @@ sudo make install 使用以下指定从官网下载安装包并解压: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` 编译安装对应的 python 包: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_apache.md b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_apache.md index da95a66a6..4bf9d9e70 100644 --- a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_apache.md +++ b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_apache.md @@ -56,16 +56,16 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, - 建议操作环境: Ubuntu, CentOS, MacOS - 运行环境 - - 联网环境下 Python >= 3.8即可,且带有 pip 和 venv 工具;非联网环境下需要使用 Python 3.8版本,并从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 + - Python 版本在 3.10~3.12 即可,且带有 pip 和 venv 工具;非联网环境下需要从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 - 环境变量中需存在 Python 解释器且可以通过 `python` 指令直接调用 - - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.8.0 版本虚拟环境,语句如下: + - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.10.0 版本虚拟环境,语句如下: ```shell - # 安装3.8.0版本的venv,创建虚拟环境,文件夹名为 `venv` - ../Python-3.8.0/python -m venv `venv` + # 安装3.10.0版本的venv,创建虚拟环境,文件夹名为 `venv` + ../Python-3.10.0/python -m venv `venv` ``` ## 安装部署及使用 @@ -100,13 +100,13 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, 6. 下载导入AINode到专用文件夹,切换到专用文件夹并解压安装包 ```shell - unzip iotdb-enterprise-ainode-1.3.3.2.zip + unzip apache-iotdb-1.3.3-ainode-bin.zip ``` 7. 配置项修改 ```shell - vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties + vi apache-iotdb-1.3.3-ainode-bin/conf/iotdb-ainode.properties ``` 配置项修改:[详细信息](#配置项修改) > ain_seed_config_node=iotdb-1:10710(集群通讯节点IP:通讯节点端口)
@@ -121,7 +121,7 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, 9. 启动AINode节点 ```shell - nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh > myout.file 2>& 1 & + nohup bash apache-iotdb-1.3.3-ainode-bin/sbin/start-ainode.sh > myout.file 2>& 1 & ``` > 回到系统默认环境:conda deactivate @@ -269,7 +269,7 @@ AINode 支持修改一些必要的参数。可以在 `conf/iotdb-ainode.properti | ain_interpreter_dir | -i | AINode 所安装在的虚拟环境的解释器路径,需要使用绝对路径 | 否 | String | 默认读取环境变量 | 调用时输入或持久化修改 | | ain_force_reinstall | -r | 该脚本在检查 AINode 安装情况的时候是否检查版本,如果检查则在版本不对的情况下会强制安装 lib 里的 whl 安装包 | 否 | Bool | false | 调用时输入 | -> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本为3.8(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) +> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) #### 示例 @@ -443,17 +443,17 @@ IoTDB> show cluster ### 启动AINode时出现找不到venv模块的报错 - 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.8 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): + 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.10 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): 在本地安装 venv 模块,以 ubuntu 为例,可以通过运行以下命令来安装 python 自带的 venv 模块。或者从 python 官网安装一个自带 venv 的 python 版本。 ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` - 安装 3.8.0 版本的 venv 到 AINode 里面 在 AINode 路径下 + 安装 3.10.0 版本的 venv 到 AINode 里面 在 AINode 路径下 ```shell -../Python-3.8.0/python -m venv venv(文件夹名) +../Python-3.10.0/python -m venv venv(文件夹名) ``` 在运行启动脚本时通过 `-i` 指定已有的 python 解释器路径作为 AINode 的运行环境,这样就不再需要创建一个新的虚拟环境。 @@ -487,12 +487,12 @@ sudo make install 使用以下指定从官网下载安装包并解压: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` 编译安装对应的 python 包: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_timecho.md b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_timecho.md index adeb7cb03..2b9d1db07 100644 --- a/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_timecho.md +++ b/src/zh/UserGuide/dev-1.3/Deployment-and-Maintenance/AINode_Deployment_timecho.md @@ -56,16 +56,16 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, - 建议操作环境: Ubuntu, CentOS, MacOS - 运行环境 - - 联网环境下 Python >= 3.8即可,且带有 pip 和 venv 工具;非联网环境下需要使用 Python 3.8版本,并从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 + - Python 版本在 3.10~3.12 即可,且带有 pip 和 venv 工具;非联网环境下需要从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 - 环境变量中需存在 Python 解释器且可以通过 `python` 指令直接调用 - - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.8.0 版本虚拟环境,语句如下: + - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.10.0 版本虚拟环境,语句如下: ```shell - # 安装3.8.0版本的venv,创建虚拟环境,文件夹名为 `venv` - ../Python-3.8.0/python -m venv `venv` + # 安装3.10.0版本的venv,创建虚拟环境,文件夹名为 `venv` + ../Python-3.10.0/python -m venv `venv` ``` ## 安装部署及使用 @@ -304,7 +304,7 @@ AINode 支持修改一些必要的参数。可以在 `conf/iotdb-ainode.properti | ain_interpreter_dir | -i | AINode 所安装在的虚拟环境的解释器路径,需要使用绝对路径 | 否 | String | 默认读取环境变量 | 调用时输入或持久化修改 | | ain_force_reinstall | -r | 该脚本在检查 AINode 安装情况的时候是否检查版本,如果检查则在版本不对的情况下会强制安装 lib 里的 whl 安装包 | 否 | Bool | false | 调用时输入 | -> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本为3.8(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) +> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) #### 示例 @@ -478,17 +478,17 @@ IoTDB> show cluster ### 启动AINode时出现找不到venv模块的报错 - 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.8 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): + 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.10 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): 在本地安装 venv 模块,以 ubuntu 为例,可以通过运行以下命令来安装 python 自带的 venv 模块。或者从 python 官网安装一个自带 venv 的 python 版本。 ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` - 安装 3.8.0 版本的 venv 到 AINode 里面 在 AINode 路径下 + 安装 3.10.0 版本的 venv 到 AINode 里面 在 AINode 路径下 ```shell -../Python-3.8.0/python -m venv venv(文件夹名) +../Python-3.10.0/python -m venv venv(文件夹名) ``` 在运行启动脚本时通过 `-i` 指定已有的 python 解释器路径作为 AINode 的运行环境,这样就不再需要创建一个新的虚拟环境。 @@ -522,12 +522,12 @@ sudo make install 使用以下指定从官网下载安装包并解压: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` 编译安装对应的 python 包: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_apache.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_apache.md index 906cf2ee6..1092905ab 100644 --- a/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_apache.md +++ b/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_apache.md @@ -56,16 +56,16 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, - 建议操作环境: Ubuntu, CentOS, MacOS - 运行环境 - - 联网环境下 Python >= 3.8即可,且带有 pip 和 venv 工具;非联网环境下需要使用 Python 3.8版本,并从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 + - Python 版本在 3.10~3.12 即可,且带有 pip 和 venv 工具;非联网环境下需要从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 - 环境变量中需存在 Python 解释器且可以通过 `python` 指令直接调用 - - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.8.0 版本虚拟环境,语句如下: + - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.10.0 版本虚拟环境,语句如下: ```shell - # 安装3.8.0版本的venv,创建虚拟环境,文件夹名为 `venv` - ../Python-3.8.0/python -m venv `venv` + # 安装3.10.0版本的venv,创建虚拟环境,文件夹名为 `venv` + ../Python-3.10.0/python -m venv `venv` ``` ## 3. 安装部署及使用 @@ -102,13 +102,13 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, 6. 下载导入AINode到专用文件夹,切换到专用文件夹并解压安装包 ```shell - unzip iotdb-enterprise-ainode-1.3.3.2.zip + unzip apache-iotdb-1.3.3-ainode-bin.zip ``` 7. 配置项修改 ```shell - vi iotdb-enterprise-ainode-1.3.3.2/conf/iotdb-ainode.properties + vi apache-iotdb-1.3.3-ainode-bin/conf/iotdb-ainode.properties ``` 配置项修改:[详细信息](#配置项修改) > ain_seed_config_node=iotdb-1:10710(集群通讯节点IP:通讯节点端口)
@@ -123,7 +123,7 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, 9. 启动AINode节点 ```shell - nohup bash iotdb-enterprise-ainode-1.3.3.2/sbin/start-ainode.sh > myout.file 2>& 1 & + nohup bash apache-iotdb-1.3.3-ainode-bin/sbin/start-ainode.sh > myout.file 2>& 1 & ``` > 回到系统默认环境:conda deactivate @@ -271,7 +271,7 @@ AINode 支持修改一些必要的参数。可以在 `conf/iotdb-ainode.properti | ain_interpreter_dir | -i | AINode 所安装在的虚拟环境的解释器路径,需要使用绝对路径 | 否 | String | 默认读取环境变量 | 调用时输入或持久化修改 | | ain_force_reinstall | -r | 该脚本在检查 AINode 安装情况的时候是否检查版本,如果检查则在版本不对的情况下会强制安装 lib 里的 whl 安装包 | 否 | Bool | false | 调用时输入 | -> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本为3.8(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) +> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) #### 示例 @@ -445,17 +445,17 @@ IoTDB> show cluster ### 4.1 启动AINode时出现找不到venv模块的报错 - 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.8 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): + 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.10 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): 在本地安装 venv 模块,以 ubuntu 为例,可以通过运行以下命令来安装 python 自带的 venv 模块。或者从 python 官网安装一个自带 venv 的 python 版本。 ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` - 安装 3.8.0 版本的 venv 到 AINode 里面 在 AINode 路径下 + 安装 3.10.0 版本的 venv 到 AINode 里面 在 AINode 路径下 ```shell -../Python-3.8.0/python -m venv venv(文件夹名) +../Python-3.10.0/python -m venv venv(文件夹名) ``` 在运行启动脚本时通过 `-i` 指定已有的 python 解释器路径作为 AINode 的运行环境,这样就不再需要创建一个新的虚拟环境。 @@ -489,12 +489,12 @@ sudo make install 使用以下指定从官网下载安装包并解压: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` 编译安装对应的 python 包: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install diff --git a/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md b/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md index 7fff11b9c..1e8d83e96 100644 --- a/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md +++ b/src/zh/UserGuide/latest/Deployment-and-Maintenance/AINode_Deployment_timecho.md @@ -56,16 +56,16 @@ AINode 是 IoTDB 在 ConfigNode、DataNode 后提供的第三种内生节点, - 建议操作环境: Ubuntu, CentOS, MacOS - 运行环境 - - 联网环境下 Python >= 3.8即可,且带有 pip 和 venv 工具;非联网环境下需要使用 Python 3.8版本,并从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 + - Python 版本在 3.10~3.12 即可,且带有 pip 和 venv 工具;非联网环境下需要从 [此处](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) 下载对应操作系统的zip压缩包(注意下载依赖需选择libs文件夹中的zip压缩包,如下图),并将文件夹下的所有文件拷贝到 `apache-iotdb--ainode-bin` 文件夹中 `lib` 文件夹下,并按下文步骤启动AINode。 - 环境变量中需存在 Python 解释器且可以通过 `python` 指令直接调用 - - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.8.0 版本虚拟环境,语句如下: + - 建议在 `apache-iotdb--ainode-bin` 文件夹下,新建 Python 解释器 venv 虚拟环境。如安装 3.10.0 版本虚拟环境,语句如下: ```shell - # 安装3.8.0版本的venv,创建虚拟环境,文件夹名为 `venv` - ../Python-3.8.0/python -m venv `venv` + # 安装3.10.0版本的venv,创建虚拟环境,文件夹名为 `venv` + ../Python-3.10.0/python -m venv `venv` ``` ## 3. 安装部署及使用 @@ -305,7 +305,7 @@ AINode 支持修改一些必要的参数。可以在 `conf/iotdb-ainode.properti | ain_interpreter_dir | -i | AINode 所安装在的虚拟环境的解释器路径,需要使用绝对路径 | 否 | String | 默认读取环境变量 | 调用时输入或持久化修改 | | ain_force_reinstall | -r | 该脚本在检查 AINode 安装情况的时候是否检查版本,如果检查则在版本不对的情况下会强制安装 lib 里的 whl 安装包 | 否 | Bool | false | 调用时输入 | -> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本为3.8(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) +> 注意:非联网环境下安装失败时,首先检查是否选择了平台对应的安装包,其次确认python版本(由于下载的安装包限制了python版本,3.7、3.9等其他都不行) #### 示例 @@ -479,17 +479,17 @@ IoTDB> show cluster ### 4.1 启动AINode时出现找不到venv模块的报错 - 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.8 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): + 当使用默认方式启动 AINode 时,会在安装包目录下创建一个 python 虚拟环境并安装依赖,因此要求安装 venv 模块。通常来说 python3.10 及以上的版本会自带 venv,但对于一些系统自带的 python 环境可能并不满足这一要求。出现该报错时有两种解决方案(二选一): 在本地安装 venv 模块,以 ubuntu 为例,可以通过运行以下命令来安装 python 自带的 venv 模块。或者从 python 官网安装一个自带 venv 的 python 版本。 ```shell -apt-get install python3.8-venv +apt-get install python3.10-venv ``` - 安装 3.8.0 版本的 venv 到 AINode 里面 在 AINode 路径下 + 安装 3.10.0 版本的 venv 到 AINode 里面 在 AINode 路径下 ```shell -../Python-3.8.0/python -m venv venv(文件夹名) +../Python-3.10.0/python -m venv venv(文件夹名) ``` 在运行启动脚本时通过 `-i` 指定已有的 python 解释器路径作为 AINode 的运行环境,这样就不再需要创建一个新的虚拟环境。 @@ -523,12 +523,12 @@ sudo make install 使用以下指定从官网下载安装包并解压: ```shell -.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz -tar Jxf Python-3.8.0.tar.xz +.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz +tar Jxf Python-3.10.0.tar.xz ``` 编译安装对应的 python 包: ```shell -cd Python-3.8.0 +cd Python-3.10.0 ./configure prefix=/usr/local/python3 make sudo make install