請教ProFTP Server [論壇 - 伺服器架設]
正在瀏覽:
1 名遊客
回覆: 請教ProFTP Server |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
你的 localhost 看來正常
sudo cat /etc/proftpd.conf 把 結果 直接 copy 貼上來 如果找不到 sudo dpkg -L proftpd-basic | grep proftpd.conf 看看儲存在哪裏
2012/9/8 21:10
|
||||||||||
![]() |
回覆: 請教ProFTP Server |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
2012/9/8 23:23
|
||||||||||
![]() |
回覆: 請教ProFTP Server |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2012/9/8 3:53 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 52
![]() |
#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file. # To really apply changes reload proftpd after modifications. # # Includes DSO modules Include /etc/proftpd/modules.conf # Set off to disable IPv6 support which is annoying on IPv4 only boxes. UseIPv6 on ServerName "Debian" ServerType standalone DeferWelcome off MultilineRFC2228 on DefaultServer on ShowSymlinks on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayChdir .message true ListOptions "-l" DenyFilter \*.*/ # Use this to jail all users in their homes # DefaultRoot ~ # Users require a valid shell listed in /etc/shells to login. # Use this directive to release that constrain. # RequireValidShell off # Port 21 is the standard FTP port. Port 21 # In some cases you have to specify passive ports range to by-pass # firewall limitations. Ephemeral ports can be used for that, but # feel free to use a more narrow range. # PassivePorts 49152 65534 # If your host was NATted, this option is useful in order to # allow passive tranfers to work. You have to use your public # address and opening the passive ports used on your firewall as well. # MasqueradeAddress 1.2.3.4 # To prevent DoS attacks, set the maximum number of child processes # to 30. If you need to allow more than 30 concurrent connections # at once, simply increase this value. Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd) MaxInstances 30 # Set the user and group that the server normally runs at. User proftpd Group nogroup # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 # Normally, we want files to be overwriteable. AllowOverwrite on # Uncomment this if you are using NIS or LDAP via NSS to retrieve passwords: # PersistentPasswd off # This is required to use both PAM-based authentication and local passwords # AuthOrder *mod_auth_pam.c mod_auth_unix.c # Be warned: use of this directive impacts CPU average load! # Uncomment this if you like to see progress and transfer rate with ftpwho # in downloads. That is not needed for uploads rates. # # UseSendFile off # Choose a SQL backend among MySQL or PostgreSQL. # Both modules are loaded in default configuration, so you have to specify the backend # or comment out the unused module in /etc/proftpd/modules.conf. # Use 'mysql' or 'postgres' as possible values. # #<IfModule mod_sql.c> # SQLBackend mysql #</IfModule> TransferLog /var/log/proftpd/xferlog SystemLog /var/log/proftpd/proftpd.log <IfModule mod_quotatab.c> QuotaEngine off </IfModule> <IfModule mod_ratio.c> Ratios off </IfModule> # Delay engine reduces impact of the so-called Timing Attack described in # http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02 # It is on by default. <IfModule mod_delay.c> DelayEngine on </IfModule> <IfModule mod_ctrls.c> ControlsEngine off ControlsMaxClients 2 ControlsLog /var/log/proftpd/controls.log ControlsInterval 5 ControlsSocket /var/run/proftpd/proftpd.sock </IfModule> <IfModule mod_ctrls_admin.c> AdminControlsEngine off </IfModule> # # Alternative authentication frameworks # #Include /etc/proftpd/ldap.conf #Include /etc/proftpd/sql.conf # # This is used for FTPS connections # #Include /etc/proftpd/tls.conf # A basic anonymous configuration, no upload directories. # <Anonymous ~ftp> # User ftp # Group nogroup # # We want clients to be able to login with "anonymous" as well as "ftp" # UserAlias anonymous ftp # # Cosmetic changes, all files belongs to ftp user # DirFakeUser on ftp # DirFakeGroup on ftp # # RequireValidShell off # # # Limit the maximum number of anonymous logins # MaxClients 10 # # # We want 'welcome.msg' displayed at login, and '.message' displayed # # in each newly chdired directory. # DisplayLogin welcome.msg # DisplayFirstChdir .message # # # Limit WRITE everywhere in the anonymous chroot # <Directory *> # <Limit WRITE> # DenyAll # </Limit> # </Directory> # # # Uncomment this if you're brave. # # <Directory incoming> # # # Umask 022 is a good standard umask to prevent new files and dirs # # # (second parm) from being group and world writable. # # Umask 022 022 # # <Limit READ WRITE> # # DenyAll # # </Limit> # # <Limit STOR> # # AllowAll # # </Limit> # # </Directory> # # </Anonymous> <Global> DefaultChdir /var/www/ DefaultRoot /var/www/ GroupPassword gs 13xNMBCmlmL2Q </Global>
2012/9/9 7:39
|
||||||||||
![]() |
回覆: 請教ProFTP Server |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2012/9/8 3:53 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 52
![]() |
File Zilla FTP Server似乎找不到設定UTF-8的地方
我帳號密碼打上後連的訊息是這樣的: Status: Connecting to 127.0.0.1:21... Status: Connection established, waiting for welcome message... Response: 220 ProFTPD 1.3.1 Server (Debian) [::ffff:127.0.0.1] Command: USER gs Status: Connection established, waiting for welcome message... Response: 331 Password required for gs Command: PASS ********* Response: 530 Login incorrect. Error: Could not connect to server
2012/9/9 7:45
|
||||||||||
![]() |
回覆: 請教ProFTP Server |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
#10 你是安裝 server 還是 client 端 套件 ? ftp 是 server<-->client 配對服務 你要去連 ProFTP Server 必須安裝 ftp client 端 軟體 不能 安裝 File Zilla FTP Server 在 Ubuntu 12.04 universe 套件庫 有 filezilla : 全功能的圖形化 FTP/FTPS/SFTP 客戶端 你可以從 軟體中心 安裝 filezilla 套件 如果要使用 sudo apt-get install filezilla 必須把 universe 加入 /etc/apt/sources.list 然後 sudo apt-get update sudo apt-get upgrade sudo apt-get install filezilla 或從 syanptic 安裝 必須從 /設定/套件庫/Ubuntu 軟體 把 universe 打勾 關閉 然後 sudo apt-get update sudo apt-get upgrade sudo apt-get install filezilla 安裝好後 從終端機 執行 filezilla # 一般使用者權限 或 gksu filezilla # root 權限 使用這個 安全性 要小心 溫馨提示 你提供的資料 越詳細 才能給你可行的建議
2012/9/9 8:08
|
||||||||||
![]() |
回覆: 請教ProFTP Server |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2012/9/8 3:53 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 52
![]() |
是我抱歉才對...=.=
我安裝的是File Zilla FTP Client 不是Server,抱歉~打的太快了...
2012/9/9 8:14
|
||||||||||
![]() |
回覆: 請教ProFTP Server |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2012/9/8 3:53 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 52
![]() |
或者你若有點時間有空,是否願意遠端協助看看呢?
我ubuntu有安裝TeamViewer7, 我想說我這新手要描述這東西比較沒那麼詳細... 如果願意看有無通訊軟體可連繫?謝謝~
2012/9/9 8:17
|
||||||||||
![]() |
回覆: 請教ProFTP Server |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
2012/9/9 8:25
|
||||||||||
![]() |
回覆: 請教ProFTP Server |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2012/9/8 3:53 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 52
![]() |
我的系統是8.04版的,
灌12版的整體跑起來變慢了, 我的File Zilla FTP Client是英文版的... 剛剛看你的#12網址已經設定UTF-8了, 一樣無法連線...
2012/9/9 8:35
|
||||||||||
![]() |
回覆: 請教ProFTP Server |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
我的系統是8.04版的, 如果 沒有重要 數據 在 安裝 ubuntu 的 分割區 全新安裝 ubuntu 12.04.1 一下就搞定了 如果 有 重要數據 在 安裝 ubuntu 的 分割區 可以 8.04-->10.04-->12.04 升級 但是 升級 有時需要一些微調 如果你不是 很熟悉 指令 不建議你如此升級 你在 8.04 安裝的 ProFTP Server 與 File Zilla FTP Client 就都是 舊版本的 與 12.04 是否相同 要試試才知道
2012/9/9 8:45
|
||||||||||
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.