Use VMware to develop rails in Windows

Source: Internet
Author: User

This method is very suitable for traditional ipvs users:
1. You can continue to use your usual Windows platform editor,
2. It avoids running rails in windows.
3. Learn from each other: Windows desktop + LINUX background.

Specifically:
1. Deploy the rails application in the Linux environment of VMware.
2. Install the samba service on Linux.
3. Install the sshd service on Linux.
4. In Windows, map the Linux File System to a drive of windows. Directly use the editing program you are most familiar with to edit the code, and then use SSH connection (using putty or securecrt) to run related commands in Linux.

In short, Windows is better than desktop and Linux is better than server. Before you start a Mac, this should be the best solution.

Key points:
1, Linux environment do not install X-WINDOWS,
2. To save time, do not install linux by yourself. We recommend that you directly download various Linux VMware Images of bitnami.
Here I recommend Downloading this: http://bitnami.org/stack/subversion
Reason:
A. Minimum volume, (127.9 MB)
B. The environment is the cleanest. Only one Apache and subversion is installed,
After starting this VMware box, you can delete the services and software related to bitnami Based on the content in/etc/init. RC/bitnami to get the purest and smallest Linux environment.
3. Samba Configuration:
Http://www.cnblogs.com/likeyu/archive/2012/04/12/2444474.html
4. sshd Configuration:
Http://wiki.bitnami.org/Virtual_Appliances_Quick_Start_Guide#How_to_enable_sshd.3f
5. Firewall Enabled:
Http://wiki.bitnami.org/Virtual_Appliances_Quick_Start_Guide#How_to_configure_the_Firewall.3f
You need to activate these ports 21 22 3000 137 138 139.

Other Ruby and rails installation will not be mentioned.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.