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 ...
随机推荐
- C语言实现常用数据结构——队列
#include<stdio.h> #include<stdlib.h> #define MAX_SIZE 10 /* 用一个动态数组来实现队列 */ typedef stru ...
- Spring特点
1.非侵入式所谓非侵入式是指,Spring框架的API不会在业务逻辑上出现,即业务逻辑是POJO(Plain Old Java Objects).由于业务逻辑中没有Spring的API,所以业务逻辑可 ...
- 10-pymysql的应用
import pymysql # user = input('请输入用户名:') # pwd = input('请输入密码:') # 1.创建连接 conn = pymysql.connect(hos ...
- 使用Python爬取微信公众号文章并保存为PDF文件(解决图片不显示的问题)
前言 第一次写博客,主要内容是爬取微信公众号的文章,将文章以PDF格式保存在本地. 爬取微信公众号文章(使用wechatsogou) 1.安装 pip install wechatsogou --up ...
- 初始化mysql数据库提示缺少Data:dumper模块解决方法
初始化默认数据库运行此命令:/usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql/ 出现错 ...
- Python程序中的协程操作-gevent模块
目录 一.安装 二.Gevent模块介绍 2.1 用法介绍 2.2 例:遇到io主动切换 2.3 查看threading.current_thread().getName() 三.Gevent之同步与 ...
- 在 ASP.NET Web API 中使用 Attribute 统一处理异常
并非所有的异常都需要 try-catch 进行重复的处理,这会导致大量的重复性代码,一旦后续系统出现异常处理机制的修改,随着代码量增多,修改也会变的更加困难. ASP.NET Web API 中特别增 ...
- 从Spring的几个阶段理解其工作过程
Spring框架非常强大,想要彻底弄懂Spring是非常困难的. 为了便于了解Spring的工作原理,我们来研究一下,Spring是怎么加载的,Spring会经过几个阶段. 我们站在Javaweb ...
- Oracle 聚集函数
(1)avg(x):返回x的平均值 select avg(grade) from sc; (2)count(x):返回统计的行数 select count(name) from sc; (3)max( ...
- sql语句一些简单的用法