1. 程式人生 > >Ubuntu14.04 命令列下安裝teamviewer

Ubuntu14.04 命令列下安裝teamviewer

下載teamviewer

上傳到 /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

設定密碼

#sudo teamviewer --passwd [NEWPASSWORD]   

獲取Teamviewer ID

#teamviewer --info print id