Teradata virtual machine environment construction

Download the Teradata image

Teradata mirror download address
vmware download

Install Teradta

After downloading and decompressing, use the vmware virtual machine, click [File] -> [Open] to find the location of the mirror
insert image description here

Edit the virtual machine settings according to the situation, the memory size is modified here, the network is set to NAT mode,
insert image description hereinsert image description here
insert image description here
enter root, password root

insert image description here

Verify that you can connect to the Internet

Unable to connect to the Internet, teradata will fail to start
insert image description here

Open the terminal, double-click the following icon
insert image description here
to test whether you can connect to the Internet, as shown below, you can connect to the network
insert image description here

start teradata

cd /etc/init.d
./tpa start

insert image description here
insert image description here
The startup is successful
insert image description here
. Note: If the virtual machine cannot access the external network, the startup will fail.

Test connection database

1. Get the ip address, enter ifconfig

ifconfig
或者/sbin/ifconfig

2. Use bteq to connect to the database

bteq
.LOGON ip/dbc
# 提示输入密码dbc

insert image description here
3. Execute statement

select count(*)  from dbc.tablesv;

insert image description here

commonly used tools

insert image description here

Set the resolution, set according to the actual situation, click apply after modification

insert image description here
insert image description here

Use the teradata studio client tool to connect to the database

Double-click the Teradata Studio icon on the desktop of the virtual machine to open
insert image description here
Create a connection
insert image description here
insert image description here
Fill in the ip address (virtual machine ip), the user name and password are both dbc, and click the Test Connection button

insert image description here
Success, indicating that there is no problem with the configuration, click Finish
insert image description here

insert image description here
Execute SQL statement
insert image description here

Guess you like

Origin blog.csdn.net/u010895512/article/details/122462731