标签:mongodb rom tde get atime postgre org 获取 sum
Homestead box:
Homestead: v8.2.0
vagrant: 2.2.4
Homestead
中 安装nfs-kernel-server
sudo apt-get install nfs-kernel-server
rpcinfo -p
Homestead.yaml
文件,给folders:
节点下的 to:
下面新增type: nfs
如:
ip: "192.168.10.10"
memory: 4098
cpus: 1
provider: virtualbox
box: laravel/homestead
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: D:/workspace/php/laravel
to: /home/vagrant/code/laravel
type: nfs
vagrant-winnfsd
插件vagrant plugin install vagrant-winnfsd
vagrant
vagrant provision
vagrant reload
在运行了vagrant reload
之后,mount.nfs
连接超时
[NFS] Status: halted
[NFS] Start: started
==> homestead-7: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o vers=3,udp,actimeo=1,nolock,noatime 192.168.10.1:/D/workspace/php/laravel1 /home/vagrant/code/laravel1
Stdout from the command:
Stderr from the command:
mount.nfs: Connection timed out
如果需要挂载的站点访问快,在 Homestead.yaml
的folders
下添加type: nfs
,但不可以给太多站点加type: nfs
,可能会出现mount.nfs: Connection timed out
的提示错误,导致挂载文件夹失败
mongodb: false mariadb: false postgresql: false
time
可以获取请求时间标签:mongodb rom tde get atime postgre org 获取 sum
原文地址:https://www.cnblogs.com/fsong/p/11335237.html