我是 Ubuntu Linux 的长期用户(开发人员),使用 Open Solaris 有什么好处
我是一名 Web 开发人员(J2EE 应用程序开发人员),只是想扩展我使用的工具。 我想将 Open Solaris 用于我的个人项目。 我对 Linux 没有任何反对意见,看起来这两个系统上都有很多相同的工具。
你跳到Solaris了吗,这是一次很好的经历吗?
I am a web developer (J2EE application developer) and just want to expand what tools I use. I want to use Open Solaris for my personal projects. I have nothing against Linux and It looks like a lot of the same tools are on both systems.
Have you jumped to Solaris, was it a good experience?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
DTrace、区域、使用单个 GRUB 开关在 32 位和 64 位模式之间切换、ZFS、稳定库(这一点我怎么强调都不为过)。 Solaris 7 软件通常在 OpenSolaris(也称为 Solaris 11)上运行。glibc 在次要内核版本之间发生变化。
Xen 的集成非常紧密,设置 lx 区域或虚拟化来保持 Linux 环境非常简单。
OpenSolaris 现在有 /usr/bin/gnu,您可以在其中找到所有您喜欢的实用程序。
不过,预计最终会与 ./configure && 作斗争。 制作&& 让安装循环一点点。 许多开发人员假设您运行的是 Linux,并且不会在 Solaris 前面加上 -m64 等。 例如,编译 wxPython 就是一场冒险。
编辑:我忘了向你提一件事(可能很重要)。 包存储库几乎没有可比性。
pkg image-update
(相当于 `apt-get update && apt-get Upgrade && apt-get dist-upgrade)制作了一个可以取回的 ZFS 快照,这很巧妙任何时候都可以通过 GRUB 来实现,但是 IPS 中的软件包远没有 apt 那么多。 不过,所有大人物都在那里。如果您打算进行转换,Sun 的文档非常棒,并且当天的 BigAdmin 提示值得阅读一段时间,以帮助您加快速度。
DTrace, zones, switch between 32 bit and 64 bit mode with a single GRUB switch, ZFS, stable libraries (I can't really emphasize that one enough). Solaris 7 software generally runs on OpenSolaris, otherwise known as Solaris 11. glibc changes between minor kernel releases.
Xen is integrated pretty tightly, and setting up lx zones or virtualization to keep your Linux environment is dead simple.
OpenSolaris now has /usr/bin/gnu, where all you favorite utilities can be found.
Expect, though, to end up fighting the ./configure && make && make install cycle a little bit. A lot of developers assume you're running Linux, and don't prepend -m64 for Solaris, among other things. Compiling wxPython is an adventure, for instance.
Edit: I forgot to mention one (possibly important) thing to you. Package repositories aren't nearly comparable. It's neat that
pkg image-update
(equivalent to `apt-get update && apt-get upgrade && apt-get dist-upgrade) makes a ZFS snapshot that you can get back to via GRUB at any point, but you have nowhere near as many packages in IPS as apt. All the biggies are there, though.If you're planning to switch, Sun's documentation is fantastic, and the BigAdmin tips of the day are worth reading for a while to get you up to speed.
对于 J2EE 工作本身来说,可能并不多。 作为一名更通用的开发人员,您可能会欣赏 DTrace。 作为管理员,您会喜欢 ZFS 和 区。 不过,您会讨厌过时的实用程序(主要是用户空间)。 FreeBSD 是 Linux 和 Linux 之间的一个很好的选择。 不过索拉里斯。 :)
For J2EE work per se, probably not much. As a more general developer you may appreciate DTrace. As an admin you'll love ZFS & zones. You'll hate the outdated utilities (mostly user-land) though. FreeBSD is a nice in-between Linux & Solaris though. :)
我想底层操作系统对于 J2EE 开发人员来说并不重要,只要您坚持使用 java 平台并且不通过 JNI 使用本机库即可。 话虽如此,选择操作系统最重要的因素是成本和性能。 现在,Linux 和 OpenSolaris 都是开源的并且可以免费使用,但我不确定是否在商业部署中使用 OpenSolaris。 我也不知道 Java 性能之间有何不同,但我坚信 Sun 在 Linux 上的实现非常好。
注意:我从未使用过 OpenSolaris,我主要使用 Linux。
I guess the underlying OS doesn't matter much for a J2EE developer, as long as you stick to the java platform and don't make use of native libraries through JNI. Having said that, the most important factors to choose an OS would be cost and performance. Now, both Linux and OpenSolaris are open source and free to use, but I'm not sure about using OpenSolaris in commercial deployments. I also don't know how java performance differs from one to the other, but I'm strongly convinced that Sun's implementation for Linux is damn good.
Note: I've never used OpenSolaris and I use mostly Linux.
我不确定你的问题是针对你的开发桌面还是你的托管解决方案,但我可以尝试两者。 大约六个月前,我在运行 GlassFish 的 OpenSolaris 上免费托管了一年。 我以前没有使用过 Solaris,认为这将是一次很好的学习经历。 我搭建了一个测试服务器,安装了OpenSolaris和GlassFish,并用它来练习。 配置 GlassFish 和部署应用程序非常简单。 一旦您阅读了正确的文档,在 OpenSolaris 中管理服务也很简单。 我喜欢 OpenSolaris,也喜欢 GlassFish。
显然,我发现了以前使用 Java 应用程序服务器和操作系统的经验的相似之处和不同之处。 然而,我对这个操作系统的评价非常高,所以上个月我就更换了桌面。 这是一次很好的经历。
I'm not certain from your question if you mean for your development desktop or your hosting solution but I can take a crack at both. About six months ago I got hold of a free year of hosting on OpenSolaris running GlassFish. I hadn't used Solaris before and thought it would be a good learning experience. I built a test server, installed OpenSolaris and GlassFish, and used it to practice. It was very strightforward to configure GlassFish and deploy applications. Managing services in OpenSolaris is also simple once you read the right documentation. I like OpenSolaris and I like GlassFish.
Obviouly, I found similarities and differences from previous experience with Java application servers and operating systems. However, I thought so highly of the OS that I switched my desktop over last month. It has been a good experience.
遗憾的是,Eclipse 在 OpenSolaris 上不可用。 如果您是 Eclipse 用户,则必须迁移到 NetBeans。
Eclipse is not available on OpenSolaris, unfortunately. If you are an Eclipse user you would have to migrate to NetBeans.