Forked from Leotomas/chrome_install_headless.sh
Last active
December 10, 2021 08:56
-
-
Save phith0n/9a5f36ec91d3dd0736e86b6cd10959b4 to your computer and use it in GitHub Desktop.
Install Chrome headless on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CHROME_BIN=/usr/bin/google-chrome | |
export DISPLAY=:99.0 | |
sh -e /etc/init.d/xvfb start | |
sudo apt-get update | |
sudo apt-get install -y libappindicator1 fonts-liberation libasound2 libgconf-2-4 libnspr4 libxss1 libnss3 xdg-utils | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome*.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I suggest trying https://github.com/browserless/chrome for Docker based thing, the gist is very old, not enough to meet your requirements, maybe.