Vagrant批量生成虚拟机

VirtualBox使用vargant批量安装定制机器 工作中,很多时候的机器环境都是一样的。或者是你的开发环境需要打包到别人机器上,这种情况下,为了避免重复的劳动我们可以使用vagrant来减少这部分重复的劳动。 使用vagrant前我们要注意一下几点: 1.virtualbox的版本和vagrant的版本要对应 2.你的物理主机的主机名要确保是英文,防止出现编码问题 首先部署好环境,然后在virtualbox的安装目录找到你机器的名字。 ... 阅读详情

开发CAAS需要一堆机器,有时候还需要一堆干净的机器用来测试初始化集群和基础服务,如果每次都手工安装虚拟机,很显然效率太低,于是就开始使用vagrant。

一、下载

需要下载:

  • virtualbox https://www.virtualbox.org/
  • vagrant https://www.vagrantup.com/ 比较坑的是下载最新版后不能正常使用,告诉我最新的vagrant1.8.5不能创建linux虚拟机,要退回到1.8.4。好吧,我使用1.8.4,然后一堆错,告诉我不支持最新的virtualbox,要退回到5.0.x...

二、下载box

好不容易装好了,下载一个box开始测试,测试之前最好设置一下VAGRANT_HOME系统变量,否则会将box文件什么的都放到用户目录。新建一个目录G:/caas/,进入命令行切换到此目录,执行

vagrant init puppetlabs/centos-7.2-64-nocm

这时会下载一个centos7.2的box,并在目录下生成一个名为Vagrantfile的文件。 所谓box是一个打包好的虚拟机,和docker的镜像有点类似。

三、配置集群

参考如下:

# -*- mode: ruby -*-# vi: set ft=ruby : servers = { :hadoop1 => '192.168.1.11', :hadoop2 => '192.168.1.12', :hadoop3 => '192.168.1.13', :hadoop4 => '192.168.1.14', :hadoop5 => '192.168.1.15', :hadoop6 => '192.168.1.16', :hadoop7 => '192.168.1.17' } Vagrant.configure("2") do |config| config.vm.box = "puppetlabs/centos-7.2-64-nocm" config.vm.box_check_update = false servers.each do |server_name, server_ip| config.vm.define server_name do |server_config| server_config.vm.hostname = "#{server_name.to_s}" server_config.vm.network :private_network, ip: server_ip server_config.vm.provider "virtualbox"do |vb| vb.name = server_name.to_s vb.memory = "2048" vb.cpus = 2endendendend

可以看到配置了7台机器,每个2核2G内存。

四、生成虚拟机并启动

1、首先可以迅雷手动去下载centos7.2版本的virtualbox(非必须)

https://atlas.hashicorp.com/puppetlabs/boxes/centos-7.2-64-nocm/versions/1.0.1/providers/virtualbox.box

2、用varant box 添加box,名字要和上一步init的名字保持一致(非必须)

vagrant box add --name puppetlabs/centos-7.2-64-nocm G:\caas\virtualbox.box

3、输入

vagrant up

可以看到依次生成了虚拟机并启动(如果中途下载速度特别慢的话,可以中断然后执行完上两步之后再执行up命令),控制台输出类似于:

