gpt4 book ai didi

vagrant - PuPHPet - Vagrant 错误 : Evaluation Error and non-zero exit

转载 作者:行者123 更新时间:2023-12-02 15:59:29 28 4
gpt4 key购买 nike

我尝试在 Ubuntu 计算机中设置 VM 服务器。我在 PuPHPet 包的帮助下配置应用程序。当我运行“vagrant up”时,出现以下错误:

1) dpkg-preconfigure: unable to re-open stdin: No such file or directory

2) Error: Evaluation Error: Error while evaluating a Function Call, Could not find any files from Alias /css "/var/www/css" Alias /images "/var/www/images" at /tmp/vagrant-puppet/manifests-75f35e3bc7e32744860c4bb229c88812/Apache.pp:214:18 on node domainname.com

3) The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.

以下是 Alias 问题的 config.yaml 文件:

av_3mpni9stprhb:
servername: domainname.com
serveraliases:
- '*.domainname.com'
docroot: /var/www
port: '80'
setenv:
- 'APP_ENV development'
custom_fragment: "Alias /css \"/var/www/css\"\nAlias /images \"/var/www/images\""
ssl: '0'
ssl_cert: ''
ssl_key: ''
ssl_chain: ''
ssl_certs_dir: ''
ssl_protocol: ''
ssl_cipher: ''

请帮助我,我在这里提出的问题是什么。

谢谢!

最佳答案

您错过了 custom_fragment 必须是包含代码的文件路径,而不是代码本身的部分:

Read this

关于vagrant - PuPHPet - Vagrant 错误 : Evaluation Error and non-zero exit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36761584/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com