爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 3222|回复: 4

centos7安装google无法使用

[复制链接]

新浪微博达人勋

发表于 2019-3-19 19:50:52 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
本帖最后由 小莹子 于 2019-4-11 21:33 编辑

起因:Centos7自带的火狐浏览器出现乱码、排版错位、图片无法显示问题
删除历史记录,更改设置没有解决之后,决定自己装google浏览器
在windows上搜索Google Chrome 64-bit for linux 下载google-chrome-stable_current_x86_64.rpm
yum install /../../google-chrome-stable_current_x86_64.rpm
但是打开之后,显示:无法访问此网站 检查网络连接 检查代理服务器和防火墙
之前在笔记本上装google时需要安装谷歌访问助手,那centos7系统上该如何解决?


vim  /usr/share/applications/google-chrome.desktop将“Exec=/usr/bin/google-chrome-stable --incognito”  Exec=/usr/bin/google-chrome-stable %U --no-sandbox
失败案例:
1.https://www.cnblogs.com/sxdcgaq8080/p/7517357.html
cd /
cd etc/yum.repos.d
vim 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
sudo yum info google-chrome-stable
可安装的软件包
名称    :google-chrome-stable
架构    :x86_64
版本    :70.0.3538.110
发布    :1
大小    :54 M
源    :google-chrome/x86_64
简介    : Google Chrome
网址    :https://chrome.google.com/
协议    : Multiple, see https://chrome.google.com/
描述    : The web browser from Google
         :
         : Google Chrome is a browser that combines a minimal design with
         : sophisticated technology to make the web faster, safer, and easier.

yum -y install google-chrome-stable --nogpgcheck
出现错误:
http://dl.google.com/linux/chrom ... epodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2607:f8b0:4005:809::200e: 网络不可达"正在尝试其它镜像。
Error downloading packages:
  google-chrome-stable-70.0.3538.110-1.x86_64: [Errno 256] No more mirrors to try.

网络不可达,
ifconfig
vi /etc/sysconfig/network-scripts/ifcfg-eth0
发现ONBOOT=“yes”
网络没有问题,无解


2.Seiman——CentOS7配置指南
sudo wget http://repo.fdzh.org/chrome/google-chrome-mirrors.repo -P /etc/yum.repos.d/
sudo yum install google-chrome-stable
安装  1 软件包 (+10 依赖软件包)
升级           (  4 依赖软件包)

总计:55 M
总下载量:54 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for google-chrome
google-chrome-stable-70.0.3538 FAILED
同样出现了1中的问题

更换思路:sudo wget http://repo.fdzh.org/chrome/google-chrome-mirrors.repo -P /etc/yum.repos.d/
yum -y install google-chrome-stable --nogpgcheck
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:yum
内存: 89 M RSS (1.1 GB VSZ)
已启动: Tue Mar 19 16:20:21 2019 - 07:24之前
状态  :跟踪/停止,进程ID:7885
rm -f /var/run/yum.pid


3. https://www.cnblogs.com/xccnblogs/p/5194992.html
sudo wget http://chrome.richardlloyd.org.uk/install_chrome.sh
已发出 HTTP 请求,正在等待回应... 404 Not Found
2019-03-19 16:15:59 错误 404:Not Found。




google无法使用.png
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-3-20 09:13:37 | 显示全部楼层
安装个浏览器没这么复杂吧,直接下载chrome standalone的rpm包。
然后rpm -i xxx.rpm就可以了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-3-20 09:17:00 | 显示全部楼层
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2019-3-29 11:02:12 | 显示全部楼层
werewolf 发表于 2019-3-20 09:17
下载地址:https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

你好,我之前是用了好几个电脑,但是打不开您给的链接,我也尝试过其他经验里面直接下载rpm的包,但都进不去,所以就停滞不前。谢谢你
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2019-3-29 15:16:47 | 显示全部楼层
本帖最后由 小莹子 于 2019-3-29 15:58 编辑
小莹子 发表于 2019-3-29 11:02
你好,我之前是用了好几个电脑,但是打不开您给的链接,我也尝试过其他经验里面直接下载rpm的包,但都进 ...

您给的网址显示的是:404 not found ,我在笔记本上用google浏览器进入下载了rpm包,谢谢你的思路,已经安装成功了。但是无法启动,就是用不了,界面空白。
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表