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

Ubuntu14.04 命令行下安装teamviewer

时间:2017-12-14 16:34:03      阅读:776      评论:0      收藏:0      [点我收藏+]

标签:获取   body   visio   命令   安装   管理员   命令行   glob   pkg   

下载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

标签:获取   body   visio   命令   安装   管理员   命令行   glob   pkg   

原文地址:http://www.cnblogs.com/stationing/p/8038266.html

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