Created
February 15, 2022 22:45
-
-
Save jermainee/6b0a0317fa6f0bb9cd06b472f974de58 to your computer and use it in GitHub Desktop.
Script which installs InstaPy on an Ubuntu server
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/bash | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install unzip python3-pip python3-dev build-essential libssl-dev libffi-dev xvfb | |
pip3 install --upgrade pip | |
export LANGUAGE=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
locale-gen en_US.UTF-8 | |
dpkg-reconfigure locales | |
pip3 install --upgrade pip | |
wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" | |
dpkg -i google-chrome-stable_current_amd64.deb | |
apt-get install -y -f | |
rm google-chrome-stable_current_amd64.deb | |
apt-get install firefox firefox-geckodriver | |
pip install instapy | |
pip3 install --upgrade requests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment