2017年2月15日实习日记



重装了一下qemu,终于运行成功。RHEL7成功加载起挂在VGPU的GUEST。
可能是qemu的问题,也可能是 .img 文件多次重启(之前几乎都是强制杀死qemu进程而关机的,img可以有所损伤)。
不过终于加载了 vgpu。
发个图庆祝一下,哈哈,还好没放弃。

2017年2月15日实习日记_第1张图片

Mentor说运行帧数不对,明天再看看是啥情况。

不过,确实好累......


使用资料如下(把资料贴出来,周末有时间再做整理)
--------------------
centos/linux   查看gpu使用情况的方法     intel显卡
http://blog.csdn.net/qq_31213433/article/details/50384315


[root@localhost ~]# lspci |grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5300 (rev 08)
[root@localhost ~]#
上面这个是host的显卡,可以看到是intel的

Guest显卡,没有虚拟出GPU
VGA compatible controller:Device 1234:1111

设置代理服务器后,需要重启一下,浏览器才能使用系统上网。应该是因为source是root权限下的,申明环境变量之后只对root生效,而浏览器不是在root下运行的,所以那个用户下的环境变量没有改变。

linux系统的服务器断电后,重启卡在recovering journal
https://zhidao.baidu.com/question/682460655700979772.html

ubuntu git http proxy配置
http://blog.chinaunix.net/uid-20940095-id-3895577.html


git设置代理(内网机器使用代理链接外网的时候,如果要用git,git的代理也需要配置一下)
3. setup a proxy for external source download
     ①add /usr/bin/git-proxy as following.
    ~#cat /usr/bin/git-proxy
    proxy=proxy-shz.intel.com
    exec socat STDIO SOCKS4:$proxy:$1:$2
    ~#chmod +x /usr/bin/git-proxy
    ②add a .gitconfig in /root/ foler or your username's foler
    ~#cat .gitconfig
    [core]
        gitproxy = none for intel.com
        gitproxy = git-proxy

需要安装 socat , rhel 下可以安装 yum install socat.x86_64
centos端口转发神器:socat安装及使用
http://www.fomde.com/index.php/archives/41/

qemu增加对spice的支持 安装spice-serve-del

CentOS7/RHEL7上安装KVM(QEMU)
http://blog.csdn.net/rhel_admin/article/details/46458427

Install KVM (QEMU) on CentOS 7 / RHEL 7
http://blog.csdn.net/liukuan73/article/details/49019691

linux下阅读源代码的工具
http://www.cnblogs.com/lidabo/p/4957908.html

CentOS7上源码安装KVM(qemu kvm)
http://www.it165.net/os/html/201506/13527.html

qemu-kvm命令行参数
http://blog.chinaunix.net/uid-25086409-id-4207964.html

Linux查看CPU信息
http://blog.sina.com.cn/s/blog_5773f13901012rgf.html

你可能感兴趣的:(Intel实习日记)