如 何 建 立 一 個 私 人 的 ftp?? (40分)

2007-10-04 8:33 pm
如 何 建 立 一 個 私 人 的 ftp??

我 需 要 詳 細 既 步 驟 , 如 果 需 要 特 別 的 軟 件,
請 提 供 下 載 點

回答 (2)

2007-10-04 9:36 pm
✔ 最佳答案
如何自建FTP伺服器

第一步:
申請一個免費DNS戶口, 以便加上一個固定Domain(域名), 建議在 http://www.no-ip.com 開戶。請注意, 此項服務只是將一個Domain轉駁至你連線上網時的IP address。要建立一個FTP伺服器, 必須完成第二步。
第二步:
安裝一個FTP伺服器軟件, 建議使用GuildFTPd。可在 http://www.guildftpd.com 下載 。GuildFTPd 是個不錯的軟件, 設定容易, 並支援中文檔名, 最重要的是它是個免費的 freeware!
第一步: www.no-ip.com 開戶過程
1. 進入 http://www.no-ip.com 主頁, click
http://hk.geocities.com/muka_hk/signup.gif
http://hk.geocities.com/muka_hk/no-ip-01.gif
2. 填寫個人資料, E-mail address 一定要真確, 完成後 click
http://hk.geocities.com/muka_hk/register.gif
http://hk.geocities.com/muka_hk/no-ip-02.gif
3. 接著便會有提示說明已經以你的 E-mail address開戶, 並已寄出密碼
http://hk.geocities.com/muka_hk/no-ip-03.gif
4. 會收到如圖的電郵, 內附密碼
http://hk.geocities.com/muka_hk/no-ip-04.gif
5. 回到 www.no-ip.com 主頁, 輸入 E-mail address 及剛收到的密碼
http://hk.geocities.com/muka_hk/no-ip-05.gif
6. 成功登入後於左上方 click "Add"
http://hk.geocities.com/muka_hk/no-ip-06.gif
7. 在 Hostname 中輸入你想要的Domain, 及選擇結尾, 後 click
http://hk.geocities.com/muka_hk/createhost.gif
http://hk.geocities.com/muka_hk/no-ip-07.gif
8. 成功登記域名後, 會有如圖通知你新登記的域名已轉駁至你現時的 IP address
http://hk.geocities.com/muka_hk/no-ip-08.gif
9. 由於各大ISP沒有提供固定IP address, 所以要到 http://www.no-ip.com/downloads.php 下載一個軟件, 以便自動保持轉駁服務
http://hk.geocities.com/muka_hk/no-ip-09.gif
10. 下載後即進行安裝, 其間須保持連線
http://hk.geocities.com/muka_hk/no-ip-10.gif
11. 輸入先前登記的 E-mail address 及 www.no-ip.com 給予的密碼
http://hk.geocities.com/muka_hk/no-ip-11.gif
12. 剔選圖示的方格以作啟動, 後進入 "Options"
http://hk.geocities.com/muka_hk/no-ip-12.gif
13. 建議 Windows 9X/ME 使用者剔選 "Run on Startup", Windows 2000/XP 則剔選 "Run as a system service"
http://hk.geocities.com/muka_hk/no-ip-13.gif
第二步: GuildFTPd 設定過程 (以 0.998.2 版本作示範)
1. 安裝後按 "Options"→"Server", 於 "FTP server name" 中填上你剛申請的domain
http://hk.geocities.com/muka_hk/ftp-01.gif
2. 按 "Admin"→"Add Group"
http://hk.geocities.com/muka_hk/ftp-02.gif
3. 填上你喜愛的 Group Name, 如範例的 "Public"
http://hk.geocities.com/muka_hk/ftp-03.gif
4. 可見到已建立一個名為 "Public" 的 group
http://hk.geocities.com/muka_hk/ftp-04.gif
5. 右 click "Public", 揀 "Add User"
http://hk.geocities.com/muka_hk/ftp-05.gif
6. 隨喜好命名 "Name", 如範例的 "upload", 並加上密碼
http://hk.geocities.com/muka_hk/ftp-06.gif
7. 可見到已建立一個名為 "upload" 的 user, 按 "Path", 右 click 出現 "Add Path"
http://hk.geocities.com/muka_hk/ftp-07.gif
8. 在 "Local Path" 中按 "Browse" 選取你放置打算分享檔案的資料夾, 或是人家上傳檔案給你的存放位置
http://hk.geocities.com/muka_hk/ftp-08.gif
http://hk.geocities.com/muka_hk/new.gif
安裝時預設的是 C:\TEMP 或 C:\FTPROOT,
這個資料夾就是訪客進入伺服器時會首進入的地方, 稱為 ROOT,
預設的屬性有 Read 和 Append, 表示訪客可檢視和下載這個資料夾內的其他檔案和資料夾,
因此千萬不可把 ROOT 改設在 C:\ 或其他 Drive 如 D:\, E:\,
必須設把 ROOT 在 Drive 的資料夾,
否則所有系統資訊包括機密資料有可能因而外洩
如果要改變 ROOT 的位置, 請在目標 Drive 新增一個資料夾, 再揀選這個資料夾,
例如在 D:\ 新增一個名為 FTPROOT 的資料夾, 再於 Local Path 揀選這個資料夾便可
http://hk.geocities.com/muka_hk/root.html 詳情
9. 說明:
Read = 容許 User下載你的檔案
Write = 容許 User上傳檔案給你
Create = 容許 User在你的伺服器新增料資夾
List = 容許 User檢視你的資料夾及檔案 (必須剔選)
Append = 容許 User 斷線後續存檔案你
Delete = 容許 User刪除你的檔案 (不建議剔選)
建議上傳/下載分設獨立的 user 並作如下設定, 方便管理 :
Upload user 剔 Write, List, Create, Append
Download user 剔 Read, List
10. 至於 "Options"中的選項, 大致上使用原有的設定都可以, 也可以參考
http://hk.geocities.com/muka_hk/guild_help.html 進一步設定
※部份ISP為避免用戶架設FTP伺服器, 會封了預設的 PORT 21, 只要自行設定其他 PORT 便可
http://hk.geocities.com/muka_hk/ftp-10.gif
完成及連結如無意外, 你的 FTP server 已設定完成, 你的連結是 ftp://user:[email protected]
順帶一提, 在新聞組進入人家的 FTP server 記緊要出 post 講句 "In & Thanks"
這是基本禮貌, 就如"入屋叫人"般簡單, 無禮者絕對會被 Kick & Ban, 活該!

    
2007-10-04 9:06 pm
如要建立一個私人的 ftp,你應先買一個24小時的全天侯FirewareHDD.上網的IP要是固定的.


收錄日期: 2021-04-11 01:39:19
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20071004000051KK01122

檢視 Wayback Machine 備份