服务器利用的虚拟环境
我有一个 Django 应用程序,我想获得扩展我的项目的经验。
http://www.djangobook.com/en/beta/chapter21/
在本文档很好地解释了 django 应用程序的扩展问题,但在购买新服务器之前,我想尝试一下文档中提到的软件。
是否可以在我的本地计算机上运行 4-5 个虚拟机并在每个虚拟机上安装 Linux 服务器,并在它们上分发我的应用程序的数据库、媒体和源代码?
原因是我想在生产环境之前测试负载均衡器或 mysql 复制工具等软件。
I have a django app and I would like to have an experience on scaling-up my project.
http://www.djangobook.com/en/beta/chapter21/
In this document scaling issues of django applications are explained very well but before I buy new servers I would like to try the softwares which are mentioned in the document.
Is it possible to run 4-5 virtual machines and install linux servers on each of them in my local computer and distribute database,media and source code of my application on them ?
The reason for that I would like to test the softwares like load-balancers or mysql replication tools before production enviroment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这不仅是可能的,而且非常容易。看一下 Vagrant1 项目。它是一组围绕创建/更新/管理软件开发虚拟环境而构建的小程序。
It is not only possible but very easy. Take a look at the Vagrant1 project. It's a set of small programs built around creating/updating/managing virtual environments for software development.