Created
July 28, 2020 02:11
-
-
Save ahmadrosid/2f1e0f2830da696ac1485bdd4ef1fc21 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
apt update | |
apt install linux-image-extra-virtual -y | |
echo "snd-aloop">>/etc/modules | |
modprobe snd-aloop | |
## Chrome | |
curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add | |
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list | |
apt-get -y update | |
apt-get -y install google-chrome-stable -y | |
## To hide chrome warnings | |
mkdir -p /etc/opt/chrome/policies/managed | |
echo '{ "CommandLineFlagSecurityWarningsEnabled": false }' >>/etc/opt/chrome/policies/managed/managed_policies.json | |
## We may need unzip to decompress the file | |
apt install unzip -y | |
## Chrome Driver | |
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE` | |
wget -N http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip -P ~/ | |
unzip ~/chromedriver_linux64.zip -d ~/ | |
rm ~/chromedriver_linux64.zip | |
mv -f ~/chromedriver /usr/local/bin/chromedriver | |
chown root:root /usr/local/bin/chromedriver | |
chmod 0755 /usr/local/bin/chromedriver | |
apt-get install -y openjdk-8-jdk ffmpeg curl alsa-utils icewm xdotool | |
apt install -y xserver-xorg-input-void xserver-xorg-video-dummy | |
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add - | |
sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list" | |
apt-get update | |
apt-get install jibri -y | |
sudo usermod -aG adm,audio,video,plugdev jibri |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment