You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by lu...@apache.org on 2021/09/25 02:44:04 UTC

[drill-site] branch master updated: zh tutorial translation

This is an automated email from the ASF dual-hosted git repository.

luoc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 8f19703  zh tutorial translation
8f19703 is described below

commit 8f197035bb9856da66ef3c1be69f51914cea555f
Author: kingswanwho <ji...@u.northwestern.edu>
AuthorDate: Sun Sep 19 14:20:40 2021 +0800

    zh tutorial translation
---
 .../010-installing-the-apache-drill-sandbox.md     | 127 ++++++++++-----------
 1 file changed, 61 insertions(+), 66 deletions(-)

diff --git a/_docs/zh/tutorials/learn-drill-with-the-mapr-sandbox/010-installing-the-apache-drill-sandbox.md b/_docs/zh/tutorials/learn-drill-with-the-mapr-sandbox/010-installing-the-apache-drill-sandbox.md
index 2a615c7..d1c2ed1 100644
--- a/_docs/zh/tutorials/learn-drill-with-the-mapr-sandbox/010-installing-the-apache-drill-sandbox.md
+++ b/_docs/zh/tutorials/learn-drill-with-the-mapr-sandbox/010-installing-the-apache-drill-sandbox.md
@@ -4,106 +4,101 @@ slug: "Installing the Apache Drill Sandbox"
 parent: "搭配 MapR Sandbox 学习 Drill"
 lang: "zh"
 ---
-## Prerequisites
+## 准备开始
 
-The MapR Sandbox with Apache Drill runs on VMware Player and VirtualBox, free
-desktop applications that you can use to run a virtual machine on a Windows,
-Mac, or Linux PC. Before you install the MapR Sandbox with Apache Drill,
-verify that the host system meets the following prerequisites:
+集成 Apache Drill 的 MapR Sandbox 可以在 VMware Player 和 VirtualBox 上运行,这些免费虚拟机可以在 Windows、Mac 或 Linux 上运行。
+在安装集成 Apache Drill 的 MapR Sandbox 之前,请验证主机是否满足以下条件:
 
-  * VMware Player or VirtualBox is installed.
-  * At least 20 GB free hard disk space, at least 4 physical cores, and 8 GB of RAM is available. Performance increases with more RAM and free hard disk space.
-  * Uses one of the following 64-bit x86 architectures:
-    * A 1.3 GHz or faster AMD CPU with segment-limit support in long mode
-    * A 1.3 GHz or faster Intel CPU with VT-x support
-  * If you have an Intel CPU with VT-x support, verify that VT-x support is enabled in the host system BIOS. The BIOS settings that must be enabled for VT-x support vary depending on the system vendor. See the VMware knowledge base article at <http://kb.vmware.com/kb/1003944> for information about how to determine if VT-x support is enabled.
+  * 已经安装 VMware Player 或 VirtualBox。
+  * 至少有 20 GB 硬盘空间、4 个物理内核和 8 GB 内存。可用的内存和硬盘空间越多,性能越好。
+  * 使用以下 64 位 x86 架构之一:
+    * 1.3 GHz 或更快的 AMD CPU,在 long mode 下支持 segment-limit。
+    * 1.3 GHz 或更快的 Intel CPU,支持 VT-x
+  * 如果使用支持 VT-x 的 Intel CPU,请确认在主机系统 BIOS 中启用了 VT-x 支持。BIOS 启用 VT-x 支持的设置因系统不同而异。请参考 VMware 的知识库文章,网址为 <http://kb.vmware.com/kb/1003944> 来获得更多有关如何确定是否启用了 VT-x 支持的信息。
 
-### VM Player Downloads
+### 下载 VM Player
 
