如何在centos6.8中安装配置proftpd 1.3.3

导语:前面写过一篇使用yum方式在centos7上面安装proftpd的文章,在centos6.8中安装proftpd只有一点不同,就是它的启动方式和添加服务的方式。我们来看看。

centos6.8中安装proftpd

centos6.8中安装proftpd可以参考这篇文章:如何给centos7 装上ftp服务端–proftpd

配置和启动不同之处

在centos 7中,我们使用下面的命令来启动:

systemctl start proftpd.service
systemctl enable proftpd.service

在centos 6.8 中,我们使用下面的命令来启动:

service proftpd start

在centos 6.8 中,添加服务的方法

chmod 755 /etc/rc.d/init.d/proftpd

如果权限已经是755就不需要修改了。

chkconfig add proftpd

添加到服务中。

chkconfig --level 35 proftpd on

指定什么情况下随机启动。

可以使用chkconfig –list来看一下它是否是随机启动的。

结束

你学会了吗?


Warning: copy(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /opt/lampp/htdocs/wordpresssummer/wp-content/themes/summerleaf/inc/summer_setting.php on line 546

Warning: copy(): Failed to enable crypto in /opt/lampp/htdocs/wordpresssummer/wp-content/themes/summerleaf/inc/summer_setting.php on line 546

Warning: copy(https://www.wordpressleaf.com/wp-content/themes/summerleaf/images/tx/94.png): failed to open stream: operation failed in /opt/lampp/htdocs/wordpresssummer/wp-content/themes/summerleaf/inc/summer_setting.php on line 546

Warning: copy(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /opt/lampp/htdocs/wordpresssummer/wp-content/themes/summerleaf/inc/summer_setting.php on line 562

Warning: copy(): Failed to enable crypto in /opt/lampp/htdocs/wordpresssummer/wp-content/themes/summerleaf/inc/summer_setting.php on line 562

Warning: copy(https://www.wordpressleaf.com/wp-content/themes/summerleaf/images/tx/75.png): failed to open stream: operation failed in /opt/lampp/htdocs/wordpresssummer/wp-content/themes/summerleaf/inc/summer_setting.php on line 562

发表评论

邮箱地址不会被公开。 必填项已用*标注