sudo apt-get install python3-pip
sudo pip3 install virtualenv
virtualenv venv
source venv/bin/activate
`pip install -r requirements.txt
latest version from https://sites.google.com/a/chromium.org/chromedriver/downloads
sudo apt-get update
sudo apt-get install -y unzip xvfb libxi6 libgconf-2-4
sudo apt-get install default-jdk
wget -N https://chromedriver.storage.googleapis.com/81.0.4044.69/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
chmod +x chromedriver
sudo mv -f chromedriver /usr/local/share/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update
sudo apt-get install google-chrome-stable
source venv/bin/activate.fish
deactivate
virtualenv -p python3 myenv
python3 -m venv myenv
export PYTHONPATH="${PYTHONPATH}:inkedNewsCrawler"
chmod +x crawler.sh
sudo cp crawler.service /etc/systemd/system/crawler.service
sudo chmod 664 /etc/systemd/system/crawler.service
sudo systemctl daemon-reload
sudo systemctl start crawler.service
sudo systemctl status crawler.service
sudo systemctl enable crawler.service