Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 部署离线版的时候执行sh local_install.sh 出现如图问题

The image is not visible. Please provide the text you need translated.
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 部署离线版的时候执行sh local_install.sh 出现如图问题
The image is not visible. Please provide the text you need translated.
How did you download the package? Did you download the whole thing?
I downloaded two packages from the official website, one is tidb-community-server-v6.5.1-linux-amd64.tar.gz, and the other is tidb-community-toolkit-v6.5.1-linux-amd64.tar.gz. I first executed tar -xzvf tidb-community-server-v6.5.1-linux-amd64.tar.gz without any issues. Then I cd into the tidb-community-server-v6.5.1-linux-amd64 directory and executed sh local_install.sh, which resulted in the aforementioned problem.
The steps for offline deployment involve executing the script outside the package. Give it a try.
Please use this command to download
tiup mirror clone tidb-community-server-v6.5.1-linux-amd64 v6.5.1 --os=linux --arch=amd64
version=v6.5.1
tar xzvf tidb-community-server-${version}-linux-amd64.tar.gz
sh tidb-community-server-${version}-linux-amd64/local_install.sh
source /home/tidb/.bash_profile
Merge Server and Toolkit Images
tar xf tidb-community-toolkit-${version}-linux-amd64.tar.gz
ls -ld tidb-community-server-${version}-linux-amd64 tidb-community-toolkit-${version}-linux-amd64
cd tidb-community-server-${version}-linux-amd64/
cp -rp keys ~/.tiup/
tiup mirror merge ../tidb-community-toolkit-${version}-linux-amd64
If not merged, an error will occur during installation indicating that the component cannot be found. Some components are in the toolkit package.
Error: unknown component
Okay, I successfully installed it using method two.
I used the offline method, method two, to solve it.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.