Linode CentOS 6 用yum装了pptp,找不到启动文件


想在Linode上自己打一个VPN,用yum装。

>yum install pptp

版本是pptp-1.7.2-8.1.el6.x86_64,依赖ppp-2.4.5-5.el6.x86_64.rpm
结果装成功了,但是 /etc/init.d/没有pptpd这个启动文件,怎么启动啊。。。
输出详情如下:

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cat.pdx.edu
 * extras: mirrors.cat.pdx.edu
 * updates: mirrors.cat.pdx.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package pptp.x86_64 0:1.7.2-8.1.el6 will be installed
--> Processing Dependency: ppp >= 2.4.2 for package: pptp-1.7.2-8.1.el6.x86_64
--> Running transaction check
---> Package ppp.x86_64 0:2.4.5-5.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================
 Package                                 Arch                                      Version                                            Repository                               Size
====================================================================================================================================================================================
Installing:
 pptp                                    x86_64                                    1.7.2-8.1.el6                                      base                                     62 k
Installing for dependencies:
 ppp                                     x86_64                                    2.4.5-5.el6                                        base                                    323 k

Transaction Summary
====================================================================================================================================================================================
Install       2 Package(s)

Total download size: 385 k
Installed size: 892 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): ppp-2.4.5-5.el6.x86_64.rpm                                                                                                                            | 323 kB     00:00     
(2/2): pptp-1.7.2-8.1.el6.x86_64.rpm                                                                                                                         |  62 kB     00:00     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                               875 kB/s | 385 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : ppp-2.4.5-5.el6.x86_64                                                                                                                                           1/2 
  Installing : pptp-1.7.2-8.1.el6.x86_64                                                                                                                                        2/2 
  Verifying  : ppp-2.4.5-5.el6.x86_64                                                                                                                                           1/2 
  Verifying  : pptp-1.7.2-8.1.el6.x86_64                                                                                                                                        2/2 

Installed:
  pptp.x86_64 0:1.7.2-8.1.el6                                                                                                                                                       

Dependency Installed:
  ppp.x86_64 0:2.4.5-5.el6                                                                                                                                                          

Complete!
>ll /etc/init.d/pp*
ls: cannot access /etc/init.d/pp*: No such file or directory

Linode yum centos pptp

对极限的冲动 11 years, 11 months ago

亲,pptp是客户端程序,服务端Daemon是pptpd哦,你可以使用

yum install pptpd

安装
也可以下载rpm包安装

$ wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.el6.x86_64.rpm
$ rpm -Uhv pptpd-1.3.4-2.el6.x86_64.rpm
cristar answered 11 years, 11 months ago

Your Answer