[CentOS] 크롬 설치

1. 상황
- CentOS에서 python selenium 라이브러리를 사용하기 위해 Chrome 설치 필요

2. 방법

2.1.1 vi /etc/yum.repos.d/google-chrome.repo[엔터]

아래 내용 붙여넣기
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=0
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

2.1.2 yum install google-chrome-stable[엔터]

혹은

2.2.1 브라우저에서 https://sites.google.com/chromium.org/driver/ 접속

2.2.2 버전에 맞는 파일 다운로드(확장자 zip)

2.2.3 unzip으로 압축 해제 및 경로 지정 후 실행
> 실행파일 : chromedriver

끝.