From 818d8fed52a9043045169c10df3946da7ffff6e2 Mon Sep 17 00:00:00 2001 From: Senorsen Date: Sun, 8 Feb 2015 23:19:16 +0800 Subject: [PATCH 1/3] Update README.md for rpm repo --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 960c9e1..00009ac 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Command Line Scripts for ZJU (VPN / WLAN / DNS) ## Install -### Debian / Ubuntu +### Debian / Ubuntu (deb) Use only one of the methods below: @@ -39,6 +39,17 @@ Use only one of the methods below: https://github.com/QSCTech/zjunet/releases 下载 deb,双击安装就是。 +### Fedora / CentOS (rpm) +在 Releases 中下载安装方法如上。注意 CentOS 7 中需要 epel 源提供 xl2tpd + +#### Install from QSC website's linux repository + + sudo wget https://dl.zjuqsc.com/linux/qsc.public.key -O /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66 + sudo wget https://dl.zjuqsc.com/linux/qsc.repo -O /etc/yum.repos.d/qsc.repo + sudo yum update + sudo yum install zjunet + + ### Openwrt https://github.com/QSCTech/zjunet/releases From 92e4f60ea2cd82b62cedf6ddc3d95f3ae93771c7 Mon Sep 17 00:00:00 2001 From: Senorsen Date: Sun, 8 Feb 2015 23:20:50 +0800 Subject: [PATCH 2/3] Yum: no need to update --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 00009ac..525dfaa 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,6 @@ https://github.com/QSCTech/zjunet/releases sudo wget https://dl.zjuqsc.com/linux/qsc.public.key -O /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66 sudo wget https://dl.zjuqsc.com/linux/qsc.repo -O /etc/yum.repos.d/qsc.repo - sudo yum update sudo yum install zjunet From 6c9f18e4ecb9b77d50c4f3d57f909c20ccdcf569 Mon Sep 17 00:00:00 2001 From: Senorsen Date: Sun, 8 Feb 2015 23:21:38 +0800 Subject: [PATCH 3/3] rpm: import --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 525dfaa..fb360d4 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ https://github.com/QSCTech/zjunet/releases #### Install from QSC website's linux repository sudo wget https://dl.zjuqsc.com/linux/qsc.public.key -O /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66 + sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66 sudo wget https://dl.zjuqsc.com/linux/qsc.repo -O /etc/yum.repos.d/qsc.repo sudo yum install zjunet