- 积分
- 6156
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-9-11
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
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。
|
-
|