Simple clash premiun core installer with full tun support for Linux.
Seeking for a solution to install clash automatically, I discover Clash Premiun Installer by Kr328.
It is very convenient, but The script to set up the cgroup does not work on Fedora (probably because of selinux). So I fork it and make some modifications
-
Clone installer
git clone [email protected]:suiahae/clash-premium-installer.git cd clash-premium-installer
-
The default clash is clash-linux-amd64-2021.03.10
-
[Optional] You can also download clash core at link, uncompress clash core and rename it to
./clash
-
Run Installer
sudo ./installer.sh install
-
[Urgent] After creating config.yaml, please change its permissions to rw------- for avoiding information leakage.
chmod 600 /usr/local/etc/clash/*