Windows 8.1,最新的 vagrant 和 VirtualBox 版本。在 Windows 上的 git CLI 中运行命令。
我能够ubuntu/trusty64
毫无问题地启动,并且不需要登录 atlas.hashicorp.com。
但是当我尝试时,ubuntu/xenial64
我得到了一个错误。
vagrant init ubuntu/xenial64; vagrant up --provider virtualbox
此外,vagrant login
trusty 64 没有引起任何关于登录的警告,但由于 xenial 64 确实引起了这样的警告,我立即在 atlas.hashicorp.com 上创建了一个帐户。
我曾经vagrant login
登录,收到消息“您现在已登录”。
我从文件夹中删除了无业游民的东西并重新执行init
和up
命令,但我再次遇到相同的错误。
$ vagrant init ubuntu/xenial64; vagrant up --provider virtualbox
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as …
Run Code Online (Sandbox Code Playgroud) 我用它来让 chrooted ftp 用户访问文件系统的另一个区域:
mount --bind /var/www/dev/ /home/ftp_user/www_dev
Run Code Online (Sandbox Code Playgroud)
每个网站在这里。
而且,哎呀,我意识到我给了 ftp 用户访问太多文件的权限。
我该如何解决?rmdir
不起作用:
rmdir: failed to remove `www_dev': Device or resource busy
Run Code Online (Sandbox Code Playgroud)
如果确实如此,恐怕它会删除已安装的文件。