Steps to Install and run headless chrome browser on centos 6.5 using chrome driver
Sadly, Google Chrome no longer supports 6.x. You need CentOS 7.x.
I used Cent-OS 7.4.* and it worked fine.
These are the steps to follow:
Download chromedriver: login to Linux machine and execute these commands:
$ wget https://chromedriver.storage.googleapis.com/2.40/chromedriver_linux64.zip$ unzip chromedriver_linux64.zip$ chromedriver --versionChromeDriver 2.40.565383
Make sure you're always installing the latest version!
Download Chromebrowser
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm$ sudo yum install google-chrome-stable_current_x86_64.rpm$ google-chrome --versionGoogle Chrome 67.0.3396.87$ yum install Xvfb$ ps -ef | grep Xvfbusername 12988 1 0 Oct05 ? 00:00:02 Xvfb :99 -screen 0 1152x900x8$ yum install maven$ mvn -versionApache Maven 3.0.5 (Red Hat 3.0.5-17)
This is the guide to install Google Chrome on CentOS 6. Big thanks to the guys at Intoli.com!
It also works for Amazon Linux and Red Hat Enterprise Linux.
Actually , There is a way to run both chrome and chromedriver on amazon linux, centos 6.x and rhel. basic idea to use libs from a newer os.
See the fully automated script here https://github.com/staier/chromedriver-centos6-installation
This one adds chromedriver installation to the script from the article:https://intoli.com/blog/installing-google-chrome-on-centos/