Playing Linux under Windows is a virtual machine, but installing the system is still quite a bother. Now everything is automated today, vagrant is such an artifact, based on Ruby Development, using open source VirtualBox as virtualization support, you can easily deploy across platforms. Today try to change the environment of several machines to vagrant, very cool and smooth, so I tried to tidy up the use o
Recently vagrant more popular, its main role is simply to pack a already installed system, packaged system in each platform general. Especially for a more complex development environment, a new computer, a new job, must be in the rebuild environment, this kind of thing is still relatively time-consuming, such as the use of PHP development of the lamp environment (I usually loaded lanmp–apache+nginx+mysql+php), There are REDIS,MONGODB,RABBITMQ these ex
Text boxes, radio buttons, check boxes, related actions
Copy Code code as follows:
var sex=$ ("Input[name= ' Sex ']:checked"). Val (); Gets the value of a set of radio selected items
var item=$ ("#sel option:selected"). Text (); Gets the text of the Select selected item
var option_num=$ (' #sel '). Val (); Get the Select item index
$ ("#sel") [0].selectedindex = 1; The second element of the Se
After the two projects were developed, the team environment was different, and bug fixing by integration became a tough task. Although a test server was built later, sometimes it still cannot be connected to the test Server due to network issues. Because the abilities and habits of team members are different, some use Windows and others love Ubuntu environment development. Although they can build their own virtual machines, installation of Environment tools and plug-ins may lead to environment d
This article is mainly on the jquery to the radio box, multiple marquee, text boxes and other common operations are introduced, the need for friends can come to the reference, I hope to help you. A, text box, radio button, check box, related operations nbsp; nbsp; code are as follows: Var sex=$ ("Input[name= ' Sex ']:checked"). Val (); nbsp;//Get a set of radio selected values nbsp; var item=$ ("#sel option:selected"). Text (); nbsp; nbsp; nbsp;//Ge
Original link Address: http://www.cnblogs.com/ac1985482/p/4029315.htmlVagrant Use under WindowsDownload and install virtualbox:https://www.virtualbox.org/Download and install vagrant:http://www.vagrantup.com/Download the box you need to use:Add boxAdd a Debian box as followsE:\ubuntu\vagrant-Box-ngixn-php-fpm-mysql-redis-nodejs>vagrantbox Add Debian package. box==> box:adding box ' Debian ' (v0) for provider: box:Downloading:file://e:/ubuntu/
Build a development environment using Vagrant
To do Web development, you must build a development environment locally. Although various scripts currently have corresponding Windows versions, or even one-click installation packages, however, in many cases, the consistency with the Windows environment is not so good. The problem is that the actual deployment environment is usually Linux, and the development and deployment environments are often differen
Original address: Creating a vagrant Box problem
You need to create a sandbox in the vagrant.Even though you have VirtualBox and vagrant installed, you can't run any work solutions in the sandbox.
Build a vagrant BoxThis example will create an Ubuntu 14.04 64bit vanilla box, vanilla means that no additional tools are installed. It's like a brand-new installation
Vagrant is a software for simple virtual machine operations, and there are several benefits of using virtual machines:
1, in order to develop the environment and production environment consistent (many development environment for Windows and production environment for Linux), do not appear in the development environment normal and go to the formal production environment, there are various problems, and vagrant
Brief Introduction
Virtual machines have many benefits, not only save hardware resources, but also can quickly switch the system environment, obviously in software development plays a great role.
The management of the virtual machine environment is mentioned in chapter 11th (11.7.1) of "continuous delivery". The following figure
It describes the need for a variety of servers to test an application in your continuous integrated Jenkins CI Server (hereinafter referred to as Jenkins). We can quick
Vagrant sets up the LNMP environment of Ubuntu
Install Vagrant and Virtualbox.
mkdir Ubuntu_lnmpvagrant init ubuntu/trusty64
Open vagrantfile to open these two configurations
config.vm.network "private_network", ip: “192.168.10.10"config.vm.provider "virtualbox" do |vb| # Display the VirtualBox GUI when booting the machine # vb.gui = true # Customize the amount of memory on the VM: vb.memory = "1024"end
Vagrant Usage SummaryRecently the company used the Vagrant virtual image service, it feels pretty good. Only the usage methods are recorded here.Pros: We can package a Linux development environment through Vagrant and distribute it to team members. Members can develop programs on their favorite desktop system (Mac/windows/linux), but the code can be unified in a
Using Virtualbox+vagrant to install the CentOS 7 environment on Windows, you need to install the VirtualBox and vagrant Tools, and download a box image file for CentOS 7.
First, install the above tools, download a good box file, use the Vagrant command to add mirrors to vagrant:
Vagrant is a tool for building a virtual development environment that is ideal for developing Web applications in languages such as Php/python/ruby/java, which is a history of "code running on my machine without problems".We can package a Linux development environment through Vagrant and distribute it to team members. Members can develop programs on their favorite desktop system (Mac/windows/linux), but the
wrapper on a virtual machine like VirtualBox.
I immediately discovered that the tool had some serious problems, such as: In a stable state, it would terminate any process that acquired Docker. I don't want to waste too much physical and brain cells on this, so I continue to look for an alternative solution.
Using Vargrant
Since the 1.6 version of Vagrant, the supporting components that support Docker have been integrated. Vargrant is a VirtualBox-
Vagrant is a tool to create lightweight, highly reusable, and portable development environments.In the eyes of the non-professional, this means that vagrant discard all the headaches in the development environment for a single configuration file, you can choose the features you need for your server to keep. You will no longer be XAMMP, manually configure the virtual environment, or use the FTP remote edit c
[JavaScript] select all or invert check boxes, determine which check boxes are selected, and select all javascript check boxes.
This function is not difficult to select and select all check boxes and determine which check boxes are selected,
The use of document. getElementsB
VirtualBox virtual machines don't have to say moreVagrant is a virtualbox command-line image management tool written by Ruby1 Install VirtualBox then install vageant Google is harmonious can Baidu this should not die2 Downloads you need a. vagrantbox file suffix of. Box(I downloaded the centos7.1 on the /users/jianmingyuan/documents/vagrantvms/centos7.1/vagrant-centos-7.1.box)2 Open Terminal: VAGRANT-V will
Windows Install (64-bit) vagrant with Vituriebox
Http://blog.smdcn.net/article/1308.html
host:127.0.0.1
port:2222
Username:vagrant
Private key:xxxxx
Tips:virtualbox installation to Vagrant remember to remember (PS: These two files are best installed to his default C disk)
Vagrant Command:
Windows cmd Enter the command line mode and then enter the
Brief introduction
Vagrant is an industry-proven virtualization technology that builds a configurable, renewable, and portable working environment, with a profile that completes all state definitions.
Characteristics
• Simple, a configuration file to handle• Customize virtual machine configurations in a variety of ways, such as shell scripts, ansible, etc.• Network configuration, support for private, shared network configuration• Directory synchron
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.