栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

centos7或者centos8下安装google-chrome谷歌浏览器

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

centos7或者centos8下安装google-chrome谷歌浏览器

第一步:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
第二步:
安装 Google Chrome 会添加 Google 存储区,以便您的系统自动更新 Google Chrome。
如果您不需要 Google 存储区,请先执行“sudo touch /etc/default/google-chrome”,然后再安装程序包。
yum -y install google-chrome-stable_current_x86_64.rpm
第三步:创建快捷方式

vi /usr/share/applications/google-chrome.desktop
[Desktop Entry]
Version=1.0
Name=Google Chrome
GenericName=Web Browser
GenericName[zh_CN]=网页浏览器
Comment=Access the Internet
Comment[zh_CN]=访问互联网
Exec=/usr/bin/google-chrome-stable --no-sandbox %U
StartupNotify=true
Terminal=false
Icon=google-chrome
Type=Application
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=New Window
Name[zh_CN]=新建窗口
Exec=/usr/bin/google-chrome-stable
    
[Desktop Action new-private-window]
Name=New Incognito Window
Name[zh_CN]=新建隐身窗口
Exec=/usr/bin/google-chrome-stable --incognito

欢迎转载。

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/320205.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号