Teradata 简明教程
Teradata - Installation
Teradata 提供了适用于 VMWARE 的 Teradata Express,这是一个全面运行的 Teradata 虚拟机。它提供了高达 1 TB 的存储空间。Teradata 同时提供了 40 GB 和 1 TB 版本的 VMware。
Teradata provides Teradata express for VMWARE which is a fully operational Teradata virtual machine. It provides up to 1 terabyte of storage. Teradata provides both 40GB and 1TB version of VMware.
Prerequisites
由于 VM 是 64 位,因此你的 CPU 必须支持 64 位。
Since the VM is 64 bit, your CPU must support 64-bit.
Installation Steps for Windows
Step 1 − 从以下链接下载所需 VM 版本, https://downloads.teradata.com/download/database/teradata-express-for-vmware-player
Step 1 − Download the required VM version from the link, https://downloads.teradata.com/download/database/teradata-express-for-vmware-player
Step 2 − 提取文件并指定目标文件夹。
Step 2 − Extract the file and specify the target folder.
Step 3 − 从以下链接下载 VMWare Workstation 播放器, https://my.vmware.com/web/vmware/downloads 。它适用于 Windows 和 Linux。下载适用于 Windows 的 VMWARE Workstation 播放器。
Step 3 − Download the VMWare Workstation player from the link, https://my.vmware.com/web/vmware/downloads. It is available for both Windows and Linux. Download the VMWARE workstation player for Windows.

Step 4 − 下载完成后,安装软件。
Step 4 − Once the download is complete, install the software.
Step 5 − 安装完成后,运行 VMWARE 客户端。
Step 5 − After the installation is complete, run the VMWARE client.
Step 6 − 选择“打开虚拟机”。浏览解压的 Teradata VMWare 文件夹并选择扩展名为 .vmdk 的文件。
Step 6 − Select 'Open a Virtual Machine'. Navigate through the extracted Teradata VMWare folder and select the file with extension .vmdk.

Step 7 − Teradata VMWare 已添加到 VMWare 客户端。选择添加的 Teradata VMware 然后单击“播放虚拟机”。
Step 7 − Teradata VMWare is added to the VMWare client. Select the added Teradata VMware and click ‘Play Virtual Machine’.

Step 8 − 如果软件更新中弹出窗口,您可以选择“稍后提醒我”。
Step 8 − If you get a popup on software updates, you can select ‘Remind Me Later’.
Step 9 − 输入用户名 root,按 tab 并输入密码 root,再次按 Enter。
Step 9 − Enter the user name as root, press tab and enter password as root and again press Enter.

Step 10 − 桌面出现以下屏幕后,双击“root 的主页”。然后双击“Genome 终端”。这将打开 Shell。
Step 10 − Once the following screen appears on the desktop, double-click on ‘root’s home’. Then double-click on ‘Genome’s Terminal’. This will open the Shell.

Step 11 − 在以下 shell 中,输入命令 /etc/init.d/tpa start。这将启动 Teradata 服务器。
Step 11 − From the following shell, enter the command /etc/init.d/tpa start. This will start the Teradata server.

Starting BTEQ
BTEQ 实用程序用于交互方式提交 SQL 查询。以下是启动 BTEQ 实用程序的步骤。
BTEQ utility is used to submit SQL queries interactively. Following are the steps to start BTEQ utility.
Step 1 − 输入命令 /sbin/ifconfig 并记下 VMWare 的 IP 地址。
Step 1 − Enter the command /sbin/ifconfig and note down the IP address of the VMWare.
Step 2 − 运行命令 bteq。在登录提示符下,输入命令。
Step 2 − Run the command bteq. At the logon prompt, enter the command.
Logon <ipaddress>/dbc,dbc; 并在密码提示符下,输入密码 dbc;
Logon <ipaddress>/dbc,dbc; and enter At the password prompt, enter password as dbc;

您可以使用 BTEQ 登录到 Teradata 系统并运行任何 SQL 查询。
You can log into Teradata system using BTEQ and run any SQL queries.