参考了https://blog.csdn.net/qiangwushuang/article/details/20217723 这篇博客,发现应该是安装目录的问题。改为下面的:
In which directory do you want to install the binary files?
[/usr/bin] (默认选项如果是这个目录直接敲回车就好,如果不是这个目录,改成这个目录)
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
What is the directory that contains the init scripts? [/etc/init.d]
剩下的都按照默认的来就好,一直敲回车,然后就按照成功了