Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/bash/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Bash 如何让流浪者盒子在后台运行?_Bash_Shell_Vagrant_Vagrantfile_Vagrant Plugin - Fatal编程技术网

Bash 如何让流浪者盒子在后台运行?

Bash 如何让流浪者盒子在后台运行?,bash,shell,vagrant,vagrantfile,vagrant-plugin,Bash,Shell,Vagrant,Vagrantfile,Vagrant Plugin,有没有办法使用守护进程来运行它,而不是在后台(通过终端shell中的vagrant ssh)运行vagrant box?这可以用于让人们连接到您的邮箱(通过vagrant connect) 现在,我只是让一个终端窗口停留在流浪者共享上——ssh 我做不到 流浪股——宋承宪& 因为它需要我的密码,而我无法输入密码。本质上,每当你用Vagrant up启动一个Vagrant框时,它就会在后台运行(例如在VirtualBox或VMWare中)。您无需担心ssh会话是否与之连接。我没有使用virtual

有没有办法使用守护进程来运行它,而不是在后台(通过终端shell中的vagrant ssh)运行vagrant box?这可以用于让人们连接到您的邮箱(通过vagrant connect)

现在,我只是让一个终端窗口停留在流浪者共享上——ssh

我做不到

流浪股——宋承宪&


因为它需要我的密码,而我无法输入密码。

本质上,每当你用
Vagrant up
启动一个Vagrant框时,它就会在后台运行(例如在VirtualBox或VMWare中)。您无需担心ssh会话是否与之连接。

我没有使用virtual box和vmware,只使用vagrant up;流浪的宋承宪。没错,但vagrant只是虚拟机提供商的包装,最常见的是VirtualBox或VMware。(更多信息请参见文档页面:)