一、异常信息

[INFO] Deployment File is Uploading...
[INFO] IDE Version:IntelliJ IDEA 2019.1.
[INFO] Alibaba Cloud Toolkit Version:2019.7.
[INFO] Start upload base-eureka.jar
[INFO][##################################################] % (/)
[INFO] Succeed to upload, bytes have been uploaded.
[INFO] Upload Deployment File to OSS Success
[INFO] Target Deploy ECS: { 172.17.84.62 / 101.201.236.143 }
[INFO] Command: { source /etc/profile; cd /mnt/software; sh /mnt/software/base-eureka/restart-one.sh }
Tip: The deployment package will be temporarily stored in Alibaba Cloud Security OSS and will be
deleted after the deployment is complete. Please be assured that no one can access it except you. [ERROR] The cloud assistant is not installed on the ECS, or the
cloud assistant is unavailable. Please check and try again, reference https://help.aliyun.com/knowledge_detail/120568.html.
[ERROR] cloudassistant is
uninstall
at com.alibabacloud.commons.ecs.service.CommandService.installCloudAssistant(CommandService.java:)
at com.alibabacloud.commons.ecs.service.CommandService.runAndDeleteCommand(CommandService.java:)
at com.alibabacloud.intellij.task.EcsDeployTask.runCreateUploadDirCmd(EcsDeployTask.java:)
at com.alibabacloud.intellij.task.EcsDeployTask.run(EcsDeployTask.java:)
at com.alibabacloud.intellij.runner.ecs.EcsRunProfileState$.run(EcsRunProfileState.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$(CoreProgressManager.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:)
at com.intellij.openapi.progress.impl.CoreProgressManager$.run(CoreProgressManager.java:)
at com.intellij.openapi.application.impl.ApplicationImpl$.run(ApplicationImpl.java:)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:)
at java.util.concurrent.FutureTask.run(FutureTask.java:)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:)
at java.lang.Thread.run(Thread.java:)
open terminal

二、解决办法

1)RPM包安装,适合CentOS、RHEL和SUSE Linux等操作系统:

1.远程连接Linux实例。
2.运行wget https://repo-aliyun-assist.oss-cn-beijing.aliyuncs.com/download/aliyun_assist.rpm下载云助手客户端rpm包
3.运行rpm -ivh aliyun_assist.rpm安装云助手客户端。
(仅经典网络类型实例)在云助手的安装目录下创建名为region-id的文件,在文件中填入ECS实例所属地域的ID,例如cn-hangzhou。更多取值请参见地域和可用区。

4.验证是否安装成功

  aliyun-service -v

注意:

第3步,对于经典网络类型实例,需要在安装目录下创建名为region-id的文件

1.默认安装路径:

  如果您选择默认安装路径,则客户端在Linux实例中的安装目录为:

  • CoreOS操作系统:/opt/local/share/aliyun-assist/
  • 其他操作系统(Ubuntu、Debian、Red Hat、SUSE Linux Enterprise Server、OpenSUSE和Aliyun Linux等):/usr/local/share/aliyun-assist/

2.查找ECS实例所属地域的ID

https://help.aliyun.com/document_detail/40654.html?spm=a2c4g.11186623.2.18.46074da1o3bEaR#concept-h4v-j5k-xdb

2)其他系统安装文档见:

https://help.aliyun.com/document_detail/64921.html?spm=a2c4g.11186623.2.11.50292ad8K65TED

最新文章

  1. AC日记——最长最短单词 openjudge 1.7 25
  2. Unity3D在IOS上的优化小结
  3. MS SQL SERVER索引优化相关查询
  4. 【Android】Handler使用入门
  5. swift基础知识学习
  6. Oracle数据库插入图片和读取图片
  7. bzoj3796
  8. BZOJ3687: 简单题
  9. 理解中WebAPI的属性和相关操作 FormBody和 FormUri等(WebAPI 二)
  10. 关于oracle卸载没有卸载完全的问题
  11. js词法作用域
  12. linux添加到普通用户sudo才干
  13. 【LaTeX排版】LaTeX论文排版<三>
  14. MyISAM索引和InnoDB索引的区别
  15. SQLite 学习笔记(一)
  16. cordava打包vue项目成app
  17. 性能优化之永恒之道(实时sql优化vs业务字段冗余vs离线计算)
  18. Java-控制台传递参数
  19. 原生js实现图片预览并上传
  20. 【LeetCode C++】Two Sum

热门文章

  1. [考试]NOIP2015模拟题2
  2. Leetcode 5274. 停在原地的方案数
  3. .net core 使用本地包
  4. Python3.7 - Argparse模块的用法
  5. 避免因为Arcgis Server服务设置不当导致Oracle Process溢出的方法
  6. Windows进程间各种通信方式浅谈(转)
  7. Spring Cloud config之三:config-server因为server端和client端的健康检查导致服务超时阻塞问题
  8. php开始,html应用的一些不错收藏
  9. Linux学习笔记之详解linux软连接和硬链接
  10. WebApi验证