Install google chrome in CentOS 6.3

Source: Internet
Author: User

Recently I want to learn how to install centos6.3 in Linux.

I have just learned nothing to share. I entered the system and wanted to install a Google browser. After a long time, I found a solution. Make a record here and share it with you.

The following describes how to quickly install chrome.

Enter computer vim/etc/yum. repos. d/New CentOS-Base.repo
Add a node based on your system

32-bit

[Google]
Name = Google-i386
Base url = 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
Base url = http://dl.google.com/linux/rpm/stable/x86_64
Enabled = 1
Gpgcheck = 1
Gpgkey = https://dl-ssl.google.com/linux/linux_signing_key.pub

Stable version: sudo yum install google-chrome-stable

Install the beta version: sudo yum install google-chrome-beta

Install an unstable version: sudo yum install google-chrome-beta

OK!

Test the chrome browser. Click the "application" option in the upper left corner of the system, click the "internet" option, and select chrome.

If you are prompted that the browser cannot be opened in the root account, Set user-data-dir to correct it.

Google Chrome cannot run as root by default. Please start Google Chrome as a common user and run as root user, you must specify another "-user-data-dir" for the storage of personal data ".

Solution: Find the Chromium shortcut and right-click to view the properties. Find the command to get the Chromium address.

For example:/usr/bin/chromium-browser

Open the terminal. Enter the command:/usr/bin/chromium-browser % U-user-data-dir

OK.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.