admin管理员组文章数量:1533914
2024年4月6日发(作者:)
Ubuntu搭建FTP服务器方法
1系统----系统管理----新立得软件包管理器----搜索(vsftpd)----勾选vsftpd 安装
2 终端----sudo gedit /etc/ 输入管理密码 去掉26行(local_enable=yes)29
行(write_enable=yes)前的"#"保存
3 运行 sudo /etc/init.d/vsftpd restart 重启服务
ubuntu下开设FTP服务器,vsftpd
地狱使者 发表于 2007-9-11 16:32:00
apt-get install vsftpd
或者
apt-get install proftpd
或者
apt-get install pureftpd
参考下文:设置vsftpd
*********************************************************
发信人: alabaster(春天来了), 信区: Linux
标 题: debian做ftp服务器
发信站: 瀚海星云 (2006年03月24日15:41:39 星期五), 站内信件
修改ip地址
编辑 /etc/network/interfaces 文件,用 sudo vi /etc/network/i
nterfaces,修改 IP 地址。
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
auto eth0
iface eth0 inet static
address 202.38.??.??
netmask 255.255.255.0
network 202.38.??.??
broadcast 202.38.??.??
gateway 202.38.??.??
编辑 /etc/hosts 这个文件并且把新IP地址加进去,用 sudo vi /etc/hosts
127.0.0.1 omain localhost userftp
202.38.??.?? ???. userftp
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
编辑 /etc/hostname,内容改为 ???.
/etc/init.d/networking restart 重新启动网络。
安装 SSH
apt-get install ssh openssh-server
现在可以通过其他电脑
ssh **@202.38.??.??
来远程管理服务器了。
安装vsftp
apt-get install vsftpd
配置/etc/vsftpd/
以下是我的内容
===============================================================
#服务器以standalong模式运行,这样可以进行下面的控制
版权声明:本文标题:Ubuntu搭建FTP服务器方法 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1712353154a356126.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论