G:\Vagrant\caas>vagrant up Bringing machine 'caas1' up with 'virtualbox' provider... Bringing machine 'caas2' up with 'virtualbox' provider... Bringing machine 'caas3' up with 'virtualbox' provider... Bringing machine 'caas4' up with 'virtualbox' provider... Bringing machine 'caas5' up with 'virtualbox' provider... Bringing machine 'caas6' up with 'virtualbox' provider... Bringing machine 'caas7' up with 'virtualbox' provider... ==>caas1:Importing base box 'puppetlabs/centos-7.2-64-nocm'... ==>caas1:MatchingMAC address for NAT networking... ==>caas1:Setting the name of the VM: caas1 ==>caas1:Clearing any previously set network interfaces... There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["hostonlyif", "create"] Stderr: 0%... Progress state: E_FAIL VBoxManage.exe: error: Failed to create the host-only adapter VBoxManage.exe: error: Operation canceled by the user VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component VirtualBoxWrap, interface IVirtualBox VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 71 of file VBoxManageHostonly.cpp G:\caas>vagrant up Bringing machine 'caas1' up with 'virtualbox' provider... Bringing machine 'caas2' up with 'virtualbox' provider... Bringing machine 'caas3' up with 'virtualbox' provider... Bringing machine 'caas4' up with 'virtualbox' provider... Bringing machine 'caas5' up with 'virtualbox' provider... Bringing machine 'caas6' up with 'virtualbox' provider... Bringing machine 'caas7' up with 'virtualbox' provider... ==>caas1:Clearing any previously set network interfaces... ==>caas1:Preparing network interfaces based on configuration... caas1: Adapter 1: nat caas1: Adapter 2: hostonly ==>caas1:Forwarding ports... caas1: 22 (guest) => 2222 (host) (adapter 1) ==>caas1:Running'pre-boot'VM customizations... ==>caas1:BootingVM... ==>caas1:Waiting for machine to boot. This may take a few minutes... caas1: SSH address: 127.0.0.1:2222 caas1: SSH username: vagrant caas1: SSH auth method: private key caas1: Warning: Remote connection disconnect. Retrying... caas1: Warning: Remote connection disconnect. Retrying... caas1: Warning: Remote connection disconnect. Retrying... caas1: caas1: Vagrant insecure key detected. Vagrant will automatically replace caas1: this with a newly generated keypair for better security. caas1: caas1: Inserting generated public key within guest... caas1: Removing insecure key from the guest if it's present... caas1: Key inserted! Disconnecting and reconnecting using new SSH key... ==>caas1:Machine booted and ready! ==>caas1:Checking for guest additions in VM... ==>caas1:Setting hostname... ==>caas1:Configuring and enabling network interfaces... ==>caas1:Mounting shared folders... caas1: /vagrant => G:/caas ==>caas2:Importing base box 'puppetlabs/centos-7.2-64-nocm'... ==>caas2:MatchingMAC address for NAT networking... ==>caas2:Setting the name of the VM: caas2 ==>caas2:Fixed port collision for 22 => 2222. Now on port 2200. ==>caas2:Clearing any previously set network interfaces... ==>caas2:Preparing network interfaces based on configuration... caas2: Adapter 1: nat caas2: Adapter 2: hostonly ==>caas2:Forwarding ports... caas2: 22 (guest) => 2200 (host) (adapter 1) ==>caas2:Running'pre-boot'VM customizations... ==>caas2:BootingVM... ==>caas2:Waiting for machine to boot. This may take a few minutes... caas2: SSH address: 127.0.0.1:2200 caas2: SSH username: vagrant caas2: SSH auth method: private key caas2: Warning: Remote connection disconnect. Retrying... caas2: Warning: Remote connection disconnect. Retrying... caas2: Warning: Remote connection disconnect. Retrying... caas2: caas2: Vagrant insecure key detected. Vagrant will automatically replace caas2: this with a newly generated keypair for better security. caas2: caas2: Inserting generated public key within guest... caas2: Removing insecure key from the guest if it's present... caas2: Key inserted! Disconnecting and reconnecting using new SSH key... ==>caas2:Machine booted and ready! ==>caas2:Checking for guest additions in VM... ==>caas2:Setting hostname... ==>caas2:Configuring and enabling network interfaces... ==>caas2:Mounting shared folders... caas2: /vagrant => G:/caas ==>caas3:Importing base box 'puppetlabs/centos-7.2-64-nocm'... ==>caas3:MatchingMAC address for NAT networking... ==>caas3:Setting the name of the VM: caas3 ==>caas3:Fixed port collision for 22 => 2222. Now on port 2201. ==>caas3:Clearing any previously set network interfaces... ==>caas3:Preparing network interfaces based on configuration... caas3: Adapter 1: nat caas3: Adapter 2: hostonly ==>caas3:Forwarding ports... caas3: 22 (guest) => 2201 (host) (adapter 1) ==>caas3:Running'pre-boot'VM customizations... ==>caas3:BootingVM... ==>caas3:Waiting for machine to boot. This may take a few minutes... caas3: SSH address: 127.0.0.1:2201 caas3: SSH username: vagrant caas3: SSH auth method: private key caas3: Warning: Remote connection disconnect. Retrying... caas3: Warning: Remote connection disconnect. Retrying... caas3: Warning: Remote connection disconnect. Retrying... caas3: caas3: Vagrant insecure key detected. Vagrant will automatically replace caas3: this with a newly generated keypair for better security. caas3: caas3: Inserting generated public key within guest... caas3: Removing insecure key from the guest if it's present... caas3: Key inserted! Disconnecting and reconnecting using new SSH key... ==>caas3:Machine booted and ready! ==>caas3:Checking for guest additions in VM... ==>caas3:Setting hostname... ==>caas3:Configuring and enabling network interfaces... ==>caas3:Mounting shared folders... caas3: /vagrant => G:/caas ==>caas4:Importing base box 'puppetlabs/centos-7.2-64-nocm'... ==>caas4:MatchingMAC address for NAT networking... ==>caas4:Setting the name of the VM: caas4 ==>caas4:Fixed port collision for 22 => 2222. Now on port 2202. ==>caas4:Clearing any previously set network interfaces... ==>caas4:Preparing network interfaces based on configuration... caas4: Adapter 1: nat caas4: Adapter 2: hostonly ==>caas4:Forwarding ports... caas4: 22 (guest) => 2202 (host) (adapter 1) ==>caas4:Running'pre-boot'VM customizations... ==>caas4:BootingVM... ==>caas4:Waiting for machine to boot. This may take a few minutes... caas4: SSH address: 127.0.0.1:2202 caas4: SSH username: vagrant caas4: SSH auth method: private key caas4: Warning: Remote connection disconnect. Retrying... caas4: Warning: Remote connection disconnect. Retrying... caas4: Warning: Remote connection disconnect. Retrying... caas4: caas4: Vagrant insecure key detected. Vagrant will automatically replace caas4: this with a newly generated keypair for better security. caas4: caas4: Inserting generated public key within guest... caas4: Removing insecure key from the guest if it's present... caas4: Key inserted! Disconnecting and reconnecting using new SSH key... ==>caas4:Machine booted and ready! ==>caas4:Checking for guest additions in VM... ==>caas4:Setting hostname... ==>caas4:Configuring and enabling network interfaces... ==>caas4:Mounting shared folders... caas4: /vagrant => G:/caas ==>caas5:Importing base box 'puppetlabs/centos-7.2-64-nocm'... ==>caas5:MatchingMAC address for NAT networking... ==>caas5:Setting the name of the VM: caas5 ==>caas5:Fixed port collision for 22 => 2222. Now on port 2203. ==>caas5:Clearing any previously set network interfaces... ==>caas5:Preparing network interfaces based on configuration... caas5: Adapter 1: nat caas5: Adapter 2: hostonly ==>caas5:Forwarding ports... caas5: 22 (guest) => 2203 (host) (adapter 1) ==>caas5:Running'pre-boot'VM customizations... ==>caas5:BootingVM... ==>caas5:Waiting for machine to boot. This may take a few minutes... caas5: SSH address: 127.0.0.1:2203 caas5: SSH username: vagrant caas5: SSH auth method: private key caas5: Warning: Remote connection disconnect. Retrying... caas5: Warning: Remote connection disconnect. Retrying... caas5: Warning: Remote connection disconnect. Retrying... caas5: caas5: Vagrant insecure key detected. Vagrant will automatically replace caas5: this with a newly generated keypair for better security. caas5: caas5: Inserting generated public key within guest... caas5: Removing insecure key from the guest if it's present... caas5: Key inserted! Disconnecting and reconnecting using new SSH key... ==>caas5:Machine booted and ready! ==>caas5:Checking for guest additions in VM... ==>caas5:Setting hostname... ==>caas5:Configuring and enabling network interfaces... ==>caas5:Mounting shared folders... caas5: /vagrant => G:/caas ==>caas6:Importing base box 'puppetlabs/centos-7.2-64-nocm'... ==>caas6:MatchingMAC address for NAT networking... ==>caas6:Setting the name of the VM: caas6 ==>caas6:Fixed port collision for 22 => 2222. Now on port 2204. ==>caas6:Clearing any previously set network interfaces... ==>caas6:Preparing network interfaces based on configuration... caas6: Adapter 1: nat caas6: Adapter 2: hostonly ==>caas6:Forwarding ports... caas6: 22 (guest) => 2204 (host) (adapter 1) ==>caas6:Running'pre-boot'VM customizations... ==>caas6:BootingVM... ==>caas6:Waiting for machine to boot. This may take a few minutes... caas6: SSH address: 127.0.0.1:2204 caas6: SSH username: vagrant caas6: SSH auth method: private key caas6: Warning: Remote connection disconnect. Retrying... caas6: Warning: Remote connection disconnect. Retrying... caas6: Warning: Remote connection disconnect. Retrying... caas6: caas6: Vagrant insecure key detected. Vagrant will automatically replace caas6: this with a newly generated keypair for better security. caas6: caas6: Inserting generated public key within guest... caas6: Removing insecure key from the guest if it's present... caas6: Key inserted! Disconnecting and reconnecting using new SSH key... ==>caas6:Machine booted and ready! ==>caas6:Checking for guest additions in VM... ==>caas6:Setting hostname... ==>caas6:Configuring and enabling network interfaces... ==>caas6:Mounting shared folders... caas6: /vagrant => G:/caas ==>caas7:Importing base box 'puppetlabs/centos-7.2-64-nocm'... ==>caas7:MatchingMAC address for NAT networking... ==>caas7:Setting the name of the VM: caas7 ==>caas7:Fixed port collision for 22 => 2222. Now on port 2205. ==>caas7:Clearing any previously set network interfaces... ==>caas7:Preparing network interfaces based on configuration... caas7: Adapter 1: nat caas7: Adapter 2: hostonly ==>caas7:Forwarding ports... caas7: 22 (guest) => 2205 (host) (adapter 1) ==>caas7:Running'pre-boot'VM customizations... ==>caas7:BootingVM... ==>caas7:Waiting for machine to boot. This may take a few minutes... caas7: SSH address: 127.0.0.1:2205 caas7: SSH username: vagrant caas7: SSH auth method: private key caas7: Warning: Remote connection disconnect. Retrying... caas7: Warning: Remote connection disconnect. Retrying... caas7: Warning: Remote connection disconnect. Retrying... caas7: caas7: Vagrant insecure key detected. Vagrant will automatically replace caas7: this with a newly generated keypair for better security. caas7: caas7: Inserting generated public key within guest... caas7: Removing insecure key from the guest if it's present... caas7: Key inserted! Disconnecting and reconnecting using new SSH key... ==>caas7:Machine booted and ready! ==>caas7:Checking for guest additions in VM... ==>caas7:Setting hostname... ==>caas7:Configuring and enabling network interfaces... ==>caas7:Mounting shared folders... caas7: /vagrant => G:/caas

