码迷,mamicode.com
首页 > 系统相关 > 详细

linux安装teamviewer

时间:2018-06-06 15:54:42      阅读:5202      评论:0      收藏:0      [点我收藏+]

标签:emd   ble   code   adl   creat   cst   get   pre   dom   

直接去官网 https://www.teamviewer.com/zhCN/ 

下载一个linnux版本的teamviewer

将下载好的.rpm文件上传到自己的服务器里面

进入保存的.rpm文件的文件夹

打开终端

切换到root用户输入命令行

yum -y install teamviewer_13.0.9865.x86_64.rpm

有可能会提示错误

Error: Package: teamviewer-13.0.6634-0.x86_64 (/teamviewer.x86_64) Requires: libQt5WebKitWidgets.so.5()(64bit) >= 5.5 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

说缺少这个qt5-qtwebkit依赖

上官网下载这个依赖

https://pkgs.org/download/qt5-qtwebkit

接着下载好了之后安装

rpm -Uvh qt5-qtwebkit-5.6.2-1.el7.x86_64.rpm

然后又有可能报错

warning: qt5-qtwebkit-5.6.2-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY

把命令改成强制安装

rpm -Uvh qt5-qtwebkit-5.6.2-1.el7.x86_64.rpm --force --nodeps

 

终于安装好了 最后安装teamviewer

yum -y install teamviewer_13.0.9865.x86_64.rpm

安装完了之后检查teamviewer状态 输入命令 teamviewer info

可以查看当前使用信息

TeamViewer 13.1.3026 (RPM)

TeamViewer ID: **********(这是明文的我注释了)

teamviewerd status ● teamviewerd.service - TeamViewer remote control daemon
Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: disabled)
Active: active (running) since 三 2018-06-06 11:22:29 CST; 19min ago
Process: 9375 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)
Main PID: 9378 (teamviewerd)
CGroup: /system.slice/teamviewerd.service
└─9378 /opt/teamviewer/tv_bin/teamviewerd -d

6月 06 11:22:29 localhost.localdomain systemd[1]: Starting TeamViewer remote control daemon...
6月 06 11:22:29 localhost.localdomain systemd[1]: PID file /var/run/teamviewerd.pid not readable (yet?) after start.
6月 06 11:22:29 localhost.localdomain systemd[1]: Started TeamViewer remote control daemon.
6月 06 11:23:05 localhost.localdomain su[9954]: (to 54088sb) root on none

第一次进去ID是不会显示的 显示的是Try restarting the TeamViewer daemon (e.g. teamviewer --daemon restart)

那么先设置 teamviewer的密码 输入 teamviewer help


TeamViewer 13.1.3026 (RPM)

teamviewer Start TeamViewer user interface (if not running).

teamviewer help Print this help screen.
teamviewer version Print version information.
teamviewer info Print version, status, id.
teamviewer ziplog Create a zip containing all teamviewer logs (useful when contacting support).

teamviewer license [show|accept] Interactively agree or show/agree to End User License Agreement.
teamviewer setup Configure headless modes (non-gui/console)

teamviewer passwd [PASSWD] Set a password (useful when installing remote (ssh).

teamviewer daemon status Show current status of the TeamViewer daemon.
teamviewer daemon start Start TeamViewer daemon.
teamviewer daemon stop Stop TeamViewer daemon.
teamviewer daemon restart Stop/Start TeamViewer daemon.
teamviewer daemon disable Disable TeamViewer daemon - don‘t start daemon on system startup.
teamviewer daemon enable Enable TeamViewer daemon - start daemon on system startup (default).

这个上面有一些常用的命令 容易看懂的

输入teamviewer passwd 12345678 设置密码

然后再次输入命令 teamviewer info 就可以获取到ID了

如果还是不行

请参考这篇文章

http://tieba.baidu.com/p/4859279278#101740378279l

 

linux安装teamviewer

标签:emd   ble   code   adl   creat   cst   get   pre   dom   

原文地址:https://www.cnblogs.com/oushiyang/p/9144457.html

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!