将网络应用程序移至设备的注意事项

发布于 2024-10-15 18:58:34 字数 298 浏览 1 评论 0原文

我们开发了一个在 Linux 上运行的 Web 应用程序,非常受欢迎。我们现在希望将其作为一个设备发布,以便客户可以在自己的网络上内部运行它。

我们不确定最好的方法。我们在 Linux 发行版等领域保持灵活,无论它是纯硬件还是纯软件设备。有人对解决这个问题的最佳方法有什么建议吗?有关该主题的任何优质资源的链接?我们应该问自己什么问题?商业应用程序的法律考虑因素?安全考虑?

更新:

这是一个基于 Python 的 Web 应用程序。我们希望用户能够通过网络界面执行所有操作。没有命令行之类的东西。

We have developed a web application running on Linux that is quite popular. We now wish to release it as an appliance so customers can run it internally on their own networks.

We are unsure of the best approach. We are flexible on areas such as: the Linux distro, whether it's a hardware or software only appliance. Does anyone have any advice on the best way to go about this? Links to any good resources on the subject? Questions we should be asking ourselves? Legal considerations for a commercial app? Security considerations?

UPDATE:

It's a Python based web application. We would like the user to be able to do everything via a web interface. No command line stuff etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

苯莒 2024-10-22 18:58:34

我知道当 Github 需要做类似的事情时,他们与一家专门构建安装程序的公司签订了合同,该公司名为 比特石

如果您想自己开发解决方案,构建 Debian 软件包(如果您愿意,也可以是 RPM)不会出错。这是大多数 Linux 系统管理员都会感到满意的,并且有一些众所周知的方法可以为他们提供定制/控制的组合,同时也使您的流程易于管理。这也为您和您的用户提供了一条众所周知的更新路径。

除非您的客户有非常具体的要求,否则我会避免使用由您提供硬件的交钥匙式设备。这对您来说是额外的工作,并且可能会令客户望而却步。不过,不同的业务有不同的需求,因此您的客户群可能没有 IT,并且更喜欢一体化解决方案。在您询问之前,您无法确定。

I know when Github needed to do something similar, they contracted with a company who specializes in building installers called BitRock.

If you want to develop the solution yourself, you can't go wrong building a Debian package (or RPM if you prefer). That's what most linux system admins would be comfortable with, and there are very well-known ways to give them a mix of customization/control while also making the process easy to manage on your end. That gives you and your users a very well-known update path as well.

Unless you have had very specific requests from customers, I would shy away from a turnkey-style appliance where you provide hardware. It's extra work for you and could be a turn-off to customers. Different business have different needs though, so maybe your client-base doesn't have IT and would prefer an all-in-one solution. Until you ask, you can't be sure though.

素罗衫 2024-10-22 18:58:34

这取决于编写的语言/技术应用程序。
如果是java,则发布war文件+tomcat/jboss。
如果是蟒蛇,就释放卵。
如果是 php...不确定,可能只是 .tar.bz2。

Linux 发行版或虚拟映像可能是优势,但我不喜欢使用它们,因为它们通常不适合我的基础设施(为什么我必须在我的仅限 rhel 的基础设施上安装一些自定义的基于 debian 的发行版?)。

It depends on what langauge/tecnology application is written.
If it is java, release war file + tomcat/jboss.
If it is python, release eggs.
If it is php... not sure, probably just .tar.bz2.

Linux distro or virtual image mught be advantage, but I dislike using them, because they are usually does not fits to my infra (why do I have to install some custom debian-based distro to my rhel-only infrastructure?).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文