OS + CentOS 7 / centos 7 / VirtualBox /vegrant
s
https://mirrors.aliyun.com/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Everything-1810.iso
通过U盘或CD/DVD装centos7,出现“dracut-initqueue timeout..."解决办法
https://www.cnblogs.com/Lenbrother/articles/6251555.html
https://www.cnblogs.com/yaqiong-hu/p/9857546.html
1.在用CD/DVD挂载centos7镜像安装系统时,出现“dracut-initqueue timeout...",
1
|
:/ # cd dev |
1
|
:/ # ls |
2.这是因为安装程序未能找到安装文件,无法加载所致。由于此时我是通过CD/DVD挂载的ios镜像,由上图看出我的安装文件所在设备在/dev/cdrom中,所以接下来要改安装文件的位置
(1) reboot重启
1
|
: /dev # reboot |
(2)在启动引导界面按Tab键修改启动配置(如下图,按Tab后,在下面会出现一行文字)
(3)将
1
|
vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet |
修改为
1
|
vmlinuz initrd=initrd.img inst.stage2=hd: /dev/cdrom quiet |
若是通过U盘启动安装的,则在此处改为
1
|
vmlinuz initrd=initrd.img inst.stage2=hd: /dev/sda quiet |
3.改完后,再进行安装,便可成功安装了
VirtualBox:解决VirtualBox安装时libSDL-1.2.so.0()错误的问题。
http://www.sklinux.com/983
为Centos6.2安装VirtualBox的时候,遇到了这样的错误:
error: Failed dependencies:
libSDL-1.2.so.0()(64bit) is needed by VirtualBox-4.2-4.2.4_81684_el6-1.x86_64
原来安装VirtualBox需要SDL这个包,可以用yum安装,
yum install compat-libstdc++-33 SDL
其实,除了上面的以外还需要gcc, kernel-devel,make, libGL, qt, qt-devel, libXmu,例如,
yum install gcc kernel-devel make libGL qt qt-devel libXmu
好了,现在就可以安装VirtuaBox的rpm包了,
[root@SCTS-PC-DEV Downloads]# rpm -ivh VirtualBox-5.1-5.1.28_117968_el7-1.x86_64.rpm
warning: VirtualBox-5.1-5.1.28_117968_el7-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:VirtualBox-5.1-5.1.28_117968_el7-################################# [100%]
Creating group 'vboxusers'. VM users must be member of that group!
CentOS7.2 创建本地YUM源和局域网YUM源
https://www.cnblogs.com/nidey/p/6200685.html
[root@localhost yum.repos.d]# pwd
/etc/yum.repos.d
[root@localhost yum.repos.d]# more lindows.repo
[lindows.iteye.com]
name=local
baseurl=file:///mnt/CentOS7
enabled=
gpgcheck=
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
end
OS + CentOS 7 / centos 7 / VirtualBox /vegrant的更多相关文章
- Could not resolve host: mirrorlist.centos.org Centos 7 Unkown error
安装Centos7(core)以后,网卡默认不会启用.这是一个大坑,直接报错,这是一个过度优化,有几个开发人员/运维人员安装centos7(core)不用ssh去连接服务器的. 报错如下: Loade ...
- 【centos】centos命令总结(持续更新)
1.查看系统版本命令 转自:https://blog.csdn.net/networken/article/details/79771212 .查看内核版本 [root@localhost ~]# u ...
- 宿主系统为Ubuntu 14,CentOS 6.5 安装VirtualBox增强工具失败:Building the OpenGL support module[FAILED]
安装先前的笔记:CentOS 6.3 中安装VirtualBOX增强工具失败:Building the main Guest Additions module[FAILED],执行了以下命令 #安装 ...
- 使用virtualbox安装centos虚拟机,以及VirtualBox无法安装64位Linux CentOS的解决办法
之前一直用vmware的虚拟机,好吧,其实一直盗版挺不好的,然后想用centos搭点东西,结果在vmare上安装centos总是有些问题,看了人给的建议换用virtualbox,虽然virtualbo ...
- OS + CentOS 7 / centos 7 / config / configuration / rescue / rc.local / yum
s centos7开启网卡功能 https://blog.csdn.net/nkd50000/article/details/78903479 网卡默认是关闭的,未分配ip地址,解决办法: 1.修改文 ...
- CentOS 7 安装Oracle VirtualBox
1. 下载VirtualBox的repo文件: 登陆 https://www.virtualbox.org/wiki/Linux_Downloads 在网页的最下端的repo链接上右键下载,或者wge ...
- RocketMQ os.sh 系统优化(CentOS)
贴出源码中的优化脚本先: #!/bin/sh # # Execute Only Once # echo 'vm.overcommit_memory=1' >> /etc/sysctl.co ...
- Linux学习之CentOS(五)--CentOS下VMware-Tools安装
已经进入到了Linux学习之CentOS的第六篇随笔了,所以这里就介绍一下VMware-Tools的安装. VMware-Tools的安装 VMware-Tools 主要的功能就是让用户在虚拟机和真实 ...
- [centos][yum] centos升级到特定版本
我们已知,yum upgrade命令可以将整个系统升级到最新版本. 但是很多时候,我们需要更新到指定版本,比如,当前最新的CentOS版本是7.6.1810 但是我需要更新到7.4,可以如下这样做: ...
随机推荐
- 五子棋游戏SRS
一.功能需求 1.绘制棋子 2.绘制界面 3.绘制棋盘 4.实现通过鼠标下棋并判断棋子是否落在棋盘上 6.判断胜负 二.用例图 玩家用例图: 1.落子:玩家鼠标点击最近的落子点落子.2.电脑先落子:选 ...
- Visual
#include int main() { std::cout<<"Hello World !"<<std::endl; char resp ...
- 学习github心得
Git 是 Linux 的创始人 Linus Torvalds 开发的开源和免费的版本管理系统,利用底层文件系统原理进行版本控制的工具.Git是目前为止最著名运用最好最受欢迎的分布式的配置管理工具. ...
- Apollo的Oracle适配
Apollo的Oracle适配改动 这几天工作需要使用Apollo配置中心.Apollo唯一的依赖是MySQL数据库,然而公司只有Oracle数据库资源.这里有一个Oracle适配改动的分支,但是 ...
- Failed to execute goal org.springframework.boot
报错 [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.0.RELEASE:ru ...
- wordpress升级出错
服务器是腾讯云 搜索到的解决方案有几个,试了好几个,不知道哪个是根本原因,反正都操作了. 设置wordpress文件夹和子文件夹的权限 编辑wp-config.php,在文末添加如下: define( ...
- HDU 2053 Switch Game
http://acm.hdu.edu.cn/showproblem.php?pid=2053 Problem Description There are many lamps in a line. A ...
- Apache的Thrift引发的编译思考
最近偶然看到了Apache的Thrift,感觉有点像Corba架构后的变种(赞一个,Facebook真伟大).WSDL能生成C#和Java的(SOAP标准接口,做WebService都用过).Corb ...
- TestNG—学习笔记2
关于TestNG,也是一边学一边总结,对于TestNG和Junit的比较其实也没有什么意义,都是一种测试框架,都是为了应用而生的东西,没有必要说谁好谁不好了.用的熟练用的好就是真的好啊. 下面简单的总 ...
- about use Vue of methods
methods 处理事件 methods 在vue中处理一些逻辑方面的事情.vue事件监听的方式看上去有点违背分离的传统观念.而实际上vue中所有事件的处理方式和表达式都是严格绑定在当前的视图的vie ...