在虚拟机 (VirtualBox) 上运行网络服务器 - 安全性方面的优点/缺点
我想提高我在 gnu/linux 方面的技能,并更好地了解服务器的工作原理。 所以我想我应该建立一个带有 ftp、ssh、svn 等的 apache 网络服务器。因为我每天在安装 linux dist 的工作中使用 Adobe 产品。 直接在我的机器上不是一个选择。 是的,我可能可以在 Linux 和 Vista 上进行双引导。 但由于我是新手,我不想冒我的机器出问题的风险。
所以我想到开始安装一个dist。 具有相当陡峭的学习曲线和大量的手动配置。 最大限度地熟悉命令行操作等。 目标是使其正常工作并进行安全设置。
所以在我写WOT之前;
我很好奇,这样的设置在安全性方面有什么优点和缺点?
谢谢你!
I want to sharpen my skills in terms of gnu/linux and get a better understanding of how servers work. So I thought I'd set up an apache webserver with ftp, ssh, svn etc. Since I use Adobe products everyday in my line of work installing a linux dist. straight on my machine isn't an option. Yes, I could probably do a dualboot with linux and vista. But since I am a novice I don't want to risk something happening to my machine.
So I thought of start of installing a dist. with a pretty steep learning curve with a lot of manual configuration. To maximize the familiarization of command line operations and such. The goal is to make it working and have a safe setup.
So before I write a WOT;
I was curious of, what pros and cons there are in terms of security to have a setup like this?
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
没有,如果 *nix 系统位于虚拟机或物理硬件上,如果您授予它对资源的访问权限,则没有区别。
对于虚拟机,如果您不希望它访问主机硬盘驱动器,则不要添加物理硬盘驱动器。 对于网络和任何其他资源也是如此。
None, there are no difference if the *nix system is on a VM or physical hardware if you give it access to resources.
In the case of the VM if you don't want it to have access to the hosts hard drive then don't add the physical hard drive. Same for the Network and any other resource.
我在我的单个服务器上运行一堆虚拟服务器。 我正在使用 OpenVZ,但基本的优点和缺点是相同的。
优点
我很高兴能够进行很多尝试。 我可以安装东西,把事情搞砸,然后清除整个虚拟服务器并重新开始。 它胜过现实生活中重新安装操作系统。 我还可以通过这种方式轻松比较和对比竞争产品。 我还能够监控系统的运行情况并以更亲密的方式了解它是如何工作的。
缺点
资源消耗,这就是我选择 OpenVZ 的原因 - 与 VirtualBox 相比,它消耗的资源不多。
安全方面,您需要采取与实际系统相同的预防措施。 不同之处在于,如果您的机器受到损害,您可以轻松地将其清除。
I am running a bunch of virtual servers on my single server. I'm using OpenVZ but the basic pros and cons are the same.
Pros
I enjoy the fact that I get to experiment a lot. I can install stuff, screw things up royally, and then just wipe out the entire virtual server and start over. It beats re-installing the OS in real-life. I can also easily compare and contrast competing products this way. I'm also able to monitor the running of the system and understand how it works in a more intimate way.
Cons
Resource consumption, which is the reason why I chose OpenVZ - it doesn't consume that much as compared to VirtualBox.
Security wise, you need to take the same precautions as you do for a real system. The difference is that if your machine is compromised, you can just wipe it out easily.