个人工具
119.28.94.63
该IP地址的讨论
登录
查看“UbuntuHelp:PureFTP”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:PureFTP”的源代码
来自Ubuntu中文
←
UbuntuHelp:PureFTP
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/PureFTP}} {{Languages|UbuntuHelp:PureFTP}} == Pure-ftpd + pureadmin (Ftp server with gui) == These are all steps to follow in order to have a nice ftp server with an easy gui. * Install the <code><nowiki>pure-ftpd</nowiki></code> package if you don't already have it (see InstallingSoftware). * Also, install <code><nowiki>pureadmin</nowiki></code> package * run 'gksudo gedit /etc/inetd.conf' and comment (add a '''#''' at the start of) the line containing 'ftp' * run 'gksudo gedit /etc/default/pure-ftpd-common' and change STANDALONE_OR_INETD=inetd to STANDALONE_OR_INETD=standalone * run 'sudo groupadd ftpgroup' and 'sudo useradd -g ftpgroup -d /dev/null -s /etc ftpuser' * create ftpuser directory 'sudo mkdir /home/ftpusers' * create joe user directory 'sudo mkdir /home/ftpusers/joe' (you can create a directory for each ftp user) * run 'sudo pure-pw useradd joe -u ftpuser -d /home/ftpusers/joe' (a) * run 'sudo pure-pw mkdb' * run 'sudo ln -s /etc/pure-ftpd/pureftpd.passwd /etc/pureftpd.passwd' * run 'sudo ln -s /etc/pure-ftpd/pureftpd.pdb /etc/pureftpd.pdb' * run 'sudo ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/PureDB' * Create file /etc/pure-ftpd/conf/UnixAuthentication containing only the string 'no' without quotes. * Modify permissions of /home/ftpusers directory (b) and of any subdirectories. Owner must be ftpuser while Group must be ftpgroup * run 'gksudo pureadmin' * stop firestarter if installed * through "menu editor" modify pureadmin entry command (under 'system tools') from 'pureadmin' to 'gksudo pureadmin' ===== NOTES ===== a. joe will be your test user. You can change user joe and/or add other users through pureadmin b. Easy way to change permissions: run 'gksudo nautilus', go to /home, change owner with ftpuser and group with ftpgroup. Tick special flags 'set user ID' and 'set group ID'. [not sure if these ticks are necessary] Be aware that pureadmin must be run as root. Download package from here: http://www.ubuntuforums.org/attachment.php?attachmentid=3623&d=1132160866 Original Ubuntu Forums thread: http://ubuntuforums.org/showthread.php?t=91052 [[category:CategoryDocumentation]] [[category:CategoryCleanup]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:PureFTP
。