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.