센토스 7 구글 크롬 설치

xeomina·2022년 5월 17일
0

Linux

목록 보기
5/16

센토스 7 구글 크롬 설치

3. 센토스 7 구글 크롬 설치
# vi /etc/yum.repos.d/google-chrome.repo 
[google-chrome] 
name=google-chrome 
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1 
gpgcheck=1 
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub 
# yum install google-chrome-stable -y
# vi /opt/google/chrome/google-chrome
exec -a "$0" "$HERE/chrome" "$@" --no-sandbox --user-data-dir
#  /usr/bin/google-chrome
  • Applications > Internet > Google Chrome

  • 구글 크롬 내려 받을 저장소 정의
    • cat 이용
# cat > /etc/yum.repos.d/google-chrome.repo
[google-chrome] 
name=google-chrome 
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1 
gpgcheck=1 
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

# cat < /etc/yum.repos.d/google-chrome.repo
[google-chrome] 
name=google-chrome 
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1 
gpgcheck=1 
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
[root@localhost ~]# 
# yum install google-chrome-stable -y

0개의 댓글