Centos7 安装Homestead环境
问题1,
==> homestead-7: Waiting for machine to boot. This may take a few minutes... homestead-7: SSH address: 127.0.0.1:2222 homestead-7: SSH username: vagrant homestead-7: SSH auth method: private key
Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period. If you look above, you should be able to see the error(s) that Vagrant had when attempting to connect to the machine. These errors are usually good hints as to what may be wrong. If you're using a custom box, make sure that networking is properly working and you're able to connect to the machine. It is a common problem that networking isn't setup properly in these boxes. Verify that authentication configurations are also setup properly, as well. If the box appears to be booting properly, you may want to increase the timeout ("config.vm.boot_timeout") value.
问题2,
==> homestead: Running 'pre-boot' VM customizations... ==> homestead: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "4f5ab4ac-0f0e-4326-99fc-3a6935e070ac", "--type", "headless"] Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
问题3,
There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "78c6051d-e4f7-4414-9c6a-29ff3465d03c", "--type", "headless"] Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
历史命令,
-- :: cd /etc/yum.repos.d/ -- :: wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo -- :: yum update -y -- :: rpm -qa kernel |sort -V |tail -n -- :: uname -r -- :: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-.noarch.rpm -- :: yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms -- :: yum -y install VirtualBox-6.0 -- :: ps -nf|grep yum -- :: ps -ef | grep yum -- :: yum -y localinstall /root/download/VirtualBox-.x86_64.rpm -- :: /usr/lib/virtualbox/vboxdrv.sh setup -- :: VirtualBox -- :: systemctl start vboxdrv.service -- :: systemctl status vboxdrv.service -- :: systemctl enable vboxdrv.service -- :: yum -y localinstall /root/download/vagrant_2..5_x86_64.rpm // 保存镜像
// 创建 homestead.json文件 -- :: vagrant box add homestead.json -- :: vagrant box list -- :: vagrant box remove laravel/homestead --provider=virtualbox --box-version -- :: vagrant box list -- :: yum install git -- :: git clone https://github.com/laravel/homestead.git Homestead -- :: git checkout v6.1.0 -- :: cd Homestead/ -- :: git checkout v6.1.0 -- :: bash init.sh -- :: vagrant up -- :: ssh-keygen -t rsa -b -C "334200623@qq.com" -- :: eval "$(ssh-agent -s)" -- :: ssh-add -k ~/.ssh/id_rsa -- :: vagrant up -- :: systemctl status vboxdrv.service -- :: vagrant -v -- :: whereis vagrant -- :: sudo vagrant up -- :: vagrant up -- :: vagrant ssh -- :: reboot -- :: vagrant init -- :: vagrant init virtualbox.box -- :: vagrant reload -- :: vagrant up -- :: cd Homestead/ -- :: vagrant up -- :: ps -ef | grep vagrant -- :: kill - -- :: vagrant up -- :: vagrant reload -- :: virtualbox -v -- :: virtualbox -version -- :: cd Homestead/ -- :: vagrant up -- :: vagrant reload -- :: find /etc Timed out while waiting for the machine to boot. This means that -- :: Vagrant was unable to communicate with the guest machine within -- :: the configured ("config.vm.boot_timeout" value) time period. -- :: If you look above, you should be able to see the error(s) that -- :: Vagrant had when attempting to connect to the machine. These errors -- :: are usually good hints as to what may be wrong. -- :: If you're using a custom box, make sure that networking is properly -- :: working and you're able to connect to the machine. It is a common -- :: problem that networking isn't setup properly in these boxes. -- :: Verify that authentication configurations are also setup properly, -- :: as well. -- :: If the box appears to be booting properly, you may want to increase -- :: find /etc private*.* -- :: vboxmanage --version -- :: virtualbox -- :: virtualbox --version -- :: vagrant --version -- :: cat /etc/issue -- :: uname -a -- :: lsb_release -a -- :: cat /etc/redhat-release -- :: cd H -- :: cd Homestead/ -- :: git checkout v9.0.7 -- :: git checkout v9.0.0 -- :: git checkout master -- :: cd ~ -- :: cd Homestead/ -- :: git clone https://github.com/laravel/homestead.git Homestead -- :: git checkout v9.0.7 -- :: git branch -a -- :: git -- :: git checkout -- :: git checkout v9.0.7 -- :: git checkout v6.1.0 -- :: 充电~ -- :: cd ~ -- :: git clone https://github.com/laravel/homestead.git Homestead -- :: git checkout v9.0.7 -- :: cd Homestead/ -- :: git checkout v9.0.7 -- :: bash init.sh -- :: vagrant up -- :: vagrant box list -- :: cd Homestead/ -- :: vagrant up -- :: vagrant reload -- :: history -- :: vagrant status -- :: vagrant box remove virtualbox -- :: vagrant box list -- :: vagrant box remove laravel/homestead -- :: vagrant --version -- :: mkdir ~/homestead -- :: cd homestead/ -- :: ll -- :: vagrant box add /homestead.json -- :: vagrant box add /root/homestead.json -- :: vagrant box list -- :: vagrant init -- :: vagrant init laravel/homestead -- :: cd ~ -- :: git clone https://github.com/laravel/homestead.git Homestead -- :: cd Homestead/ -- :: git checkout v9.0.7 -- :: ll -- :: bash init.sh -- :: ll -- :: vagrant init laravel/homestead -- :: vagrant up -- :: vagrant up -- :: vagrant up
Centos7 安装Homestead环境的更多相关文章
- Centos7 安装Homestead环境2
历史命令, -- :: cd /etc/yum.repos.d/ -- :: wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtu ...
- CentOS7安装openjdk8+环境变量配置
CentOS7安装openjdk8+环境变量配置 步骤: 使用yum命令安装openjdk yum clean yum install -y java-1.8.0-openjdk-1.8.0.212. ...
- centos7安装kvm环境采用网桥模式并创建虚拟机制作openstack需要的镜像
初始环境的安装:centos7 mini iso镜像进行安装的系统 采用的环境是vm该软件,联网方式NAT模式下配置的静态ip(如何在NAT模式下配置静态ip参考之前的文章) 1.由于要安装kvm环境 ...
- CentOS7安装桌面环境以及中文语言支持
CentOS7 操作系统 http://public-yum.oracle.com/oracle-linux-isos.html ================================= 1 ...
- CentOS7安装JAVA环境
安装JAVA环境我常用的有两种形式 1.下载tar包安装 2.下载rpm包直接安装 本篇内容就写这两种形式的安装方法: JAVA程序的下载地址:https://www.oracle.com/java/ ...
- Linux centos7 安装.net 环境
其实在linux 下安装.net 环境并不复杂,但最近遇到的服务器没有外网,比较坑很多依赖都没有,记录下这次的安装过程. 一开始以为是服务器没有外网,后来发现是服务器没有配置dns,于是配置dns 第 ...
- CentOS7 安装java 环境 摘抄
转http://www.diyhi.com/hostConfig.html 服务器环境配置 下面介绍全新安装的CentOS系统服务器安装配置商城软件服务环境的方法.演示主机操作系统为CentOS 7. ...
- Centos7安装lnmp环境
系统版本:centos7 64位 PHP版本:PHP 7.0.21 Nginx版本:1.8.1 MySQL版本:5.5.17 注:1.所有安装都必须放在 /usr/local/src文件夹下 2.添加 ...
- Centos7安装JDK环境配置
作为一名程序员,各种环境搭建都要会. 下面介绍关于Linux操作系统之centos7(64位)安装JDK以及环境配置. 下面开始学习吧 查看并卸载CentOS自带的OpenJDK 安装好的CentOS ...
随机推荐
- IT职场初体验一
自己学习计算机专业也算有两个年头了吧,对于这个刚刚IT入门的菜鸟,对IT职场充满了好奇和憧憬,本人大学也像很多大学生一样,进入计算机专业也不是自己最初想进入的专业,进入这个原本离自己有点遥远的行业,一 ...
- play框架之简介
Play Framework是一个开源的Web框架,背后商业公司是Typesafe.要介绍Play之前,首先理清Play的两个不同的分支. Play 1.x 使用Java开发,最新版本是1.3.1,只 ...
- 【jar包管理】Maven BOM
BOM Alibaba Spring Boot Dependencies is a Maven BOM used to manage the versions of most used Alibaba ...
- CentOS7搭建LNMP环境
以前写的过时了,重新发一篇新的. 安装PHP 下载官网:https://www.php.net/downloads.php 为了方便,我存了现成的 百度网盘:https://pan.baidu.com ...
- php如何定义数组常量
是这样吗?<?php define('BEST_PHPER',array('name'=>'巩文','address'=>'china')); My God,明确告诉你不可以:原因是 ...
- 从无到有构建vue实战项目(三)
四.响应式布局的实现 elemnt-ui参考bootatrap提供了响应式布局,附上地址:https://element.eleme.cn/#/zh-CN/component/layout 以下是我的 ...
- JDK源码分析系列02---ArrayList和LinkList
ArrayList和LinkList的源码分析 概要 ArrayList和LinkList是常用的存储结构,不看源码先分析字面意思,Array意思是数组,可知其底层是用数组实现的,Link意思是链接, ...
- POJ 1485:Fast Food(dp)&& 面试题
题目链接 题意 给出 n 个餐厅,m 个停车场,现在要将 n 个餐厅中的 m 个变成停车场,使得每个餐厅到最近的停车场的距离之和最短,输出哪个餐厅变成停车场和它服务哪些餐厅,还有最短距离之和. 思路 ...
- Python 爬虫从入门到进阶之路(十七)
在之前的文章中我们介绍了 scrapy 框架并给予 scrapy 框架写了一个爬虫来爬取<糗事百科>的糗事,本章我们继续说一下 scrapy 框架并对之前的糗百爬虫做一下优化和丰富. 在上 ...
- python爬虫登陆问题
根据腾讯课堂网页登陆问题进行解说(需要安装谷歌浏览器): 1.导入库 import requests from selenium import webdriver 2.根据腾讯课堂链接,进入页面,获取 ...