-For Linux, Mac, or Windows, download the free [VMware Player](https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/6_0 "VMwarePlayer") or
-[VirtualBox](https://www.virtualbox.org/wiki/Downloads). Optionally, you can
-purchase [VMware Fusion](http://www.vmware.com/products/fusion/) for Mac.
+对于 Linux、Mac 或 Windows,可以下载免费的 [VMware Player](https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/6_0 "VMwarePlayer") 或
+[VirtualBox](https://www.virtualbox.org/wiki/Downloads)。或者,也可以为 MacOS
+购买 [VMware Fusion](http://www.vmware.com/products/fusion/)。
 
-### VM Player Installation
+### 安装 VM Player
 
-The following list provides links to the virtual machine installation
-instructions:
+虚拟机安装指南:
 
-  * To install the VMware Player, see the [VMware documentation](http://www.vmware.com/support/pubs/player_pubs.html). Use of VMware Player is subject to the VMware Player end user license terms. VMware does not provide support for VMware Player. For self-help resources, see the [VMware Player FAQ](http://www.vmware.com/products/player/faqs.html).
-  * To install VirtualBox, see the [Oracle VM VirtualBox User Manual](http://dlc.sun.com.edgesuite.net/virtualbox/4.3.4/UserManual.pdf). By downloading VirtualBox, you agree to the terms and conditions of the respective license.
+  * 安装 VMware Player, 请参考 [VMware 文档](http://www.vmware.com/support/pubs/player_pubs.html)。 使用 VMware Player 受 VMware Player 用户许可条款的约束。同时,VMware 不提供对 VMware Player 的支持。学习资源请参考 [VMware Player FAQ](http://www.vmware.com/products/player/faqs.html)。
+  * 安装 VirtualBox, 请参考 [Oracle VM VirtualBox 用户手册](http://dlc.sun.com.edgesuite.net/virtualbox/4.3.4/UserManual.pdf)。下载 VirtualBox,即表示你同意相应的授权许可和条款。
 
-## Installing the MapR Sandbox with Apache Drill on VMware Player/VMware Fusion
+## 在 VMware Player/VMware Fusion 上安装集成 Apache Drill 的 MapR Sandbox。
 
-Complete the following steps to install the MapR Sandbox with Apache Drill on
-VMware Player or VMware Fusion:
+通过下列步骤在 VMware Player 或 VMware Fusion 上安装集成 Apache Drill 的 MapR Sandbox:
 
-1. Download the MapR Sandbox with Drill file to a directory on your machine:  
+1. 将集成 Drill 的 MapR Sandbox 安装包下载到本地:  
    <https://www.mapr.com/products/mapr-sandbox-hadoop/download-sandbox-drill>
-2. Open the virtual machine player, and select the **Open a Virtual Machine** option.  
+2. 启动 VMware Player/VMware Fusion,然后选择**Open a Virtual Machine**选项。  
   
-    **Tip for VMware Fusion**  
+    **VMware Fusion 小贴士**  
 
-    If you are running VMware Fusion, select **Import**.  
+    如果你运行的是 VMware Fusion,请选择**Import**。  
 
     ![drill query flow]({{ site.baseurl }}/images/docs/vmWelcome.png)
-3. Navigate to the directory where you downloaded the MapR Sandbox with Apache Drill file, and select `MapR-Sandbox-For-Apache-Drill-<version>-vmware.ova`.  
-    The Import Virtual Machine dialog appears.
-4. Click **Import**. The virtual machine player imports the sandbox.  
-5. Select `MapR-Sandbox-For-Apache-Drill-<version>_VM`, and click **Play virtual machine**. It takes a few minutes for the MapR services to start. After the MapR services start and installation completes, a screen that displays the following message appears:  
+3. 切换到保存集成 Apache Drill 的 MapR Sandbox 安装包的目录,并选择 `MapR-Sandbox-For-Apache-Drill-<version>-vmware.ova`。  
+   会出现导入虚拟机的对话框。
+4. 点击 **Import**,将 MapR Sandbox 导入到虚拟机。  
+5. 选择 `MapR-Sandbox-For-Apache-Drill-<version>_VM`, 并点击 **Play virtual machine**。MapR 服务需要几分钟来启动。在 MapR 服务启动并安装完成后,屏幕会提示以下消息:
 
               MapR-Sandbox-For-Apache-Drill-<version> installation finished successfully.
               Please go to http://127.0.0.1:8047 to begin your experience.
               Open a browser on your host machine and enter the URL in the browser's address field.
               You can access the host via SSH by ssh mapr@localhost -p 2222
-              Log in to this virtual machine: Linux/Windows <Alt+F2>, Mac OS X <Options+F5>
-**Note:** The URL provided corresponds to the Web UI in Apache Drill.  
+              Log in to this virtual machine: Linux/Windows <Alt+F2>, Mac OS X <Options+F5>  
+
+       **Note:** The URL provided corresponds to the Web UI in Apache Drill.  
      
-6. Verify that a DNS entry was created on the host machine for the virtual machine. If not, create the entry.
-    * For Linux and Mac, create the entry in `/etc/hosts`.  
-    * For Windows, create the entry in the `%WINDIR%\system32\drivers\etc\hosts` file.    
+6. 确认是否在主机上为虚拟机添加了 DNS 解析。如果没有,请创建对应解析。
+    * 对于 Linux 和 Mac,在 `/etc/hosts` 文件中添加 DNS 解析。  
+    * 对于 Windows,在 `%WINDIR%\system32\drivers\etc\hosts` 文件中添加 DNS 解析。  
      
-           Example: `127.0.1.1 <vm_hostname>`
+           如: `127.0.1.1 <vm_hostname>`
 
-7. Navigate to [localhost:8047](http://localhost:8047) to experience the Drill Web UI, or log in to the sandbox through the command line.  
+7. 切换至 [localhost:8047](http://localhost:8047) 来体验 Drill Web UI,或者通过命令行登录 MapR Sandbox。  
 
-   * Login using ssh as described in ["Getting to Know the Sandbox"]({{site.baseurl}}/docs/getting-to-know-the-drill-sandbox). When prompted, enter `mapr` as the login name and password.  
-   * Alternatively, access the command line on the VM: Press Alt+F2 on Windows or Option+F5 on Mac.  
+   * 使用 ssh 登录 MapR,请参考 ["了解 Drill Sandbox"]({{site.baseurl}}/docs/getting-to-know-the-drill-sandbox)。出现登录提示时,输入“mapr”作为登录名和密码。  
+   * 也可以通过虚拟机上的命令行工具访问:在 Windows 上按 Alt+F2 或在 Mac 上按 Option+F5 以启动命令行。  
 
-### What's Next
+### 了解更多
 
-After downloading and installing the sandbox, continue with the tutorial by
-[Getting to Know the Drill
-Sandbox]({{ site.baseurl }}/docs/getting-to-know-the-drill-sandbox/).
+下载并安装沙箱后,再继续以下教程
+[了解 Drill Sandbox]({{ site.baseurl }}/docs/getting-to-know-the-drill-sandbox/)。
 
-## Installing the MapR Sandbox with Apache Drill on VirtualBox
+## 在 VirtualBox 上安装集成 Apache Drill 的 MapR Sandbox
 
-The MapR Sandbox for Apache Drill on VirtualBox comes with NAT port forwarding
-enabled, which allows you to access the sandbox using localhost as hostname.
+VirtualBox 上集成 Apache Drill 的 MapR Sandbox 具有 NAT 端口转发
+的功能,允许使用 localhost 作为主机名访问沙箱。
 
-Complete the following steps to install the MapR Sandbox with Apache Drill on
-VirtualBox:
+通过以下步骤在 VirtualBox 上安装集成 Apache Drill 的 MapR Sandbox :
 
-1. Download the MapR Sandbox with Apache Drill file to a directory on your machine:   
+1. 将集成 Apache Drill 的 MapR Sandbox 安装文件下载到本地目录中:   
 <https://www.mapr.com/products/mapr-sandbox-hadoop/download-sandbox-drill>
-2. Open the virtual machine player.
-3. Select **File > Import Appliance**. The Import Virtual Appliance dialog appears.
+2. 启动 virtual machine player。
+3. 选择 **File > Import Appliance**。弹出导入虚拟设备对话框。
 
      ![drill query flow]({{ site.baseurl }}/images/docs/1_vbImport.png)
-4. Navigate to the directory where you downloaded the MapR Sandbox with Apache Drill, select `MapR-Sandbox-For-Apache-Drill-<version>.ova`, and click **Next**. The Appliance Settings window appears.
+4. 切换到保存集成 Apache Drill 的 MapR Sandbox 安装包的目录,选择 `MapR-Sandbox-For-Apache-Drill-<version>.ova`,并点击 **Next**。弹出导入窗口。
 
      ![drill query flow]({{ site.baseurl }}/images/docs/vbApplSettings.png)
-5. Select the check box at the bottom of the screen: **Reinitialize the MAC address of all network cards**, then click **Import**. The Import Appliance imports the sandbox.
-6. When the import completes, select **Settings**. The VirtualBox - Settings dialog appears.
+5. 选中屏幕底部的复选框:**Reinitialize the MAC address of all network cards**,并点击 **Import**。以导入沙箱。
+6. 当导入完成,选择 **Settings**。弹出 The VirtualBox 设置对话框。
 
      ![drill query flow]({{ site.baseurl }}/images/docs/3_vbNetwork.png)
-7. Select **Network**.  
+7. 选择 **Network**.  
 
-    Verify that Adapter 1 is attached to **NAT**. This option should work for most scenarios. However, if you are going to use a wired Ethernet connection, you can select **NAT Network**. If you use ODBC or JDBC on a remote host, select **Bridged Adapter**. 
+   确认适配器 1 是否已连接到 **NAT**。此选项应该适用于大多数情况。但如果使用的是有线以太网连接,可以选择 **NAT Network**。如果在远程主机上使用 ODBC 或 JDBC,选择 **Bridged Adapter**。
 
      ![drill query flow]({{ site.baseurl }}/images/docs/4_vbMaprSetting.png)
-8. Click **OK** to continue.
+8. 点击 **OK** 以继续。
 
-9. Click **Start**. It takes a few minutes for the MapR services to start. After the MapR services start and installation completes, a screen that displays the following message appears:  
+9. 点击 **Start**。MapR 服务需要几分钟来启动。当 MapR 服务启动并安装完成后,屏幕会提示以下消息:  
 
               MapR-Sandbox-For-Apache-Drill-<version> installation finished successfully.
               Please go to http://127.0.0.1:8047 to begin your experience.
@@ -111,13 +106,13 @@ VirtualBox:
               You can access the host via SSH by ssh mapr@localhost -p 2222
               Log in to this virtual machine: Linux/Windows <Alt+F2>, Mac OS X <Options+F5>  
 
-       **Note:** The URL provided corresponds to the Web UI in Apache Drill.        
+       **Note:** The URL provided corresponds to the Web UI in Apache Drill.      
 
-10. Navigate to [localhost:8047](http://localhost:8047) to experience the Drill Web UI, or log into the sandbox through the command line.  
-       * Login using ssh as described in ["Getting to Know the Sandbox"]({{site.baseurl}}/docs/getting-to-know-the-drill-sandbox). When prompted, enter `mapr` as the login name and password.  
-       * Alternatively, access the command line on the VM: Press Alt+F2 on Windows or Option+F5 on Mac.   
+10. 切换到 [localhost:8047](http://localhost:8047) 来体验 Drill web UI,或者通过命令行登录 MapR Sandbox。  
+      * 使用 ssh 登录 MapR,请参考 ["了解 Drill Sandbox"]({{site.baseurl}}/docs/getting-to-know-the-drill-sandbox)。出现登录提示时,输入“mapr”作为登录名和密码。 
+      * 也可以通过虚拟机上的命令行工具访问:在 Windows 上按 Alt+F2 或在 Mac 上按 Option+F5 以启动命令行。   
 
-### What's Next
+### 了解更多
 
-After downloading and installing the sandbox, continue with the tutorial by
-[Getting to Know the Drill Sandbox]({{ site.baseurl }}/docs/getting-to-know-the-drill-sandbox/).
+下载并安装沙箱后,再继续以下教程
+[了解 Drill Sandbox]({{ site.baseurl }}/docs/getting-to-know-the-drill-sandbox/)。