lnmp之pureftpd管理面板安装教程[图文]
今日安装了http://www.lnmp.org一键安装包(linux,nginx,mysql,php).这个更新的版本带了pureftpd,更好我需要ftp^^.
安装就不说明了, 当你装完lnmp. 运行:/pureftpd.sh 就自动安装pureftpd了.需要注意就是,你要安装unzip,我之前安装失败,就是因为没有unzip.安装unzip命令是:yum install unzip.
主要说说面板,其实挺简单的,一步一步来.
首先输入 http://你的域名或IP/ftp/install.php.
第一步:检查文件
全部ok.可以下一步了
第二步:选第一个,创建一个新数据库
第三步:输入mysql信息,全部显示ok.证明你的mysql没错.
继续,都是输入mysql信息,和一个mysql数据库
第四步:这个是配置文件,language哪里选择chinese, ftp address 填写你自己的ip信息.其他默认.然后记得 save保存.
第五步:设置管理员密码(默认的密码我不太清楚),输入新的密码,然后按change.
第六步:到了第六步了,把这些灰色的文字复制下来, 覆盖掉/usr/local/pureftpd/pureftpd-mysql.conf 这个文件.
第七步:搞定了.安装完毕.
这是登陆后的信息.
例如我想新建一个用户 aaa,只可以访问 /home/root/
就在右上角新增账号.
账号填写aaa.
密码自己填写
uid,gid 都选www
主目录选择 /home/root/
这样按保存就可以了.
-----------
安装后最好 运行一次命令:/root/pureftpd restart 因为我新建了一个用户,按保存,不能登陆ftp.后来我试试重新启动,就好了.嘎嘎
还有,如果vps挂了或者重启了, ftp就没了,就要登录ssh 运行:/root/pureftpd start
话说,怎么自启动这个啊?.
****************************
执行如下命令加入开机启动:
cat >/etc/init.d/pureftpd.sh<<eof
/root/pureftpd start
eof
update-rc.d pureftpd.sh defaults
Licess PS:最近家里有事发布lnmp之后就没怎么上网,感谢lnmp爱好者们分享经验。
****************************
作者:Raymond@chenweiwen.com
地址:http://www.chenweiwen.com/post/19/
除非注明,本博客文章均为原创,转载请以链接形式标明本文地址
本文地址:http://blog.licess.org/lnmp-pureftpd-cp/
Trackback地址:http://blog.licess.org/lnmp-pureftpd-cp/trackback/























貌似加入启动不了啊
输入最后一行代码提示
-bash: update-rc.d: command not found
hellowind @ 2010年07月7日 7:13 下午
我上次install 貌似少了第六步,没成功。。。。。。。。。。
ishagua @ 2010年06月10日 3:19 下午
[...] lnmp之pureftpd管理面板安装教程[图文],不过我安装失败.死活登陆不上. 先搁置,回头再说.用SSH Secure [...]
vps更换php环境小计. | 阿邙’S Blog @ 2010年05月24日 10:22 上午
[root@localhost lnmp0.4-full]# /root/pureftpd start
=========================================================================
Pure-FTPd status Manager for LNMP V0.4 , Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of Pure-FTPd
For more information please visit http://www.lnmp.org
Usage: /root/pureftpd {start|stop|restart|status|who}
=========================================================================
Starting Pure-FTPd...
Running: /usr/local/pureftpd/sbin/pure-ftpd --daemonize -A -c50 -B -C5 -D -E -fftp -H -I15 -lmysql:/usr/local/pureftpd/pureftpd-mysql.conf -lunix -L2000:8 -m4 -p20000:30000 -s -U133:022 -u100 -k99 -Z
但用
[root@localhost lnmp0.4-full]# /root/pureftpd status
=========================================================================
Pure-FTPd status Manager for LNMP V0.4 , Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of Pure-FTPd
For more information please visit http://www.lnmp.org
Usage: /root/pureftpd {start|stop|restart|status|who}
=========================================================================
Pure-FTPd is NOT running.
这是怎么回事?
j_yf @ 2010年05月11日 8:06 下午
Debian没成功,启动的时候:
./pureftpd: line 25: /usr/local/pureftpd/sbin/pure-config.pl: No such file or directory
而config的时候
configure: error: Your MySQL client libraries aren't properly installed
我没有在安装程序里面找到pure-config.pl
Simon @ 2010年04月26日 7:49 下午
我执行
http://你的域名或IP/ftp/install.php
这一步的时候,页面显示“No input file specified. ”
…… 这个是什么原因? 3Q
Matt @ 2010年04月26日 5:05 下午
Debian没成功,启动的时候:
./pureftpd: line 25: /usr/local/pureftpd/sbin/pure-config.pl: No such file or directory
而config的时候
configure: error: Your MySQL client libraries aren't properly installed
我没有在安装程序里面找到pure-config.pl
Eric @ 2010年04月26日 10:21 上午
@bleach, 文件不存在,应该是没有解压成功。
Anthony @ 2010年04月25日 6:20 上午
@bleach, 文件不存在,应该是没有解压成功。
Amy @ 2010年04月24日 2:23 上午
Debian没成功,启动的时候:
./pureftpd: line 25: /usr/local/pureftpd/sbin/pure-config.pl: No such file or directory
而config的时候
configure: error: Your MySQL client libraries aren't properly installed
我没有在安装程序里面找到pure-config.pl
Michelle @ 2010年04月20日 12:17 下午
这个FTP好像只能链接一个用户,链接多了 就登陆不进去
有解决办法吗
小陈 @ 2010年04月17日 1:44 下午
Debian没成功,启动的时候:
./pureftpd: line 25: /usr/local/pureftpd/sbin/pure-config.pl: No such file or directory
而config的时候
configure: error: Your MySQL client libraries aren't properly installed
我没有在安装程序里面找到pure-config.pl
alex @ 2010年04月11日 2:54 下午
我执行
http://你的域名或IP/ftp/install.php
这一步的时候,页面显示“No input file specified. ”
…… 这个是什么原因? 3Q
licess Reply:
四月 12th, 2010 at 12:12 下午
@bleach, 文件不存在,应该是没有解压成功。
bleach @ 2010年04月10日 8:10 下午
成功了,但是总觉得给与的MYSQL权限太高了。
吴瑞钊 @ 2010年04月5日 2:18 下午
MYSQL数据库能不能安装在别的机器上?
吴瑞钊 @ 2010年04月4日 2:23 下午
能在lnmp0.3或0.2里面继续这个FTP的安装吗?能的话能不能给我个邮件告诉一下要注意的事项,谢了。
licess Reply:
四月 3rd, 2010 at 11:26 上午
@吴瑞钊, 直接下载lnmp0.4的文件执行里面的ftp安装脚本就可以。
吴瑞钊 @ 2010年04月2日 8:54 下午