Ubuntu14.04 命令行下安装teamviewer

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu14.04 命令行下安装teamviewer相关的知识,希望对你有一定的参考价值。

下载teamviewer

链接:https://pan.baidu.com/s/1hs0BppM  密码:sdmk 

上传到 /home/[user]

cd /home/[user] 

移动安装包到 /opt下

mv teamviewer_12.0.90041_i386.deb.tar.gz /opt

更换apt源为阿里源

vim /etc/apt/sources.list 

deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse 

更新源 

#apt-get update

添加32位架构

#dpkg --add-architecture i386

#apt-get update

#apt-get -f install

解包安装

#tar -xzvf  teamviewer_12.0.90041_i386.deb.tar.gz

#dpkg -i teamviewer_12.0.90041_i386.deb   

停止服务

# sudo teamviewer --daemon stop  

在文件/opt/teamviewer/config/global.conf末尾增加以下内容(由于只读限制,所以可能需要用到管理员权限) 

[int32] EulaAccepted = 1  

[int32] EulaAcceptedRevision = 6

#vim /opt/teamviewer/config/global.conf 

启动teamviewer

#teamviewer --daemon start

获取Teamviewer ID

#teamviewer --info print id

设置密码

#sudo teamviewer --passwd [NEWPASSWORD]   



以上是关于Ubuntu14.04 命令行下安装teamviewer的主要内容,如果未能解决你的问题,请参考以下文章

如何在ubuntu命令行下下载kvm

VMware 命令行下安装以及导入Ubuntu系统

linux命令行todo列表管理工具Taskwarrior介绍

ubuntu14.04安装google chrome

ubuntu14.04安装rabbitmq

sh Ubuntu 16.04的Mailcatcher安装脚本(14.04命令已注释掉)