vagrantfiles


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2012-07-25
使用用户:  1
Github星:  1
插件作者:  Weldys Santos

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'weldyss/vagrantfiles'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'weldyss/vagrantfiles'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'weldyss/vagrantfiles'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/weldyss/vagrantfiles

Ⅳ. 文档说明

Checklist to create virtual machine

Creating on VirtualBox

To create virtual box machine, is needed to uncheck sound,
video acceleration, and set a second Netword Card, using
host-only attachment. Installing follow these steps:

  1. Install OS normally;
  2. Set OpenSSH to install;
  3. Restarting new OS;
  4. Install SO updates;
  5. Install VBoxLinuxAdditions;
  6. Install build-essential git-core zsh;
  7. Edit sudo permissions to NOPASSWD:;
  8. Create ssh-key and export to github;
  9. Uploading host ssh key to guest authorized_keys;
  10. Set zsh to default shell;

Creating on Vagrant

To export to vagrant, will need follow some default behaviours
like ssh port forward and others.

  1. Export to vagrant
  2. Add box to ~/.vagrant directory
  3. Config Vagrantfile with forward_ports and others
  4. Up them all m/

添加新评论