本质上vagrant就是将box导入到virtualbox(也可以是其他虚拟化软件,但不同虚拟化软件的box格式不同,需要分别下载),并近照Vagrantfile的设置修改虚拟机配置,包括硬件和网络配置。

五、使用

启动后使用SSH登录到各个虚拟机的22端口,即可开始使用。 root密码为puppet。 如果需要清除己有虚拟机,可以使用

vagrant destroy

然后再次在此目录下使用

vagrant up

即可重新生成干净的虚拟机。

新手入门系列-virtualbox+vagrant创建linux虚拟机 我们很多项目或者组件需要运行在linux操作系统上,但我们大部分PC电脑都是基于windows操作系统的。本文介绍如何在windows操作系统上搭建linux虚拟操作系统。 阅读详情

相关推荐

Vagrant配合VirtualBox搭建虚拟机

Vagrant搭建virtual box虚拟机,打包虚拟机,多机器部署

xiaobai_july的博客 2534

vagrant 集群搭建

Vagrant.configure("2") do |config| (1..9).each do |i| config.vm.define "node#{i}" do |node| # 设置虚拟机的Box config.vm.box = "centos-docker" # 设置虚拟机的主机名 node.vm....

qq_15722433的博客 787

Vagrant自动创建Vmware虚拟机

