NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
docker-compose 安装环境 : https://ihavenolimitations.xyz/linjinkun/mysql1/2362024 ***** 宿主机安装环境 **一、环境搭建** ``` 1.安装谷歌浏览器chrome wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm yum install -y lsb yum localinstall google-chrome-stable_current_x86_64.rpm 查看版本 google-chrome --version 2.安装谷歌驱动 下载驱动(跟浏览器对应版本) wget http://chromedriver.storage.googleapis.com/index.html unzip chromedriver_linux64.zip 添加到环境变量 sudo mv chromedriver_linux64 /usr/local/bin chromedriver --version ``` **二、配置supervisor** ``` command=LANGUAGE=ZH-CN.UTF-8 chromedriver --port=4445 #默认端口4445 ``` supervisor环境配置: https://ihavenolimitations.xyz/linjinkun/mysql1/2185845