Linux 安装VNC

搜索yum包

[root@hadron ~]# yum search tiger

已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
========================================================== N/S matched: tiger ====================================================
tigervnc.x86_64 : A TigerVNC remote display system
tigervnc-icons.noarch : Icons for TigerVNC viewer
tigervnc-license.noarch : License of TigerVNC suite
tigervnc-server.x86_64 : A TigerVNC server
tigervnc-server-applet.noarch : Java TigerVNC viewer applet for TigerVNC server
tigervnc-server-minimal.x86_64 : A minimal installation of TigerVNC server
tigervnc-server-module.x86_64 : TigerVNC module to Xorg

  名称和简介匹配 only,使用“search all”试试。

安装 tigervnc服务端

[root@hadron ~]# yum install -y tigervnc-server
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 tigervnc-server.x86_64.0.1.3.1-9.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

==================================================================================================================
 Package                                        架构                                  版本                                         源                                   大小
=======================================================================================================
正在安装:
 tigervnc-server                                x86_64                                1.3.1-9.el7                                  base                                203 k

事务概要
===================================================================================================================================
安装  1 软件包

总下载量:203 k
安装大小:493 k
Downloading packages:
tigervnc-server-1.3.1-9.el7.x86_64.rpm                                                                                                                | 203 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : tigervnc-server-1.3.1-9.el7.x86_64                                                                                                                       1/1
  验证中      : tigervnc-server-1.3.1-9.el7.x86_64                                                                                                                       1/1

已安装:
  tigervnc-server.x86_64 0:1.3.1-9.el7                                                                                                                                       

完毕!


启动服务

[root@node3 ~]# vncserver :1
New 'node3:1 (root)' desktop is node3:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/node3:1.log



安装客户端
[root@hadron ~]# yum install -y tigervnc
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 tigervnc.x86_64.0.1.3.1-9.el7 将被 安装
--> 正在处理依赖关系 tigervnc-icons,它被软件包 tigervnc-1.3.1-9.el7.x86_64 需要
--> 正在处理依赖关系 libfltk_images.so.1.3()(64bit),它被软件包 tigervnc-1.3.1-9.el7.x86_64 需要
--> 正在处理依赖关系 libfltk.so.1.3()(64bit),它被软件包 tigervnc-1.3.1-9.el7.x86_64 需要
--> 正在检查事务
---> 软件包 fltk.x86_64.0.1.3.0-13.el7 将被 安装
---> 软件包 tigervnc-icons.noarch.0.1.3.1-9.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

====================================================================================================================================
 Package                                       架构                                  版本                                          源                                   大小
===================================================================================================================
正在安装:
 tigervnc                                      x86_64                                1.3.1-9.el7                                   base                                211 k
为依赖而安装:
 fltk                                          x86_64                                1.3.0-13.el7                                  base                                654 k
 tigervnc-icons                                noarch                                1.3.1-9.el7                                   base                                 36 k

事务概要
===================================================================================================================================
安装  1 软件包 (+2 依赖软件包)

总下载量:900 k
安装大小:2.1 M
Downloading packages:
(1/3): tigervnc-1.3.1-9.el7.x86_64.rpm                                                                                                                | 211 kB  00:00:00     
(2/3): tigervnc-icons-1.3.1-9.el7.noarch.rpm                                                                                                          |  36 kB  00:00:00     
(3/3): fltk-1.3.0-13.el7.x86_64.rpm                                                                                                                   | 654 kB  00:00:00     
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                                         1.3 MB/s | 900 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : tigervnc-icons-1.3.1-9.el7.noarch                                                                                                                        1/3
  正在安装    : fltk-1.3.0-13.el7.x86_64                                                                                                                                 2/3
  正在安装    : tigervnc-1.3.1-9.el7.x86_64                                                                                                                              3/3
  验证中      : fltk-1.3.0-13.el7.x86_64                                                                                                                                 1/3
  验证中      : tigervnc-1.3.1-9.el7.x86_64                                                                                                                              2/3
  验证中      : tigervnc-icons-1.3.1-9.el7.noarch                                                                                                                        3/3

已安装:
  tigervnc.x86_64 0:1.3.1-9.el7                                                                                                                                              

作为依赖被安装:
  fltk.x86_64 0:1.3.0-13.el7                                                       tigervnc-icons.noarch 0:1.3.1-9.el7                                                      

完毕!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值