English 中文(简体)
如何应用版本控制、测试和系统管理持续整合/部署等开发做法?
原标题:How do you apply development practices like version control, testing and continuous integration/deployment to system administration?

想象一下您将重新管理多个服务器, 其服务由多个用户使用。 现在说您想要在其中的服务器中重新配置或替换软件。 显然您不想在正在制作的服务器上工作 。

如果这是改变代码,作为开发者,我会在本地开发机器上做出改变,在本地测试,并将修改落实到版本控制系统。 然后这些改变可以在中转环境中部署,进一步测试并最终在生产环境中部署。 如果必要的话,我很容易退缩。

一般而言,或具体地说,如何在系统管理方面做到这一点?

(首先想到的是使用虚拟机器, 并将虚拟机器图像置于版本控制中, 但我肯定有很多文献和智能解决方案, 目前我还不知道。)

最佳回答

使用厨师或木偶来强制实施机器配置,并将其烹饪书籍和食谱置于版本控制之下。 是的, vms会让事情变得简单一些,但即使是物理服务器的破坏也可以通过启动或预言来控制,而启动或预言可以再次控制版本。

问题回答

暂无回答




相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签