I have an AWS EC2 running linux redhad. Is there a way to install the latest Chrome v59 on it so that I can run it in headless mode just like PhantomJS? All the resources I can find in google are about how to install it in ubuntu which has a UI. My Linux doesn't have a UI.
我有一个运行linux redhad的AWS EC2。有没有办法在其上安装最新的Chrome v59,以便我可以像PhantomJS一样在无头模式下运行它?我可以在谷歌找到的所有资源都是关于如何在具有UI的ubuntu中安装它。我的Linux没有UI。
Thanks
谢谢
1 个解决方案
#1
2
You might want to take a look at projects like chromeless or puppeteer which both offer a feature-rich API as well as documentation on running on most hosting providers.
您可能想看看像chromeless或puppeteer这样的项目,这些项目都提供了功能丰富的API以及在大多数托管服务提供商上运行的文档。
Alternatively, if you're looking for something custom-built for this then I run a SaaS called browserless that attacks the problem directly.
或者,如果您正在寻找为此定制的内容,那么我运行一个名为browserless的SaaS,直接攻击问题。
In any case, hope that helps
无论如何,希望有所帮助
#1
2
You might want to take a look at projects like chromeless or puppeteer which both offer a feature-rich API as well as documentation on running on most hosting providers.
您可能想看看像chromeless或puppeteer这样的项目,这些项目都提供了功能丰富的API以及在大多数托管服务提供商上运行的文档。
Alternatively, if you're looking for something custom-built for this then I run a SaaS called browserless that attacks the problem directly.
或者,如果您正在寻找为此定制的内容,那么我运行一个名为browserless的SaaS,直接攻击问题。
In any case, hope that helps
无论如何,希望有所帮助