Linode CentOS 6 用yum裝了pptp,找不到啟動文件
PHPz
PHPz 2017-04-24 15:59:04
0
3
889

想在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
PHPz
PHPz

学习是最好的投资!

全部回覆(3)
世界只因有你

親,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
洪涛

我...
你既然是yum安裝的,那套件管理器一定幫你所有的事情都做完了

1.chkconfig [啟動級別,可以省略] pptpd on
2.service pptpd start
3.ps aux | grep pptpd

是不是服务起来了

額,總覺得這種問題不該問

Peter_Zhu

照這篇文章試試
http://www.gaggl.com/2012/06/installi...

我按照這個裝成功了,只是不知道怎麼連上去- -

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板