当前位置: 首页 > wzjs >正文

免费自助建站全系统2021年年度关键词

免费自助建站全系统,2021年年度关键词,可以做众筹的网站有哪些,关键词排名优化价格vbox 安装增强功能失败一例 起因 vbox 从 6.9 升级到 7.1.6,Centos 7 虚拟机里的的共享文件夹设置失效了。尝识重新安装增强功能,报如下错: [rootvbox cdrom]# ./VBoxLinuxAdditions.run Verifying archive integrity... 100% MD5 chec…

vbox 安装增强功能失败一例

起因

vbox 从 6.9 升级到 7.1.6,Centos 7 虚拟机里的的共享文件夹设置失效了。尝识重新安装增强功能,报如下错:

[root@vbox cdrom]# ./VBoxLinuxAdditions.run
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.1.6 Guest Additions for Linux  100%
VirtualBox Guest Additions installer
Removing installed version 7.1.6 of VirtualBox Guest Additions...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
3.10.0-1160.119.1.el7.x86_64.VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
went wrong
[root@vbox cdrom]# cat /var/log/vboxadd-setup.log
-bash: $'\346cat': command not found
[root@vbox cdrom]# cat /var/log/vboxadd-setup.log
Building the main Guest Additions 7.1.6 module for kernel 3.10.0-1160.119.1.el7.x86_64.
Error building the module.  Build output follows.
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/3.10.0-1160.119.1.el7.x86_64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j1 modules
arch/x86/Makefile:169: *** CONFIG_RETPOLINE=y, but not supported by the compiler. Compiler update recommended..  Stop.
make: *** [vboxguest] Error 2
[root@vbox cdrom]#

 报错日志里有  “Compiler update recommended” 很明显是要升级编译工具。

安装高版本的编译工具

网上查了一下,看上去很 Easy,按下面这个命令就可以安装高版本的编译工具:

yum -y install centos-release-scl centos-release-scl-rh
yum -y install devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-binutils

Centos 7 官方2024年6月以后就不再提供支持,所以更新 Centos 7 为国内 yum 源。

CentOs-Base.repo 的内容就不贴了,网上很多,照做基本都没有问题。

主要是 CentOS-SCLo-scl.repo 和 CentOS-SCLo-scl-rh.repo 这两个都要改,不要只改一个。

[root@vbox yum.repos.d]# cat CentOS-SCLo-scl.repo
# CentOS-SCLo-sclo.repo
#
# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more
# information[centos-sclo-sclo]
name=CentOS-7 - SCLo sclo
baseurl=http://mirrors.cloud.tencent.com/centos/7/sclo/$basearch/sclo/
#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-sclo
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
[root@vbox yum.repos.d]# cat CentOS-SCLo-scl-rh.repo
# CentOS-SCLo-rh.repo
#
# Please see http://wiki.centos.org/SpecialInterestGroup/SCLo for more
# information[centos-sclo-rh]
name=CentOS-7 - SCLo rh
baseurl=http://mirrors.cloud.tencent.com/centos/7/sclo/$basearch/rh/
#mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&repo=sclo-rh
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo

修改完成后,重新安装devtoolset ,我这里用 11 的版本。

再次安装增强组件。 注意:安装前要执行  scl enable devtoolset-11 bash 使新版的gcc生效。

[root@vbox yum.repos.d]# gcc --version
gcc (GCC) 5.2.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[root@vbox yum.repos.d]# scl enable devtoolset-11 bash
[root@vbox yum.repos.d]# gcc --version
gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[root@vbox yum.repos.d]#

安装成功

[root@vbox cdrom]# ./VBoxLinuxAdditions.run
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.1.6 Guest Additions for Linux  100%
VirtualBox Guest Additions installer
Removing installed version 7.1.6 of VirtualBox Guest Additions...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
3.10.0-1160.119.1.el7.x86_64.
[root@vbox cdrom]#


文章转载自:

http://ljmjEYNb.rpzgn.cn
http://yssi9alL.rpzgn.cn
http://NJukkUIZ.rpzgn.cn
http://BoinfmPK.rpzgn.cn
http://Ja5fSYfd.rpzgn.cn
http://xjS2QZlk.rpzgn.cn
http://Gh9xxy3m.rpzgn.cn
http://dSKDmDUu.rpzgn.cn
http://hw1udJ89.rpzgn.cn
http://rIp69syC.rpzgn.cn
http://0pomZHBU.rpzgn.cn
http://J8AnrRZy.rpzgn.cn
http://x7UquiMk.rpzgn.cn
http://0jSOLOEj.rpzgn.cn
http://Z3JWxsol.rpzgn.cn
http://FcYlNhSi.rpzgn.cn
http://LyZbrXQH.rpzgn.cn
http://WgeHYil1.rpzgn.cn
http://aLKzLBZs.rpzgn.cn
http://zuhXH16n.rpzgn.cn
http://AUUhiFdV.rpzgn.cn
http://uTMhMSBi.rpzgn.cn
http://bfftNTlu.rpzgn.cn
http://twXjBR8r.rpzgn.cn
http://68pWkE0a.rpzgn.cn
http://ve4Y5P6K.rpzgn.cn
http://CcY6JZip.rpzgn.cn
http://I3P85v3r.rpzgn.cn
http://Jz7kRqPW.rpzgn.cn
http://IyTHVTfR.rpzgn.cn
http://www.dtcms.com/wzjs/767697.html

相关文章:

  • 美容会所网站模板下载网站建设的实施制作阶段包括
  • 专注成都网站建设及推广东莞大岭山俪仁妇产医院
  • html购物网站怎么做菏泽网站建设费用
  • 做视频网站要什么格式好建设部安全事故通报网站
  • 阿里巴巴网站建设销售网站开发 开题报告
  • wap建站模板房屋设计装修软件免费
  • 网站制作推广wordpress 注册角色
  • 网站如何做邮箱订阅号电子商务网站设计原理名词解释
  • 建设部网站官工程质量手册成品网站设计网站
  • 信息时代网站建设的重要性网站的惩罚期要怎么做
  • 网站建设方案范例网站备案和备案的区别吗
  • 苏州设计网页网站梧州网站建设推荐
  • 有创意做网站找投资怀来住房和城乡建设局网站
  • wamp建设网站大致步骤wordpress安装双seo插件
  • 一般做网站哪家好住房和城乡建设厅官方网站
  • 弄一个网站手机人才网怎么投简历
  • 做简单的html网站wordpress博客名字
  • 东方城乡与住房建设部网站国外网站dns在线解析
  • 下载的网站模版怎么用服装织梦网站源码
  • 联盟文明网站建设有新突破北京网站建设方案托管
  • 石家庄做网站的有哪些公司ui网页设计课程总结
  • 网站开发的现状怎么制作ppt课件
  • 购物类网站都有哪些模块能帮忙做网站建设
  • 钦州市住房和城乡建设局网站建设项目环境影响登记表网站
  • 电商运营网站网站模板怎么建站
  • 现在做微信开发网站多少钱水立方建设集团有限公司网站
  • 运动猿app 网站开发基于5G的网站设计
  • 网站费用多少导入wordpress
  • 国外有做塑料粒子的网站吗wordpress下载效果
  • php中英文网站源码有没有做牛羊角的网站