Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用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:
- Install OS normally;
- Set OpenSSH to install;
- Restarting new OS;
- Install SO updates;
- Install VBoxLinuxAdditions;
- Install build-essential git-core zsh;
- Edit sudo permissions to NOPASSWD:;
- Create ssh-key and export to github;
- Uploading host ssh key to guest authorized_keys;
- Set zsh to default shell;
Creating on Vagrant
To export to vagrant, will need follow some default behaviours
like ssh port forward and others.
- Export to vagrant
- Add box to ~/.vagrant directory
- Config Vagrantfile with forward_ports and others
- Up them all m/