Articles of 部署

如何从符号链接更新之前访问原始文件,这些文件已被移至另一个目录

我们有一个网站,我们的部署过程有些像下面这样(不包括大量不相关的步骤) echo "Remove previous, if it exists, we don't need that anymore" rm -rf /home/[XXX]/php_code/previous echo "Create the current dir if it doesn't exist (just in case this is the first deploy to this server)" mkdir -p /home/[XXX]/php_code/current echo "Create the var_www dir if it doesn't exist (just in case this is the first deploy […]

如何在Windows系统上批量安装/注册软件许可证?

假设我有100个新的笔记本电脑预装了Windows 8.1,防病毒软件和微软办公软件。 我为防病毒和办公室购买了100个许可证密钥。 有没有办法通过networking自动化许可证密钥过程,而不是在每台机器上手动input每个密钥?

Rails应用程序部署在openshift上

我试图部署Rails应用程序没有openshift(rails-2.0 + postrgesql)。 我认为在git push上的自动部署没有执行rake任务db:setup和db:migrate,因为我看到了 PG::UndefinedTable: ERROR: relation "users" does not exist 在~/logs/ruby.log 我的问题是如何手动运行rake任务? 在我认为是什么? 我可以在openshift上运行Rails控制台吗?

SCCM 2012 R2应用程序安装参数string太长

我有一个.msi文件来安装一个有很多参数的客户端软件。 我发现SCCM 2012 R2对“安装程序”string的长度有限制,因为我的时间太长了。 有关如何安装这仍然作为一个应用程序,而不是一个包的build议?

使用Puppet使用angular色 – configuration文件模式时设置SSL密钥

这是一个场景。 我有两个Web应用程序(让我们称之为webapp1和webapp2)需要apache,php(有一些模块)和web应用程序自己的代码。 这是我设置这个(我使用angular色configuration文件模式): modules/ apache/ php/ webapp1/ # responsible for cloning the repo and setting up config files webapp2/ # responsible for cloning the repo and setting up config files profiles/ manifests/ webapp1.pp # responsible for putting the stack together webapp2.pp # responsible for putting the stack together profiles / manifests / webapp1.pp看起来像这样: class profiles::webapp1 […]

通过WDS在PXE客户端上部署自定义映像会给我提供0c0000428错误

我创build一个参考虚拟机,configuration和安装所需的程序,并做sysprep。 我通过WDS捕获图像(捕获图像)并将其上载到WDS服务器上。 当我尝试在PXE客户端(也是一个虚拟机)上部署映像时,它将引导WinPE,安装Windows,当它完成时,从“Windows引导pipe理器”中收到此错误: File: \Windows\system32\winload.exe Status: 0xc0000428 Info: Windows cannot verify the digital signature for this file. 当我参考系统成像时,我错过了什么?

使用Server 2012 R2上的WDS捕获服务器端卷上的映像(VMware ESXi)

我有一台运行Windows Server 2012和WDS的ESXi虚拟机。 服务器虚拟机有一个辅助硬盘存储我的启动和安装镜像文件。 当我尝试捕捉图像时,希望将其保存到参考机器上的本地驱动器上,但出于实际的原因,我想避免将USB驱动器卡到需要捕获的每个系统。 会有一些… 有没有一种方法可以直接捕获到我的服务器辅助硬盘? 如果没有物理存在或远程计算机上的交互,我还能如何将映像传送到服务器?

在Azure上运行后部署和后扩展脚本

来自AWS Elastic Beanstalk,我熟悉scripts.config文件,它允许我指定要在部署之后运行的命令以及在创build新的缩放实例之后运行的命令。 Azure中是否有相当的设施? 是否有可能在部署后运行脚本,更重要的是,是否有办法区分Elastic Beanstalk这两种scheme?

为什么AWS CodeDeploy超时时间超过了指定的超时时间?

我正在使用AWS codedeploy部署我的网站。 我的应用程序停止步骤如下所示: ApplicationStop: – location: deploymet/codedeploy/commands/application-stop/remove-self-from-loadbalancer.sh timeout: 600 runas: root 这个脚本看起来像这样: source ~/.bashrc cd /var/www/html/laravel if [ "$LARAVEL_ENV" = "production" ] then php artisan deployment:remove-self-from-loadbalancer –env=$LARAVEL_ENV fi 手动运行脚本需要一秒钟左右的时间,但部署运行时会挂起并在30秒后失败,并将Script at specified location: deploymet/codedeploy/commands/application-stop/remove-self-from-loadbalancer.sh failed to complete in 30 seconds抛出Script at specified location: deploymet/codedeploy/commands/application-stop/remove-self-from-loadbalancer.sh failed to complete in 30 seconds 。 使用的源将env设置为生产,并且我可以看到预期的效果:在部署开始后,几乎立即从负载平衡器中删除服务器。 据我所知,这个超时不应该发生,直到10分钟后。 为什么这么快发生?

Docker组成冲突错误

无法使用docker构build容器 Docker version 1.9.1, build a34a1d5 Dockerfile FROM ubuntu # File Author / Maintainer MAINTAINER Parzee [email protected] # Install Components. # Update the repository ENV LANG en_US.UTF-8 ENV DEBIAN_FRONTEND noninteractive RUN apt-get update RUN locale-gen en_US en_US.UTF-8 # Install necessary tools RUN apt-get install -y nano vim wget dialog net-tools RUN apt-get install lighttpd -y […]