Centos 6.5 x64 安装PP ——喵喵爱学习

本教程适用于Openv VPS、Xen VPS或者KVM VPS。

一、运行如下命令:

cat /dev/net/tun

返回的必须是:

cat: /dev/net/tun: File descriptor in bad state

运行:

cat /dev/ppp

返回的必须是:

cat: /dev/ppp: No such device or address

tun-test

如果上面返回的不是这两个结果的话,请与VPS客服联系开通ppp和tun权限.

二、下载vpn(CentOS6专用)一键安装包

wget http://www.hi-vps.com/shell/vpn_centos6.sh
chmod a+x vpn_centos6.sh

三、运行一键安装包

bash vpn_centos6.sh

会有三个选择:

1. 安装服务
2. 修复服务
3. 添加用户

首先输入1,回车,VPS开始安装服务.

四、添加用户

bash vpn_centos6.sh

选择3,然后输入用户名和密码,OK

五、修复服务

如果拨号发生错误,可以试着修复,然后重启VPS

bash vpn_centos6.sh

选择2,然后reboot

1,随机用户名或密码修改添加:

编辑“/etc/ppp/chap-secrets”,按照如下,替换红字部分:

用户名 pptpd 密码 *

重启即可。

 

未经允许不得转载:喵喵爱 » Centos 6.5 x64 安装PP ——喵喵爱学习

赞 (1)

评论 2

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. Fitflop Flower SandalsDo you mind if I quote a couple of your posts as long as I provide credit and sources back to your blog? My blog is in the exact same area of interest as yours and my users would certainly benefit from some of the information you present here. Please let me know if this ok with you. Thank you!回复
  2. Nike Lebron Soldier 8 MensGood day! This is my 1st comment here so I just wanted to give a quick shout out and tell you I truly enjoy reading through your articles. Can you recommend any other blogs/websites/forums that cover the same topics? Thanks for your time!回复