使用vmware手动创建虚拟机确实很繁琐,如果我们需要初始一个100个节点的kubernetes集群,那肯定会神经衰落的。接下来介绍一种自动vagrant创建虚拟机的方法。 vagrant是一种自动供应(auto provisioning)全部虚拟机的工具, 和Docker采用完全不同层次的虚拟化策略(docker是只将运行时,依赖包打进容器,内核和宿主机是共用的)。 基本介绍 provider vagrant可以使用不同厂商(vagrant provider)的实现供应虚拟机, 如virtualbox,v

oneslide 5223

解决vbox不能安装扩展的问题

VBox的扩展工具安装在 管理 -> 全局设定 -> 扩展 有时候安装扩展会失败如: VBoxManage.exe: error: Failed to install "D:\Oracle_VM_VirtualBox_Extension_Pack-6.0.6.vbox-extpack" VBoxManage.exe: error: Failed to load the mai...

lsmsrc的专栏 1万+

Vagrant 搭建虚拟机环境

注意这里选择公钥登录,用户名填写 vagrant,私钥的文件在 E:\vagrant\mall-node\.vagrant\machines\default\virtualbox 目录下的 private_key 中,大家把路径替换成自己的路径即可。可以看到该IP地址为192.168.56.1,我们将对应的Vagrantfile的ip地址修改192.168.56.101,其实只要在一个网段就可以,我这里使用了100。修改以后,将其保存。然后关闭虚拟机,启动虚拟机,连接虚拟机,查看它的IP地址。

