- mongodb - 在 MongoDB mapreduce 中,如何展平值对象?
- javascript - 对象传播与 Object.assign
- html - 输入类型 ="submit"Vs 按钮标签它们可以互换吗?
- sql - 使用 MongoDB 而不是 MS SQL Server 的优缺点
是否有人知道针对具有以下一项、部分或全部功能的 Web 开发人员的最新 Linux 发行版的 ISO 镜像:
LAMP 堆栈易于设置(已安装 Apache 2、虚拟站点目录结构(托管)、PHP 安装、mySQL 安装)
为初学者设置 Ruby/RoR
为多个存储库设置 Subversion
防火墙配置为用作 Web 服务器(端口 80 开放,其他不多)
Python 和 Trac 已安装并与 Apache 集成(支持多环境)
背景:
我有一个功能强大的新工作站,想设置一些虚拟机用于测试、开发和版本控制,最好是在 Linux 上。这些机器不会向公众公开。
我想节省尽可能多的安装和设置工作 - 如果我一个人完成,设置上述列表中的所有内容将花费我数周时间。
Bounty
I have had to put this on the shelf for the time being due to other, more pressing projects. The suggestions made are already a brilliant list; I'm putting a bounty on the question to try and gather as much input as possible, so this can be the reference question on the issue for future generations.
I will be awarding the bounty either based on popular vote or on a whim, from what looks the best solution to me.
最佳答案
说真的,我认为最好的办法是创建自己的。例如,有些人使用 Redmine 而不是 Trac。找到具有这些特定安装的预配置 VM 将很困难。
因此,以“创建自己的”为前提,我相信您有以下选择:
想到 Ubuntu 服务器:it has an option to install a minimal installation specific to VMs .
Download the server ISO image, boot from it, press F4 on the first screen and select "Install a minimal virtual machine".
- Less than 380MB installed footprint
- Specialized server Kernel (-virtual)
- Optimised for VMWare ESX, VMWare Server and KVM Intel or AMD x86 architecture
- Minimum memory 128MB
- No graphical environment preloaded as it is aimed at server virtual appliance
恕我直言,您最多只能花费一天的时间来根据自己的喜好配置虚拟机,而不是数周。使用 apt-get 可以为您在功能列表中的几乎所有软件包中节省一些时间。
...如果你想要更多的自定义,你甚至可以尝试使用 vmbuilder .
vmbuilder is a script that automatesthe process of creating a ready to useVM based on Ubuntu. There is no needfor a JeOS CD image. The currentlysupported hypervisors are KVM, Xen andVMware.
安装 minimal Debian system并剥离一些功能,或创建一个 small live image并使用它。
这是最难的,你会花很多时间。
但是您将能够拥有一个非常小的发行版并了解 Linux 系统的真正工作原理。了解一切是如何工作的,您可以在设置中安装所需的内容,并使用更轻的二进制文件,如 Busybox .
有一个名为 Debian From Scratch 的旧项目(最后一次更新是从 2006 年开始,所以我不知道它是否可靠)旨在执行与 LFS 相同的操作,但使用 Debian。
(...) is a unique distribution thatallows you to install a Debian systemwith almost the same level of controlas what you would get with a LinuxFrom Scratch installation but with theDebian advantages (easy to update andmaintain).
嗯,你可以试试Damn Small Linux ,它只有 50mb 并且基于 Debian,我相信它是最著名的最小发行版 (you can check more distros in this list)。我只是不知道它在 Web 服务器开发场景中的表现如何。
对于上述所有情况,配置后,将您的虚拟机保存为默认虚拟机以备将来使用。或者更好的是,使用快照,每个快照与您的安装可能存在细微差别(请注意,控制太多快照可能有点麻烦)。
如果由于某种原因您不喜欢我的方法或没有太多时间听从我的建议(“创建自己的虚拟机”),您可以查看 this question on ServerFault .有一个来自不同发行版的一系列设备的列表。
...但是,如果您要测试其中的一堆,看看它们是否符合您的需求,为什么不花时间与它们一起创建您自己的呢?
Vagrant is a tool for building and distributing virtualizeddevelopment environments.
By providing automated creation and provisioning of virtual machinesusing Oracle’s VirtualBox, Vagrant provides the tools to create andconfigure lightweight, reproducible, and portable virtualenvironments.
这意味着 Vagrant 可以帮助您将创建新 VM 时通常做的很多事情自动化(这些功能来自官方网站):
我会创建一个与我的生产服务器具有相同配置(嗯,几乎相同)的虚拟机,因此在部署时不会出现一些平台问题。
关于php - 为 Web 开发人员预装 Linux?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2154457/
是否有用于手动测试的代码覆盖工具?比如我新写了30行代码,编译,然后运行,有什么办法可以快速验证这30行都运行了吗? 另外,后来,在我将代码 checkin 正式版本后,有什么方法可以验证测试部门在进
老实说,这是一个家庭作业问题,但我已经浪费了好几个小时,而且无法正确解决。它返回错误数量的结果或错误的数据: 我需要选择参与指导电影和/或在电影中表演的每个人以及他们所做的次数,如果至少 5 次。 有
我正在尝试测试 MacOS 的应用内购买。输入测试用户凭据后,App Store 提示:“当前收据无效或 ds 人员 ID 不匹配。”并且购买失败。 最佳答案 我尝试了很多方法来解决这个问题。 Get
我正在为 Jenkins 使用 ActiveDirectory 插件,因此用户必须使用他们的凭据登录到 Jenkins。然后用户在 Jenkins 中被称为 joe.doe,这很完美。 当同一个人 c
如何从 Infopath 人员/组选取器检索电子邮件地址?当我将人员/组选取器添加到 infopath 表单时,我只得到 3 个字段 DisplayName、AccountId、AccountType
在 Snow Leopard 中,可以在 iCal 事件中显示空闲/忙碌时间。我搜索了 CalStore.framework 的 header ,但找不到任何描述该字段的属性。如何检索日历事件的忙/闲
是否有人成功地从专门针对 SharePoint 2013 的新建或编辑表单中获取用户(个人或组)字段的值? 我已经尝试了通过搜索互联网找到的所有解决方案以及我自己能想到的所有解决方案,所有结果都为空白
所以我需要将一个 Twitter 帐户添加到 ABRecordRef 中。然而,最快的方法似乎是获取社交资料属性的多值引用,创建它的可变版本,查找它是否有 Twitter 条目,如果已经有,则创建
我正在尝试将使用 Tomcat(最初是 5.5,但可以与 7 一起使用)在 MyEclipse 中开发的应用程序部署到我们的演示服务器 (Sun Java Web Server 7)。不幸的是,所有设
我是一名优秀的程序员,十分优秀!