首先系统版本是ubuntu 15.04,系统默认安装了两个版本的python, sudo python web2py.py 默认会调用python2.7版本来执行 会提示 pydo@planpls:/var/python/web2py$ sudo python web2py.py web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2015 Version 2.11.2-stable+timestamp.2015.0
在内网可以正常使用PASV,但是在外网不行,导致数据传输慢或者根本连接不了,在FlashFXP中通过日志,找到了解决方法解决方法1.在Filezilla——Edit——Settings——Passive mode Settings 将mode切换为[Use the following IP:] 后面的值跟的是公网的IP,同一界面中[Use custom port range]勾上在这里设置的是数据传输端口,设置一个固定的值,在端口映射上加一个和这个一样的端口2.在Security setting