diff --git a/README-zh.md b/README-zh.md index 51a0ea3..700b749 100644 --- a/README-zh.md +++ b/README-zh.md @@ -50,8 +50,8 @@ OpenVZ VPS 用户请使用其它的 VPN 软件,比如 vpnsetup.sh (或者 vpnsetup_centos.sh),然后点击右方的 **`Raw`** 按钮。按快捷键 `Ctrl-A` 全选, `Ctrl-C` 复制,然后粘贴到你喜欢的编辑器。 diff --git a/README.md b/README.md index aba8410..d663411 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ First, update your system with `apt-get update && apt-get dist-upgrade` and rebo wget https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/vpnsetup.sh -O vpnsetup.sh nano -w vpnsetup.sh [Edit and replace IPSEC_PSK, VPN_USER and VPN_PASSWORD with your own values] -/bin/sh vpnsetup.sh +sudo sh vpnsetup.sh ``` ### For CentOS and RHEL: @@ -68,7 +68,7 @@ yum -y install wget nano wget https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/vpnsetup_centos.sh -O vpnsetup_centos.sh nano -w vpnsetup_centos.sh [Edit and replace IPSEC_PSK, VPN_USER and VPN_PASSWORD with your own values] -/bin/sh vpnsetup_centos.sh +sudo sh vpnsetup_centos.sh ``` If unable to download via `wget`, you may alternatively open vpnsetup.sh (or vpnsetup_centos.sh) and click the **`Raw`** button. Press `Ctrl-A` to select all, `Ctrl-C` to copy, then paste into your favorite editor.