AMPPS 作为生产服务器?
由于 AMPPS 拥有 Softaculous 。我正在考虑使用 AMPPS 作为生产服务器。我知道这仅用于开发目的。有什么风险,我想知道。提前致谢。
Since AMPPS has Softaculous. I was thinking of using AMPPS as a production server. I know it is meant for development purpose only. What can be the risk, I want to know. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于这样的软件包,默认设置通常是“一切都打开”,以允许缺乏经验的人下载它并尽可能快地启动和运行 wordpress、silverstripe 等。
对于生产服务器,推荐的处理方式是相反的,只需启用完成工作所需的功能并关闭其余的功能。如果您运行了 35 个 apache 模块和 26 个 php 模块,那么就会有大量额外的代码来减慢您的服务器速度并暴露更多漏洞。运行更多的软件意味着更多的修补、更多地监视漏洞,有时在性能方面也意味着更少。
将 ampps 和 mamp 等这些软件包视为程序员的游乐场。您可以将它们部署在生产服务器上,它们很可能没问题,但稳定的网络和安全系统需要更警惕的方法来构建生产 Web 服务器。
一旦你构建了你的应用程序,如果你能找出 apache php 等的最低要求是什么,然后安装它所需要的,从长远来看,你可能会发现它更易于管理。
一如既往的便利与安全!
With packages like this, the default is often "everything on" to allow people with little experience to go download it and get wordpress,silverstripe etc up and running as fast as they can.
For production servers, the recommended way to go about things is the other way round, just enabling the things you ned to get the job done and turning off the rest. If you've 35 apache modules and 26 php modules running then that's a lot of extra code to slow your server down and expose more vulnerabilities. More software running means more patching, more watching for holes and sometimes less in terms of performance.
Think of these packages like ampps and mamp as playgrounds for coders. You could deploy them on a production server and they would most likely be fine but stable networks and secure systems require a more vigilant approach to building a production web server.
Once you've built your application, if you can find out what are its minimum requirements are in terms of apache php etc and then install just what it needs, you might find it more manageable in the long run.
It's convenience vs security as ever!
看起来它是用于实际服务器的,我认为你没有理由不这样做。无论如何,它只是 apache、mysql 和其他一些东西。如果您担心使用捆绑包,只需从软件包或源代码中自行安装工具即可。
It looks like it's intended to be used for actual servers, and I see no reason why you shouldn't. It's just apache, mysql, and some other stuff anyway. If you're concerned about using the bundle, just install the tools yourself, from packages or source.