linux守护进程vsftpd
2022/8/2 5:23:48
本文主要是介绍linux守护进程vsftpd,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
输入ftp [ip地址]显示连接被拒绝
ftp 192.168.173.148 显示 ftp: connect: Connection refused 输入quit退出 ftp> quit
一般情况是要连接的服务器没有安装或者启动FTP服务
systemctl status vsftpd 显示没有找到 Unit vsftpd.service could not be found.
安装vsftpd,这个在镜像里有,可以先挂载镜像
mount /dev/cdrom /mnt yum -y install vsftpd systemctl start vsftpd
随后关闭防火墙
systemctl status firewalld.service systemctl stop firewalld.service systemctl disable firewalld.service
此时已经可以使用ftp命令了,ftp <ip>连接后要求输入用户名和密码,注意:此时是无法登录root用户的。
此时的vsftpd是手动开启的,假如想开机后自动启动,可以输入以下命令
systemctl enable vsftpd
这篇关于linux守护进程vsftpd的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-03-30[译]漫画SELinux概念
- 2024-03-29linux 移动文件
- 2024-03-28linux .so file
- 2024-03-28Linux 磁盘管理
- 2024-03-28Linux学习笔记(十三)磁盘管理(一):磁盘分区
- 2024-03-26linux 创建 文件
- 2024-03-25使用SecureCRT对Linux vim进行颜色设置
- 2024-03-202019-2020-12 20199317 《Linux内核原理与分析》 第十二周作业
- 2024-03-20Linux运维的第二周总结
- 2024-03-13how to count number of directories in linux