检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
执行Shell脚本 Execute sh script 失败 部署显示成功但没达到预期结果 部署应用中断 权限不够 参数含反斜杠“\”(特例) 环境下没有主机 环境不存在 使用sudo权限执行报错 部署进程被第三方杀毒软件拦截 路径不合法 在Centos上安装软件提示网络故障 在Ubuntu上安装软件提示网络故障
该模板需要填写的参数如下表所示。 表1 模板参数说明 参数 说明 host_group 该应用部署的目标环境。 package_url 软件包下载地址,可前往制品仓库-软件发布库获取下载链接。 app_name 应用名称,用于获取进程ID并停止。 service_port 应用端口。 父主题:
该模板需要填写的参数如表1所示。 表1 模板参数说明 参数 说明 host_group 该应用部署的目标环境。 package_url 软件包下载地址,可前往制品仓库-软件发布库获取下载链接。 service_port 应用端口。 父主题: 使用预置模板新建并部署应用
参数类型 描述 Content-Type 是 String 消息体的类型(格式) X-Auth-Token 是 String 用户Token。通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值) 表2 请求Body参数 参数 是否必选 参数类型
package_path 软件包下载路径。 package_name 软件包名称(包含文件类型扩展名)。 package_url 软件包下载地址,可前往制品仓库-软件发布库获取下载链接。 父主题: 使用预置模板新建并部署应用
该模板需要填写的参数如表1所示。 表1 模板参数说明 参数 说明 host_group 该应用部署的目标环境。 package_url 软件包下载地址,可前往制品仓库-软件发布库获取下载链接。 service_port SpringBoot应用端口,默认值为8080。 package_name
成长地图 | 华为云 部署(CodeArts Deploy) 部署(原CloudDeploy)提供可视化、一键式部署服务,支持部署到虚拟机或者容器,提供Tomcat、SpringBoot等模板或者自由组装编排原子步骤进行部署,支持并行部署和流水线无缝集成,实现部署环境标准化和部署过程自动化。
启动失败可能有如下原因: 端口被占用。 JDK未安装,或环境变量配置错误。 参数大小设置不合理或参数使用错误。 页面输入的服务绝对路径有误。 通过“选择部署来源”部署步骤下载jar包时,若jar文件命名中包含中文字符,且选择下载的文件为文件夹时,会出现中文乱码,造成当前启动操作无法找到指定jar文件。
error timed out"”。 原因分析 URL填写不正确:URL的域名存在,但URL不存在。 访问的服务不存在。 需要访问的URL地址中的端口未在安全组中添加入方向规则。 处理方法 检查步骤中URL填写是否正确。 可以先参考《用户指南》“创建主机集群的前提条件”章节,添加
当使用“安装JDK”部署步骤,选择版本为“openjdk-1.8.0”时,手动配置了jdk环境变量,且配置路径错误。 处理方法 若未安装Jdk,可通过“安装Jdk ”部署步骤进行安装。 正确配置相关环境变量。 由于当前启动操作为“no_login”方式,若系统为Linux系统,jdk为手
E集群中发布。 选择“当前租户”,当前租户需要有CCE集群操作权限,如果当前没有CCE集群操作权限,可以通过下方的IAM授权选择已有权限的授权用户进行部署。 其他租户:表示通过IAM授权方式将软件包部署到其他租户的CCE集群中发布。 选择“其他租户”,则必须选择授权租户进行CCE集群部署。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
配置文件修改 该步骤可通过识别文件中特定标记符,精准修改文件中指定的内容,以下介绍该部署步骤的配置方法及样例。 表1 参数说明 参数项 说明 步骤显示名称 步骤添加后在部署步骤显示的名称。仅支持汉字、英文字母、数字、空格、或-_,;:./()()符号,其中空格不可在名称开头或结尾使用,长度为1-128。