Today test Selenium call Firefoxdriver, the driver can not run in a no-interface environment, need to remotely connect to the server to operate, so there is the process of installing teamviewer below.
Previous attempts have been made many times and have not run up TeamViewer8, the main problem is that when the installation is started, there is no "accept" button at the time of authorization and cannot continue to run it. After unremitting efforts, finally solved, the main reason is TeamViewer8 use wine, must first install wine to normal operation TeamViewer8.
WINE (the acronym "Wine is not a Emulator") is a compatibility layer capable of running Windows applications on a variety of posix-compliant operating systems, such as Linux,mac OSX and BSD.
Wine website: http://www.winehq.org/
1, install Wine:
A, first install a Epel
RPM-IVH http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm
B, after obtaining root privileges in the terminal, run: Yum install wine
2, download TeamViewer8 rpm package, I am using CentOS6.4 operating system,: http://downloadap2.teamviewer.com/download/teamviewer_linux.rpm
3, open the download file directory in terminal, get root permission, execute: Yum install teamviewer_linux.rpm
After the installation, we can see the TeamViewer icon in the "Internet" menu, and click on it to work properly!
Detailed installation steps:
You can download the RPM package based on the Linux distribution on the teamviewer_linux.rpm.
# wget http://www.teamviewer.com/download/teamviewer_linux.rpm
Then start the installation. Go to the directory where your download package is located, execute the following yum command to install it, and it will automatically install the required dependency package.
# yum Install teamviewer_linux.rpm
If there is a public key missing error, you can use the following command to download and import it.
# wget http://www.teamviewer.com/link/?url=354858
# RPM--import TEAMVIEWER_LINUX_PUBKEY.ASC
Once you have imported the public key, run the Yum Install command again to install the Teamviewer RPM package.
To start running the Teamviewer app, run the following command from the terminal.
# TeamViewer
Article content Source:
http://blog.csdn.net/sunylat/article/details/8913521
Https://linux.cn/article-2393-1.html
CentOS6.4 under Installation TeamViewer8