Java Development in Linux environment (iv): source code Control

Source: Internet
Author: User
Tags svn

Source code control generally contains two aspects: one is the sharing between multi-user, and the other is versioning. There are many source control software available, most of which use VSS on the Windows platform, CVS and SVN available on the Linux platform (of course, Windows platforms are also available), and in theory, SVN is more powerful than CVS, but I still choose to use CVS for the simple reason that is because the Linux system has been brought, readily available, the simplest is the best.

In a Linux system, CVS does not have a client or server side, and most of it manages local files. Of course, CVS can also manage remote code libraries, and the remote code base here refers only to files located on another Linux machine. However, the integrated CVS plug-in in our eclipse explicitly needs to be linked to a CVS server, which, of course, is the responsibility of the Linux operating system. Red Flag Linux System after installation, by default can not be a CVS server, you must have to do the appropriate configuration.

As a first step, we need to identify the strategy for source control, in the Linux system, this strategy is simple, we only need to create an account for each programmer, so that these programmers are in the same user group, and then set the group of users to belong to the group of files have full control of the permissions on it. My situation here is this, my username is Youxia, the main user group is also Youxia, assuming that the two brothers who fought with me are called Onionz, and the other is Fugui, I need to create accounts for them and make their main user group also Youxia, as shown below:

In the second step, we need to configure the Linux operating system as a CVS server, and before we can configure it, we need to realize that Internet services in Linux are often provided by inetd or xinetd, and that inetd is now obsolete, Most Linux systems are xinetd, so we just have to configure this program to provide the Internet services we need. This program configuration is through the configuration file, we entered the/ETC/XINETD.D directory, you can see that the system has provided a wide range of service profiles, such as TFTP, rlogin, and so on, the following figure:

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.