Skip to content

Instantly share code, notes, and snippets.

View aangindra's full-sized avatar

Indra Aang Fanani aangindra

View GitHub Profile
@aangindra
aangindra / chrome_install_headless.sh
Created December 10, 2021 08:56 — forked from phith0n/chrome_install_headless.sh
Install Chrome headless on Ubuntu
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