Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ How do I use Linux development environment     - How to create a remote (Linux)

- Build RubyMine + Ruby On Rails + MySQL development environment under Windows (Server)

- Linux, MySQL root privilege escalation another method (Linux)

- Linux Powerful IDE - Geany configuration instructions (Linux)

- Btrfs file system repair techniques (Linux)

- Good wireless network security information spread in the air (Linux)

- CentOS / Linux install VNC Server (Linux)

- MySQL 5.6 Open full query log (Database)

- Getting Started with Linux system to learn: how to install the kernel headers on Linux (Linux)

- Running the open-source Swift under Linux platform (Linux)

- CentOS7 install JAVA notes (Linux)

- GROUP BY extension (Database)

- Linux disk virtualization (Linux)

- Installation Elementary OS Freya to do some settings (Linux)

- How to use Android Studio to play more package names APK (Programming)

- Git uses Details (Linux)

- Spring3 + SpringMVC + Hibernate4 full annotation environment configuration (Server)

- Questions about Linux compiler u-boot (Programming)

- Introduces Linux kernel compilation system and compiler installation (Linux)

- Security of data to create a safe .mdb database (Linux)

 
         
  How do I use Linux development environment
     
  Add Date : 2016-07-12      
         
         
         
  1. Why do I write this article

Always wanted to learn in depth about the use of Linux, so the laptop at home installed a Linux system, but to their own systems to create a suitable environment for development is indeed a laborious thing to worry about, and often some strange questions to my own experience to do that in order to use Linux development environment, you have to understand each software, otherwise it is difficult to solve some problems, not to say the other is light Well the problem is driving people to toss a long time.

After I installed Linux computer has a high temperature no less than the Internet to find some way to turn off alone was not much better, start two hours on the temperature soared to 70-90 degrees, tried many distributions, Debian, Ubuntu, CentOS, Fedora are no problem, as the light of those comments look like Gentoo scared urine, and toss for a long time every time the driver problem, but also the source of some systems are masked party country, if you want to drive the development environment , office use software is really a toss finished bother laborious affair, and only use web qq, wineqq or so the old version is not easy, bclode often not get logged, reported unknown error, due to the need to work, I was destined not fit entirely Linux office environment. But as the ability to use and troubleshooting a Linux programmer or have, so I share the way I use today.

2.Windows + virtual machine

Inside the virtual machine installed Linux is very common, and many of my colleagues in order to learn in a virtual machine installed inside Linux, when nothing shift or two, but did not use actual work, so I thought why not us code into Linux virtual machine service inside, and then use Windows to access the inside of the service code in Windows development, deployment into Linux, I think this has the following benefits:

1. With a production environment simultaneously, to ensure that their code can run under Linux.

2. facilitate transplantation, directly to the virtual machine files are packaged test to another computer, you can use the above.

3. You can regularly virtual machine files into the cloud disk, equal to the backup system, at any time to restore (but the file is too large to upload a bit of trouble, backup to the hard disk is actually very convenient)

4. As used in the development of Linux, often playing can certainly learn something, this would not have said.

3. To achieve

Read online comparison of various virtual machines, of course, VMware is better, but also provides VMvare-tools, shared folders, shared networks are good, the shared folder on the Linux mount, you can put the code developed to a shared folder inside, so Linux can be deployed, you do not need to copy the code to test, or update something, more trouble with svn.

My solution is win7 + centos7 because the production environment using centos, but there are some practical considerations to achieve:

vmvare provides three network share is bridged, NAT and host-only specific What is the difference I will not say, check it yourself. Is generally used in the bridge, so that the virtual machine is equivalent to a stand-alone machines, other machines can access virtual machine inside the service, but the company I work for because each computer mac registration should be carried out to the Internet, so I had to Select the way nat, nat way does not require any set up, relatively simple, but the host can not access the virtual machine inside the service later on the Internet to find the solution is to do port mapping.

Access to port 80 virtual machine inside the machine through port 800 to achieve is very simple, just need to do a port mapping virtual machine inside it.

Edit VMware Lane -> Virtual Network Editor -> select nat net mode settings -> Add

Then save enough, even if you do not check the Linux firewall, open port 80. If you want someone else's computer can access, you need to look in the Windows Firewall settings. Of course lazy brother, because developers often give people time to see, is directly off the firewall. Of course, you can also have a database of what to put in Linux, Windows just install some software in Linux services.

But if you want to use the virtual machine is not on the card or have the computer's configuration requirements, I 8G memory, virtual machine open 2G memory, open the virtual machine, IDE, etc. The basic software to take up 80% -90% less memory use is quite smooth, it can also be a virtual machine running in the background, using only its services just fine.
     
         
         
         
  More:      
 
- Java method to read and write files summary (Programming)
- Linux password file security issues detailed usage (Linux)
- Linux system crash (no such file or directory) How to rescue database (Linux)
- Linux excellent text editor (Markdown, LaTeX, MathJax) (Linux)
- 5 interesting Linux command line tips (Linux)
- JEdit 5.2 Pro Edition installation on Ubuntu 14.04 (Linux)
- Linux Network Programming --TCP and UDP datagram type Explanation (Programming)
- CentOS source installation GitLab Chinese Version (Server)
- How to query the role of Linux services (Linux)
- Update GAMIT10.6 command (Linux)
- Setting Wetty do not need an account login command line operations (Linux)
- CentOS modify yum update source (Linux)
- Linux operating process information (Linux)
- How to enhance the security of Linux systems (Linux)
- Install KVM on Ubuntu and build a virtual environment (Linux)
- Debian 8 Jessie install LAMP server tutorial (Server)
- Linux scheduling summary (Linux)
- C ++ containers (Programming)
- Ubuntu 14.04 configure JDK1.8.0_25, switchable version (Linux)
- Swift defined type conversion and type aliases (typealias) (Programming)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.