|
4 年前 | |
---|---|---|
src | 4 年前 | |
.gitignore | 4 年前 | |
README.md | 4 年前 | |
mvnw | 4 年前 | |
mvnw.cmd | 4 年前 | |
pom.xml | 4 年前 |
# yum install google-chrome-stable 方式二选一
curl https://intoli.com/install-google-chrome.sh | sh
# 查看 chrome 版本
# 默认安装位置 /opt/google/chrome
google-chrome-stable --version
https://npm.taobao.org/mirrors/chromedriver/
驱动最好跟安装的 chrome
版本对应。服务器上是 87.0.4280.88 的 linux 版本
下载完成之后,上传到 服务器某个目录,并设置执行权限
chmod +x chromedriver
yum -y groupinstall "X Window System"
yum -y groupinstall chinese-support
yum -y groupinstall Fonts
cd /usr/share/fonts
fc-cache -fv