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 ...
随机推荐
- SYN4505型 标准同步时钟
SYN4505型 标准同步时钟 标准同步时钟电厂时间同步使用说明视频链接: http://www.syn029.com/h-pd-245-0_310_1_-1.html 请将此链接复制到浏览器打开观看 ...
- python实现常用查找算法
http://www.cnblogs.com/feixuelove1009/p/6148357.html
- LR编写Socket脚本方法2(从文件读取报文)
之前,给大家分享了LoadRunner编写socket协议脚本的基本方法与规则,今天给大家分享下,如何从本地文件,读取内容,并作为报文,发送到服务端:该方法也是在工作中遇到的一个难点,想通过这种方 ...
- SQL Server 2012完全备份、差异备份、事务日志备份和还原操作;
SQL Server 2012完全备份.差异备份.事务日志备份和还原操作: 1.首先,建立一个测试数据库,TestA:添加一张表,录入二条数据:备份操作这里我就不详细截图和讲解了.相信大家都会备份,我 ...
- Spring事务原理一探
概括来讲,事务是一个由有限操作集合组成的逻辑单元.事务操作包含两个目的,数据 一致以及操作隔离.数据一致是指事务提交时保证事务内的所有操作都成功完成,并且 更改永久生效:事务回滚时,保证能够恢复到事务 ...
- 关于Jvm类加载机制,这一篇就够了
前言 一个月没更新了,这个月发生了太多的事情,导致更新的频率大大降低,不管怎样收拾心情,技术的研究不能落下! jvm作为每个java程序猿必须了解的知识,博主推荐一本书<深入理解Java虚拟机& ...
- MethodInterceptor-方法拦截器
MethodInterceptor 方法拦截器,也就是aop拦截方法 1.使用示例 public interface MethodInterceptor extends Interceptor { O ...
- Python基础(八) 模块的引入与定义
模块定义 什么是模块:一个py文件就是一个模块 模块分为三类: 内置模块,(标准库):.python解释器自带的,time,os,sys,等等.200多种. 自定义模块:自己写的模块 第三方库(模块) ...
- VIM技巧, .vimrc文件
将 .vimrc文件上传到用户家目录下 文件内容如下: autocmd BufNewFile *.py,*.cc,*.sh,*.java exec ":call SetTitle()&quo ...
- PHP 碎碎念
class Object { public static function get_self() { return new self(); } public static function get_s ...