zoukankan      html  css  js  c++  java
  • 应用安装1被忽悠进了CentOS 6

            闲来无事,安装个chrome试试。

            首先要修改yum配置(根据你的系统增加一个节点):vim /etc/yum.repos.d/CentOS-Base.repo
    32-bit

    [google] 
    name=Google - i386 
    baseurl=http://dl.google.com/linux/rpm/stable/i386 
    enabled=1 
    gpgcheck=1 
    gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

    64-bit 

    [google64] 
    name=Google - x86_64 
    baseurl=http://dl.google.com/linux/rpm/stable/x86_64 
    enabled=1 
    gpgcheck=1 
    gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

            然后安装:

    稳定版本:sudo yum install google-chrome-stable 
    测试版本:sudo yum install google-chrome-beta 
    不稳定版本:sudo yum install google-chrome-beta

           最后是让chrome能用root运行:vim /opt/google/chrome/google-chrome 第42行添加蓝色字体:exec -a "$0" "$HERE/chrome" "$@ --user-data-dir"

  • 相关阅读:
    ReentrantLock与synchronized的差别
    读TIJ -1 对象入门
    wikioi 2573 大顶堆与小顶堆并用
    开源 免费 java CMS
    UVA10972
    springboot5
    spring-boot4
    spring-boot3
    spring-boot2
    spring-boot1
  • 原文地址:https://www.cnblogs.com/badwood316/p/2626835.html
Copyright © 2011-2022 走看看