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 ...
随机推荐
- 在无界面centos7上部署jdk和tomcat
1.安装xshell6 2.创建服务器连接,输入用户名和密码 3.输入 sudo su -root 获取root权限 4.输入 cd /usr/local 进入local文件夹 5.输入 wget - ...
- kafka笔记1
Kafka是一款基于发布和订阅的消息系统.一般被称为分布式提交日志或分布式流平台. Kafka系统是按照一定的顺序持久化保存的,可以按需读取. Kafka的数据单元被称为消息.类似于数据库中表的一行记 ...
- vue+element——父级元素fixed,遮罩会在上方
前言 这种场景还是蛮场景的 一个共用的head组件,组件里面通常是当前系统登录账号名 退出登录 修改密码这样的弹框 但是现在我又想head不跟着main内容上下滑动.所以用了fixed 定位. 问题来 ...
- top命令的使用
原地址:https://mp.weixin.qq.com/s/DVX86UgZDiTspVe497KKWw
- 高并发 Nginx+Lua OpenResty系列(6)——Lua开发库Mysql
Mysql客户端 lua-resty-mysql是为基于cosocket API的ngx_lua提供的Lua Mysql客户端,通过它可以完成Mysql的操作.默认安装OpenResty时已经自带了该 ...
- Spark学习之路(十二)—— Spark SQL JOIN操作
一. 数据准备 本文主要介绍Spark SQL的多表连接,需要预先准备测试数据.分别创建员工和部门的Datafame,并注册为临时视图,代码如下: val spark = SparkSession.b ...
- mysql-8.0-winx64安装以及修改密码
一.下载安装包(https://dev.mysql.com/downloads/mysql/) 二.添加my.ini配置文件 打开刚刚解压的文件夹 C:\mysql-8.0.16-winx64,在该文 ...
- 24 | 紧跟时代步伐:微服务模式下API测试要怎么做?
- 如何配置selinux
参考命令: 一.开启/关闭selinux getenforce:查看selinux运行状态 setenforce 0 :关闭selinux setenforce 1 :开启selinux 系统 ...
- kafka源码分析(一)server启动分析
1 启动入口Kafka.scala Kafka的启动入口是Kafka.scala的main()函数: def main(args: Array[String]): Unit = { try { //通 ...