高捷博客

IT技术笔记博客

当前位置:首页 » 文章 » 正文

Centos7安装VirtualBox5配置Genymotion

VirtualBox

官网:https://www.virtualbox.org/

版本:VirtualBox-5.2-5.2.32_132073_el7-1.x86_64

1.安装VNC

yum install -y tigervnc-server tigervnc

2.启动vnc

[root@xxx ~]# vncserver
You will require a password to access your desktops.
Password:<输入密码>
Verify:<输入密码> 
xauth: creating new authority file /root/.Xauthority
New 'xxx:1 (root)'desktop is xxx:1
Creating default startup script /root/.vnc/xstartup 
Starting applications specified in /root/.vnc/xstartup 
Log file is /root/.vnc/xxx:1.log

3.配置vnc启动文件

[root@xxx ~]#vim /etc/sysconfig/vncservers
VNCSERVERS="10:root"
VNCSERVERARGS[10]="-geometry 1024x768 -nolistien tcp"

端口号、用户、分辨率根据实际情况修改,保存退出

vncserver -list        #查看是否有多个端口
vncserver -kill :x     #删除不用的端口
vncserver :10          #启动vncserver

4.安装virtualbox

wget http://download.virtualbox.org/virtualbox/4.3.28/VirtualBox-4.3-4.3.28_100309_el6-1.x86_64.rpm 
rpm -ivh VirtualBox-4.3-4.3.6_91406_el6-1.x86_64.rpm

5.启动VirtualBox

[root@iZuf6i3ugz4ws1vpvuqmjsZ ~]# /usr/lib/virtualbox/vboxdrv.sh setup
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.

Genymotion

官网:https://www.genymotion.com/

版本:genymotion-2.10.0-linux_x64.bin

安装Genymotion

[root@iZuf6i3ugz4ws1vpvuqmjsZ home]# chmod 777 genymotion-2.10.0-linux_x64.bin
[root@iZuf6i3ugz4ws1vpvuqmjsZ home]# ./genymotion-2.10.0-linux_x64.bin 
Installing for all users.

A previous installation already exists in folder [/opt/genymobile/genymotion]. Overwrite [y/n] ? y


- Trying to find VirtualBox toolset .................... OK (Valid version of VirtualBox found: 5.2.32r132073)
- Removing old installation ............................ OK
- Extracting files ..................................... OK (Extract into: [/opt/genymobile/genymotion])
- Installing launcher icon ............................. OK

Installation done successfully.

You can now use these tools from [/opt/genymobile/genymotion]:
 - genymotion
 - genymotion-shell
 - gmtool
[root@iZuf6i3ugz4ws1vpvuqmjsZ home]# /opt/genymobile/genymotion/genymotion
Logging activities to file: /root/.Genymobile/genymotion.log
Aborted

‹‹ 上一篇: CentOS 7安装 ifconfig 管理命令

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

站内搜索
最近发表
最新评论
标签列表
文章归档

关于本站 | 给我留言 | 网站地图 | 免责申明 | 百度统计

Copyright ©2019 高捷博客 All rights reserved. Powered By Z-Blog 冀ICP备16006687号

冀公网安备 13073202000010号