3.1.基础环境安装

​ 如果选择root用户安装,则以下目录/home/tsf/改为/opt/

3.1.1.物料上传

上传或下载物料包到 TSF一键部署基础运行环境的机器节点上,即 {IP-1} (如有主备,则是 {IP-1}, {IP-2})机器上;

解压物料包,并拷贝以下物料内容至/home/tsf/tmp目录下

// 进入 tsf_deploy.zip 所在目录,修改物料包版本号
unzip -o -d /home/tsf/tmp tsf_deploy-<版本号>.zip && cd /home/tsf/tmp

最终在 /home/tsf/tmp 目录下,独立版1.18应该包含如下物料 :

  • tsf-yum-repo.tar.gz
  • conf.tar.gz
  • pre_component_install.sh
  • pre_component_uninstall.sh
  • access_auto_install.sh
  • access_auto_uninstall.sh
  • access_auto_switch.sh
  • tsfmanager-operation-1.18.0-RELEASE-bin.zip
  • tsf-frontend.tar.gz
  • cloud-access-gateway-1.17.0-RELEASE-bin.zip
  • cloud-access-auth-1.17.0-RELEASE-bin.zip
  • Access Auto Install Guidance.md
  • Access Maintenance Password Guidance.md
  • Access Switch Master-Slave Guiadance.md
  • Access Adapt to Third-Party Account System Guidance.md
  • tsf-1.18.0-RELEASE.zip
  • upgrade
  • no_root.zip
  • cloud-dev-encrypt-util.jar

独立版1.23应该包含如下物料 :

  • tsf-yum-repo.tar.gz
  • conf.tar.gz
  • pre_component_install.sh
  • pre_component_uninstall.sh
  • access_auto_install.sh
  • access_auto_uninstall.sh
  • access_auto_switch.sh
  • tsfmanager-operation-1.23.0-bin.zip
  • tsf-frontend.tar.gz
  • cloud-access-gateway-1.18.0-bin.zip
  • cloud-access-auth-1.18.0-bin.zip
  • Access Auto Install Guidance.md
  • Access Maintenance Password Guidance.md
  • Access Switch Master-Slave Guiadance.md
  • Access Adapt to Third-Party Account System Guidance.md
  • tsf-1.23.0-RELEASE.zip
  • upgrade
  • no_root.zip
  • cloud-dev-encrypt-util.jar
  • tsf-stack-base-1.0.0-bin.zip

独立版1.29应包含如下物料:

  • Access Adapt to Third-Party Account System Guidance.md
  • Access Auto Install Guidance.md
  • access_auto_install.sh
  • access_auto_switch.sh
  • access_auto_uninstall.sh
  • Access Maintenance Password Guidance.md
  • Access Switch Master-Slave Guiadance.md
  • cloud-access-auth-1.18.1-bin.zip
  • cloud-access-gateway-1.18.1-bin.zip
  • cloud-dev-encrypt-util.jar
  • conf.tar.gz
  • no_root.zip
  • pre_component_install.sh
  • pre_component_uninstall.sh
  • tsf-1.29.0-RELEASE.zip
  • tsf-frontend.tar.gz
  • tsfmanager-operation-1.29.0-bin.zip
  • tsf-stack-base-1.0.0-bin.zip
  • tsf-yum-repo.tar.gz
  • upgrade

3.1.2.安装基础环境

a.安装主机

  1. 登录 {IP-1} 的机器;
  2. 上传或下载物料,解压物料,确认物料内容,将3.1中的物料全部复制到/home/tsf/tmp目录下;
  3. 视情况执行以下命令中的一个;
  4. 该步骤耗时大概3~5分钟

注:第一个参数为本机IP,即{IP-1},第二个参数为主备机器列表,两个IP用逗号分隔,不加空格,第三个参数为工作目录。

# 需要安装主备
sh pre_component_install.sh {IP-1} {IP-1},{IP-2} <work_dir>
# 示例如下
# sh pre_component_install.sh 172.16.16.3 172.16.16.3,172.16.16.7 /home/tsf


# 不需要安主备
sh pre_component_install.sh {IP-1} {IP-1} <work_dir>
# 示例如下
# sh pre_component_install.sh 172.16.16.3 172.16.16.3 /home/tsf
  1. 等待安装完成;

b.安装备机(不需要安装主备环境时跳过该步骤)

  1. 登录 {IP-2}的机器;
  2. 上传或下载物料,解压物料,确认物料内容,将3.1中的物料全部复制到/home/tsf/tmp目录下;
  3. 执行以下命令;
  4. 该步骤耗时大概3~5分钟

注:第一个参数为本机IP,即{IP-2},第二个参数为主备机器列表,两个IP用逗号分隔,不加空格,第三个参数为工作目录。

# 需要安装主备
sh pre_component_install.sh {IP-2} {IP-1},{IP-2} <work_dir>
# 示例如下
# sh pre_component_install.sh 172.16.16.7 172.16.16.3,172.16.16.7 /home/tsf
  1. 等待安装完成;

results matching ""

    No results matching ""