StefanieZhao7 commented on code in PR #254:
URL: https://github.com/apache/iotdb-docs/pull/254#discussion_r1645311537


##########
src/zh/UserGuide/Master/Deployment-and-Maintenance/Enviroment-Requirements.md:
##########
@@ -0,0 +1,108 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 环境要求
+
+# 操作系统要求

Review Comment:
   路径层级好像不对?下面的操作系统要求、系统环境准备,都和【环境要求】一样是一级标题



##########
src/.vuepress/sidebar/V1.3.x/en.ts:
##########
@@ -68,7 +68,7 @@ export const enSidebar = {
       children: [
         { text: 'Package Acquisition', link: 'IoTDB-Package' },
         { text: 'Database Resources', link: 'Database-Resources' },
-        { text: 'Environmental Requirement', link: 'Environmental-Requirement' 
},
+        { text: 'Enviroment Requirements', link: 'Enviroment-Requirements' },

Review Comment:
   Environment拼写错误



##########
src/zh/UserGuide/Master/Deployment-and-Maintenance/Enviroment-Requirements.md:
##########
@@ -0,0 +1,108 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 环境要求
+
+# 操作系统要求
+
+IoTDB 支持 Linux、Windows、MacOS 等操作系统,同时企业版支持龙芯、飞腾、鲲鹏等国产 
CPU,支持中标麒麟、银河麒麟、统信、凝思等国产服务器操作系统。
+
+
+
+# 系统环境准备
+
+## 重要提示
+
+无论是在 linux 还是 windows 中,请确保 IoTDB 的安装路径中不含空格和中文,避免软件运行异常。
+
+
+
+## 环境准备
+
+要使用 IoTDB,需要系统环境具备以下条件(以 centos7 命令为例):
+
+1. 安装 Java 运行环境 ,Java 版本 >= 1.8,请确保已设置 jdk 环境变量。
+
+```shell
+ #下面以在centos7,使用JDK-17安装为例:
+ tar  -zxvf  jdk-17_linux-x64_bin.tar     #解压JDK文件
+ Vim  ~/.bashrc                           #配置JDK环境
+ {  export JAVA_HOME=/usr/lib/jvm/jdk-17.0.9
+    export PATH=$JAVA_HOME/bin:$PATH     
+ }  #添加JDK环境变量
+ source  ~/.bashrc                        #配置环境生效
+ java -version                            #检查JDK环境
+```
+
+2. 关闭系统 swap 内存
+
+```shell
+echo "vm.swappiness = 0">> /etc/sysctl.conf
+# 一起执行 swapoff -a 和 swapon -a 命令是为了将 swap 里的数据转储回内存,并清空 swap 里的数据。
+# 不可省略 swappiness 设置而只执行 swapoff -a;否则,重启后 swap 会再次自动打开,使得操作失效。
+swapoff -a && swapon -a
+# 在不重启的情况下使配置生效。
+sysctl -p
+# 检查内存分配,预期 swap 为 0
+free -m
+```
+
+3. 设置系统最大打开文件数为 65535,以避免出现 "太多的打开文件 "的错误。
+```shell

Review Comment:
   shell上面空一行,避免出现格式识别问题



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to