在Centos 6虚拟机上启动FTP服务的步骤
2011-12-06 14:18
344 查看
在Centos 6虚拟机上启动FTP服务的步骤
第一步:确认FTP服务是否安装
第二步:安装FTP服务,确保要连接在互联网上
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: ftp.cs.pu.edu.tw
* extras: ftp.cs.pu.edu.tw
* updates: ftp.cs.pu.edu.tw
....
第三步:确认FTP服务是否启动的方法
第四步启动ftp服务的方法
To start the server, as root type:
To stop the server, as root type:
第五步检查防火墙设置
XP下虚拟机安装了centos,然后安装了vsftpd,现在在虚拟机下可以访问ftp根目录pub文件夹,但是在XP下访问会出现ftp文件夹错误,提示为到服务器的连接无法建立。现在我把selinux都关了也还不行。求助!
1).关闭防火墙
如果想永久关闭:
2).关闭selinux
记得要重新启动服务器!
3).启动服务 service vsftpd start
第一步:确认FTP服务是否安装
[root@localhost dev]# yum -y install vsftpdIf nothing, the standard CentOS packages seem to be vsftp and proftp. You can install these with yum very easily (yum install vsftp for example)
第二步:安装FTP服务,确保要连接在互联网上
[root@localhost dev]# yum -y install vsftpd
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: ftp.cs.pu.edu.tw
* extras: ftp.cs.pu.edu.tw
* updates: ftp.cs.pu.edu.tw
....
第三步:确认FTP服务是否启动的方法
netstat -ant | grep "LISTEN"
第四步启动ftp服务的方法
To start the server, as root type:
/sbin/service vsftpd start
To stop the server, as root type:
/sbin/service vsftpd stop
第五步检查防火墙设置
XP下虚拟机安装了centos,然后安装了vsftpd,现在在虚拟机下可以访问ftp根目录pub文件夹,但是在XP下访问会出现ftp文件夹错误,提示为到服务器的连接无法建立。现在我把selinux都关了也还不行。求助!
1).关闭防火墙
/etc/init.d/iptables stop
如果想永久关闭:
chkconfig --level 35 iptables off
2).关闭selinux
vi /etc/selinux/config将selinux=enforcing或permissive改成disabled
记得要重新启动服务器!
3).启动服务 service vsftpd start
相关文章推荐
- 本地访问虚拟机centos7 ftp服务的配置的方法
- Linux下root用户ftp或telnet 登陆配置步骤与启动telnet服务
- mysql 在 centos 上安装,做成服务,且开机启动 步骤
- hadoop学习;安装jdk,workstation虚拟机v2v迁移;虚拟机之间和跨物理机之间ping网络通信;virtualbox的centos中关闭防火墙和检查服务启动
- 虚拟机设置选择NAT模式CentOS 6.3开机启动服务及自动联网
- 虚拟机Ubuntu Server(宿主Win7)ftp服务的安装与启动
- 虚拟机服务没有启动的 CentOS 和 Ubuntu 无法上网
- hadoop学习;安装jdk,workstation虚拟机v2v迁移;虚拟机之间和跨物理机之间ping网络通信;virtualbox的centos中关闭防火墙和检查服务启动
- 解决虚拟机 centos 网络服务启动
- centos设置apache、mysql及ftp服务开机自动启动的方法
- CentOS搭建FTP文件服务的步骤
- hadoop学习;安装jdk,workstation虚拟机v2v迁移;虚拟机之间和跨物理机之间ping网络通信;virtualbox的centos中关闭防火墙和检查服务启动
- CentOS7 docker服务无法启动解决方案及实现步骤
- CentOs 7虚拟机 安装并启动Redis服务,做个记录
- 图解虚拟机VMware服务自动启动(转载)
- centOS7下搭建FTP服务器详细步骤
- CentOS 6.3开机启动服务及自动联网
- CentOS6.5 开启并配置ftp服务
- ubuntu 下ftp服务的安装与启动
- Ubuntu Linux 中启动FTP服务