TeamViewer is a cross-platform solution for remote control, desktop sharing and file transfer between computers.
TeamViewer is proprietary computer software and it is not included in the RedHat or CentOS repositories.
1. Install TeamViewer on CentOS or RedHat
1. Prepare the environment before installation
Turn off the firewall:
systemctl stop firewalld
Boot disabled:
systemctl disable firewalld
Display state:
firewall-cmd --state
Temporarily close selinux:
[root@localhost ~]# echo 0 > /selinux/enforce
or
[root@localhost ~]# setenforce 0
Permanently disable SELinux:
[root@localhost ~]# cat /etc/selinux/config
2. Install epel-release to extend the yum source
Install the epel-release extension yum source on the server to facilitate the direct installation of dependent packages when installing teamviewer to avoid error reporting.