Use FreeVSD to enhance the Linux operating system development environment

Source: Internet
Author: User
Use FreeVSD to enhance the Linux operating system development environment-general Linux technology-Linux programming and kernel information. The following is a detailed description. Joe Brockmeier will discuss freeVSD in this article, a "virtual server daemon" in Linux that allows multiple virtual servers to run on the same physical machine. Each virtual server has its own independent Web hosting environment. It is usually used for hosting, but you can also deploy it to allow a machine to act as a development test platform for several developers.

In the production department, the system administrator is usually too busy to have enough time to process every request that a developer may send. The Administrator does not have time to modify the Apache configuration file or restart the MySQL daemon at the desired speed. In addition, granting the root user access to the server (or even the server mainly used for testing) to Web developers is usually impractical because modifications made by a developer may affect other developers, this leads to a decline in overall productivity. Alas, it is generally impossible for every developer to have an independent testing machine.

However, if you are using a Linux environment, you can set the machine to allow multiple developers to simultaneously enjoy management access without affecting the environment where other developers are located. This is called freeVSD (Virtual Server Daemon, Virtual Server Daemon). It also allows a Linux Server to have multiple "Virtual" servers. The use of freeVSD allows companies to make full use of their resources, while each developer or a group of developers still have their own environments. Although the main purpose of developing freeVSD is to host a company, you will still find that it may also benefit the production environment.

What is freeVSD?

When you hear about "virtual servers", you may think of software such as VMware, which virtualizes a complete x86 machine, and you can install any desired operating system.

FreeVSD does not reach this level. It only allows you to assign each virtual server its own HTTP server, IP address, and file system. These servers are still running in the original operating system, but they do not share the same file system, and each virtual server can have its own Administrator (pseudo root user ), such users enjoy almost the same privileges as real root users. This is achieved through the creative use of chroot. Of course, this may cause some serious security risks-if you have installed freeVSD, you must read and implement the suggestions provided by the security.txt file in the distribution package; you can also view the security-related information in the freeVSD FAQ (see references in later sections of this article, where links are provided.

For example, if you have four virtual servers on one machine, you can reboot a separate Apache instance without affecting other servers. If necessary, one developer may even have Apache configurations that are completely different from those of other developers. If a developer with administrator access accidentally clears half of the file system on a virtual server, other virtual servers will not be affected. Developers can even add users to the virtual server in the same way as adding users to the conventional Linux Server-but the added users are only recognized by the target virtual server, A real Linux host or any other virtual server cannot recognize this user. In fact, it is completely another Linux server for developers.

The best thing is that, with the GNU General Public License, you can get freeVSD for free (this is also the origin of its name ......) (see references), so that you can deploy one or fifty or even thousands of servers using freeVSD without paying any license fee.

Problems with freeVSD

Currently, freeVSD has made special changes to Red Hat 6.1 and Red Hat 7.x. According to the freeVSD site, Red Hat 7.x is still in the "experiment" phase. Therefore, you may encounter some problems when trying to install freeVSD on the updated Red Hat release. I am using freeVSD on a server with KRUD 7.2 installed (see references. KRUD 7.2 is a distribution package that is almost the same as Red Hat 7.2. I have to install freeVSD from the source code, because it is not appropriate to install freeVSD from RPM.

According to the description in the freeVSD document, the configuration files should be in/etc/sealing, but (at least in my case) they are actually in/usr/local/etc/sealing. I chose to install it from the source code, and your actual situation will be different.

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.