首页 > 系统相关 >QEMIU-基于CentOS7系统编译安装部署qemu 2.7.0 版本的环境

QEMIU-基于CentOS7系统编译安装部署qemu 2.7.0 版本的环境

时间:2023-07-14 16:23:12浏览次数:50  
标签:repo install CentOS QEMIU system CentOS7 yum qemu 2.7

【原文链接】QEMIU-基于CentOS系统编译安装部署QEMU环境

  • 备份原有的yum源配置
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
  • 设置阿里云的yum源
wget -O /etc/yum.repos.d/CentOS-Base.repo  http://mirrors.aliyun.com/repo/Centos-7.repo
  • 添加EPEL源
wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo
  • 更新yum缓存
yum clean all
yum makecache
  • 安装依赖包
yum install gcc*
yum install zlib*
yum install -y glib*
yum install install autoconf automakelibtool
yum install SDL-devel
  • 下载qemuu并解压
cd /opt
wget https://github.com/qemu/qemu/archive/refs/tags/v2.7.0.tar.gz
tar -zxvf v2.7.0.tar.gz
  • 编译安装
cd qemu-2.7.0
./configure
make
make install
  • 验证qemu
    退出后重新登录,然后执行qemu- 加tag,即出现如下命令提示,表示qemu已经编译安装成功
[root@redrose2100-test-Syzkaller-centos7 ~]# qemu-
qemu-aarch64              qemu-m68k                 qemu-nbd                  qemu-sparc                qemu-system-m68k          qemu-system-ppc           qemu-system-unicore32
qemu-alpha                qemu-microblaze           qemu-or32                 qemu-sparc32plus          qemu-system-microblaze    qemu-system-ppc64         qemu-system-x86_64
qemu-arm                  qemu-microblazeel         qemu-ppc                  qemu-sparc64              qemu-system-microblazeel  qemu-system-ppcemb        qemu-system-xtensa
qemu-armeb                qemu-mips                 qemu-ppc64                qemu-system-aarch64       qemu-system-mips          qemu-system-s390x         qemu-system-xtensaeb
qemu-cris                 qemu-mips64               qemu-ppc64abi32           qemu-system-alpha         qemu-system-mips64        qemu-system-sh4           qemu-tilegx
qemu-ga                   qemu-mips64el             qemu-ppc64le              qemu-system-arm           qemu-system-mips64el      qemu-system-sh4eb         qemu-unicore32
qemu-i386                 qemu-mipsel               qemu-s390x                qemu-system-cris          qemu-system-mipsel        qemu-system-sparc         qemu-x86_64
qemu-img                  qemu-mipsn32              qemu-sh4                  qemu-system-i386          qemu-system-moxie         qemu-system-sparc64
qemu-io                   qemu-mipsn32el            qemu-sh4eb                qemu-system-lm32          qemu-system-or32          qemu-system-tricore
[root@redrose2100-test-Syzkaller-centos7 ~]#

标签:repo,install,CentOS,QEMIU,system,CentOS7,yum,qemu,2.7
From: https://www.cnblogs.com/redrose2100/p/17554029.html

相关文章

  • centos7.8安装Python-3.10
    centos7.8安装Python-3.10一.安装opensslpython3.10需要openssl至少1.1.1,而centos7.8默认版本为1.0.2*参考:https://www.cnblogs.com/linagcheng/p/15870060.html 二.安装依赖yuminstall-ybzip2-devellibffi-develzlibzlib-devel 三.安装Python-3.10tar-zx......
  • graylog5.1安装(Centos7)
    官网安装地址:https://go2docs.graylog.org/5-1/downloading_and_installing_graylog/red_hat_installation.htm?tocpath=Downloading%20and%20Installing%20Graylog%7CInstalling%20Graylog%7C_____6一、需要安装的组件OpenJDK17(5.0以上版本的graylog已内置,无需安装)OpenSe......
  • centos7部署Vsftpd服务
    安装并开启自启yuminstall-yvsftpdsystemctlenablevsftpd修改配置文件配置文件位置:/etc/vsftpd/vsftpd.conf常用的需要修改以下////默认是允许匿名,需要关闭anonymous_enable=No//启用本地用户,默认是开启,这里不需要修改local_enable=YES//设置本地用户登陆......
  • CentOS7修改网卡名
    CentOS7,或RHEL7[1]https://www.redhat.com/sysadmin/network-interfaces-linux,Thenamegame:NamingnetworkinterfacesinLinux可以使用nameif,ifrename,ip;centos7上没找到ifrename;nameif根据mac命令;试过ip,提示ResourceBusy.[2]http://www.mit.edu/afs.n......
  • 记一次CentOS7.7文件系统只读Read-only file system 并且/dev/只有一个设备文件 null
    环境VMwareWorkstationPro15.5操作系统CentOS7.7现象:处理方法1.单用户修复文件系统失败2.救援模式备份数据失败3.把不能正常启动的磁盘,挂载到正常启动虚拟机,扫描逻辑卷,激活,挂载(1)把有问题的磁盘挂载到正常启动的机器上选择需要修复的盘......
  • CentOs7 静默安装Oracle12.2
    createtablespaceJWAQdatafile'/opt/oracle/oradata/orcl/JWAQ.dbf'size1024Mautoextendonnext2048Mmaxsize10gEXTENTMANAGEMENTlocalautoallocatesegmentspacemanagementauto;createuseryangxiaodongidentifiedbyyangxiaodongdefaul......
  • spring-boot-plus2.7.12版本重磅发布,三年磨一剑,兄弟们等久了,感谢你们的陪伴
    Everyonecandevelopprojectsindependently,quicklyandefficiently!spring-boot-plus是一套集成springboot常用开发组件的后台快速开发框架Spring-Boot-Plus是易于使用,快速,高效,功能丰富,开源的springboot脚手架.目标每个人都可以独立、快速......
  • centos7ping不通主机却能够上网时的问题解决方案
       ......
  • centos7 安装jdk8
    前言记录centso7安装jdk8的过程yum安装jdk8检查jdk是否安装(存在卸载对应包)rpm-qa|grepjdk查找安装包yumsearchjava-1.8通过命令安装(可根据上面搜索结果指定版本)yum-yinstalljava-1.8.0-openjdk-devel.x86_64查看版本java-version安装完成,路径一般在/usr/li......
  • centos7 用docker搭建Mysql主从
    安装Docker和DockerCompose:安装预置:sudoyumupdateyuminstallpython3-pipsudoyumgroupinstall"DevelopmentTools"sudoyuminstallepel-releasesudoyuminstallopenssl-devellibffi-develpython3-devel安装docker:yumremovedockerdocker-clientdocker-......