自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

ubuntu server 10.04上安裝proftpd

運(yùn)維 系統(tǒng)運(yùn)維
ubuntu server 10.04上安裝proftpd :FileZilla是一款免費(fèi)而且開(kāi)源的FTP工具,他包括FileZilla Client,F(xiàn)ileZilla Server兩個(gè)版本。FileZilla Server只提供了windows系統(tǒng)下的版本。本文主要講述的是ubuntu server 10.04上安裝proftpd

  ubuntu server 10.04上安裝proftpd

  首先安裝圖形化桌面

  1.   sudo apt-get install ubuntu-desktop  
  2.  

  需要等待較長(zhǎng)的時(shí)間。(如果是 2M 的帶寬,哪么需要裝 1 到 2 個(gè)小時(shí)。)

  然后安裝中文語(yǔ)言 ,點(diǎn)擊菜單“系統(tǒng) - 系統(tǒng)管理 - 語(yǔ)言支持”,選中中文(中國(guó))安裝。

  (網(wǎng)上教程很多)

  一、首先安裝 proftpd

  1.   Sudo apt-get install proftpd  
  2.  

  二、安裝 gadmin-proftpd 圖形配置程序

  1.   Sudo apt-get install gadmin-proftpd  
  2.  

  三、啟動(dòng)圖形配置程序

  在命令行中輸入 gadmin-proftpd 或者通過(guò)菜單“應(yīng)用程序 — 》系統(tǒng)工具 — 》 gadmin-proftpd ”

  如果顯示 proftpd 沒(méi)有被激活,哪么說(shuō)明 proftpd 服務(wù)沒(méi)有啟動(dòng),需要手工啟動(dòng),在命令行中輸入: Sudo service proftpd start ,然后再打開(kāi)gadmin-proftpd 。

  Sudo service proftpd stop 是停止

  Sudo service proftpd restart 是重新啟動(dòng),

  四、替換 proftpd 默認(rèn)的配置文件

  安裝 gadmin-proftpd 之后,通過(guò)圖形界面對(duì) proftpd 進(jìn)行配置,讓 gadmin-proftpd 對(duì)應(yīng)的配置文件替換 proftpd 默認(rèn)的配置文件。

  五、證書(shū)進(jìn)行認(rèn)證

  如果無(wú)法啟動(dòng),哪么需要證書(shū)進(jìn)行認(rèn)證。

  給 gadmin-proftpd 安裝證書(shū)

  下載腳本 http://www.castaglia.org/openssl/contrib/cert-tool (目前證實(shí)可用)

  需要修改, openssl 和 c_bash 命令的位置,通過(guò) whereis 找到命令的位置

  首先下載 cert-tool ,執(zhí)行命令

  Chmod 755 cert-tool 讓 cert-tool 命令可以執(zhí)行;

  然后通過(guò) gedit ,首先對(duì) cert-tool 進(jìn)行修改,找到第 32 行,

 

  1.   # Defaults  
  2.  
  3.   my $openssl = '/usr/local/openssl/bin/openssl';  
  4.  
  5.   my $c_rehash = '/usr/local/openssl/bin/c_rehash';  
  6.  

 

  更改成下面的代碼:

  1.   # Defaults  
  2.  
  3.   my $openssl = '/usr/bin/openssl';  
  4.  
  5.   my $c_rehash = '/usr/bin/c_rehash';  
  6.  

  如果 openssl 沒(méi)有安裝,哪么首先要安裝 openssl

  1.   Sudo apt-get install openssl  
  2.  

  通過(guò) cert-tool 生成證書(shū)

 

  1.   cert-tool --create-ca=serverca --signing-ca=self 
  2.  
  3.   cert-tool --create-cert=server --signing-ca=serverca.cert.pem --signing-key=serverca.key.pem  
  4.  

  如果生成的時(shí)候提示錯(cuò)誤,解決辦法如下:

  首先到/usr/local/cert-tool , 把這個(gè)目錄下面的內(nèi)容全部清空,然后執(zhí)行上面的兩條cert-tool 命令

  將生成的證書(shū)文件拷貝到 /etc/gadmin-proftpd/certs 下面。

  TLSRSACertificateFile /etc/gadmin-proftpd/certs/server.cert.pem

  TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/server.key.pem

  TLSCACertificateFile /etc/gadmin-proftpd/certs/serverca.cert.pem

  六、如果重啟之后,proftpd 沒(méi)有啟動(dòng),解決辦法

  首先停止proftpd 服務(wù)

  1.   Sudo service proftpd stop  
  2.  

  然后從開(kāi)機(jī)啟動(dòng)中刪除對(duì)應(yīng)的服務(wù)

  1.   Sudo update-rc.d -f proftpd remove  
  2.  

  然后重新安裝proftpd 服務(wù)器

  1.   Sudo update-rc.d proftpd defaults  
  2.  

  重啟系統(tǒng)進(jìn)行測(cè)試!成功

  七、安裝 ftp 客戶端 filezilla

  Filezilla 有 windos 和 linux 兩個(gè)版本

  1.   Sudo apt-get install filezilla  
  2.  

  安裝后,點(diǎn)擊菜單“應(yīng)用程序 - 互聯(lián)網(wǎng) -filezilla ”,就可以使用了。

【編輯推薦】

  1. FileZilla FTP server 安裝配置(圖)
  2. FileZilla客戶端高級(jí)體驗(yàn)(圖)
  3. FileZilla FTP服務(wù)器源代碼分析(2)
  4. FileZilla FTP服務(wù)器源代碼分析(4)
  5. FileZilla Ftp 教程
  6. FileZilla FTP Server安裝教程
  7. Filezilla server 安裝指南

 

責(zé)任編輯:zhaolei 來(lái)源: CSDN網(wǎng)
相關(guān)推薦

2010-05-25 09:04:55

2011-03-03 14:47:35

2011-03-03 14:47:35

2011-03-03 13:32:07

Proftpd安裝

2011-03-03 09:04:25

2011-02-25 14:35:06

ubuntuproftp安裝

2011-03-03 11:06:44

Ubuntu安裝ProFTPD

2010-05-11 14:58:32

Ubuntu 10.0安裝

2011-03-21 16:37:57

2011-02-23 09:47:07

UbuntuProFTPdMySQL

2011-02-23 09:47:07

2011-04-22 16:14:37

UbuntuMediaWiki

2011-09-07 16:43:10

ubuntuwindowsXP

2017-08-09 13:13:25

LinuxUbuntuZabbix

2011-08-29 11:32:44

UbuntuiPhone

2011-03-02 17:21:00

Ubuntupure-ftpd

2011-03-10 10:55:38

Ubuntu搭建LAMP

2011-08-29 14:40:04

UbuntuAndroid

2011-02-25 15:55:25

unixProftpd

2011-03-08 17:04:10

ProFTPDUbuntu
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)