Get the installation packages.
Access the TDP packages and prepare a local repository when the environment requires it.
All TDP installation packages, including direct dependencies, are available in the Tecnisys Public Package Repository. To access them, use the credentials you defined when you registered for free on the Tecnisys website.
Have at hand the credentials from your free registration on the Tecnisys website: they are the same as the repository's.
Scenarios
- 1 · Public repository
- 2 · Local repository
- 3 · Installation script
Download the installation packages from the Tecnisys repository, through the web page or the terminal.
In this scenario, the installation packages are downloaded straight from the Tecnisys repository, without setting up a repository of your own. You can do this through the repository web page or the terminal, providing the credentials in the request. For a local installation, do not forget to import the repositories' GPG public key.
The same as the Tecnisys website (free registration).
ambari, components, and utils
Download from the repository page
The files of the desired directory, on your computer.
- Register for free on the Tecnisys website;
- Access the Tecnisys Public Package Repository;
- Click the Sign in button, located in the upper right corner of the page;
- Enter your access credentials (the same as the Tecnisys website);
- Click the Browse option, located in the left side menu. And
- In the central navigation area, access the desired directory to download the files.
It worked when
Or download from the terminalOpcional
The Ambari, components, and utilities packages, with the credentials in the request.
You can also download the packages straight from the terminal, providing the access credentials in the request:
Example with curl
curl -S --user <REPO_USERNAME>:<REPO_PASSWORD> https://repo.tecnisys.com.br/yum/tdp/ambari/3.0/tdp-ambari-3-0-el-9-x86-64.tar.gz -o tdp-ambari-3-0-el-9-x86-64.tar.gz
curl -S --user <REPO_USERNAME>:<REPO_PASSWORD> https://repo.tecnisys.com.br/yum/tdp/components/3.0/tdp-components-3-0-el-9-x86-64.tar.gz -o tdp-components-3-0-el-9-x86-64.tar.gz
curl -S --user <REPO_USERNAME>:<REPO_PASSWORD> https://repo.tecnisys.com.br/yum/tdp/utils/3.0/tdp-utils-3-0-el-9-x86-64.tar.gz -o tdp-utils-3-0-el-9-x86-64.tar.gz
Example with wget
wget --user <REPO_USERNAME> --password <REPO_PASSWORD> https://repo.tecnisys.com.br/yum/tdp/ambari/3.0/tdp-ambari-3-0-el-9-x86-64.tar.gz
wget --user <REPO_USERNAME> --password <REPO_PASSWORD> https://repo.tecnisys.com.br/yum/tdp/components/3.0/tdp-components-3-0-el-9-x86-64.tar.gz
wget --user <REPO_USERNAME> --password <REPO_PASSWORD> https://repo.tecnisys.com.br/yum/tdp/utils/3.0/tdp-utils-3-0-el-9-x86-64.tar.gz
Remember to replace <REPO_USERNAME> and <REPO_PASSWORD> with, respectively, the username and password you registered on the Tecnisys website.
ls tdp-ambari-3-0-el-9-x86-64.tar.gz tdp-components-3-0-el-9-x86-64.tar.gz tdp-utils-3-0-el-9-x86-64.tar.gz
It worked when
Download the compressed files (tar.gz)
All component and utility packages at once.
You can download all the component and utility installation packages at once, in compressed files (tar.gz). For example:
/yum/tdp/ambari/3.0/tdp-ambari-3-0-el-9-x86-64.tar.gz
/yum/tdp/components/3.0/tdp-components-3-0-el-9-x86-64.tar.gz
/yum/tdp/utils/3.0/tdp-utils-3-0-el-9-x86-64.tar.gz
To verify the integrity of a file, check the Checksum attributes (sha512, sha256, sha1, and md5), shown when you click it.
In a local installation, download and import the repositories' GPG public key (RPM-GPG-KEY-TDP), available at:
/yum/tdp/ambari/3.0/el-9-x86_64/RPM-GPG-KEY
/yum/tdp/components/3.0/el-9-x86_64/RPM-GPG-KEY
/yum/tdp/utils/3.0/el-9-x86_64/RPM-GPG-KEY
The compressed files (tar.gz) of the component and utility installation packages already include the GPG public key.
It worked when
In a deployment with limited or restricted Internet access, create a local package repository with HTTPD and createrepo.
Your deployment has no Internet access, or the access is restricted. First download the installation packages on a machine with Internet access, as in scenario 1, and transfer the files to your Big Data environment. If a local package repository does not exist yet, you can create one with the steps below. In a local installation, import the repositories' GPG public key, described in scenario 1.
Deployment without Internet access, or with restricted access.
HTTPD and createrepo
ambari, components, and utils
Install the HTTPD and createrepo tools
The HTTP server and the repository index generator.
yum install httpd createrepo
rpm -q httpd createrepo
It worked when
rpm shows the installed version of httpd and createrepo, without the is not installed message.Create the package repository directory (ambari, components, and utils)
The packages extracted into the directory published by HTTPD.
For example:
mv /tmp/tdp-ambari-3-0-el-9-x86-64.tar.gz /var/www/html
tar -xvzf /var/www/html/tdp-ambari-3-0-el-9-x86-64.tar.gz -C /var/www/html
mv /tmp/tdp-components-3-0-el-9-x86-64.tar.gz /var/www/html
tar -xvzf /var/www/html/tdp-components-3-0-el-9-x86-64.tar.gz -C /var/www/html
mv /tmp/tdp-utils-3-0-el-9-x86-64.tar.gz /var/www/html
tar -xvzf /var/www/html/tdp-utils-3-0-el-9-x86-64.tar.gz -C /var/www/html
ls /var/www/html/repo/yum/tdp
It worked when
ambari, components, and utils subdirectories of the repository.Create the repository package index
The index of each repository directory.
createrepo /var/www/html/repo/yum/tdp/ambari/3.0/el-9-x86_64/
createrepo /var/www/html/repo/yum/tdp/components/3.0/el-9-x86_64/
createrepo /var/www/html/repo/yum/tdp/utils/3.0/el-9-x86_64/
ls -d /var/www/html/repo/yum/tdp/*/3.0/el-9-x86_64/repodata
It worked when
repodata subdirectory, created by createrepo.Add the repository alias to the HTTPD service configuration file
The repository directory published by HTTPD at the /repo path.
cat << EOF >> /etc/httpd/conf/httpd.conf
Alias /repo /var/www/html/repo
<Directory /var/www/html/repo>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
EOF
grep -A5 "^Alias /repo" /etc/httpd/conf/httpd.conf
It worked when
Restart the HTTPD service
The repository alias active.
systemctl restart httpd
It worked when
http://localhost/repo. Replace localhost with the IP or hostname of the package repository machine if you are accessing it from another machine.Download the shell script that installs Apache Ambari.
We developed a parameterizable shell script to help with the first stage of deploying the Big Data Cluster, the installation of the Apache Ambari component. The script is available in the /yum/tdp/installer directory of the Tecnisys Public Package Repository.
We recommend installing Apache Ambari (Ambari Server and Ambari Web) on a Utility or Edge machine.
/yum/tdp/installer
The one that will receive Ambari Server, of the Utility or Edge type.
Download the installation script
The ambari-tdp-installer script on the Ambari Server machine.
Initially, download the script on the machine where Ambari Server will be installed. However, if the registration of the machines that will make up the Big Data Cluster is manual (without exchanging SSH keys), as described in Host Registration, we recommend downloading the script on all Cluster machines to install Ambari Agent.
You can download the installation script straight from the terminal, providing the access credentials in the request:
Example with curl
curl -S --user <REPO_USERNAME>:<REPO_PASSWORD> https://repo.tecnisys.com.br/yum/tdp/installer/3.0/el-9-x86_64/ambari-tdp-installer-el-9.sh -o ambari-tdp-installer-el-9.sh
Example with wget
wget --user <REPO_USERNAME> --password <REPO_PASSWORD> https://repo.tecnisys.com.br/yum/tdp/installer/3.0/el-9-x86_64/ambari-tdp-installer-el-9.sh
Remember to replace <REPO_USERNAME> and <REPO_PASSWORD> with, respectively, the username and password you registered on the Tecnisys website.
ls ambari-tdp-installer-el-9.sh
It worked when
Next steps
Next step
Apache Ambari Installation
Install Apache Ambari to automate deployment, manage services and nodes (hosts), monitor the environment, and keep the configuration history.
Previous step
Environment Preparation
Learn about the procedures that must be performed on all Big Data Cluster machines for TDP installation.