请选择 进入手机版 | 继续访问电脑版

GODIY 自己动手亲力亲为的DIY社区一起来吧--GODIY论坛

 找回密码
 注册

扫一扫,访问微社区

搜索
查看: 8538|回复: 1

迈拓网络硬盘盒安装 FTP

[复制链接]
发表于 2008-2-17 11:23:07 | 显示全部楼层 |阅读模式
安装 FTPFtp安装成功。
把过程贴一下:
用PUTTY 连接硬盘盒
# ipkg install vsftpd  ---------
Installing vsftpd (2.0.3-2) to root...
Downloading http://ipkg.openmss.org/experimental/vsftpd_2.0.3-2_mipsel.ipk
Configuring vsftpd
#
安装完成,需要设置ftp访问的用户名和密码。
# adduser test  --------(test用户名可以改你自己的)
adduser: /home/test: No such file or directory
adduser: /home/test: No such file or directory
adduser: /home/test: No such file or directory
Changing password for test
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password: --------密码
Bad password: too short. -------密码在6位下会去现,8位没有这项
Warning: weak password (continuing).
Re-enter new password: --------重复密码
Password changed.
实际我操作时 adduser命令是在 /opt/bin/下。
# vi /opt/etc/vsftpd.user_list  ---------
262版本的vi命令在目录 /opt/etc/vi
然后,依次操作
vi will only show you the text file, you have to do the commands „blind“.
youruser
~
~
Delete the first line (dd) and enter (i) the name of the users you want…
现在按dd再按i,后输入用户名(就你刚刚建ftp的用户名)
test
~
~
Stop editing ([ESC]) save the file and quit vi (:wq)
按esc键2次,之后输入:wq 注意是冒号wq
Now, you’ll have to modify the users home directory, in case you have made your user with adduser. Therefore edit the file etc/passwd
# vi /etc/passwd ---------
The original line might look like this:
test1$$XHRypMVmwwXaoHSogc3/F/:35002:35002inux User,,,:/home/test:/bin/sh --------test用户的资料
Change the line to (test will have his home directory in one of the public shares)
test1$$XHRypMVmwwXaoHSogc3/F/:35002:35002inux User,,,:/shares/mss-hdd/Yourshare:/bin/sh --------test用户的资料
Finally reboot your MSS to initialize the vsftpd service.

ok这就安装完了


PUTTY 连接工具
SecureCR连接工具
发表于 2008-3-21 15:51:16 | 显示全部楼层
怎么我找不到VI命令的?
提示:
vi:not found
是什么回事请帮帮忙!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|Archiver|GODIY论坛 ( 粤ICP备12089271号

GMT+8, 2018-5-25 22:53 , Processed in 0.081294 second(s), 7 queries , File On.

Powered by Godiy.net

快速回复 返回顶部 返回列表