![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vagrant
cd ~/Homestead
这个作者很懒,什么都没留下…
展开
-
vagrant nuxt vue 开发
环境配置package.json "config": { "nuxt": { "host": "127.0.0.1", "port": "3000" } }Homestead.yamlports: - send: 3000 to: 3000 - send: 443 to: 443 启动服务登录虚拟机cd ~/Homestead/vagrant sshsudo -i启动npmcd原创 2022-03-10 14:18:55 · 583 阅读 · 0 评论 -
vagrant up 更新错误
背景:前两天电脑自动更新了Oracle VM VirtualBox,需要让更新vagrant,报错如下:$ cd ~/Homestead && vagrant upThe provider 'virtualbox' that was requested to back the machine'homestead-7' is reporting that it isn't usable on this system. Thereason is shown below:Vagr.原创 2020-08-10 17:04:44 · 498 阅读 · 0 评论 -
linux 安装多个PHP版本(php5.6 php7.1 php7.2 php7.3 php7.4 php8.0)nginx配置php多版本
1、下载php下载PHP对应版本:https://www.php.net/releases/本次我测试的7.4和8.07.4:https://www.php.net/distributions/php-7.4.16.tar.gz8.0: https://www.php.net/distributions/php-8.0.3.tar.gz$ cd /down$ wget https://www.php.net/distributions/php-7.4.16.tar.gz$ wget http原创 2021-04-23 18:16:37 · 2831 阅读 · 0 评论 -
vagrant 销毁box
$vagrant destroy$rm -rf .vagrant## 删除 C:\Users\**\VirtualBox VMs 目录的 homestead-7 目录 因为需要删除,才会重新创建 homestead-7## 注意 :数据库会初始化没有数据$vagrant up && vagrant ssh原创 2021-03-26 19:18:26 · 907 阅读 · 0 评论 -
vagrant Homestead 安装php 的MongoDB 扩展
sudo pecl install mongodb 第二步:创建openssl的快捷方式,不然会报错sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib 3.查看当前版本:php -vPHP 7.4.5 (cli) (built: Apr 19 2020 07:36:30) ( NTS )Copyright (c) The PHP GroupZend Engine v3.4.0, Copyright (c) Zend ...原创 2021-03-15 10:49:43 · 271 阅读 · 0 评论