托管我自己的网站
我知道我可以使用 ubuntu 服务器来托管网站,但我想知道是否可以在常规版本的 ubuntu 而不是服务器版本上托管网站?
I know that I can use ubuntu server to host a website, but what I was wondering if it is possible to host a website on the regular version of ubuntu and not the server edition?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,Apache 几乎可以在任何东西上运行,因此您可以在几乎所有东西上托管一个网站。
桌面版和服务器版之间的主要区别在于,桌面版具有您希望在桌面上添加的其他功能(例如 GUI、办公应用程序等),而服务器版本添加了仅在服务器上有用的功能(LDAP 支持、虚拟化、电源管理等)。
但问题是,因为它完全基于软件包,所以您没有理由不能从桌面版本开始并添加您想要的服务器功能,反之亦然。
Yes, Apache runs on pretty much anything, so you can host a website on pretty much anything you have.
The main different between Desktop and Server versions is that the desktop has additional things you would like on a desktop (such as a GUI, office apps and so on) and the server version adds things that are useful only on a server (LDAP support, virtualization, power management, etc).
The thing is, though, because it's all just based on packages, there's no reason why you can't start with the Desktop version and add the server features you want or vice versa.
对于简单的网站,您还可以尝试轻量级的 NginX
For a simple website, you can also try the lightweight NginX