CentOS 7 下安裝Chrome瀏覽器

一、wget http://chrome.richardlloyd.org.uk/install_chrome.sh linux

二、chmod u+x install_chrome.sh chrome

三、 ./install_chrome.sh      ----> 以下失敗,沒安裝成功。瀏覽器

Google Chrome Installer 6.10 on the x86_64 platform 
(C) Richard K. Lloyd 2014 <rklloyd@gmail.com> 

*** Creating temporary directory /tmp/chrome_install ... 
*** Changing working directory to /tmp/chrome_install ... 
*** Checking for an update to install_chrome.sh ... 

*** Downloading version.dat (please wait) ... 

--2014-12-24 17:52:48-- http://chrome.richardlloyd.org.uk/version.dat 
正在解析主機 chrome.richardlloyd.org.uk (chrome.richardlloyd.org.uk)... 193.110.246.53 
正在鏈接 chrome.richardlloyd.org.uk (chrome.richardlloyd.org.uk)|193.110.246.53|:80... 已鏈接。 
已發出 HTTP 請求,正在等待迴應... 200 OK 
長度:5 [text/plain] 
正在保存至: 「version.dat」 

100%[======================================>] 5 --.-K/s 用時 0s 

2014-12-24 17:52:55 (750 KB/s) - 已保存 「version.dat」 [5/5]) 

*** install_chrome.sh is already the latest version (6.10) - continuing ... 
*** Determining latest Google Chrome version number (please wait) ... 

*** Downloading chrome_versions.csv (please wait) ... 

--2014-12-24 17:53:31-- http://omahaproxy.appspot.com/all?os=linux&channel=stable 
正在解析主機 omahaproxy.appspot.com (omahaproxy.appspot.com)... 93.46.8.89, 203.98.7.65 
正在鏈接 omahaproxy.appspot.com (omahaproxy.appspot.com)|93.46.8.89|:80... 失敗:鏈接超時。 
正在鏈接 omahaproxy.appspot.com (omahaproxy.appspot.com)|203.98.7.65|:80... 失敗:鏈接超時。 
重試中。 

--2014-12-24 17:57:52-- (嘗試次數: 2) http://omahaproxy.appspot.com/all?os=linux&channel=stable 
正在鏈接 omahaproxy.appspot.com (omahaproxy.appspot.com)|93.46.8.89|:80... 失敗:鏈接超時。 
正在鏈接 omahaproxy.appspot.com (omahaproxy.appspot.com)|203.98.7.65|:80... 失敗:鏈接超時。 
重試中。 

--2014-12-24 18:02:08-- (嘗試次數: 3) http://omahaproxy.appspot.com/all?os=linux&channel=stable 
正在鏈接 omahaproxy.appspot.com (omahaproxy.appspot.com)|93.46.8.89|:80... 失敗:鏈接超時。 
正在鏈接 omahaproxy.appspot.com (omahaproxy.appspot.com)|203.98.7.65|:80... 失敗:鏈接超時。 
重試中。 

--2014-12-24 18:06:26-- (嘗試次數: 4) http://omahaproxy.appspot.com/all?os=linux&channel=stable 
正在鏈接 omahaproxy.appspot.com (omahaproxy.appspot.com)|93.46.8.89|:80... 失敗:鏈接超時。 
正在鏈接 omahaproxy.appspot.com (omahaproxy.appspot.com)|203.98.7.65|:80... 失敗:鏈接超時。 
重試中。 

^Z 
[1]+ 已中止 ./install_chrome.sh 

 四、 ./install_chrome.sh -s                            ---> -s 表示安裝穩定版(stable),此次成功了!網絡

Google Chrome Installer 6.10 on the x86_64 platform 
(C) Richard K. Lloyd 2014 <rklloyd@gmail.com> 
*** /tmp/chrome_install tree contains 2 files totalling 0 MB ... 

*** Changing working directory to /tmp/chrome_install ... 
*** Checking for an update to install_chrome.sh ... 

*** Downloading version.dat (please wait) ... 

--2014-12-24 18:17:09-- http://chrome.richardlloyd.org.uk/version.dat 
正在解析主機 chrome.richardlloyd.org.uk (chrome.richardlloyd.org.uk)... 193.110.246.53 
正在鏈接 chrome.richardlloyd.org.uk (chrome.richardlloyd.org.uk)|193.110.246.53|:80... 已鏈接。 
已發出 HTTP 請求,正在等待迴應... 200 OK 
長度:5 [text/plain] 
正在保存至: 「version.dat」 

100%[==========================================================>] 5 --.-K/s 用時 0s 

2014-12-24 18:17:10 (754 KB/s) - 已保存 「version.dat」 [5/5]) 

*** install_chrome.sh is already the latest version (6.10) - continuing ... 
*** Determining latest Google Chrome version number (please wait) ... 

*** Downloading chrome_versions.csv (please wait) ... 

--2014-12-24 18:17:17-- http://omahaproxy.appspot.com/all?os=linux&channel=stable 
正在解析主機 omahaproxy.appspot.com (omahaproxy.appspot.com)... 173.194.72.141, 2404:6800:4008:c05::8d 
正在鏈接 omahaproxy.appspot.com (omahaproxy.appspot.com)|173.194.72.141|:80... 失敗:鏈接超時。 
正在鏈接 omahaproxy.appspot.com (omahaproxy.appspot.com)|2404:6800:4008:c05::8d|:80... 失敗:網絡不可達。 
*** WARNING: Unable to determine latest Google Chrome version number ... 

*** Downloading google-chrome-stable_current_x86_64.rpm (please wait) ... 

--2014-12-24 18:19:24-- https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm 
正在解析主機 dl.google.com (dl.google.com)... 203.208.49.167, 203.208.49.165, 203.208.49.166, ... 
正在鏈接 dl.google.com (dl.google.com)|203.208.49.167|:443... 已鏈接。 
已發出 HTTP 請求,正在等待迴應... 200 OK 
長度:60867960 (58M) [application/x-redhat-package-manager] 
正在保存至: 「google-chrome-stable_current_x86_64.rpm」 

100%[==========================================================>] 60,867,960 1.98MB/s 用時 58s 

2014-12-24 18:20:23 (1022 KB/s) - 已保存 「google-chrome-stable_current_x86_64.rpm」 [60867960/60867960]) 

警告:google-chrome-stable_current_x86_64.rpm: 頭V4 DSA/SHA1 Signature, 密鑰 ID 7fac5991: NOKEY 
*** Google Chrome downloaded successfully ... 

*** Installing Google Chrome RPM (please wait) ... 

警告:google-chrome-stable_current_x86_64.rpm: 頭V4 DSA/SHA1 Signature, 密鑰 ID 7fac5991: NOKEY 
準備中... ################################# [100%] 
正在升級/安裝... 
1:google-chrome-stable-39.0.2171.95################################# [100%] 
Redirecting to /bin/systemctl start atd.service 

*** Google Chrome was installed successfully ... 

*** /opt/google/chrome tree contains 87 files totalling 174 MB ... 
*** /tmp/chrome_install tree contains 1 files totalling 58 MB ... 

-------> 下面是操做Chrome瀏覽器的一些經常使用操做!
Google Chrome was installed successfully.
Please run the browser via the 'google-chrome' command as a non-root user. 

To update Google Chrome, run "yum update google-chrome-stable" or 
simply re-run this script with "./install_chrome.sh". 

To uninstall Google Chrome, 
run "yum remove google-chrome-stable " or "./install_chrome.sh -u".
-------end!!!

 

原文自:http://blog.csdn.net/johnnyhu90/article/details/42127521app

相關文章
相關標籤/搜索