Skip to content

Instantly share code, notes, and snippets.

View tvorogme's full-sized avatar

Andrey Tvorozhkov tvorogme

View GitHub Profile
@tvorogme
tvorogme / aws_puppeteer_fix.sh
Last active August 31, 2020 13:15 — forked from kevupton/aws_puppeteer_fix.sh
Fix for AWS puppeteer linux instance
#!/bin/bash
# Fixes the puppeteer not being able to spawn an instance on their AWS linux instance.
# Install ATK from CentOS 7
sudo yum install cups-libs dbus-glib libXrandr libXcursor libXinerama cairo cairo-gobject pango
sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/atk-2.28.1-2.el7.x86_64.rpm
sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/at-spi2-atk-2.26.2-1.el7.x86_64.rpm
sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/at-spi2-core-2.28.0-1.el7.x86_64.rpm