【Linux】CentOS安裝Chrome瀏覽器

來源:互聯網
上載者:User

標籤:chrome   google   google chrome   centos   yum   

在CentOS 6.x 安裝Chrome 瀏覽器的方法。首先在/etc/yum.repos.d目錄中建立google-chrome.repo檔案,其寫入如下內容:

[google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

配置好Google Chrome瀏覽器Yum Repository好後,可以通過以下命令來安裝Google Chrome瀏覽器:

# 安裝Google Chrome穩定版本

yum install google-chrome-stable

# 安裝Google Chrome測試版本
yum install google-chrome-beta

# 安裝Google Chrome不穩定版本
yum install google-chrome-unstable

至此Google Chrome瀏覽器就安裝完畢。由於Google在中國的特殊性,有時候敲指令安裝的時候會提示主機串連不上或者請求逾時之類的。解決此問題只能通過修改/etc/hosts檔案來解決,把dl.google.com指向別的可用的伺服器。可以在http://code.google.com/p/smarthosts/下載,添加到/etc/hosts檔案中。

【Linux】CentOS安裝Chrome瀏覽器

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.