- CentOS 8
# Login to VPS
ssh <username>@<ip_address>
# Get All Dependencies
sudo yum update
sudo yum upgrade
# Install dpkg
sudo yum -y install dpkg
# Install Google Chrome and Chromedriver
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
sudo dnf localinstall google-chrome-stable_current_x86_64.rpm
wget https://chromedriver.storage.googleapis.com/109.0.5414.74/chromedriver_linux64.zip
# Unzip Chromedriver
unzip ~/chromedriver_linux64.zip -d ~/
rm ~/chromedriver_linux64.zip
# Move Chromedriver to /bin/
sudo mv -f ~/chromedriver /usr/bin/chromedriver
sudo chown root:root /usr/bin/chromedriver
sudo chmod +x /usr/bin/chromedriver
chromedriver --url-base=/wd/hub