yum install mesa-libOSMesa-devel gnu-free-sans-fonts wqy-zenhei-fonts -y
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
google-chrome --version
https://chromedriver.storage.googleapis.com/index.html
https://registry.npmmirror.com/binary.html?path=chromedriver/
将解压好的文件放在/usr/bin目录下,并且给chromedrive增加可以执行权限
chmod +x chromedriver
将解压后的chromedriver 复制到driver
编辑配置文件:application-config.yml


以107为例:下载浏览器
下载对应驱动,选版本号离的最近的
https://registry.npmmirror.com/binary.html?path=chromedriver/


卸载以安装的其他版本
yum remove google-chrome-stable
下载地址:
https://www.chromedownloads.net/chrome64linux-stable/
yum localinstall google-chrome-stable_current_x86_64.rpm

将解压好的文件放在/usr/bin目录下,并且给chromedrive增加可以执行权限
cp chromedriver /usr/bin/
cp chromedriver /java/data-view/driver/
chmod +x chromedriver
重启服务
/bin/datart-service.sh restart