成都创新互联网站制作重庆分公司

在虚拟机中安装ftp

安装ftp
yum -y install vsftpd
 
查看
vsftpd -v

取消匿名登陆
修改vsftpd.conf文件
vi /etc/vsftpd/vsftpd.conf

把 anonymous_enable=YES,改为NO,然后重启vsftpd

3、设置开机启动:
# chkconfig vsftpd on

4、启动ftp服务
# service vsftpd start
检查服务状态
# service vsftpd status
停止服务:
# service vsftpd stop
重启服务
# service vsftpd restart

vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
#SELINUX=enforcing
# SELINUXTYPE= can take one of three two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
#SELINUXTYPE=targeted
SELINUX=disabled
setenforce 0

查看SELinux状态:
# getenforce
修改好之后,reboot重启下,然后执行getenforce命令查看SELinux状态
[root@localhost ~]# getenforce
Disabled

成都创新互联公司主要从事成都做网站、网站设计、网页设计、企业做网站、公司建网站等业务。立足成都服务望都,10年网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:13518219792


网页题目:在虚拟机中安装ftp
URL链接:http://cxhlcq.com/article/geicjd.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部