gccpacman / gccpacman.github.io Goto Github PK
View Code? Open in Web Editor NEWMy Tech Blog
Home Page: https://gccpacman.github.io/
My Tech Blog
Home Page: https://gccpacman.github.io/
同时安装windows和wsl下的linux版本的vagrant,配置环境变量就可以使用。linux下vagrant的好处很多,首先文件的换行和权限的烦恼没有了,然后可以使用一些revision工具,例如ansible,在vagrantfile初始化的时候带来很多好处
下载地址:https://www.vagrantup.com/downloads.html
Windows下安装就直接exe了
Linux我的是Ubuntu,因此就下官网的deb包
dpkg -i vagrant_amd64.deb
需要在Linux的Home目录下的.bashrc
或者.zshrc
添加以下行,这样可以把windows的路径转换成WSL里的Linux路径:
export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"
wsl
输入vagrant
,如果出现帮助信息就说明配置成功了PS: 需要注意的是,wsl里的vagrant,不能读取Linux下的Vagrantfile
,需要Vagrantfile存在于windows文件系统,因为本质上vagrant还是在windows上执行,调用Virtualbox等虚拟机的SDK,也就是说你的Vagrantfile,必须位于类似于\mnt\c\
这样的windows挂载盘符目录下。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.