Install ProFTPD on Ubuntu server 10.04

Source: Internet
Author: User

 

First install graphical desktop

Sudo apt-Get install Ubuntu-Desktop

It takes a long time to wait. (If yes
2 m
Which need to be installed?
1
To
2
Hours .)

Then install the Chinese Language
Click System
-
System Management
-
Language support ", select Chinese (China) for installation.

 

(Many online tutorials)

First install
ProFTPD

Sudo apt-Get install ProFTPD

 

Install
Gadmin-ProFTPD

Graphical configuration program

Sudo apt-Get install gadmin-ProFTPD

 

Start the graphic configuration program

Enter
Gadmin-ProFTPD
Or use the "Application
-
System Tools
-
"
Gadmin-ProFTPD
"

If
ProFTPD
Not activated. What should I do?
ProFTPD
The service is not started and needs to be started manually. Enter the following in the command line:
Sudo service proftpd start

And then open gadmin-ProFTPd.
.

 

Sudo service
proftpd stop

Yes stop

Sudo service
proftpd restart

Yes restart,

 

 

Install
Gadmin-ProFTPD

Then
ProFTPD
Configure to make
Gadmin-ProFTPD
Replace the corresponding configuration file
ProFTPD
Default configuration file.

 

If it cannot be started, what should I do with certificate authentication.

 

To
Gadmin-ProFTPD
Install Certificate

Download script

Http://www.castaglia.org/openssl/contrib/cert-tool

Need to modify,
OpenSSL
And
C_bash
Command location, through
Whereis
Locate the command location

 

First download
Cert-Tool
, Execute the command

Chmod 755 cert-Tool

Let
Cert-Tool
Command can be executed;

Then
Gedit
First
Cert-Tool
Modify and find
32
Row,

# Defaults

My $ OpenSSL = '/usr/local/OpenSSL/bin/OpenSSL ';

My $ c_rehash = '/usr/local/OpenSSL/bin/c_rehash ';

Change to the following code:

# Defaults

My $ OpenSSL = '/usr/bin/OpenSSL ';

My $ c_rehash = '/usr/bin/c_rehash ';

 

If
OpenSSL
Not Installed. Which one should I install first?
OpenSSL

Sudo apt-Get install OpenSSL

 

Pass
Cert-Tool
Generate Certificate

 

cert-tool
--create-ca=serverca --signing-ca=self



cert-tool
--create-cert=server --signing-ca=serverca.cert.pem
--signing-key=serverca.key.pem

 

 

If an error is prompted during generation, the solution is as follows:

First/Usr/local/cert-Tool

,
Clear all contents in this directory, and then execute the two above cert-Tool
Command

 

Copy the generated Certificate file to/etc/gadmin-ProFTPD/certs
Below. (Which PEM is in bold?
File)

Tlsrsacertificatefile
/Etc/gadmin-ProFTPD/certs/Server. cert. pem

Tlsrsacertificatekeyfile
/Etc/gadmin-ProFTPD/certs/Server. Key. pem

Tlscacertificatefile
/Etc/gadmin-ProFTPD/certs/Serverca. cert. pem

 

If ProFTPD
No startup. Solution

First stop ProFTPD
Service

Sudo service
proftpd stop

Then, delete the corresponding service from startup.

Sudo
update-rc.d -f proftpd remove

Then reinstall ProFTPD
Server

Sudo
update-rc.d proftpd defaults

Restart the system for testing! Successful

Install

ftp

Client

filezilla

Filezilla
Yes
WINDOS
And
Linux
Two versions

 

Sudo apt-Get install filezilla

 

After installation, click "application"
-
Internet
-Filezilla
", You can use it.

 

 

 

 

 

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.