码农UP2U 3314

使用Vagrant搭建本地虚拟机开发环境

使用vargant与VirtualBox快速搭建本地虚拟机开发环境

lizheng33的博客 1067

vagrant批量创建虚拟机并准备K8S部署基础环境

编写Vagrantfile Vagrant.configure("2") do |config| (1..3).each do |i| config.vm.define "k8s-node#{i}" do |node| #设置虚拟机box config.vm.box = "centos/7" #设置虚拟机主机名 config.vm.hostname = "k8snode#{i}" #设置虚拟IP config.vm.network "private_network", ip:

herionZhang的博客 663

使用Vagrant创建虚拟机并ssh进去

Vagrant官网:https://www.vagrantup.com/ 最近要做PA,但是用VMWare起虚拟机又过于庞大,我也用不上图形界面,于是TFF就给我安利了Vagrant,第一次用,体验还不错,记录一下过程。 宿主机环境:Windows 7旗舰版 64bit 所需软件:Vagrant、VirtualBox 安装和重启这里就略过了。。。1. 在自己的windows系统上创建一个空

在努力! 1万+

VirtualBox通过命令方式批量创建并配置虚拟机

7.1.1 VirtualBox批量创建虚拟机 需求:自动化创建一批虚拟机。 解决方法:本文通过VirtualBox结合其提供的命令来完成的。 Bat代码: @echo off for /l %%i in (21,1,40) do ( echo NewModel_AU3_07_%%i rem --1 拷贝虚拟机VDI文件 cd /d D:\Program Files\Oracle\V...

数据科学汇集 1349

【dify】 dify环境变量配置说明

SMTP_SERVER、SMTP_PORT、SMTP_USERNAME、SMTP_PASSWORD、SMTP_USE_TLS、SMTP_OPPORTUNISTIC_TLS:当 MAIL_TYPE 为 smtp 时,SMTP服务器的相关配置。UPLOAD_IMAGE_FILE_SIZE_LIMIT、UPLOAD_VIDEO_FILE_SIZE_LIMIT、UPLOAD_AUDIO_FILE_SIZE_LIMIT:分别为上传图像、视频、音频文件的大小限制(MB)。

tonysh_zds的博客 7353

树莓派c语言串口通讯程序

在网上搜了很多关于树莓派串口通讯的例子,但是都是用python写的,虽然python很有名,而且最近也在学习这门语言, 但是还是想用c语言实现一下,因为需要用到整套系统里,其他内容都是用c语言写的。但是网上没有找打现成的。 还好,之前做过天嵌2440开发板的串口程序(参照天嵌工程师提供的代码),发现串口程序其实是通用的, 驱动层屏蔽了硬件细节,个人猜测,几乎所有移植好的系统的串口,都可以用一

realank的专栏 1万+

Vagrant批量生成虚拟机 windows10

当我们需要很多机器来测试初始化集群和基础服务时,如果每次都去手工安装虚拟机,显然效率是低的,这时候就可以使用vagrant来批量生产虚拟机。目前来说,windows10使用vagrant还是有需要注意的地方

wen_bin_li的博客 3339

告别手动维护!教你用SAP BAPI批量更新生产订单BOM组件(CO02工单)

本文详细介绍了如何利用SAP BAPI实现生产订单BOM组件的批量更新,解决传统手工操作(如CO02工单)效率低下的问题。通过核心函数解析和批量处理框架设计,帮助用户大幅提升工作效率,降低错误率,适用于物料主数据变更、季节性配方调整等场景。

weixin_30844577的博客 558

利用vagrant创建多个测试虚机

使用 Vagrant 构建开发环境 https://www.cnblogs.com/blackpuppy/p/vagrant_manage_development_environment.html 使用Vagrant和Virtualbox创建虚拟机 https://www.linuxidc.com/Linux/2016-08/134435.htm Vagrant批量生成虚拟机...

weixin_30716141的博客 204

手把手教你排查libstdc++.so.6版本问题:从GLIBCXX缺失到完美解决

本文深入解析Linux系统中常见的GLIBCXX版本缺失问题,以`ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4.29' not found`为例,从动态链接原理入手,提供使用`strings`和`find`命令的诊断方法,并详细对比了四种解决方案的优缺点。文章重点推荐通过设置`LD_LIBRARY_PATH`或更新系统库的安全策略,并最终建议使用Docker容器化技术实现环境依赖的根治与统一管理。

j7k8l的博客 300

基于pytest+Allure+Python+CANoe的汽车诊断自动化测试框架搭建实战

自动化测试是提升软件质量和研发效率的关键技术,其核心原理是通过脚本模拟人工操作,实现测试用例的自动执行与结果验证。在汽车电子领域,诊断服务测试是确保车辆ECU(电子控制单元)功能正常的重要环节,传统手动测试在面对海量用例和频繁回归时效率低下。本文聚焦于如何利用Python的pytest测试框架、Allure报告工具以及Excel数据驱动,构建一个与Vector CANoe仿真测试环境深度集成的自动化测试解决方案。该方案通过Python调用CANoe的COM接口,实现了诊断报文的自动发送与响应验证,并结合Al

weixin_30384217的博客 677

通过vagrant与VirtualBox 创建虚拟机

(4)上述的centos/7 为什么这么配置 是在vagrant的云服务中有相关镜像 可以在第一次创建虚拟机之前 会从vagrant 官网自动下载到本地,再次创建新的虚拟机。可以在ifcfg- 相关文件配置即可,这里不赘述配置linux相关配置。(5) 执行 vagrant up 如果没有相关镜像,会先下载镜像,然后自动创建虚拟机,同样也是要和VagrantFile 在同级目录下执行此命令。(6)安装成功后,无需在VIrtualBox配置 会自动找到新建虚拟机,会自动显示在VIrtualBox中。

灰色的小熊的博客 1222

为什么传统CNN在视网膜分割中败给Mamba?从血管拓扑学揭秘Serp-Mamba的蛇形扫描黑科技

本文深入分析了传统CNN在视网膜血管分割任务中的局限性,特别是在处理高分辨率图像和复杂血管拓扑结构时。针对这些问题,文章重点介绍了Serp-Mamba模型的核心创新——蛇形交织自适应扫描(SIA)机制,该机制通过让扫描路径自适应地贴合血管曲率,并结合模糊驱动双重校准(ADDR)模块应对极端类别失衡,从而在视网膜血管分割任务上实现了性能的显著突破。

ss78901的博客 890

Vagrant快速部署linux虚拟机

环境准备 系统:macos(作者电脑是mac,win也没问题 下载对应的版本) vagrant: 2.2.14 下载 VirtualBox:6.1下载 具体安装过程就不叙述了,直接下载完安装上就可以。另外需要注意的是vagrant和virtualbox的版本兼容。 开始操作 查找所需要的box 我们首先需要在vagrant box中查询centos7的box镜像。这里使用centos7如果想使用ubuntu或者其他的 可以直接在网站内搜索对应的镜像即可。 初始化环境 首先我们创建个目录 ~/Docume

程冯冯的博客 1万+

基于Autoware制作高精地图(一)

基于Autoware制作高精地图(一) ​开始进入正题,也是最近在忙的一件事,制作高精地图。 高精地图的制作大概分为以下四个流程(不一定完全正确): 1.构建点云地图; 2.点云地图标注; 3.制作OpenDrive地图; 4.地图存储索引。 这篇文章主要讲解如何构建点云地图。 首先我们要有一段自己录制的激光雷达点云数据,这里推荐大家采用Velodyne16线激光雷达,因为这里我们构建的点云底图是三维的,而采用Velodyne而不是速腾聚创(rslidar)等其他品牌的原因是Autoware里面有一个选项是

weixin_44570248的博客 7796

错误代码:11300001 数据集 [xxx] 配置错误“=”附近有语法错误(原理分析)

错误代码:11300001 数据集 [1_Workshift] 配置错误“=”附近有语法错误。

码农研究僧的博客 914

Vagrant+VirtualBox创建虚拟机

Vagrant+VirtualBox创建虚拟机Vagrant 介绍安装使用步骤一:下载介质安装步骤一 添加box步骤二 初始化vagrant:步骤三使用xshell链接主机参考链接 Vagrant 介绍 Vagrant 是一个软件,可以自动化虚拟机的安装和配置流程,用来管理虚拟机,如 VirtualBox、VMware、AWS 等目前市面上个人 PC 的主流操作系统不是Windows 就是 Mac...

weixin_39836585的博客 1310

ssm框架搭建

这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载

解决Vagrant启动虚拟机内存爆满

今天使用vagrant up 启动虚拟机报错 提示 No space left on device 磁盘空间已经满了 但是我只在虚拟机中开了两个容器 虽然启动报错 但是 vagrant ssh 还是可以链接 使用 df -h 查看 发现是 /var/docker/overlay2里面的东西占了很大的空间 第一种办法 就是overlay2里的文件真的很大 进入overlay2 使用命令 du -h --max-depth=1查看这个文件夹里的文件大小 删掉大文件 Docker overlay2占用大

Kaaaakaki的博客 3493

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

vagrant批量创建虚拟机

环境说明: 软件是Oracle VM VirtualBox 要安装vagrant 虚拟机采用离线(本地文件)安装毕竟快 中科大镜像源地址 centos7镜像地址 我的镜像和软件 链接:https://pan.baidu.com/s/1Z-VD4BAK6fAEZMtGGf3TFQ 提取码:gd3c 复制这段内容后打开百度网盘手机App,操作更方便哦--来自百度网盘超级会员V6的分享 创建虚拟机 1、创建目录和下载.box文件 创建出下面3个目录 说明:add box的时候默认保存在C盘用户文件夹

suqinyi的博客 790

Camera2Demo

在Camera2 的基础上进行封装,使得Camera2一堆初始化逻辑与Activity分离,降低耦合度,完成预览拍照并保存的操作

经验分享之使用vagrant安装linux虚拟机

背景:很荣幸被正杰师哥选中管理SVN这一块儿,正杰师哥那么厉害,SVN还不是小Case,在学习SVN的同时,顺便学习一下其他的高大上的东东,嘿嘿……自己当时学习SVN的时候只是简单的了解了一下,在项目中用的也不是很好,一般就是检出服务器上的代码修改后在配置好过滤器的SVN中提交。简单的应用是会的,但是要是管理SVN中的项目那就是一件比较复杂的事了。师哥说了,要想练手,需要在自己的电脑上安装一个虚拟

Reka's blog ^_^ 4581

VirtualBox创建虚拟机,使用vagrant

1.安装路径无效的问题(修改路径后不能下一步或者继续安装,默认路径中的\Program Files\Oracle\VirtualBox不能修改,否则出现问题)在我们创建虚拟机的目录下有一个Vagrantfile文件(这个文件在运行Vagrant init centos/7后就生成的)这个命令运行完毕后,及创建启动虚拟机完成,在VirtualBox软件里面就能看到创建的虚拟机(如上面的那张图片一样)记事本打开这个文件,修改ip(去掉前面的# 后,修改后面的ip为自己的IP,2.安装完成后弹出“

m0_59066523的博客 2632
上一篇: SQL注入问题
下一篇: fail-fast和fail-safe
攀子zzu
博客等级 码龄14年 5粉丝 31原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值