1. Download the switchhosts software
https://github.com/oldj/SwitchHosts/releases
Start after installation
Add as follows
http://git.yoqi.me/lyq/github-host/raw/master/hosts
Then add the boot
sudo cp /usr/share/applications/switchhosts.desktop /etc/xdg/autostart/