开发环境搭建建议
在参考了 SO 的许多帖子、意见和反馈后,我刚刚购买了 联想Thinkpad T410。 x64 Win 7 Prof,500 GB @ 7200 RPM,Core i7 620M 处理器,4GB DDR3 RAM。
我现在正在新机器上设置我的开发环境。我需要您的建议来建立一个干净、结构化和无风险的开发环境。
关于我打算在这台机器上做什么:
- 我是企业家,正在引导我的初创公司。因此,除了编码之外,我还会有与业务相关的目的(演示)。
- 我目前在 Microsoft 堆栈上为我的一些其他项目进行编码。但将开始使用其他技术(例如 RoR)进行编码。所以我需要有MS产品(VS、IIS)和其他OSS'
- 这台机器在开发环境之上还兼作生产环境。
- 我没有单独的桌面来执行繁重的工作。这是我的整个且唯一的工作站。
我在这里阅读了很多有关VMware的内容,以及它们如何帮助保持机器清洁,并订购了它们,您可以将其清除干净,然后根据需要重新安装。为 Microsoft stact、RoR stact 等分别配备虚拟机,还是将它们全部安装在我的主机上,这是一件好事吗?
另外,除此之外,如果有人能为防火墙+防病毒+恶意软件堆栈提出一些好的选择(考虑到这是一台 Win 7 机器),那就太好了
ThanQ
After referring to many posts, opinions and feedback from SO, I have just bought a Lenovo Thinkpad T410 . x64 Win 7 Prof, 500 GB @ 7200 RPM , Core i7 620M processor, 4GB DDR3 RAM.
I am now setting up my development environment on the new machine. I need your suggestions in setting up a clean, structured and risk-free Development Environment.
Something about what I intend to do on this machine:
- I am Entrepreneur bootstrapping my Startup. So I will have business related purposes (presentations) other than Coding.
- I do coding on Microsoft stack currently for some of my other projects. But will start coding in other technologies such as RoR. So I need to have MS products (VS, IIS) and other OSS'
- This machine also doubles up as production environment on top of Development Environment.
- I don't have a separate Desktop for doing heavy lifting. This is my whole and sole workstation.
I have read a lot about VMwares here and how they help to keep the machine clean and ordered which you can just wipe out clean and have reinstalled as you wish. Is it a good thing to have VMs each for Microsoft stact, RoR stact and so on or have all of them installed on my main machine itself.
Also, apart from this, it would be great if someone can suggest some good options for Firewall+Antivirus+Malware stack (considering that this is a Win 7 machine)
ThanQ
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你正在让自己陷入一个受伤的世界。
除此之外,您应该使用某种形式的 VCS(我推荐 Git)并将所有代码存储在开发计算机上,这是常识。您应该能够签出代码、运行脚本并启动并运行。您正在启动一家初创公司;每月支付 12 美元以保证您的代码安全。
如果您需要支持不同的环境(例如 Win7、Win Vista,或许还有某些版本的 Linux),VM 是一个好主意。如果您接受我的建议并使用远程 VCS 设置,则可以从远程源签出到您的虚拟机。
虚拟机的另一个好处是您可以使用所需的所有软件设置基本安装,并创建它的映像,因此从那时起您可以传递映像,而无需安装基准软件再次。
You are setting yourself up for a world of hurt.
Aside from that, it is just common sense that you should use some form of VCS (I recommend Git) and store all your code NOT on your development machine. You should be able to checkout out your code, run a script, and be up and running. You are bootstrapping a startup; pay the $12/month to keep your code safe.
VMs are a good idea if you need to support different environments, for example Win7, Win Vista, and perhaps some flavor of linux. If you take my suggestion and use a remote VCS setup, you can checkout from the remote source onto your VMs.
Another benefit of VMs is you can set up a base install, with all the software you need, and create an image of it, so from that point on you can pass the image around, and you won't need to install the baseline software again.