Elastic Beanstalk配置命令以安装Visual C ++ Redistributable

伊丹·谢克特(Idan Shechter)

我正在搜索可在Elastic Beanstalk配置文件中使用的命令,以安装要运行我的Web项目的Visual Studio 2012的Visual C ++ Redistributable。

我尝试安装使用msi从exe构建的应用程序,并安装在S3上,但返回超时:

The following instances have not responded in the allowed command timeout time (they might still finish eventually on their own)

而且我仍然得到错误:

Could not load file or assembly 'Magick.NET-x86.DLL' or one of its dependencies. The specified module could not be found.

Magick.NET需要运行Visual Studio 2012的Visual C ++可再发行组件才能运行。手动安装不是一种选择,因为我需要预先安装它以实现自动可伸缩性。谢谢。

服务器在Windows Server 2012 / IIS8上运行

不朽

我最近遇到了同样的问题。我最终要做的是创建与部署捆绑在一起的脚本,这些脚本从我的S3存储下载可再发行的文件,然后在部署期间安装在服务器上。这是我所做的:

  1. http://www.microsoft.com/zh-cn/download/details.aspx?id=30679下载可重新分发的文件
  2. 将可重新分发的文件上传到您的S3存储,并记下URL位置。

  3. 在.NET项目中,在项目的顶层(即与App_data,App_Start,Content等文件夹位于同一级别)创建一个名为.ebextensions的文件夹。

  4. 创建一个名为myapp.config的文件(将myapp替换为您喜欢的任何文件)。我实际上创建了两个配置文件(myapp-1.config和myapp-2.config),因为无论出于何种原因,部署者都不喜欢将步骤5中的命令放在同一文件中(我仍在学习此文件,所以我最有可能搞砸了,但这对我有用。)

  5. 在配置文件中,放置以下内容(文件放入myapp-1.config,命令放入myapp-2.config):

    文件:
     “ c:\\ somedirectoy \\ vcredist_x64.exe”:
       来源:https 

    : 
      //s3.amazonaws.com/yours3location/2012vcredist_x64.exe命令:instlVC:
          命令:c:\\ somedirectory \\ vcredist_x64.exe / q / norestart

现在,当您从Visual Studio 2012部署到Elastic Beanstalk时,亚马逊部署过程将从S3下载vcredist_x64.exe,然后在安静模式下运行安装程序(无提示等)。

希望这会有所帮助,我欢迎对此方法进行任何改进或提出建议。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Elastic Beanstalk配置命令以安装Visual C ++ Redistributable

来自分类Dev

如果我的Windows已经具有Visual Studio 2012 Redistributable,是否需要安装Visual C ++ 2008 Redistributable?

来自分类Dev

尝试通过pip安装MySQL-python时未找到Visual C ++ 2010 Redistributable

来自分类Dev

如何处理适用于 Visual Studio 2017 的 Microsoft Visual C++ Redistributable?

来自分类Dev

C ++ Redistributable 2012 Update 3检测

来自分类Dev

使C ++运行时可用于Elastic Beanstalk部署

来自分类Dev

AWS Elastic Beanstalk-通过配置安装mongo.so而不安装

来自分类Dev

如何为RDS配置Elastic Beanstalk

来自分类Dev

如何配置Amazon AWS Elastic Beanstalk服务?

来自分类Dev

将Elastic Beanstalk配置更改为Docker

来自分类Dev

AWS Elastic Beanstalk + Laravel,Nginx配置

来自分类Dev

为Elastic Beanstalk环境配置HTTPS

来自分类Dev

配置Route 53和Elastic Beanstalk问题

来自分类Dev

Elastic Beanstalk中的Apache配置语法失败

来自分类Dev

AWS Elastic Beanstalk容器命令失败

来自分类Dev

在Elastic Beanstalk中安装/设置Mongos

来自分类Dev

在Amazon Elastic Beanstalk上安装Anaconda

来自分类Dev

AWS Elastic Beanstalk安装IonCube或Zend Loader

来自分类Dev

在Elastic Beanstalk上通过.ebextensions安装git

来自分类Dev

在Elastic Beanstalk上安装Tesseract的最快方法

来自分类Dev

在AWS Elastic Beanstalk上安装bcrypt失败

来自分类Dev

无法在Elastic Beanstalk上部署节点:命令'/ bin / sh -c npm install'返回了非零代码:1

来自分类Dev

FTP with AWS elastic Beanstalk

来自分类Dev

VPC中的Elastic Beanstalk

来自分类Dev

使用Elastic Beanstalk登录

来自分类Dev

在Visual Studio 2013中进行编译以用于Visual Studio 2010 Redistributable

来自分类Dev

How to determine if the 32-bit Visual Studio 2013 redistributable is installed on a user's machine reliably via the Registry?

来自分类Dev

Amazon Elastic Beanstalk 配置 – 非内置 php.ini 配置

来自分类Dev

如何在AWS Elastic Beanstalk中基于延迟配置扩展?

Related 相关文章

  1. 1

    Elastic Beanstalk配置命令以安装Visual C ++ Redistributable

  2. 2

    如果我的Windows已经具有Visual Studio 2012 Redistributable,是否需要安装Visual C ++ 2008 Redistributable?

  3. 3

    尝试通过pip安装MySQL-python时未找到Visual C ++ 2010 Redistributable

  4. 4

    如何处理适用于 Visual Studio 2017 的 Microsoft Visual C++ Redistributable?

  5. 5

    C ++ Redistributable 2012 Update 3检测

  6. 6

    使C ++运行时可用于Elastic Beanstalk部署

  7. 7

    AWS Elastic Beanstalk-通过配置安装mongo.so而不安装

  8. 8

    如何为RDS配置Elastic Beanstalk

  9. 9

    如何配置Amazon AWS Elastic Beanstalk服务?

  10. 10

    将Elastic Beanstalk配置更改为Docker

  11. 11

    AWS Elastic Beanstalk + Laravel,Nginx配置

  12. 12

    为Elastic Beanstalk环境配置HTTPS

  13. 13

    配置Route 53和Elastic Beanstalk问题

  14. 14

    Elastic Beanstalk中的Apache配置语法失败

  15. 15

    AWS Elastic Beanstalk容器命令失败

  16. 16

    在Elastic Beanstalk中安装/设置Mongos

  17. 17

    在Amazon Elastic Beanstalk上安装Anaconda

  18. 18

    AWS Elastic Beanstalk安装IonCube或Zend Loader

  19. 19

    在Elastic Beanstalk上通过.ebextensions安装git

  20. 20

    在Elastic Beanstalk上安装Tesseract的最快方法

  21. 21

    在AWS Elastic Beanstalk上安装bcrypt失败

  22. 22

    无法在Elastic Beanstalk上部署节点:命令'/ bin / sh -c npm install'返回了非零代码:1

  23. 23

    FTP with AWS elastic Beanstalk

  24. 24

    VPC中的Elastic Beanstalk

  25. 25

    使用Elastic Beanstalk登录

  26. 26

    在Visual Studio 2013中进行编译以用于Visual Studio 2010 Redistributable

  27. 27

    How to determine if the 32-bit Visual Studio 2013 redistributable is installed on a user's machine reliably via the Registry?

  28. 28

    Amazon Elastic Beanstalk 配置 – 非内置 php.ini 配置

  29. 29

    如何在AWS Elastic Beanstalk中基于延迟配置扩展?

热门标签

归档