Chromium
部署某应用所需
创建GCP实例
默认 Debian9 系统,以下代码均在此系统下操作
安装chromium
编辑/etc/apt/sources.list
文件并加入下面这句
保存并退出后执行
安装Chromium
安装chromedriver
下载chromedriver
根据chrome浏览器的版本对应下载driver驱动的版本: 下载地址:http://chromedriver.storage.googleapis.com/index.html
安装xvfb
安装Python3
安装make
安装python
在我们安装任何软件之前,通过在终端中运行以下apt-get命令来确保您的系统是最新的非常重要:
使用python官方站点的以下命令下载Python
接下来,在您的系统上编译python源代码
完成该过程后,请检查Python 3的版本
安装pip3
下载get-pip.py文件
安装Selenium
执行
Last updated
Was this helpful?